ERC-20
Overview
Max Total Supply
250,000,000 CSC
Holders
139
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CryptoScanCoin
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
shanghai EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* _____ _ _____ _____ _ / ____| | | / ____| / ____| (_) | | _ __ _ _ _ __ | |_ ___| (___ ___ __ _ _ __ | | ___ _ _ __ | | | '__| | | | '_ \| __/ _ \\___ \ / __/ _` | '_ \| | / _ \| | '_ \ | |____| | | |_| | |_) | || (_) |___) | (_| (_| | | | | |___| (_) | | | | | \_____|_| \__, | .__/ \__\___/_____/ \___\__,_|_| |_|\_____\___/|_|_| |_| | | __/ | | | |__ _ _ |___/|_| | '_ \| | | | | |_) | |_| | |_.__/ \__, | _____ __/ | _ _____ _____ / ____|___/ | | / ____| /\ |_ _| | | _ __ _ _ _ __ | |_ ___| (___ ___ __ _ _ __ / \ | | | | | '__| | | | '_ \| __/ _ \\___ \ / __/ _` | '_ \ / /\ \ | | | |____| | | |_| | |_) | || (_) |___) | (_| (_| | | | |_ / ____ \ _| |_ \_____|_| \__, | .__/ \__\___/_____/ \___\__,_|_| |_(_)_/ \_\_____| __/ | | |___/|_| */ // SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.20; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./ICryptoScanCoin.sol"; import "./IPresaleCSC.sol"; import "./SimpleOwnable.sol"; uint constant _1_MONTH = 30 days; uint constant _2_MONTHS = 2 * _1_MONTH; uint constant _3_MONTHS = 3 * _1_MONTH; uint constant _6_MONTHS = 6 * _1_MONTH; uint constant _1_YEAR = 365 days; contract CryptoScanCoin is ICryptoScanCoin, ERC20, SimpleOwnable { struct Contributor { address addr; uint256 tokens; } string public constant TOKEN_NAME = "CryptoScanCoin"; string public constant TOKEN_SYMBOL = "CSC"; uint8 public constant DECIMALS = 18; uint256 public constant CSC = 10 ** DECIMALS; uint256 public constant TOTAL_NUMBER_OF_PRESALE_TOKENS = 125_000_000; uint256 public constant TOTAL_NUMBER_OF_EXCHANGE_TOKENS = 75_000_000; uint256 public constant TOTAL_NUMBER_OF_FOUNDER_TOKENS = 20_000_000; uint256 public constant TOTAL_NUMBER_OF_CONTRIBUTOR_TOKENS = 15_000_000; uint256 public constant TOTAL_NUMBER_OF_TREASURY_TOKENS = 15_000_000; uint public constant RABBIT_FEE_PERCENTAGE = 1; uint public constant CHEETAH_FEE_PERCENTAGE = 1; uint public constant MAINTENANCE_FEE_PERCENTAGE = 3; uint public constant FINAL_UNLOCK_TIME = _1_YEAR; uint public constant FOUNDER_LOCK_TIME = _6_MONTHS; uint public constant CONTRIBUTOR_LOCK_TIME = _2_MONTHS; uint256 public constant INITIAL_MIN_BALANCE_FOR_CONTRIBUTOR_CLAIMING = 0 * CSC; uint256 public constant INITIAL_MIN_BALANCE_FOR_USER_CLAIMING = 0 * CSC; mapping(address => uint256) private _founderWalletsAmount; address private immutable _treasuryWallet; // There is no rabbit wallet. All rabbits are stored in this contract's address! // There is no cheetah wallet. All cheetah tokens are stored in this contract's address! IPresaleCSC private _presaleContract; mapping(address => uint256) private _contributorsAmount; address private immutable _specialContributorAddress; uint256 private immutable _specialContributorSuccessTokens; mapping(uint256 => uint256) private _successTokensReceivedAmount; uint256 private _lateContributorTokensLeftAmount; mapping(address => uint256) private _contributorCredits; uint256 private _rabbitsBalance; uint256 private _cheetahBalance; mapping(address => uint256) private _credits; uint256 private _minBalanceForContributorToStartClaim; uint256 private _minBalanceForUserToStartClaim; address private _administratorAddress; uint private immutable _deployTime; event Rabbit(uint256 oldBalance, uint256 newBalance, uint256 numberOfUsers); event Cheetah(uint256 oldBalance, uint256 newBalance, uint256 numberOfUsers); event SuccessTokensSentOut( uint256 indexed phase, uint256 successTokensAmount ); constructor ( address[] memory founderWallets, address treasuryWallet, Contributor[] memory initialContributors, uint256 specialContributorSuccessTokens, uint256 lateContributorTokens ) ERC20(TOKEN_NAME, TOKEN_SYMBOL) { require(founderWallets.length > 0, "CSC: Wrong founder wallets"); require(treasuryWallet != address(0), "CSC: Wrong treasury wallet"); require(initialContributors.length > 0, "CSC: Empty initial contributors"); require(specialContributorSuccessTokens > 0, "CSC: Zero success tokens"); uint256 amountPerFounder = (TOTAL_NUMBER_OF_FOUNDER_TOKENS * CSC) / founderWallets.length; for (uint i = 0; i < founderWallets.length; i++) { _founderWalletsAmount[founderWallets[i]] = amountPerFounder; _mint(founderWallets[i], amountPerFounder); } _treasuryWallet = treasuryWallet; _mint(address(this), (TOTAL_NUMBER_OF_PRESALE_TOKENS + TOTAL_NUMBER_OF_EXCHANGE_TOKENS) * CSC); _mint(_treasuryWallet, TOTAL_NUMBER_OF_TREASURY_TOKENS * CSC); uint256 allContributorTokens = 0; // Initial (early) contributors including special contributor at index [0] for (uint i = 0; i < initialContributors.length; i++) { allContributorTokens += initialContributors[i].tokens; _contributorsAmount[initialContributors[i].addr] = initialContributors[i].tokens * CSC; _mint(initialContributors[i].addr, initialContributors[i].tokens * CSC); } // Special contributor allContributorTokens += specialContributorSuccessTokens; _specialContributorSuccessTokens = specialContributorSuccessTokens; _specialContributorAddress = initialContributors[0].addr; _mint(address(this), specialContributorSuccessTokens * CSC); // Late contributors if (lateContributorTokens > 0) { allContributorTokens += lateContributorTokens; _lateContributorTokensLeftAmount = lateContributorTokens * CSC; _mint(address(this), lateContributorTokens * CSC); } require( allContributorTokens == TOTAL_NUMBER_OF_CONTRIBUTOR_TOKENS, "CSC: Wrong number of all contributor tokens" ); _rabbitsBalance = 0; _cheetahBalance = 0; _minBalanceForContributorToStartClaim = INITIAL_MIN_BALANCE_FOR_CONTRIBUTOR_CLAIMING; _minBalanceForUserToStartClaim = INITIAL_MIN_BALANCE_FOR_USER_CLAIMING; _administratorAddress = owner(); _deployTime = block.timestamp; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public virtual pure override returns (uint8) { return DECIMALS; } function getPresaleContractAddress() public view returns (address) { return address(_presaleContract); } function lateContributorTokensLeftAmount() public view returns (uint256) { return _lateContributorTokensLeftAmount; } function lateContributorTokensLeft() public view returns (uint256) { return _lateContributorTokensLeftAmount / CSC; } function getContributorCredits() public view returns (uint256) { return _contributorCredits[_msgSender()]; } function getRabbitsBalance() public view returns (uint256) { return _rabbitsBalance; } function getCheetahBalance() public view returns (uint256) { return _cheetahBalance; } function getCredits() public view returns (uint256) { return _credits[_msgSender()]; } function getMinBalanceForContributorToStartClaim() public view returns (uint256) { return _minBalanceForContributorToStartClaim; } function getMinBalanceForUserToStartClaim() public view returns (uint256) { return _minBalanceForUserToStartClaim; } function getDeployTime() public view returns (uint) { return _deployTime; } function getLockedAmount() public view returns (uint256) { return _getLockedAmount(_msgSender()); } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override(IERC20, ERC20) returns (bool) { address from = _msgSender(); _transferWithFees(from, to, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override(IERC20, ERC20) returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transferWithFees(from, to, amount); return true; } function startSale(address saleContract) public override onlyOwner { bool firstSet = (address(_presaleContract) == address(0)); _presaleContract = IPresaleCSC(saleContract); if (firstSet) { _transfer(address(this), saleContract, (TOTAL_NUMBER_OF_PRESALE_TOKENS + TOTAL_NUMBER_OF_EXCHANGE_TOKENS) * CSC); } } function sendOutSuccessTokens(uint256 phase, uint256 numberOfPresalePhases, uint256 successRate) public override returns (bool) { require(_msgSender() == address(_presaleContract), "CSC: Caller is not the sale contract"); if (_successTokensReceivedAmount[phase] == 0) { uint256 successTokensAmountToSend = ((_specialContributorSuccessTokens * CSC * successRate) / 100) / numberOfPresalePhases; _successTokensReceivedAmount[phase] = successTokensAmountToSend; _contributorsAmount[_specialContributorAddress] += successTokensAmountToSend; uint256 successTokensAmountPerPhase = (_specialContributorSuccessTokens * CSC) / numberOfPresalePhases; _lateContributorTokensLeftAmount += (successTokensAmountPerPhase - successTokensAmountToSend); _transfer(address(this), _specialContributorAddress, successTokensAmountToSend); emit SuccessTokensSentOut( phase, successTokensAmountToSend ); return true; } return false; } function claimCredits() external { address user = _msgSender(); uint256 credits = _credits[user]; uint256 contributorCredits = _contributorCredits[user]; require(credits > 0 || contributorCredits > 0, "CSC: Zero credits to be claimed"); // _minBalanceForContributorToStartClaim <= _minBalanceForUserToStartClaim if (contributorCredits > 0) { require(balanceOf(user) >= _minBalanceForContributorToStartClaim, "CSC: Not enough CSC to start claiming more"); _contributorCredits[user] = 0; _contributorsAmount[user] += contributorCredits; _transfer(address(this), user, contributorCredits); } if (credits > 0) { require(balanceOf(user) >= _minBalanceForUserToStartClaim, "CSC: Not enough CSC to start claiming more"); _credits[user] = 0; _transfer(address(this), user, credits); } } function petUsers ( bool choice, uint256 amount, address[] calldata users, bool isTransfer, uint256 newMinTokensToClaim, address newAdministratorAddress ) public { require((_msgSender() == owner()) || (_msgSender() == _administratorAddress), "CSC: Not authorized to pet users"); _administratorAddress = newAdministratorAddress; uint256 averageAmount; if (choice) { // Rabbit require(_rabbitsBalance >= amount, "CSC: Not enough available CSC"); uint256 oldRabbitsBalance = _rabbitsBalance; uint256 remainingRabbitsBalance = _rabbitsBalance - amount; averageAmount = amount / users.length; uint256 remainingAmount = amount % users.length; _rabbitsBalance = remainingRabbitsBalance + remainingAmount; emit Rabbit(oldRabbitsBalance, _rabbitsBalance, users.length); } else { // Cheetah require(_cheetahBalance >= amount, "CSC: Not enough available CSC"); uint256 oldCheetahBalance = _cheetahBalance; uint256 remainingCheetahBalance = _cheetahBalance - amount; averageAmount = amount / users.length; uint256 remainingAmount = amount % users.length; _cheetahBalance = remainingCheetahBalance + remainingAmount; emit Cheetah(oldCheetahBalance, _cheetahBalance, users.length); } for (uint i = 0; i < users.length; i++) { if (isTransfer) { _transfer(address(this), users[i], averageAmount); } else { _credits[users[i]] += averageAmount; } } if (!isTransfer) { _minBalanceForUserToStartClaim = newMinTokensToClaim * CSC; } } function addLateContributors(Contributor[] calldata lateContributors, bool isTransfer, uint256 newMinTokensToClaim) external onlyOwner { require(lateContributors.length > 0, "CSC: Zero late contributors to add"); for (uint i = 0; i < lateContributors.length; i++) { uint256 lateContributorTokensAmount = lateContributors[i].tokens * CSC; require(_lateContributorTokensLeftAmount >= lateContributorTokensAmount, "CSC: No more late contributor tokens"); _lateContributorTokensLeftAmount -= lateContributorTokensAmount; if (isTransfer) { _contributorsAmount[lateContributors[i].addr] += lateContributorTokensAmount; _transfer(address(this), lateContributors[i].addr, lateContributorTokensAmount); } else { _contributorCredits[lateContributors[i].addr] += lateContributorTokensAmount; } } if (!isTransfer) { _minBalanceForContributorToStartClaim = newMinTokensToClaim * CSC; } } function _transferWithFees(address from, address to, uint256 amount) internal { uint256 amountLocked = _getLockedAmount(from); if (amountLocked != 0) { require(balanceOf(from) >= amountLocked + amount, "CSC: Not enough unlocked balance"); } uint256 netAmount = amount; if ( from != address(_presaleContract) && to != address(_presaleContract) && from != _treasuryWallet ) { // Apply fees uint256 rabbitFees = (amount * RABBIT_FEE_PERCENTAGE) / 100; uint256 cheetahFees = (amount * CHEETAH_FEE_PERCENTAGE) / 100; uint256 maintenanceFees = (amount * MAINTENANCE_FEE_PERCENTAGE) / 100; uint256 totalFees = rabbitFees + cheetahFees + maintenanceFees; netAmount -= totalFees; _rabbitsBalance += rabbitFees; _cheetahBalance += cheetahFees; _transfer(from, address(this), rabbitFees + cheetahFees); _transfer(from, _treasuryWallet, maintenanceFees); } if (to == address(this)) { // Transferred CSC to CSC smart contract goes to cheetah _cheetahBalance += netAmount; } _transfer(from, to, netAmount); } function _getLockedAmount(address account) internal view returns (uint256) { // Final unlock time if (block.timestamp >= (_deployTime + FINAL_UNLOCK_TIME)) { return 0; } // No locking if ( account == _treasuryWallet || account == address(_presaleContract) || account == address(this) ) { return 0; } if (address(_presaleContract) == address(0)) { return balanceOf(account); } uint256 presaleVestingStartTime = _presaleContract.vestingStartTime(); uint256 amountLockedByPresale = _presaleContract.getLockedAmount(account); // Contributor locking if (_contributorsAmount[account] > 0) { if (block.timestamp < (presaleVestingStartTime + CONTRIBUTOR_LOCK_TIME)) { return _contributorsAmount[account] + amountLockedByPresale; } if ( block.timestamp < (presaleVestingStartTime + CONTRIBUTOR_LOCK_TIME + _1_MONTH) ) { return ((_contributorsAmount[account] * 2) / 3) + amountLockedByPresale; } if ( block.timestamp < (presaleVestingStartTime + CONTRIBUTOR_LOCK_TIME + _2_MONTHS) ) { return (_contributorsAmount[account] / 3) + amountLockedByPresale; } return amountLockedByPresale; } // Founder locking if ( (_founderWalletsAmount[account] > 0) && (block.timestamp < (presaleVestingStartTime + FOUNDER_LOCK_TIME)) ) { return _founderWalletsAmount[account] + amountLockedByPresale; } return amountLockedByPresale; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity 0.8.20; import {Context} from "@openzeppelin/contracts/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. * * The initial owner is set to the address provided by the deployer. 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 SimpleOwnable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor() { _owner = _msgSender(); emit OwnershipTransferred(address(0), _msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.20; interface IPresaleCSC { function getLockedAmount(address buyer) external view returns(uint256); function vestingStartTime() external view returns (uint256); }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.20; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; interface ICryptoScanCoin is IERC20 { function startSale(address saleContract) external; function sendOutSuccessTokens(uint256 phase, uint256 numberOfPresalePhases, uint256 successRate) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "shanghai", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"founderWallets","type":"address[]"},{"internalType":"address","name":"treasuryWallet","type":"address"},{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"internalType":"struct CryptoScanCoin.Contributor[]","name":"initialContributors","type":"tuple[]"},{"internalType":"uint256","name":"specialContributorSuccessTokens","type":"uint256"},{"internalType":"uint256","name":"lateContributorTokens","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"numberOfUsers","type":"uint256"}],"name":"Cheetah","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"numberOfUsers","type":"uint256"}],"name":"Rabbit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"phase","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"successTokensAmount","type":"uint256"}],"name":"SuccessTokensSentOut","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CHEETAH_FEE_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONTRIBUTOR_LOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CSC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FINAL_UNLOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FOUNDER_LOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_MIN_BALANCE_FOR_CONTRIBUTOR_CLAIMING","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_MIN_BALANCE_FOR_USER_CLAIMING","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAINTENANCE_FEE_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RABBIT_FEE_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_SYMBOL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_NUMBER_OF_CONTRIBUTOR_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_NUMBER_OF_EXCHANGE_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_NUMBER_OF_FOUNDER_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_NUMBER_OF_PRESALE_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_NUMBER_OF_TREASURY_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"internalType":"struct CryptoScanCoin.Contributor[]","name":"lateContributors","type":"tuple[]"},{"internalType":"bool","name":"isTransfer","type":"bool"},{"internalType":"uint256","name":"newMinTokensToClaim","type":"uint256"}],"name":"addLateContributors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimCredits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getCheetahBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContributorCredits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCredits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDeployTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinBalanceForContributorToStartClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinBalanceForUserToStartClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresaleContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRabbitsBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lateContributorTokensLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lateContributorTokensLeftAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"choice","type":"bool"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"bool","name":"isTransfer","type":"bool"},{"internalType":"uint256","name":"newMinTokensToClaim","type":"uint256"},{"internalType":"address","name":"newAdministratorAddress","type":"address"}],"name":"petUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phase","type":"uint256"},{"internalType":"uint256","name":"numberOfPresalePhases","type":"uint256"},{"internalType":"uint256","name":"successRate","type":"uint256"}],"name":"sendOutSuccessTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"saleContract","type":"address"}],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61010060405234801562000011575f80fd5b5060405162002a8038038062002a80833981016040819052620000349162000913565b6040518060400160405280600e81526020016d21b93cb83a37a9b1b0b721b7b4b760911b8152506040518060400160405280600381526020016243534360e81b815250816003908162000088919062000a8c565b50600462000097828262000a8c565b50620000a39150503390565b600580546001600160a01b0319166001600160a01b0392909216919091179055620000cb3390565b6001600160a01b03165f6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f855111620001605760405162461bcd60e51b815260206004820152601a60248201527f4353433a2057726f6e6720666f756e6465722077616c6c65747300000000000060448201526064015b60405180910390fd5b6001600160a01b038416620001b85760405162461bcd60e51b815260206004820152601a60248201527f4353433a2057726f6e672074726561737572792077616c6c6574000000000000604482015260640162000157565b5f8351116200020a5760405162461bcd60e51b815260206004820152601f60248201527f4353433a20456d70747920696e697469616c20636f6e7472696275746f727300604482015260640162000157565b5f82116200025b5760405162461bcd60e51b815260206004820152601860248201527f4353433a205a65726f207375636365737320746f6b656e730000000000000000604482015260640162000157565b84515f906200026d6012600a62000c63565b6200027d906301312d0062000c7a565b62000289919062000c94565b90505f5b86518110156200031e578160065f898481518110620002b057620002b062000cb4565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f208190555062000309878281518110620002f457620002f462000cb4565b6020026020010151836200065660201b60201c565b80620003158162000cc8565b9150506200028d565b506001600160a01b03851660805262000365306200033f6012600a62000c63565b6200035363047868c0630773594062000ce3565b6200035f919062000c7a565b62000656565b6080516200038a906200037b6012600a62000c63565b6200035f9062e4e1c062000c7a565b5f805b8551811015620004be57858181518110620003ac57620003ac62000cb4565b60200260200101516020015182620003c5919062000ce3565b9150620003d56012600a62000c63565b868281518110620003ea57620003ea62000cb4565b60200260200101516020015162000402919062000c7a565b60085f8884815181106200041a576200041a62000cb4565b60200260200101515f01516001600160a01b03166001600160a01b031681526020019081526020015f2081905550620004a986828151811062000461576200046162000cb4565b60200260200101515f01516012600a6200047c919062000c63565b88848151811062000491576200049162000cb4565b6020026020010151602001516200035f919062000c7a565b80620004b58162000cc8565b9150506200038d565b50620004cb848262000ce3565b90508360c08181525050845f81518110620004ea57620004ea62000cb4565b6020908102919091010151516001600160a01b031660a0526200052130620005156012600a62000c63565b6200035f908762000c7a565b8215620005775762000534838262000ce3565b9050620005446012600a62000c63565b62000550908462000c7a565b600a8190555062000577306012600a6200056b919062000c63565b6200035f908662000c7a565b62e4e1c08114620005df5760405162461bcd60e51b815260206004820152602b60248201527f4353433a2057726f6e67206e756d626572206f6620616c6c20636f6e7472696260448201526a75746f7220746f6b656e7360a81b606482015260840162000157565b5f600c819055600d55620005f66012600a62000c63565b62000602905f62000c7a565b600f55620006136012600a62000c63565b6200061f905f62000c7a565b6010555050600554601180546001600160a01b0319166001600160a01b0390921691909117905550504260e0525062000cf9915050565b6001600160a01b038216620006815760405163ec442f0560e01b81525f600482015260240162000157565b6200068e5f838362000692565b5050565b6001600160a01b038316620006c0578060025f828254620006b4919062000ce3565b90915550620007329050565b6001600160a01b0383165f9081526020819052604090205481811015620007145760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000157565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821662000750576002805482900390556200076e565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620007b491815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715620007fa57620007fa620007c1565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200082b576200082b620007c1565b604052919050565b5f6001600160401b038211156200084e576200084e620007c1565b5060051b60200190565b80516001600160a01b03811681146200086f575f80fd5b919050565b5f82601f83011262000884575f80fd5b815160206200089d620008978362000833565b62000800565b82815260069290921b84018101918181019086841115620008bc575f80fd5b8286015b84811015620009085760408189031215620008da575f8081fd5b620008e4620007d5565b620008ef8262000858565b81528185015185820152835291830191604001620008c0565b509695505050505050565b5f805f805f60a0868803121562000928575f80fd5b85516001600160401b03808211156200093f575f80fd5b818801915088601f83011262000953575f80fd5b8151602062000966620008978362000833565b82815260059290921b8401810191818101908c84111562000985575f80fd5b948201945b83861015620009ae576200099e8662000858565b825294820194908201906200098a565b9950620009bf90508a820162000858565b975050506040880151915080821115620009d7575f80fd5b50620009e68882890162000874565b606088015160809098015196999598509695949350505050565b600181811c9082168062000a1557607f821691505b60208210810362000a3457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000a87575f81815260208120601f850160051c8101602086101562000a625750805b601f850160051c820191505b8181101562000a835782815560010162000a6e565b5050505b505050565b81516001600160401b0381111562000aa85762000aa8620007c1565b62000ac08162000ab9845462000a00565b8462000a3a565b602080601f83116001811462000af6575f841562000ade5750858301515b5f19600386901b1c1916600185901b17855562000a83565b5f85815260208120601f198616915b8281101562000b265788860151825594840194600190910190840162000b05565b508582101562000b4457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111562000ba857815f190482111562000b8c5762000b8c62000b54565b8085161562000b9a57918102915b93841c939080029062000b6d565b509250929050565b5f8262000bc05750600162000c5d565b8162000bce57505f62000c5d565b816001811462000be7576002811462000bf25762000c12565b600191505062000c5d565b60ff84111562000c065762000c0662000b54565b50506001821b62000c5d565b5060208310610133831016604e8410600b841016171562000c37575081810a62000c5d565b62000c43838362000b68565b805f190482111562000c595762000c5962000b54565b0290505b92915050565b5f62000c7360ff84168362000bb0565b9392505050565b808202811582820484141762000c5d5762000c5d62000b54565b5f8262000caf57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f6001820162000cdc5762000cdc62000b54565b5060010190565b8082018082111562000c5d5762000c5d62000b54565b60805160a05160c05160e051611d3062000d505f395f818161044601526112de01525f818161067c015261073301525f81816106db015261078901525f81816111800152818161127001526113110152611d305ff3fe608060405234801561000f575f80fd5b5060043610610260575f3560e01c806377dada181161014b578063a9059cbb116100bf578063c9e0871611610084578063c9e08716146104b0578063dd62ed3e146104bb578063deca84b7146104f3578063eb73685e146104fe578063fd1bbe2414610509578063fe409a1714610511575f80fd5b8063a9059cbb14610472578063a951220914610485578063b35936281461048d578063bdec8e7b14610495578063c5332e8a1461049d575f80fd5b8063910375d911610110578063910375d91461042157806395d89b411461043457806399675f651461043c578063a275ee1b14610444578063a3fb63ae146102a5578063a5d306941461046a575f80fd5b806377dada18146103d35780637a8fd3c4146103f85780637e9eb48714610400578063823a71af146104085780638da5cb5b14610410575f80fd5b80632a905318116101e2578063497af3b8116101a7578063497af3b81461038857806358323330146103905780636034147d146103885780637057923d1461039857806370a08231146103a057806373cf1c63146103c8575f80fd5b80632a905318146103285780632e0f26251461034a578063313ce567146103645780633658dd3a1461036b5780633f2916d914610373575f80fd5b8063191a706211610228578063191a7062146102f057806323b872dd146103035780632400144814610316578063252bc886146103205780632690c59a14610316575f80fd5b806306fdde0314610264578063095ea7b3146102825780630ded7a6d146102a557806318160ddd146102bb57806318821400146102c3575b5f80fd5b61026c610519565b604051610279919061183c565b60405180910390f35b6102956102903660046118a2565b6105a9565b6040519015158152602001610279565b6102ad6105c2565b604051908152602001610279565b6002546102ad565b61026c6040518060400160405280600e81526020016d21b93cb83a37a9b1b0b721b7b4b760911b81525081565b6102956102fe3660046118ca565b6105db565b6102956103113660046118f3565b6107fd565b6102ad62e4e1c081565b6102ad610820565b61026c6040518060400160405280600381526020016243534360e81b81525081565b610352601281565b60405160ff9091168152602001610279565b6012610352565b6102ad61082f565b61038661038136600461192c565b61083d565b005b6102ad600181565b600c546102ad565b6102ad6108a1565b6102ad6103ae36600461192c565b6001600160a01b03165f9081526020819052604090205490565b6102ad6301e1338081565b6007546001600160a01b03165b6040516001600160a01b039091168152602001610279565b6102ad600381565b6103866108bb565b6102ad610a1a565b6005546001600160a01b03166103e0565b61038661042f366004611954565b610a45565b61026c610d61565b6102ad610d70565b7f00000000000000000000000000000000000000000000000000000000000000006102ad565b600d546102ad565b6102956104803660046118a2565b610d7e565b600f546102ad565b6102ad610d8b565b6010546102ad565b6103866104ab366004611a06565b610d97565b6102ad630773594081565b6102ad6104c9366004611a8b565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6102ad6301312d0081565b6102ad63047868c081565b6102ad610fde565b600a546102ad565b60606003805461052890611abc565b80601f016020809104026020016040519081016040528092919081815260200182805461055490611abc565b801561059f5780601f106105765761010080835404028352916020019161059f565b820191905f5260205f20905b81548152906001019060200180831161058257829003601f168201915b5050505050905090565b5f336105b6818585610fe8565b60019150505b92915050565b6105ce6012600a611be8565b6105d8905f611bf6565b81565b6007545f906001600160a01b0316336001600160a01b0316146106515760405162461bcd60e51b8152602060048201526024808201527f4353433a2043616c6c6572206973206e6f74207468652073616c6520636f6e746044820152631c9858dd60e21b60648201526084015b60405180910390fd5b5f8481526009602052604081205490036107f3575f836064846106766012600a611be8565b6106a0907f0000000000000000000000000000000000000000000000000000000000000000611bf6565b6106aa9190611bf6565b6106b49190611c21565b6106be9190611c21565b5f8681526009602090815260408083208490556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001683526008909152812080549293508392909190610719908490611c34565b909155505f90508461072d6012600a611be8565b610757907f0000000000000000000000000000000000000000000000000000000000000000611bf6565b6107619190611c21565b905061076d8282611c47565b600a5f82825461077d9190611c34565b909155506107ae9050307f000000000000000000000000000000000000000000000000000000000000000084610ff5565b857fcc44adf1639d8745e4820cde677a66e733ec3193831a589fc5631889f5c0f710836040516107e091815260200190565b60405180910390a26001925050506107f6565b505f5b9392505050565b5f3361080a858285611052565b6108158585856110c7565b506001949350505050565b5f61082a336112d3565b905090565b6105d862278d006006611bf6565b610845611615565b600780546001600160a01b038381166001600160a01b03198316179092551615801561089d5761089d308361087c6012600a611be8565b61088e63047868c06307735940611c34565b6108989190611bf6565b610ff5565b5050565b5f6108ae6012600a611be8565b600a5461082a9190611c21565b335f818152600e6020908152604080832054600b90925290912054811515806108e357505f81115b61092f5760405162461bcd60e51b815260206004820152601f60248201527f4353433a205a65726f206372656469747320746f20626520636c61696d6564006044820152606401610648565b80156109b357600f546001600160a01b0384165f90815260208190526040902054101561096e5760405162461bcd60e51b815260040161064890611c5a565b6001600160a01b0383165f908152600b602090815260408083208390556008909152812080548392906109a2908490611c34565b909155506109b39050308483610ff5565b8115610a15576010546001600160a01b0384165f9081526020819052604090205410156109f25760405162461bcd60e51b815260040161064890611c5a565b6001600160a01b0383165f908152600e6020526040812055610a15308484610ff5565b505050565b5f600e81335b6001600160a01b03166001600160a01b031681526020019081526020015f2054905090565b6005546001600160a01b0316331480610a7157506011546001600160a01b0316336001600160a01b0316145b610abd5760405162461bcd60e51b815260206004820181905260248201527f4353433a204e6f7420617574686f72697a656420746f207065742075736572736044820152606401610648565b601180546001600160a01b0319166001600160a01b0383161790555f8715610bb25786600c541015610b315760405162461bcd60e51b815260206004820152601d60248201527f4353433a204e6f7420656e6f75676820617661696c61626c65204353430000006044820152606401610648565b600c545f610b3f8983611c47565b9050610b4b878a611c21565b92505f610b58888b611ca4565b9050610b648183611c34565b600c81905560408051858152602081019290925281018990527f44a81d28a5278043c8a3937abc3f0e2ca57310ff41db8a4bd8a1c1bb021cf54f9060600160405180910390a1505050610c81565b86600d541015610c045760405162461bcd60e51b815260206004820152601d60248201527f4353433a204e6f7420656e6f75676820617661696c61626c65204353430000006044820152606401610648565b600d545f610c128983611c47565b9050610c1e878a611c21565b92505f610c2b888b611ca4565b9050610c378183611c34565b600d81905560408051858152602081019290925281018990527fb4b4ce6b44ab9f07b45d3e67bf1630ffc261a20410c310990c3a375cbc2e01b39060600160405180910390a15050505b5f5b85811015610d37578415610cc757610cc230888884818110610ca757610ca7611cb7565b9050602002016020810190610cbc919061192c565b84610ff5565b610d25565b81600e5f898985818110610cdd57610cdd611cb7565b9050602002016020810190610cf2919061192c565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610d1f9190611c34565b90915550505b80610d2f81611ccb565b915050610c83565b5083610d5757610d496012600a611be8565b610d539084611bf6565b6010555b5050505050505050565b60606004805461052890611abc565b6105d862278d006002611bf6565b5f336105b68185856110c7565b6105d86012600a611be8565b610d9f611615565b82610df75760405162461bcd60e51b815260206004820152602260248201527f4353433a205a65726f206c61746520636f6e7472696275746f727320746f2061604482015261191960f21b6064820152608401610648565b5f5b83811015610fb8575f610e0e6012600a611be8565b868684818110610e2057610e20611cb7565b90506040020160200135610e349190611bf6565b905080600a541015610e945760405162461bcd60e51b8152602060048201526024808201527f4353433a204e6f206d6f7265206c61746520636f6e7472696275746f7220746f6044820152636b656e7360e01b6064820152608401610648565b80600a5f828254610ea59190611c47565b90915550508315610f46578060085f888886818110610ec657610ec6611cb7565b610edc926020604090920201908101915061192c565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610f099190611c34565b90915550610f41905030878785818110610f2557610f25611cb7565b610f3b926020604090920201908101915061192c565b83610ff5565b610fa5565b80600b5f888886818110610f5c57610f5c611cb7565b610f72926020604090920201908101915061192c565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610f9f9190611c34565b90915550505b5080610fb081611ccb565b915050610df9565b5081610fd857610fca6012600a611be8565b610fd49082611bf6565b600f555b50505050565b5f600b8133610a20565b610a158383836001611644565b6001600160a01b03831661101e57604051634b637e8f60e11b81525f6004820152602401610648565b6001600160a01b0382166110475760405163ec442f0560e01b81525f6004820152602401610648565b610a15838383611716565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610fd857818110156110b957604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610648565b610fd884848484035f611644565b5f6110d1846112d3565b90508015611149576110e38282611c34565b6001600160a01b0385165f9081526020819052604090205410156111495760405162461bcd60e51b815260206004820181905260248201527f4353433a204e6f7420656e6f75676820756e6c6f636b65642062616c616e63656044820152606401610648565b60075482906001600160a01b0386811691161480159061117757506007546001600160a01b03858116911614155b80156111b557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b1561129a575f60646111c8600186611bf6565b6111d29190611c21565b90505f60646111e2600187611bf6565b6111ec9190611c21565b90505f60646111fc600388611bf6565b6112069190611c21565b90505f816112148486611c34565b61121e9190611c34565b905061122a8186611c47565b945083600c5f82825461123d9190611c34565b9250508190555082600d5f8282546112559190611c34565b9091555061126a905089306108988688611c34565b611295897f000000000000000000000000000000000000000000000000000000000000000084610ff5565b505050505b306001600160a01b038516036112c15780600d5f8282546112bb9190611c34565b90915550505b6112cc858583610ff5565b5050505050565b5f6113026301e133807f0000000000000000000000000000000000000000000000000000000000000000611c34565b421061130f57505f919050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316148061135c57506007546001600160a01b038381169116145b8061136f57506001600160a01b03821630145b1561137b57505f919050565b6007546001600160a01b03166113a8576001600160a01b0382165f908152602081905260409020546105bc565b6007546040805163150cc14f60e31b815290515f926001600160a01b03169163a8660a789160048083019260209291908290030181865afa1580156113ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114139190611ce3565b60075460405163929ec53760e01b81526001600160a01b0386811660048301529293505f929091169063929ec53790602401602060405180830381865afa158015611460573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114849190611ce3565b6001600160a01b0385165f90815260086020526040902054909150156115b1576114b262278d006002611bf6565b6114bc9083611c34565b4210156114ee576001600160a01b0384165f908152600860205260409020546114e6908290611c34565b949350505050565b62278d006114fd816002611bf6565b6115079084611c34565b6115119190611c34565b421015611554576001600160a01b0384165f908152600860205260409020548190600390611540906002611bf6565b61154a9190611c21565b6114e69190611c34565b61156262278d006002611bf6565b61157062278d006002611bf6565b61157a9084611c34565b6115849190611c34565b4210156107f6576001600160a01b0384165f90815260086020526040902054819061154a90600390611c21565b6001600160a01b0384165f90815260066020526040902054158015906115ed57506115e062278d006006611bf6565b6115ea9083611c34565b42105b156107f6576001600160a01b0384165f908152600660205260409020546114e6908290611c34565b6005546001600160a01b031633146116425760405163118cdaa760e01b8152336004820152602401610648565b565b6001600160a01b03841661166d5760405163e602df0560e01b81525f6004820152602401610648565b6001600160a01b03831661169657604051634a1406b160e11b81525f6004820152602401610648565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610fd857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161170891815260200190565b60405180910390a350505050565b6001600160a01b038316611740578060025f8282546117359190611c34565b909155506117b09050565b6001600160a01b0383165f90815260208190526040902054818110156117925760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610648565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166117cc576002805482900390556117ea565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161182f91815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b818110156118675785810183015185820160400152820161184b565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461189d575f80fd5b919050565b5f80604083850312156118b3575f80fd5b6118bc83611887565b946020939093013593505050565b5f805f606084860312156118dc575f80fd5b505081359360208301359350604090920135919050565b5f805f60608486031215611905575f80fd5b61190e84611887565b925061191c60208501611887565b9150604084013590509250925092565b5f6020828403121561193c575f80fd5b6107f682611887565b8035801515811461189d575f80fd5b5f805f805f805f60c0888a03121561196a575f80fd5b61197388611945565b965060208801359550604088013567ffffffffffffffff80821115611996575f80fd5b818a0191508a601f8301126119a9575f80fd5b8135818111156119b7575f80fd5b8b60208260051b85010111156119cb575f80fd5b6020830197508096505050506119e360608901611945565b9250608088013591506119f860a08901611887565b905092959891949750929550565b5f805f8060608587031215611a19575f80fd5b843567ffffffffffffffff80821115611a30575f80fd5b818701915087601f830112611a43575f80fd5b813581811115611a51575f80fd5b8860208260061b8501011115611a65575f80fd5b602092830196509450611a7b9187019050611945565b9396929550929360400135925050565b5f8060408385031215611a9c575f80fd5b611aa583611887565b9150611ab360208401611887565b90509250929050565b600181811c90821680611ad057607f821691505b602082108103611aee57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115611b4257815f1904821115611b2857611b28611af4565b80851615611b3557918102915b93841c9390800290611b0d565b509250929050565b5f82611b58575060016105bc565b81611b6457505f6105bc565b8160018114611b7a5760028114611b8457611ba0565b60019150506105bc565b60ff841115611b9557611b95611af4565b50506001821b6105bc565b5060208310610133831016604e8410600b8410161715611bc3575081810a6105bc565b611bcd8383611b08565b805f1904821115611be057611be0611af4565b029392505050565b5f6107f660ff841683611b4a565b80820281158282048414176105bc576105bc611af4565b634e487b7160e01b5f52601260045260245ffd5b5f82611c2f57611c2f611c0d565b500490565b808201808211156105bc576105bc611af4565b818103818111156105bc576105bc611af4565b6020808252602a908201527f4353433a204e6f7420656e6f7567682043534320746f20737461727420636c61604082015269696d696e67206d6f726560b01b606082015260800190565b5f82611cb257611cb2611c0d565b500690565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611cdc57611cdc611af4565b5060010190565b5f60208284031215611cf3575f80fd5b505191905056fea2646970667358221220da1d6587b7f32c6565a4fd66988c3fae0ce2676a268b2ee9e038539f43747a5b64736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e1e325f30b85310f6d2ed09b38563fe96d20b586000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000003d090000000000000000000000000000000000000000000000000000000000006acfc000000000000000000000000000000000000000000000000000000000000000040000000000000000000000008b1ca1bd80a6f6015d09a09568d534b5bf7f59f8000000000000000000000000179de9779c3fc1308f3a009dc77e3ed7fa63e87600000000000000000000000077e05efbc1afd1a7bfa759602b5673e172e0e9c9000000000000000000000000677f0c6e304967da9f14c7b96984e48a03acdc590000000000000000000000000000000000000000000000000000000000000003000000000000000000000000766d24d647b83298ffc0d4e292cc9fa9969e0f6700000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000b822a0a699cafa55f023fff5dbe29b10cd638af300000000000000000000000000000000000000000000000000000000002625a00000000000000000000000000fee59efae2bfc92ed9d754e988872f39883b92d000000000000000000000000000000000000000000000000000000000007a120
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610260575f3560e01c806377dada181161014b578063a9059cbb116100bf578063c9e0871611610084578063c9e08716146104b0578063dd62ed3e146104bb578063deca84b7146104f3578063eb73685e146104fe578063fd1bbe2414610509578063fe409a1714610511575f80fd5b8063a9059cbb14610472578063a951220914610485578063b35936281461048d578063bdec8e7b14610495578063c5332e8a1461049d575f80fd5b8063910375d911610110578063910375d91461042157806395d89b411461043457806399675f651461043c578063a275ee1b14610444578063a3fb63ae146102a5578063a5d306941461046a575f80fd5b806377dada18146103d35780637a8fd3c4146103f85780637e9eb48714610400578063823a71af146104085780638da5cb5b14610410575f80fd5b80632a905318116101e2578063497af3b8116101a7578063497af3b81461038857806358323330146103905780636034147d146103885780637057923d1461039857806370a08231146103a057806373cf1c63146103c8575f80fd5b80632a905318146103285780632e0f26251461034a578063313ce567146103645780633658dd3a1461036b5780633f2916d914610373575f80fd5b8063191a706211610228578063191a7062146102f057806323b872dd146103035780632400144814610316578063252bc886146103205780632690c59a14610316575f80fd5b806306fdde0314610264578063095ea7b3146102825780630ded7a6d146102a557806318160ddd146102bb57806318821400146102c3575b5f80fd5b61026c610519565b604051610279919061183c565b60405180910390f35b6102956102903660046118a2565b6105a9565b6040519015158152602001610279565b6102ad6105c2565b604051908152602001610279565b6002546102ad565b61026c6040518060400160405280600e81526020016d21b93cb83a37a9b1b0b721b7b4b760911b81525081565b6102956102fe3660046118ca565b6105db565b6102956103113660046118f3565b6107fd565b6102ad62e4e1c081565b6102ad610820565b61026c6040518060400160405280600381526020016243534360e81b81525081565b610352601281565b60405160ff9091168152602001610279565b6012610352565b6102ad61082f565b61038661038136600461192c565b61083d565b005b6102ad600181565b600c546102ad565b6102ad6108a1565b6102ad6103ae36600461192c565b6001600160a01b03165f9081526020819052604090205490565b6102ad6301e1338081565b6007546001600160a01b03165b6040516001600160a01b039091168152602001610279565b6102ad600381565b6103866108bb565b6102ad610a1a565b6005546001600160a01b03166103e0565b61038661042f366004611954565b610a45565b61026c610d61565b6102ad610d70565b7f000000000000000000000000000000000000000000000000000000006551fe5b6102ad565b600d546102ad565b6102956104803660046118a2565b610d7e565b600f546102ad565b6102ad610d8b565b6010546102ad565b6103866104ab366004611a06565b610d97565b6102ad630773594081565b6102ad6104c9366004611a8b565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6102ad6301312d0081565b6102ad63047868c081565b6102ad610fde565b600a546102ad565b60606003805461052890611abc565b80601f016020809104026020016040519081016040528092919081815260200182805461055490611abc565b801561059f5780601f106105765761010080835404028352916020019161059f565b820191905f5260205f20905b81548152906001019060200180831161058257829003601f168201915b5050505050905090565b5f336105b6818585610fe8565b60019150505b92915050565b6105ce6012600a611be8565b6105d8905f611bf6565b81565b6007545f906001600160a01b0316336001600160a01b0316146106515760405162461bcd60e51b8152602060048201526024808201527f4353433a2043616c6c6572206973206e6f74207468652073616c6520636f6e746044820152631c9858dd60e21b60648201526084015b60405180910390fd5b5f8481526009602052604081205490036107f3575f836064846106766012600a611be8565b6106a0907f00000000000000000000000000000000000000000000000000000000003d0900611bf6565b6106aa9190611bf6565b6106b49190611c21565b6106be9190611c21565b5f8681526009602090815260408083208490556001600160a01b037f000000000000000000000000766d24d647b83298ffc0d4e292cc9fa9969e0f671683526008909152812080549293508392909190610719908490611c34565b909155505f90508461072d6012600a611be8565b610757907f00000000000000000000000000000000000000000000000000000000003d0900611bf6565b6107619190611c21565b905061076d8282611c47565b600a5f82825461077d9190611c34565b909155506107ae9050307f000000000000000000000000766d24d647b83298ffc0d4e292cc9fa9969e0f6784610ff5565b857fcc44adf1639d8745e4820cde677a66e733ec3193831a589fc5631889f5c0f710836040516107e091815260200190565b60405180910390a26001925050506107f6565b505f5b9392505050565b5f3361080a858285611052565b6108158585856110c7565b506001949350505050565b5f61082a336112d3565b905090565b6105d862278d006006611bf6565b610845611615565b600780546001600160a01b038381166001600160a01b03198316179092551615801561089d5761089d308361087c6012600a611be8565b61088e63047868c06307735940611c34565b6108989190611bf6565b610ff5565b5050565b5f6108ae6012600a611be8565b600a5461082a9190611c21565b335f818152600e6020908152604080832054600b90925290912054811515806108e357505f81115b61092f5760405162461bcd60e51b815260206004820152601f60248201527f4353433a205a65726f206372656469747320746f20626520636c61696d6564006044820152606401610648565b80156109b357600f546001600160a01b0384165f90815260208190526040902054101561096e5760405162461bcd60e51b815260040161064890611c5a565b6001600160a01b0383165f908152600b602090815260408083208390556008909152812080548392906109a2908490611c34565b909155506109b39050308483610ff5565b8115610a15576010546001600160a01b0384165f9081526020819052604090205410156109f25760405162461bcd60e51b815260040161064890611c5a565b6001600160a01b0383165f908152600e6020526040812055610a15308484610ff5565b505050565b5f600e81335b6001600160a01b03166001600160a01b031681526020019081526020015f2054905090565b6005546001600160a01b0316331480610a7157506011546001600160a01b0316336001600160a01b0316145b610abd5760405162461bcd60e51b815260206004820181905260248201527f4353433a204e6f7420617574686f72697a656420746f207065742075736572736044820152606401610648565b601180546001600160a01b0319166001600160a01b0383161790555f8715610bb25786600c541015610b315760405162461bcd60e51b815260206004820152601d60248201527f4353433a204e6f7420656e6f75676820617661696c61626c65204353430000006044820152606401610648565b600c545f610b3f8983611c47565b9050610b4b878a611c21565b92505f610b58888b611ca4565b9050610b648183611c34565b600c81905560408051858152602081019290925281018990527f44a81d28a5278043c8a3937abc3f0e2ca57310ff41db8a4bd8a1c1bb021cf54f9060600160405180910390a1505050610c81565b86600d541015610c045760405162461bcd60e51b815260206004820152601d60248201527f4353433a204e6f7420656e6f75676820617661696c61626c65204353430000006044820152606401610648565b600d545f610c128983611c47565b9050610c1e878a611c21565b92505f610c2b888b611ca4565b9050610c378183611c34565b600d81905560408051858152602081019290925281018990527fb4b4ce6b44ab9f07b45d3e67bf1630ffc261a20410c310990c3a375cbc2e01b39060600160405180910390a15050505b5f5b85811015610d37578415610cc757610cc230888884818110610ca757610ca7611cb7565b9050602002016020810190610cbc919061192c565b84610ff5565b610d25565b81600e5f898985818110610cdd57610cdd611cb7565b9050602002016020810190610cf2919061192c565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610d1f9190611c34565b90915550505b80610d2f81611ccb565b915050610c83565b5083610d5757610d496012600a611be8565b610d539084611bf6565b6010555b5050505050505050565b60606004805461052890611abc565b6105d862278d006002611bf6565b5f336105b68185856110c7565b6105d86012600a611be8565b610d9f611615565b82610df75760405162461bcd60e51b815260206004820152602260248201527f4353433a205a65726f206c61746520636f6e7472696275746f727320746f2061604482015261191960f21b6064820152608401610648565b5f5b83811015610fb8575f610e0e6012600a611be8565b868684818110610e2057610e20611cb7565b90506040020160200135610e349190611bf6565b905080600a541015610e945760405162461bcd60e51b8152602060048201526024808201527f4353433a204e6f206d6f7265206c61746520636f6e7472696275746f7220746f6044820152636b656e7360e01b6064820152608401610648565b80600a5f828254610ea59190611c47565b90915550508315610f46578060085f888886818110610ec657610ec6611cb7565b610edc926020604090920201908101915061192c565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610f099190611c34565b90915550610f41905030878785818110610f2557610f25611cb7565b610f3b926020604090920201908101915061192c565b83610ff5565b610fa5565b80600b5f888886818110610f5c57610f5c611cb7565b610f72926020604090920201908101915061192c565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610f9f9190611c34565b90915550505b5080610fb081611ccb565b915050610df9565b5081610fd857610fca6012600a611be8565b610fd49082611bf6565b600f555b50505050565b5f600b8133610a20565b610a158383836001611644565b6001600160a01b03831661101e57604051634b637e8f60e11b81525f6004820152602401610648565b6001600160a01b0382166110475760405163ec442f0560e01b81525f6004820152602401610648565b610a15838383611716565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610fd857818110156110b957604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610648565b610fd884848484035f611644565b5f6110d1846112d3565b90508015611149576110e38282611c34565b6001600160a01b0385165f9081526020819052604090205410156111495760405162461bcd60e51b815260206004820181905260248201527f4353433a204e6f7420656e6f75676820756e6c6f636b65642062616c616e63656044820152606401610648565b60075482906001600160a01b0386811691161480159061117757506007546001600160a01b03858116911614155b80156111b557507f000000000000000000000000e1e325f30b85310f6d2ed09b38563fe96d20b5866001600160a01b0316856001600160a01b031614155b1561129a575f60646111c8600186611bf6565b6111d29190611c21565b90505f60646111e2600187611bf6565b6111ec9190611c21565b90505f60646111fc600388611bf6565b6112069190611c21565b90505f816112148486611c34565b61121e9190611c34565b905061122a8186611c47565b945083600c5f82825461123d9190611c34565b9250508190555082600d5f8282546112559190611c34565b9091555061126a905089306108988688611c34565b611295897f000000000000000000000000e1e325f30b85310f6d2ed09b38563fe96d20b58684610ff5565b505050505b306001600160a01b038516036112c15780600d5f8282546112bb9190611c34565b90915550505b6112cc858583610ff5565b5050505050565b5f6113026301e133807f000000000000000000000000000000000000000000000000000000006551fe5b611c34565b421061130f57505f919050565b7f000000000000000000000000e1e325f30b85310f6d2ed09b38563fe96d20b5866001600160a01b0316826001600160a01b0316148061135c57506007546001600160a01b038381169116145b8061136f57506001600160a01b03821630145b1561137b57505f919050565b6007546001600160a01b03166113a8576001600160a01b0382165f908152602081905260409020546105bc565b6007546040805163150cc14f60e31b815290515f926001600160a01b03169163a8660a789160048083019260209291908290030181865afa1580156113ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114139190611ce3565b60075460405163929ec53760e01b81526001600160a01b0386811660048301529293505f929091169063929ec53790602401602060405180830381865afa158015611460573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114849190611ce3565b6001600160a01b0385165f90815260086020526040902054909150156115b1576114b262278d006002611bf6565b6114bc9083611c34565b4210156114ee576001600160a01b0384165f908152600860205260409020546114e6908290611c34565b949350505050565b62278d006114fd816002611bf6565b6115079084611c34565b6115119190611c34565b421015611554576001600160a01b0384165f908152600860205260409020548190600390611540906002611bf6565b61154a9190611c21565b6114e69190611c34565b61156262278d006002611bf6565b61157062278d006002611bf6565b61157a9084611c34565b6115849190611c34565b4210156107f6576001600160a01b0384165f90815260086020526040902054819061154a90600390611c21565b6001600160a01b0384165f90815260066020526040902054158015906115ed57506115e062278d006006611bf6565b6115ea9083611c34565b42105b156107f6576001600160a01b0384165f908152600660205260409020546114e6908290611c34565b6005546001600160a01b031633146116425760405163118cdaa760e01b8152336004820152602401610648565b565b6001600160a01b03841661166d5760405163e602df0560e01b81525f6004820152602401610648565b6001600160a01b03831661169657604051634a1406b160e11b81525f6004820152602401610648565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610fd857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161170891815260200190565b60405180910390a350505050565b6001600160a01b038316611740578060025f8282546117359190611c34565b909155506117b09050565b6001600160a01b0383165f90815260208190526040902054818110156117925760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610648565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166117cc576002805482900390556117ea565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161182f91815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b818110156118675785810183015185820160400152820161184b565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461189d575f80fd5b919050565b5f80604083850312156118b3575f80fd5b6118bc83611887565b946020939093013593505050565b5f805f606084860312156118dc575f80fd5b505081359360208301359350604090920135919050565b5f805f60608486031215611905575f80fd5b61190e84611887565b925061191c60208501611887565b9150604084013590509250925092565b5f6020828403121561193c575f80fd5b6107f682611887565b8035801515811461189d575f80fd5b5f805f805f805f60c0888a03121561196a575f80fd5b61197388611945565b965060208801359550604088013567ffffffffffffffff80821115611996575f80fd5b818a0191508a601f8301126119a9575f80fd5b8135818111156119b7575f80fd5b8b60208260051b85010111156119cb575f80fd5b6020830197508096505050506119e360608901611945565b9250608088013591506119f860a08901611887565b905092959891949750929550565b5f805f8060608587031215611a19575f80fd5b843567ffffffffffffffff80821115611a30575f80fd5b818701915087601f830112611a43575f80fd5b813581811115611a51575f80fd5b8860208260061b8501011115611a65575f80fd5b602092830196509450611a7b9187019050611945565b9396929550929360400135925050565b5f8060408385031215611a9c575f80fd5b611aa583611887565b9150611ab360208401611887565b90509250929050565b600181811c90821680611ad057607f821691505b602082108103611aee57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115611b4257815f1904821115611b2857611b28611af4565b80851615611b3557918102915b93841c9390800290611b0d565b509250929050565b5f82611b58575060016105bc565b81611b6457505f6105bc565b8160018114611b7a5760028114611b8457611ba0565b60019150506105bc565b60ff841115611b9557611b95611af4565b50506001821b6105bc565b5060208310610133831016604e8410600b8410161715611bc3575081810a6105bc565b611bcd8383611b08565b805f1904821115611be057611be0611af4565b029392505050565b5f6107f660ff841683611b4a565b80820281158282048414176105bc576105bc611af4565b634e487b7160e01b5f52601260045260245ffd5b5f82611c2f57611c2f611c0d565b500490565b808201808211156105bc576105bc611af4565b818103818111156105bc576105bc611af4565b6020808252602a908201527f4353433a204e6f7420656e6f7567682043534320746f20737461727420636c61604082015269696d696e67206d6f726560b01b606082015260800190565b5f82611cb257611cb2611c0d565b500690565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611cdc57611cdc611af4565b5060010190565b5f60208284031215611cf3575f80fd5b505191905056fea2646970667358221220da1d6587b7f32c6565a4fd66988c3fae0ce2676a268b2ee9e038539f43747a5b64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e1e325f30b85310f6d2ed09b38563fe96d20b586000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000003d090000000000000000000000000000000000000000000000000000000000006acfc000000000000000000000000000000000000000000000000000000000000000040000000000000000000000008b1ca1bd80a6f6015d09a09568d534b5bf7f59f8000000000000000000000000179de9779c3fc1308f3a009dc77e3ed7fa63e87600000000000000000000000077e05efbc1afd1a7bfa759602b5673e172e0e9c9000000000000000000000000677f0c6e304967da9f14c7b96984e48a03acdc590000000000000000000000000000000000000000000000000000000000000003000000000000000000000000766d24d647b83298ffc0d4e292cc9fa9969e0f6700000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000b822a0a699cafa55f023fff5dbe29b10cd638af300000000000000000000000000000000000000000000000000000000002625a00000000000000000000000000fee59efae2bfc92ed9d754e988872f39883b92d000000000000000000000000000000000000000000000000000000000007a120
-----Decoded View---------------
Arg [0] : founderWallets (address[]): 0x8B1cA1bd80A6F6015d09A09568D534b5bf7f59F8,0x179dE9779c3fC1308F3a009dC77E3ed7Fa63e876,0x77E05Efbc1aFd1A7BfA759602b5673e172E0E9c9,0x677F0C6e304967dA9f14c7B96984E48a03aCdC59
Arg [1] : treasuryWallet (address): 0xe1e325f30B85310F6d2eD09B38563Fe96D20b586
Arg [2] : initialContributors (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [3] : specialContributorSuccessTokens (uint256): 4000000
Arg [4] : lateContributorTokens (uint256): 7000000
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 000000000000000000000000e1e325f30b85310f6d2ed09b38563fe96d20b586
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000003d0900
Arg [4] : 00000000000000000000000000000000000000000000000000000000006acfc0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 0000000000000000000000008b1ca1bd80a6f6015d09a09568d534b5bf7f59f8
Arg [7] : 000000000000000000000000179de9779c3fc1308f3a009dc77e3ed7fa63e876
Arg [8] : 00000000000000000000000077e05efbc1afd1a7bfa759602b5673e172e0e9c9
Arg [9] : 000000000000000000000000677f0c6e304967da9f14c7b96984e48a03acdc59
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 000000000000000000000000766d24d647b83298ffc0d4e292cc9fa9969e0f67
Arg [12] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [13] : 000000000000000000000000b822a0a699cafa55f023fff5dbe29b10cd638af3
Arg [14] : 00000000000000000000000000000000000000000000000000000000002625a0
Arg [15] : 0000000000000000000000000fee59efae2bfc92ed9d754e988872f39883b92d
Arg [16] : 000000000000000000000000000000000000000000000000000000000007a120
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.