ERC-20
Overview
Max Total Supply
1,000,000 ARENA
Holders
210
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.865814322692496633 ARENAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
V3SaintbotToken
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* -------- Token Deployed using Saintbot Contract Renounced automatically Liquidity Locked on UNCX, 0 Owner Tokens, Anti-Rug by default Deploy and manage fair launch anti-rug tokens seamlessly and lightning-fast with low gas on our free-to-use Telegram bot. -------- Website: https://arenadm.io/ Twitter: https://twitter.com/ArenaDeathmatch/ Telegram Chat: https://t.me/arenaportal/ Gitbook: https://docs.arenadm.io/ */ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; /** * @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; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } ////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) /* pragma solidity ^0.8.0; */ /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } ////// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol) /* pragma solidity ^0.8.0; */ /* import "../IERC20.sol"; */ /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** * @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data) external; } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IERCBurn { function burn(uint256 _amount) external; function approve(address spender, uint256 amount) external returns (bool); function allowance(address owner, address spender) external returns (uint256); function balanceOf(address account) external view returns (uint256); } interface IUNCX { function lockLPToken( address _lpToken, uint256 _amount, uint256 _unlock_date, address payable _referral, bool _fee_in_eth, address payable _withdrawer ) external payable; struct FeeStruct { uint256 ethFee; // Small eth fee to prevent spam on the platform IERCBurn secondaryFeeToken; // UNCX or UNCL uint256 secondaryTokenFee; // optional, UNCX or UNCL uint256 secondaryTokenDiscount; // discount on liquidity fee for burning secondaryToken uint256 liquidityFee; // fee on univ2 liquidity tokens uint256 referralPercent; // fee for referrals IERCBurn referralToken; // token the refferer must hold to qualify as a referrer uint256 referralHold; // balance the referrer must hold to qualify as a referrer uint256 referralDiscount; // discount on flatrate fees for using a valid referral address } function gFees() external returns (FeeStruct memory); } interface IRefSys { function getRefReceiver(bytes memory _refCode) external view returns (address receiverWallet); } contract V3SaintbotToken is ERC20, Ownable { using SafeMath for uint256; IUNCX public constant LOCKER = IUNCX(0x663A5C229c09b049E36dCc11a9B0d4a8Eb9db214); IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public teamWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyTotalFees; uint256 public sellTotalFees; // When token was deployed uint256 public start; // start + time chosen by user uint256 public endPhase1; // start + endPhase1 + second time chosen by user uint256 public endPhase2; // If should apply custom fees bool public hasCustomPhases; // Phase 1 tax uint256 public phase1Tax; // Phase 2 tax uint256 public phase2Tax; // Minutes phase 1 is lasting uint256 public lengthPhase1; // Minutes phase 2 is lasting uint256 public lengthPhase2; // exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event teamWalletUpdated(address indexed newWallet, address indexed oldWallet); address public immutable REF; IRefSys public constant REF_SYS = IRefSys(0x8A99c005C7B425ce999441afeE22D4987F7a9869); address public constant MAINNET_BOT_TRADING_RECEIVER = 0xD5E2E43e30b706de8A0e01e72a6aBa2b8930af44; function _validateCustomPhases(uint256 _lengthPhase1, uint256 _lengthPhase2, uint256 _phase1Tax, uint256 _phase2Tax) private { uint256 rightNow = block.timestamp; require(_lengthPhase1 <= 20 minutes && _lengthPhase2 <= 20 minutes, "phases too long"); start = rightNow; // If UNIX time of endPhase 1 is bigger than current time it means that user has set the phased taxes if ((_lengthPhase1 + rightNow) > rightNow) { // Checks if its within threshold require(_phase1Tax > 0 && _phase1Tax <= 20, "threshold1"); require(_phase2Tax > 0 && _phase2Tax <= 20, "threshold2"); endPhase1 = rightNow + _lengthPhase1; endPhase2 = rightNow + _lengthPhase1 + _lengthPhase2; phase1Tax = _phase1Tax; phase2Tax = _phase2Tax; hasCustomPhases = true; lengthPhase1 = _lengthPhase1; lengthPhase2 = _lengthPhase2; } else { hasCustomPhases = false; } } constructor( string memory _name, string memory _symbol, uint256 _totalSupply, uint256 _buyTaxes, uint256 _sellTaxes, address _lockOwnerAndTaxReceiver, bytes memory _ref, uint256 _phase1Length, uint256 _phase2Length, uint256 _phase1Tax, uint256 _phase2Tax ) payable ERC20(_name, _symbol) { require(msg.value >= 0.3 ether, "weth liquidity need to be bigger than 0.3"); require(_totalSupply >= 500_000 && _totalSupply <= 1_000_000_000, "InvalidSupply()"); require(_buyTaxes >= 1 && _buyTaxes <= 7, "InvalidTaxes()"); require(_sellTaxes >= 1 && _sellTaxes <= 7, "InvalidTaxes()"); _validateCustomPhases(_phase1Length, _phase2Length, _phase1Tax, _phase2Tax); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 totalSupply_ = _totalSupply * 1e18; maxTransactionAmount = (totalSupply_ * 3) / 100; maxWallet = (totalSupply_ * 6) / 100; swapTokensAtAmount = (totalSupply_ * 5) / 10000; // 0.05% buyTotalFees = _buyTaxes; sellTotalFees = _sellTaxes; teamWallet = _lockOwnerAndTaxReceiver; // set as team wallet // exclude from paying fees or having max transaction amount excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); REF = REF_SYS.getRefReceiver(_ref); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(address(this), totalSupply_); } function addLiquidity(uint256 _multiplier) external { require(msg.sender == owner(), "auth"); _approve(address(this), address(uniswapV2Router), totalSupply()); tradingActive = true; swapEnabled = true; uint256 minLock = 30 days; uint256 uncxExpenses = LOCKER.gFees().ethFee; address _pair = address(uniswapV2Pair); uniswapV2Router.addLiquidityETH{value: address(this).balance - uncxExpenses}( address(this), balanceOf(address(this)), 0, 0, address(this), block.timestamp ); IERCBurn(_pair).approve(address(LOCKER), IERC20(_pair).balanceOf(address(this))); LOCKER.lockLPToken{value: uncxExpenses}( address(_pair), IERC20(_pair).balanceOf(address(this)), block.timestamp + (minLock * _multiplier), payable(address(0)), true, payable(owner()) ); renounceOwnership(); } receive() external payable {} function excludeFromMaxTransaction(address updAds, bool isEx) internal { _isExcludedMaxTransactionAmount[updAds] = isEx; } function excludeFromFees(address account, bool excluded) internal { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) internal { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateTeamWallet(address newWallet) external { require(msg.sender == teamWallet, "auth"); emit teamWalletUpdated(newWallet, teamWallet); teamWallet = newWallet; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if (to != address(0) && to != address(0xdead) && !swapping) { if (!tradingActive) { require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } //when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } else if (!_isExcludedMaxTransactionAmount[to]) { require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; uint256 sellFee_; uint256 buyFee_; bool customDistr = true; if (hasCustomPhases && block.timestamp < (endPhase2 - lengthPhase2)) { sellFee_ = phase1Tax; buyFee_ = sellFee_; } else if (hasCustomPhases && block.timestamp < endPhase2) { sellFee_ = phase2Tax; buyFee_ = phase2Tax; } else { sellFee_ = sellTotalFees; buyFee_ = buyTotalFees; customDistr = false; } if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(customDistr); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellFee_ > 0) { fees = amount.mul(sellFee_).div(100); } // on buy else if (automatedMarketMakerPairs[from] && buyFee_ > 0) { fees = amount.mul(buyFee_).div(100); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapBack(bool _customDistr) private { uint256 contractBalance = balanceOf(address(this)); swapTokensForEth(contractBalance); uint256 ethBalance = address(this).balance; if (_customDistr) { if (REF == address(0)) { // If user has not entered a ref code, he will receive 3.5% fees uint256 taxWalletAmount = (ethBalance * 70) / 100; // Send 70% of the fees (bool success,) = teamWallet.call{value: taxWalletAmount}(""); require(success, "failed sending eth"); address payable SAINTBOT_TAXES = payable(MAINNET_BOT_TRADING_RECEIVER); // Send 100% - 70% of the fees to us (success,) = SAINTBOT_TAXES.call{value: ethBalance - taxWalletAmount}(""); require(success, "failed sending eth"); } else { // If user used a ref, he will receive 72% of the fees, that would be 3.6% fees uint256 taxWalletAmount = (ethBalance * 72) / 100; // Send 72% of the fees (bool success,) = teamWallet.call{value: taxWalletAmount}(""); require(success, "failed sending eth"); payable(REF).transfer((taxWalletAmount * 3) / 100); address payable SAINTBOT_TAXES = payable(MAINNET_BOT_TRADING_RECEIVER); (success,) = SAINTBOT_TAXES.call{value: (ethBalance * 25) / 100}(""); require(success, "failed sending eth"); } } else { if (REF == address(0)) { // If user has not entered a ref code, he will receive 4% fees uint256 taxWalletAmount = (ethBalance * 80) / 100; // Send 80% of the fees (bool success,) = teamWallet.call{value: taxWalletAmount}(""); require(success, "failed sending eth"); address payable SAINTBOT_TAXES = payable(MAINNET_BOT_TRADING_RECEIVER); // Send 100% - 80% of the fees to us (success,) = SAINTBOT_TAXES.call{value: ethBalance - taxWalletAmount}(""); require(success, "failed sending eth"); } else { // If he did enter a ref code, he will receive 4.1% fees uint256 taxWalletAmount = (ethBalance * 82) / 100; // Send 82% of the fees (bool success,) = teamWallet.call{value: taxWalletAmount}(""); require(success, "failed sending eth"); // 0.15% to ref address, meaning that its 3% out of the 5% payable(REF).transfer((taxWalletAmount * 3) / 100); address payable SAINTBOT_TAXES = payable(MAINNET_BOT_TRADING_RECEIVER); (success,) = SAINTBOT_TAXES.call{value: (ethBalance * 15) / 100}(""); require(success, "failed sending eth"); } } } }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "lib/forge-std:ds-test/=lib/forge-std/lib/ds-test/src/", "lib/openzeppelin-contracts:ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/", "lib/openzeppelin-contracts:erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "lib/openzeppelin-contracts:forge-std/=lib/openzeppelin-contracts/lib/forge-std/src/", "lib/openzeppelin-contracts:openzeppelin/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_buyTaxes","type":"uint256"},{"internalType":"uint256","name":"_sellTaxes","type":"uint256"},{"internalType":"address","name":"_lockOwnerAndTaxReceiver","type":"address"},{"internalType":"bytes","name":"_ref","type":"bytes"},{"internalType":"uint256","name":"_phase1Length","type":"uint256"},{"internalType":"uint256","name":"_phase2Length","type":"uint256"},{"internalType":"uint256","name":"_phase1Tax","type":"uint256"},{"internalType":"uint256","name":"_phase2Tax","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"teamWalletUpdated","type":"event"},{"inputs":[],"name":"LOCKER","outputs":[{"internalType":"contract IUNCX","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAINNET_BOT_TRADING_RECEIVER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REF","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REF_SYS","outputs":[{"internalType":"contract IRefSys","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"addLiquidity","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasCustomPhases","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lengthPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lengthPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":[],"name":"phase1Tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase2Tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040819052600a805461ffff191690556200307938819003908190833981016040819052620000309162000a6b565b8a518b908b9062000049906003906020850190620008ce565b5080516200005f906004906020840190620008ce565b5050506200007c620000766200057360201b60201c565b62000577565b670429d069189e0000341015620000ec5760405162461bcd60e51b815260206004820152602960248201527f77657468206c6971756964697479206e65656420746f20626520626967676572604482015268207468616e20302e3360b81b60648201526084015b60405180910390fd5b6207a1208910158015620001045750633b9aca008911155b620001445760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964537570706c79282960881b6044820152606401620000e3565b6001881015801562000157575060078811155b620001965760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69645461786573282960901b6044820152606401620000e3565b60018710158015620001a9575060078711155b620001e85760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69645461786573282960901b6044820152606401620000e3565b620001f684848484620005c9565b737a250d5630b4cf539739df2c5dacb4c659f2488d6000819052601660209081527f6aaf2aa7818e638b1285690e8912f82b1021a6f5be073b60f902541d7dae47aa805460ff1916600117905560808290526040805163c45a015560e01b81529051839263c45a015592600480820193918290030181865afa15801562000281573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a7919062000b63565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031b919062000b63565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000369573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038f919062000b63565b6001600160a01b031660a08190526000908152601660205260409020805460ff1916600117905560a051620003c690600162000736565b6000620003dc8b670de0b6b3a764000062000b9e565b90506064620003ed82600362000b9e565b620003f9919062000bc0565b60075560646200040b82600662000b9e565b62000417919062000bc0565b6009556127106200042a82600562000b9e565b62000436919062000bc0565b600855600b8a9055600c899055600680546001600160a01b0319166001600160a01b038a161790556200046b3060016200078a565b6200047a61dead60016200078a565b306000908152601660205260409020805460ff1916600117905561dead60005260166020527f290d80ce586bfe95e1ebf348e3ba109df813891ad867417e64d38c5a50473b57805460ff1916600117905560405163eec4086960e01b8152738a99c005c7b425ce999441afee22d4987f7a98699063eec408699062000504908a9060040162000be3565b602060405180830381865afa15801562000522573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000548919062000b63565b6001600160a01b031660c052620005603082620007e9565b5050505050505050505050505062000c70565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b426104b08511801590620005df57506104b08411155b6200061f5760405162461bcd60e51b815260206004820152600f60248201526e70686173657320746f6f206c6f6e6760881b6044820152606401620000e3565b600d8190558062000631818762000c18565b111562000724576000831180156200064a575060148311155b620006855760405162461bcd60e51b815260206004820152600a6024820152697468726573686f6c643160b01b6044820152606401620000e3565b60008211801562000697575060148211155b620006d25760405162461bcd60e51b815260206004820152600a6024820152693a343932b9b437b6321960b11b6044820152606401620000e3565b620006de858262000c18565b600e5583620006ee868362000c18565b620006fa919062000c18565b600f55601183905560128290556010805460ff19166001179055601385905560148490556200072f565b6010805460ff191690555b5050505050565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620008415760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000e3565b806002600082825462000855919062000c18565b90915550506001600160a01b038216600090815260208190526040812080548392906200088490849062000c18565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620008dc9062000c33565b90600052602060002090601f0160209004810192826200090057600085556200094b565b82601f106200091b57805160ff19168380011785556200094b565b828001600101855582156200094b579182015b828111156200094b5782518255916020019190600101906200092e565b50620009599291506200095d565b5090565b5b808211156200095957600081556001016200095e565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620009a75781810151838201526020016200098d565b83811115620009b7576000848401525b50505050565b600082601f830112620009cf57600080fd5b81516001600160401b0380821115620009ec57620009ec62000974565b604051601f8301601f19908116603f0116810190828211818310171562000a175762000a1762000974565b8160405283815286602085880101111562000a3157600080fd5b62000a448460208301602089016200098a565b9695505050505050565b80516001600160a01b038116811462000a6657600080fd5b919050565b60008060008060008060008060008060006101608c8e03121562000a8e57600080fd5b8b516001600160401b0381111562000aa557600080fd5b62000ab38e828f01620009bd565b60208e0151909c5090506001600160401b0381111562000ad257600080fd5b62000ae08e828f01620009bd565b9a505060408c0151985060608c0151975060808c0151965062000b0660a08d0162000a4e565b60c08d01519096506001600160401b0381111562000b2357600080fd5b62000b318e828f01620009bd565b95505060e08c015193506101008c015192506101208c015191506101408c015190509295989b509295989b9093969950565b60006020828403121562000b7657600080fd5b62000b818262000a4e565b9392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000bbb5762000bbb62000b88565b500290565b60008262000bde57634e487b7160e01b600052601260045260246000fd5b500490565b602081526000825180602084015262000c048160408501602087016200098a565b601f01601f19169190910160400192915050565b6000821982111562000c2e5762000c2e62000b88565b500190565b600181811c9082168062000c4857607f821691505b6020821081141562000c6a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05161239362000ce6600039600081816102730152818161191d01528181611b0101528181611b930152611c690152600081816104490152610a8501526000818161036e015281816109cb01528181610aae01528181611d6501528181611e1e0152611e5a01526123936000f3fe6080604052600436106102555760003560e01c8063757dd31511610139578063bbc0c742116100b6578063d85ba0631161007a578063d85ba06314610731578063dd62ed3e14610747578063e2f456051461078d578063f2fde38b146107a3578063f493c187146107c3578063f8b45b05146107d957600080fd5b8063bbc0c742146106ad578063bbe7efa3146106c7578063be9a6555146106dd578063c8c8ebe4146106f3578063d0bb6c0b1461070957600080fd5b8063a2e062ec116100fd578063a2e062ec1461060d578063a457c2d714610627578063a9059cbb14610647578063b246954114610667578063b62496f51461067d57600080fd5b8063757dd3151461058e5780637b2829b8146105a45780637cb332bb146105ba5780638da5cb5b146105da57806395d89b41146105f857600080fd5b806339509351116101d2578063599270441161019657806359927044146104c6578063671241a1146104e65780636a486a8e1461050e5780636ddd17131461052457806370a0823114610543578063715018a61461057957600080fd5b806339509351146104015780633ccef2261461042157806349bd5a5e146104375780634fbee1931461046b57806351c6590a146104a457600080fd5b80631694505e116102195780631694505e1461035c57806318160ddd1461039057806323b872dd146103af57806327c8f835146103cf578063313ce567146103e557600080fd5b8063066034fc1461026157806306fdde03146102b257806308ecd9a6146102d4578063095ea7b3146102fc57806310d5de531461032c57600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b506102957f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102be57600080fd5b506102c76107ef565b6040516102a99190611ec6565b3480156102e057600080fd5b5061029573663a5c229c09b049e36dcc11a9b0d4a8eb9db21481565b34801561030857600080fd5b5061031c610317366004611f30565b610881565b60405190151581526020016102a9565b34801561033857600080fd5b5061031c610347366004611f5c565b60166020526000908152604090205460ff1681565b34801561036857600080fd5b506102957f000000000000000000000000000000000000000000000000000000000000000081565b34801561039c57600080fd5b506002545b6040519081526020016102a9565b3480156103bb57600080fd5b5061031c6103ca366004611f79565b610897565b3480156103db57600080fd5b5061029561dead81565b3480156103f157600080fd5b50604051601281526020016102a9565b34801561040d57600080fd5b5061031c61041c366004611f30565b610946565b34801561042d57600080fd5b506103a160145481565b34801561044357600080fd5b506102957f000000000000000000000000000000000000000000000000000000000000000081565b34801561047757600080fd5b5061031c610486366004611f5c565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156104b057600080fd5b506104c46104bf366004611fba565b610982565b005b3480156104d257600080fd5b50600654610295906001600160a01b031681565b3480156104f257600080fd5b50610295738a99c005c7b425ce999441afee22d4987f7a986981565b34801561051a57600080fd5b506103a1600c5481565b34801561053057600080fd5b50600a5461031c90610100900460ff1681565b34801561054f57600080fd5b506103a161055e366004611f5c565b6001600160a01b031660009081526020819052604090205490565b34801561058557600080fd5b506104c4610daf565b34801561059a57600080fd5b506103a160125481565b3480156105b057600080fd5b506103a160135481565b3480156105c657600080fd5b506104c46105d5366004611f5c565b610e15565b3480156105e657600080fd5b506005546001600160a01b0316610295565b34801561060457600080fd5b506102c7610eb5565b34801561061957600080fd5b5060105461031c9060ff1681565b34801561063357600080fd5b5061031c610642366004611f30565b610ec4565b34801561065357600080fd5b5061031c610662366004611f30565b610f5d565b34801561067357600080fd5b506103a1600f5481565b34801561068957600080fd5b5061031c610698366004611f5c565b60176020526000908152604090205460ff1681565b3480156106b957600080fd5b50600a5461031c9060ff1681565b3480156106d357600080fd5b506103a1600e5481565b3480156106e957600080fd5b506103a1600d5481565b3480156106ff57600080fd5b506103a160075481565b34801561071557600080fd5b5061029573d5e2e43e30b706de8a0e01e72a6aba2b8930af4481565b34801561073d57600080fd5b506103a1600b5481565b34801561075357600080fd5b506103a1610762366004611fd3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561079957600080fd5b506103a160085481565b3480156107af57600080fd5b506104c46107be366004611f5c565b610f6a565b3480156107cf57600080fd5b506103a160115481565b3480156107e557600080fd5b506103a160095481565b6060600380546107fe9061200c565b80601f016020809104026020016040519081016040528092919081815260200182805461082a9061200c565b80156108775780601f1061084c57610100808354040283529160200191610877565b820191906000526020600020905b81548152906001019060200180831161085a57829003601f168201915b5050505050905090565b600061088e338484611035565b50600192915050565b60006108a4848484611159565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561092e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61093b8533858403611035565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161088e91859061097d90869061205d565b611035565b6005546001600160a01b031633146109c55760405162461bcd60e51b8152600401610925906020808252600490820152630c2eae8d60e31b604082015260600190565b6109f3307f000000000000000000000000000000000000000000000000000000000000000061097d60025490565b600a805461ffff1916610101179055604080516390e1a00360e01b8152905162278d009160009173663a5c229c09b049e36dcc11a9b0d4a8eb9db214916390e1a00391600480830192610120929190829003018187875af1158015610a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8091906120bd565b5190507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663f305d719610add8447612144565b306000818152602081905260409020546040516001600160e01b031960e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523060848201524260a482015260c40160606040518083038185885af1158015610b51573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b76919061215b565b50506040516370a0823160e01b81523060048201526001600160a01b038316915063095ea7b39073663a5c229c09b049e36dcc11a9b0d4a8eb9db2149083906370a0823190602401602060405180830381865afa158015610bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bff9190612189565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6e91906121a2565b506040516370a0823160e01b815230600482015273663a5c229c09b049e36dcc11a9b0d4a8eb9db21490638af416f690849084906001600160a01b038216906370a0823190602401602060405180830381865afa158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf79190612189565b610d0189896121c4565b610d0b904261205d565b60006001610d216005546001600160a01b031690565b60405160e089901b6001600160e01b03191681526001600160a01b0396871660048201526024810195909552604485019390935290841660648401521515608483015290911660a482015260c4016000604051808303818588803b158015610d8857600080fd5b505af1158015610d9c573d6000803e3d6000fd5b5050505050610da9610daf565b50505050565b6005546001600160a01b03163314610e095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610925565b610e136000611755565b565b6006546001600160a01b03163314610e585760405162461bcd60e51b8152600401610925906020808252600490820152630c2eae8d60e31b604082015260600190565b6006546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f96166890600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546107fe9061200c565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610f465760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610925565b610f533385858403611035565b5060019392505050565b600061088e338484611159565b6005546001600160a01b03163314610fc45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610925565b6001600160a01b0381166110295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610925565b61103281611755565b50565b6001600160a01b0383166110975760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610925565b6001600160a01b0382166110f85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610925565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661117f5760405162461bcd60e51b8152600401610925906121e3565b6001600160a01b0382166111a55760405162461bcd60e51b815260040161092590612228565b806111bb576111b6838360006117a7565b505050565b6001600160a01b038216158015906111de57506001600160a01b03821661dead14155b80156111f45750600554600160a01b900460ff16155b156114ed57600a5460ff16611287576001600160a01b03831660009081526015602052604090205460ff168061124257506001600160a01b03821660009081526015602052604090205460ff165b6112875760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610925565b6001600160a01b03831660009081526017602052604090205460ff1680156112c857506001600160a01b03821660009081526016602052604090205460ff16155b156113ac5760075481111561133d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610925565b6009546001600160a01b038316600090815260208190526040902054611363908361205d565b11156113a75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610925565b6114ed565b6001600160a01b03821660009081526017602052604090205460ff1680156113ed57506001600160a01b03831660009081526016602052604090205460ff16155b15611463576007548111156113a75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610925565b6001600160a01b03821660009081526016602052604090205460ff166114ed576009546001600160a01b0383166000908152602081905260409020546114a9908361205d565b11156114ed5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610925565b3060009081526020819052604081205460085460105491929083101591819060019060ff16801561152c5750601454600f546115299190612144565b42105b1561153e576011549250829150611571565b60105460ff1680156115515750600f5442105b15611563576012549250829150611571565b5050600c54600b5490915060005b8380156115855750600a54610100900460ff165b801561159b5750600554600160a01b900460ff16155b80156115c057506001600160a01b03881660009081526017602052604090205460ff16155b80156115e557506001600160a01b03881660009081526015602052604090205460ff16155b801561160a57506001600160a01b03871660009081526015602052604090205460ff16155b15611639576005805460ff60a01b1916600160a01b17905561162b816118fb565b6005805460ff60a01b191690555b6005546001600160a01b03891660009081526015602052604090205460ff600160a01b90920482161591168061168757506001600160a01b03881660009081526015602052604090205460ff165b15611690575060005b6000811561173e576001600160a01b03891660009081526017602052604090205460ff1680156116c05750600085115b156116e1576116da60646116d48a88611cef565b90611d02565b9050611720565b6001600160a01b038a1660009081526017602052604090205460ff1680156117095750600084115b156117205761171d60646116d48a87611cef565b90505b8015611731576117318a30836117a7565b61173b8189612144565b97505b6117498a8a8a6117a7565b50505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166117cd5760405162461bcd60e51b8152600401610925906121e3565b6001600160a01b0382166117f35760405162461bcd60e51b815260040161092590612228565b6001600160a01b0383166000908152602081905260409020548181101561186b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610925565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118a290849061205d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118ee91815260200190565b60405180910390a3610da9565b3060009081526020819052604090205461191481611d0e565b478215611b91577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611a6657600060646119588360466121c4565b611962919061226b565b6006546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146119b4576040519150601f19603f3d011682016040523d82523d6000602084013e6119b9565b606091505b50509050806119da5760405162461bcd60e51b81526004016109259061228d565b73d5e2e43e30b706de8a0e01e72a6aba2b8930af44806119fa8486612144565b604051600081818185875af1925050503d8060008114611a36576040519150601f19603f3d011682016040523d82523d6000602084013e611a3b565b606091505b50508092505081611a5e5760405162461bcd60e51b81526004016109259061228d565b505050505050565b60006064611a758360486121c4565b611a7f919061226b565b6006546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114611ad1576040519150601f19603f3d011682016040523d82523d6000602084013e611ad6565b606091505b5050905080611af75760405162461bcd60e51b81526004016109259061228d565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166108fc6064611b318560036121c4565b611b3b919061226b565b6040518115909202916000818181858888f19350505050158015611b63573d6000803e3d6000fd5b5073d5e2e43e30b706de8a0e01e72a6aba2b8930af44806064611b878660196121c4565b6119fa919061226b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611bce57600060646119588360506121c4565b60006064611bdd8360526121c4565b611be7919061226b565b6006546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114611c39576040519150601f19603f3d011682016040523d82523d6000602084013e611c3e565b606091505b5050905080611c5f5760405162461bcd60e51b81526004016109259061228d565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166108fc6064611c998560036121c4565b611ca3919061226b565b6040518115909202916000818181858888f19350505050158015611ccb573d6000803e3d6000fd5b5073d5e2e43e30b706de8a0e01e72a6aba2b8930af44806064611b8786600f6121c4565b6000611cfb82846121c4565b9392505050565b6000611cfb828461226b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d4357611d436122b9565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de591906122cf565b81600181518110611df857611df86122b9565b60200260200101906001600160a01b031690816001600160a01b031681525050611e43307f000000000000000000000000000000000000000000000000000000000000000084611035565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611e989085906000908690309042906004016122ec565b600060405180830381600087803b158015611eb257600080fd5b505af1158015611a5e573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611ef357858101830151858201604001528201611ed7565b81811115611f05576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461103257600080fd5b60008060408385031215611f4357600080fd5b8235611f4e81611f1b565b946020939093013593505050565b600060208284031215611f6e57600080fd5b8135611cfb81611f1b565b600080600060608486031215611f8e57600080fd5b8335611f9981611f1b565b92506020840135611fa981611f1b565b929592945050506040919091013590565b600060208284031215611fcc57600080fd5b5035919050565b60008060408385031215611fe657600080fd5b8235611ff181611f1b565b9150602083013561200181611f1b565b809150509250929050565b600181811c9082168061202057607f821691505b6020821081141561204157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561207057612070612047565b500190565b604051610120810167ffffffffffffffff811182821017156120a757634e487b7160e01b600052604160045260246000fd5b60405290565b80516120b881611f1b565b919050565b600061012082840312156120d057600080fd5b6120d8612075565b825181526120e8602084016120ad565b602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015261212160c084016120ad565b60c082015260e08381015190820152610100928301519281019290925250919050565b60008282101561215657612156612047565b500390565b60008060006060848603121561217057600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561219b57600080fd5b5051919050565b6000602082840312156121b457600080fd5b81518015158114611cfb57600080fd5b60008160001904831182151516156121de576121de612047565b500290565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008261228857634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601290820152710ccc2d2d8cac840e6cadcc8d2dcce40cae8d60731b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122e157600080fd5b8151611cfb81611f1b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561233c5784516001600160a01b031683529383019391830191600101612317565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c34defc76db174b9b0d9d50eef2aa5083278eba3b7bb3d6f61e5862a5911dfa964736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000283c084160a8e192ff01b08bed18a4d6dc9ec7b200000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000104172656e612044656174686d617463680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054152454e4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087374726174656779000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102555760003560e01c8063757dd31511610139578063bbc0c742116100b6578063d85ba0631161007a578063d85ba06314610731578063dd62ed3e14610747578063e2f456051461078d578063f2fde38b146107a3578063f493c187146107c3578063f8b45b05146107d957600080fd5b8063bbc0c742146106ad578063bbe7efa3146106c7578063be9a6555146106dd578063c8c8ebe4146106f3578063d0bb6c0b1461070957600080fd5b8063a2e062ec116100fd578063a2e062ec1461060d578063a457c2d714610627578063a9059cbb14610647578063b246954114610667578063b62496f51461067d57600080fd5b8063757dd3151461058e5780637b2829b8146105a45780637cb332bb146105ba5780638da5cb5b146105da57806395d89b41146105f857600080fd5b806339509351116101d2578063599270441161019657806359927044146104c6578063671241a1146104e65780636a486a8e1461050e5780636ddd17131461052457806370a0823114610543578063715018a61461057957600080fd5b806339509351146104015780633ccef2261461042157806349bd5a5e146104375780634fbee1931461046b57806351c6590a146104a457600080fd5b80631694505e116102195780631694505e1461035c57806318160ddd1461039057806323b872dd146103af57806327c8f835146103cf578063313ce567146103e557600080fd5b8063066034fc1461026157806306fdde03146102b257806308ecd9a6146102d4578063095ea7b3146102fc57806310d5de531461032c57600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b506102957f000000000000000000000000a6ee40255a91a0922e2ba17f8a8662edae0d56d881565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102be57600080fd5b506102c76107ef565b6040516102a99190611ec6565b3480156102e057600080fd5b5061029573663a5c229c09b049e36dcc11a9b0d4a8eb9db21481565b34801561030857600080fd5b5061031c610317366004611f30565b610881565b60405190151581526020016102a9565b34801561033857600080fd5b5061031c610347366004611f5c565b60166020526000908152604090205460ff1681565b34801561036857600080fd5b506102957f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561039c57600080fd5b506002545b6040519081526020016102a9565b3480156103bb57600080fd5b5061031c6103ca366004611f79565b610897565b3480156103db57600080fd5b5061029561dead81565b3480156103f157600080fd5b50604051601281526020016102a9565b34801561040d57600080fd5b5061031c61041c366004611f30565b610946565b34801561042d57600080fd5b506103a160145481565b34801561044357600080fd5b506102957f0000000000000000000000001c647d97a1efe98ffd083e0e16fbc3ace5192eed81565b34801561047757600080fd5b5061031c610486366004611f5c565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156104b057600080fd5b506104c46104bf366004611fba565b610982565b005b3480156104d257600080fd5b50600654610295906001600160a01b031681565b3480156104f257600080fd5b50610295738a99c005c7b425ce999441afee22d4987f7a986981565b34801561051a57600080fd5b506103a1600c5481565b34801561053057600080fd5b50600a5461031c90610100900460ff1681565b34801561054f57600080fd5b506103a161055e366004611f5c565b6001600160a01b031660009081526020819052604090205490565b34801561058557600080fd5b506104c4610daf565b34801561059a57600080fd5b506103a160125481565b3480156105b057600080fd5b506103a160135481565b3480156105c657600080fd5b506104c46105d5366004611f5c565b610e15565b3480156105e657600080fd5b506005546001600160a01b0316610295565b34801561060457600080fd5b506102c7610eb5565b34801561061957600080fd5b5060105461031c9060ff1681565b34801561063357600080fd5b5061031c610642366004611f30565b610ec4565b34801561065357600080fd5b5061031c610662366004611f30565b610f5d565b34801561067357600080fd5b506103a1600f5481565b34801561068957600080fd5b5061031c610698366004611f5c565b60176020526000908152604090205460ff1681565b3480156106b957600080fd5b50600a5461031c9060ff1681565b3480156106d357600080fd5b506103a1600e5481565b3480156106e957600080fd5b506103a1600d5481565b3480156106ff57600080fd5b506103a160075481565b34801561071557600080fd5b5061029573d5e2e43e30b706de8a0e01e72a6aba2b8930af4481565b34801561073d57600080fd5b506103a1600b5481565b34801561075357600080fd5b506103a1610762366004611fd3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561079957600080fd5b506103a160085481565b3480156107af57600080fd5b506104c46107be366004611f5c565b610f6a565b3480156107cf57600080fd5b506103a160115481565b3480156107e557600080fd5b506103a160095481565b6060600380546107fe9061200c565b80601f016020809104026020016040519081016040528092919081815260200182805461082a9061200c565b80156108775780601f1061084c57610100808354040283529160200191610877565b820191906000526020600020905b81548152906001019060200180831161085a57829003601f168201915b5050505050905090565b600061088e338484611035565b50600192915050565b60006108a4848484611159565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561092e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61093b8533858403611035565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161088e91859061097d90869061205d565b611035565b6005546001600160a01b031633146109c55760405162461bcd60e51b8152600401610925906020808252600490820152630c2eae8d60e31b604082015260600190565b6109f3307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d61097d60025490565b600a805461ffff1916610101179055604080516390e1a00360e01b8152905162278d009160009173663a5c229c09b049e36dcc11a9b0d4a8eb9db214916390e1a00391600480830192610120929190829003018187875af1158015610a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8091906120bd565b5190507f0000000000000000000000001c647d97a1efe98ffd083e0e16fbc3ace5192eed6001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663f305d719610add8447612144565b306000818152602081905260409020546040516001600160e01b031960e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523060848201524260a482015260c40160606040518083038185885af1158015610b51573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b76919061215b565b50506040516370a0823160e01b81523060048201526001600160a01b038316915063095ea7b39073663a5c229c09b049e36dcc11a9b0d4a8eb9db2149083906370a0823190602401602060405180830381865afa158015610bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bff9190612189565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6e91906121a2565b506040516370a0823160e01b815230600482015273663a5c229c09b049e36dcc11a9b0d4a8eb9db21490638af416f690849084906001600160a01b038216906370a0823190602401602060405180830381865afa158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf79190612189565b610d0189896121c4565b610d0b904261205d565b60006001610d216005546001600160a01b031690565b60405160e089901b6001600160e01b03191681526001600160a01b0396871660048201526024810195909552604485019390935290841660648401521515608483015290911660a482015260c4016000604051808303818588803b158015610d8857600080fd5b505af1158015610d9c573d6000803e3d6000fd5b5050505050610da9610daf565b50505050565b6005546001600160a01b03163314610e095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610925565b610e136000611755565b565b6006546001600160a01b03163314610e585760405162461bcd60e51b8152600401610925906020808252600490820152630c2eae8d60e31b604082015260600190565b6006546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f96166890600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546107fe9061200c565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610f465760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610925565b610f533385858403611035565b5060019392505050565b600061088e338484611159565b6005546001600160a01b03163314610fc45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610925565b6001600160a01b0381166110295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610925565b61103281611755565b50565b6001600160a01b0383166110975760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610925565b6001600160a01b0382166110f85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610925565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661117f5760405162461bcd60e51b8152600401610925906121e3565b6001600160a01b0382166111a55760405162461bcd60e51b815260040161092590612228565b806111bb576111b6838360006117a7565b505050565b6001600160a01b038216158015906111de57506001600160a01b03821661dead14155b80156111f45750600554600160a01b900460ff16155b156114ed57600a5460ff16611287576001600160a01b03831660009081526015602052604090205460ff168061124257506001600160a01b03821660009081526015602052604090205460ff165b6112875760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610925565b6001600160a01b03831660009081526017602052604090205460ff1680156112c857506001600160a01b03821660009081526016602052604090205460ff16155b156113ac5760075481111561133d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610925565b6009546001600160a01b038316600090815260208190526040902054611363908361205d565b11156113a75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610925565b6114ed565b6001600160a01b03821660009081526017602052604090205460ff1680156113ed57506001600160a01b03831660009081526016602052604090205460ff16155b15611463576007548111156113a75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610925565b6001600160a01b03821660009081526016602052604090205460ff166114ed576009546001600160a01b0383166000908152602081905260409020546114a9908361205d565b11156114ed5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610925565b3060009081526020819052604081205460085460105491929083101591819060019060ff16801561152c5750601454600f546115299190612144565b42105b1561153e576011549250829150611571565b60105460ff1680156115515750600f5442105b15611563576012549250829150611571565b5050600c54600b5490915060005b8380156115855750600a54610100900460ff165b801561159b5750600554600160a01b900460ff16155b80156115c057506001600160a01b03881660009081526017602052604090205460ff16155b80156115e557506001600160a01b03881660009081526015602052604090205460ff16155b801561160a57506001600160a01b03871660009081526015602052604090205460ff16155b15611639576005805460ff60a01b1916600160a01b17905561162b816118fb565b6005805460ff60a01b191690555b6005546001600160a01b03891660009081526015602052604090205460ff600160a01b90920482161591168061168757506001600160a01b03881660009081526015602052604090205460ff165b15611690575060005b6000811561173e576001600160a01b03891660009081526017602052604090205460ff1680156116c05750600085115b156116e1576116da60646116d48a88611cef565b90611d02565b9050611720565b6001600160a01b038a1660009081526017602052604090205460ff1680156117095750600084115b156117205761171d60646116d48a87611cef565b90505b8015611731576117318a30836117a7565b61173b8189612144565b97505b6117498a8a8a6117a7565b50505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166117cd5760405162461bcd60e51b8152600401610925906121e3565b6001600160a01b0382166117f35760405162461bcd60e51b815260040161092590612228565b6001600160a01b0383166000908152602081905260409020548181101561186b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610925565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118a290849061205d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118ee91815260200190565b60405180910390a3610da9565b3060009081526020819052604090205461191481611d0e565b478215611b91577f000000000000000000000000a6ee40255a91a0922e2ba17f8a8662edae0d56d86001600160a01b0316611a6657600060646119588360466121c4565b611962919061226b565b6006546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146119b4576040519150601f19603f3d011682016040523d82523d6000602084013e6119b9565b606091505b50509050806119da5760405162461bcd60e51b81526004016109259061228d565b73d5e2e43e30b706de8a0e01e72a6aba2b8930af44806119fa8486612144565b604051600081818185875af1925050503d8060008114611a36576040519150601f19603f3d011682016040523d82523d6000602084013e611a3b565b606091505b50508092505081611a5e5760405162461bcd60e51b81526004016109259061228d565b505050505050565b60006064611a758360486121c4565b611a7f919061226b565b6006546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114611ad1576040519150601f19603f3d011682016040523d82523d6000602084013e611ad6565b606091505b5050905080611af75760405162461bcd60e51b81526004016109259061228d565b6001600160a01b037f000000000000000000000000a6ee40255a91a0922e2ba17f8a8662edae0d56d8166108fc6064611b318560036121c4565b611b3b919061226b565b6040518115909202916000818181858888f19350505050158015611b63573d6000803e3d6000fd5b5073d5e2e43e30b706de8a0e01e72a6aba2b8930af44806064611b878660196121c4565b6119fa919061226b565b7f000000000000000000000000a6ee40255a91a0922e2ba17f8a8662edae0d56d86001600160a01b0316611bce57600060646119588360506121c4565b60006064611bdd8360526121c4565b611be7919061226b565b6006546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114611c39576040519150601f19603f3d011682016040523d82523d6000602084013e611c3e565b606091505b5050905080611c5f5760405162461bcd60e51b81526004016109259061228d565b6001600160a01b037f000000000000000000000000a6ee40255a91a0922e2ba17f8a8662edae0d56d8166108fc6064611c998560036121c4565b611ca3919061226b565b6040518115909202916000818181858888f19350505050158015611ccb573d6000803e3d6000fd5b5073d5e2e43e30b706de8a0e01e72a6aba2b8930af44806064611b8786600f6121c4565b6000611cfb82846121c4565b9392505050565b6000611cfb828461226b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d4357611d436122b9565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de591906122cf565b81600181518110611df857611df86122b9565b60200260200101906001600160a01b031690816001600160a01b031681525050611e43307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611035565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611e989085906000908690309042906004016122ec565b600060405180830381600087803b158015611eb257600080fd5b505af1158015611a5e573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611ef357858101830151858201604001528201611ed7565b81811115611f05576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461103257600080fd5b60008060408385031215611f4357600080fd5b8235611f4e81611f1b565b946020939093013593505050565b600060208284031215611f6e57600080fd5b8135611cfb81611f1b565b600080600060608486031215611f8e57600080fd5b8335611f9981611f1b565b92506020840135611fa981611f1b565b929592945050506040919091013590565b600060208284031215611fcc57600080fd5b5035919050565b60008060408385031215611fe657600080fd5b8235611ff181611f1b565b9150602083013561200181611f1b565b809150509250929050565b600181811c9082168061202057607f821691505b6020821081141561204157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561207057612070612047565b500190565b604051610120810167ffffffffffffffff811182821017156120a757634e487b7160e01b600052604160045260246000fd5b60405290565b80516120b881611f1b565b919050565b600061012082840312156120d057600080fd5b6120d8612075565b825181526120e8602084016120ad565b602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015261212160c084016120ad565b60c082015260e08381015190820152610100928301519281019290925250919050565b60008282101561215657612156612047565b500390565b60008060006060848603121561217057600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561219b57600080fd5b5051919050565b6000602082840312156121b457600080fd5b81518015158114611cfb57600080fd5b60008160001904831182151516156121de576121de612047565b500290565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008261228857634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601290820152710ccc2d2d8cac840e6cadcc8d2dcce40cae8d60731b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122e157600080fd5b8151611cfb81611f1b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561233c5784516001600160a01b031683529383019391830191600101612317565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c34defc76db174b9b0d9d50eef2aa5083278eba3b7bb3d6f61e5862a5911dfa964736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000283c084160a8e192ff01b08bed18a4d6dc9ec7b200000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000104172656e612044656174686d617463680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054152454e4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087374726174656779000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Arena Deathmatch
Arg [1] : _symbol (string): ARENA
Arg [2] : _totalSupply (uint256): 1000000
Arg [3] : _buyTaxes (uint256): 5
Arg [4] : _sellTaxes (uint256): 5
Arg [5] : _lockOwnerAndTaxReceiver (address): 0x283C084160A8E192fF01b08bED18a4d6DC9ec7B2
Arg [6] : _ref (bytes): 0x7374726174656779
Arg [7] : _phase1Length (uint256): 300
Arg [8] : _phase2Length (uint256): 300
Arg [9] : _phase1Tax (uint256): 20
Arg [10] : _phase2Tax (uint256): 10
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 000000000000000000000000283c084160a8e192ff01b08bed18a4d6dc9ec7b2
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [7] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [8] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [12] : 4172656e612044656174686d6174636800000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [14] : 4152454e41000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [16] : 7374726174656779000000000000000000000000000000000000000000000000
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.