Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000,000 KRD 🐕 🤖
Holders
65
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0 KRD 🐕 🤖Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BuyBackToken
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/BuyBackToken.sol // SPDX-License-Identifier: Apache-2.0 /* __ __ __ __ __ __ ___ __ __ __ |__/ / \ | \ /\ |__) / \ |__) / \ | | \ / \ / _` | \ \__/ |__/ /~~\ | \ \__/ |__) \__/ | |__/ \__/ \__> t.me/kodarobotdogtoken https://kodarobot.dog/ */ pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./UniswapInterfaces.sol"; /** * @title BuyBackToken */ contract BuyBackToken is Ownable, ReentrancyGuard, IERC20 { using SafeMath for uint256; using SafeERC20 for IERC20; uint256 private constant MAX = ~uint256(0); address private constant UNISWAP_ROUTER_ADDRESS = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address private constant UNISWAP_LOCKER_ADDRESS = 0x663A5C229c09b049E36dCc11a9B0d4a8Eb9db214; address private constant LOCK_REFERRAL_ADDRESS = 0x0000000000000000000000000000000000000000; uint256 private constant LOCK_PERIOD = 2592000; // 3 months mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private bots; mapping (address => uint) private cooldown; string private _name; string private _symbol; uint256 private constant _tTotal = 1e12 * 10**9; uint8 private constant _decimals = 9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; uint256 private _taxFee; uint256 private _teamFee; uint256 private _previousTaxFee = _taxFee; uint256 private _previousteamFee = _teamFee; address payable private _FeeAddress; address payable private _marketingWalletAddress; IUniswapV2Router02 private uniswapV2Router; IUniswapV2Locker private uniswapV2Locker; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; bool private cooldownEnabled = false; uint256 private _maxTxAmount = _tTotal; uint256 public lockFees; event MaxTxAmountUpdated(uint _maxTxAmount); /** * @dev Creates a new buy back token. */ constructor( string memory name_, string memory symbol_, address payable addr1, address payable addr2, uint256 lockFees_ ) { _name = name_; _symbol = symbol_; _FeeAddress = addr1; _marketingWalletAddress = addr2; lockFees = lockFees_; _rOwned[msg.sender] = _rTotal; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_FeeAddress] = true; _isExcludedFromFee[_marketingWalletAddress] = true; } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(msg.sender, spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function setCooldownEnabled(bool onoff) external onlyOwner() { cooldownEnabled = onoff; } function tokenFromReflection(uint256 rAmount) private view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function removeAllFee() private { if(_taxFee == 0 && _teamFee == 0) return; _previousTaxFee = _taxFee; _previousteamFee = _teamFee; _taxFee = 0; _teamFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _teamFee = _previousteamFee; } function _approve(address owner, address spender, uint256 amount) private { 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); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); _taxFee = 5; _teamFee = 10; if (from != owner() && to != owner()) { require(!bots[from] && !bots[to]); if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] && cooldownEnabled) { require(amount <= _maxTxAmount); require(cooldown[to] < block.timestamp); cooldown[to] = block.timestamp + (30 seconds); } if (to == uniswapV2Pair && from != address(uniswapV2Router) && ! _isExcludedFromFee[from]) { _taxFee = 5; _teamFee = 20; } uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwap && from != uniswapV2Pair && swapEnabled) { swapTokensForEth(contractTokenBalance); uint256 contractETHBalance = address(this).balance; if(contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } bool takeFee = true; if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){ takeFee = false; } _tokenTransfer(from,to,amount,takeFee); } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function sendETHToFee(uint256 amount) private { _FeeAddress.transfer(amount.div(2)); _marketingWalletAddress.transfer(amount.div(2)); } function openTradingAndLockLiquidity() external onlyOwner { require(!tradingOpen,"trading is already open"); uint256 contractBalanceEth = address(this).balance; // TODO dynamically fetch the amount of fees and adjust liquidity provisioning accordingly // IUniswapV2Locker.FeeStruct memory fees = getFees(); // uint256 ethFee = fees.ethFee; uint256 ethFee = lockFees; // Check that the balance is higher than the lock fees require(contractBalanceEth > ethFee, "not enough ETH to pay lock fees"); uint256 liquidityEthAmount = contractBalanceEth.sub(ethFee); // Get Uniswap router contract IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(UNISWAP_ROUTER_ADDRESS); uniswapV2Router = _uniswapV2Router; // Allow the router to spend contract tokens _approve(address(this), address(uniswapV2Router), _tTotal); // Create the pair using the Uniswap router uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); // Add the ETH liquidity (contract balance minus the fees required to lock the LP tokens) uniswapV2Router.addLiquidityETH{value: liquidityEthAmount}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp); // Allow the router to transfer LP tokens IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); // Get UniswapV2Locker contract uniswapV2Locker = IUniswapV2Locker(UNISWAP_LOCKER_ADDRESS); // Allow the locker to transfer LP tokens IERC20(uniswapV2Pair).approve(UNISWAP_LOCKER_ADDRESS, type(uint).max); // Get the number of LP tokens uint256 lpAmount = IERC20(uniswapV2Pair).balanceOf(owner()); // Unlock date is set to now + the lock period uint256 unlockDate = block.timestamp.add(LOCK_PERIOD); address payable referral = payable(LOCK_REFERRAL_ADDRESS); // Set the withdrawer to the owner address address payable withdrawer = payable(owner()); // Lock LP tokens uniswapV2Locker.lockLPToken{value:ethFee}(uniswapV2Pair, lpAmount, unlockDate, referral, true, withdrawer); // Open trading with the right parameters swapEnabled = true; cooldownEnabled = true; setMaxTxPercent(15); tradingOpen = true; // And finally renounce the ownership of the contract renounceOwnership(); } function openTrading() external onlyOwner { require(!tradingOpen,"trading is already open"); uint256 contractBalanceEth = address(this).balance; // Get Uniswap router contract IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(UNISWAP_ROUTER_ADDRESS); uniswapV2Router = _uniswapV2Router; // Allow the router to spend contract tokens _approve(address(this), address(uniswapV2Router), _tTotal); // Create the pair using the Uniswap router uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); // Add the ETH liquidity (contract balance minus the fees required to lock the LP tokens) uniswapV2Router.addLiquidityETH{value: contractBalanceEth}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp); // Allow the router to transfer LP tokens IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); // Open trading with the right parameters swapEnabled = true; cooldownEnabled = true; setMaxTxPercent(15); tradingOpen = true; renounceOwnership(); } function getFees() public view returns(IUniswapV2Locker.FeeStruct memory){ return IUniswapV2Locker(UNISWAP_LOCKER_ADDRESS).gFees(); } function setBots(address[] memory bots_) public onlyOwner { for (uint i = 0; i < bots_.length; i++) { bots[bots_[i]] = true; } } function delBot(address notbot) public onlyOwner { bots[notbot] = false; } function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private { if(!takeFee) removeAllFee(); _transferStandard(sender, recipient, amount); if(!takeFee) restoreAllFee(); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeTeam(tTeam); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _takeTeam(uint256 tTeam) private { uint256 currentRate = _getRate(); uint256 rTeam = tTeam.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rTeam); } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function manualswap() external { require(msg.sender == _FeeAddress); uint256 contractBalance = balanceOf(address(this)); swapTokensForEth(contractBalance); } function manualsend() external { require(msg.sender == _FeeAddress); uint256 contractETHBalance = address(this).balance; sendETHToFee(contractETHBalance); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues(tAmount, _taxFee, _teamFee); uint256 currentRate = _getRate(); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tTeam, currentRate); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam); } function _getTValues(uint256 tAmount, uint256 taxFee, uint256 TeamFee) private pure returns (uint256, uint256, uint256) { uint256 tFee = tAmount.mul(taxFee).div(100); uint256 tTeam = tAmount.mul(TeamFee).div(100); uint256 tTransferAmount = tAmount.sub(tFee).sub(tTeam); return (tTransferAmount, tFee, tTeam); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tTeam, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rTeam = tTeam.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rTeam); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function setMaxTxPercent(uint256 maxTxPercent) public onlyOwner() { require(maxTxPercent > 0, "Amount must be greater than 0"); _maxTxAmount = _tTotal.mul(maxTxPercent).div(10**2); emit MaxTxAmountUpdated(_maxTxAmount); } receive() external payable {} fallback() external payable {} modifier lockTheSwap { inSwap = true; _; inSwap = false; } /** * @notice Withdraw the specified amount if possible. */ function withdraw() public nonReentrant onlyOwner{ uint256 contractBalance = address(this).balance; address payable ownerWallet = payable(owner()); bool success = ownerWallet.send(contractBalance); require(success, "withdraw failed."); } function setLockFees(uint256 newLockFees) external onlyOwner{ lockFees = newLockFees; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute. return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2); } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// contracts/UniswapInterfaces.sol // SPDX-License-Identifier: Apache-2.0 pragma solidity 0.8.6; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IUniswapV2Locker{ struct FeeStruct { uint256 ethFee; // Small eth fee to prevent spam on the platform address 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 address 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 lockLPToken (address _lpToken, uint256 _amount, uint256 _unlock_date, address payable _referral, bool _fee_in_eth, address payable _withdrawer) external payable; function gFees() external view returns(FeeStruct memory) ; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "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":"address payable","name":"addr1","type":"address"},{"internalType":"address payable","name":"addr2","type":"address"},{"internalType":"uint256","name":"lockFees_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"notbot","type":"address"}],"name":"delBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getFees","outputs":[{"components":[{"internalType":"uint256","name":"ethFee","type":"uint256"},{"internalType":"address","name":"secondaryFeeToken","type":"address"},{"internalType":"uint256","name":"secondaryTokenFee","type":"uint256"},{"internalType":"uint256","name":"secondaryTokenDiscount","type":"uint256"},{"internalType":"uint256","name":"liquidityFee","type":"uint256"},{"internalType":"uint256","name":"referralPercent","type":"uint256"},{"internalType":"address","name":"referralToken","type":"address"},{"internalType":"uint256","name":"referralHold","type":"uint256"},{"internalType":"uint256","name":"referralDiscount","type":"uint256"}],"internalType":"struct IUniswapV2Locker.FeeStruct","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openTradingAndLockLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"setBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setCooldownEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLockFees","type":"uint256"}],"name":"setLockFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","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":"pure","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526200001b683635c9adc5dea0000060001962000429565b6200002990600019620003c6565b600a55600c54600e55600d54600f556014805462ffffff60a81b19169055683635c9adc5dea000006015553480156200006157600080fd5b5060405162002a8d38038062002a8d83398101604081905262000084916200032d565b6200008f3362000163565b600180558451620000a8906008906020880190620001b3565b508351620000be906009906020870190620001b3565b50601080546001600160a01b03199081166001600160a01b0395861617825560118054909116938516939093178355601691909155600a543360009081526002602090815260408083209390935581548616825260059052818120805460ff1990811660019081179092553083528383208054821683179055935486168252828220805485168217905593549094168452909220805490921617905550620004629050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001c190620003ec565b90600052602060002090601f016020900481019282620001e5576000855562000230565b82601f106200020057805160ff191683800117855562000230565b8280016001018555821562000230579182015b828111156200023057825182559160200191906001019062000213565b506200023e92915062000242565b5090565b5b808211156200023e576000815560010162000243565b80516001600160a01b03811681146200027157600080fd5b919050565b600082601f8301126200028857600080fd5b81516001600160401b0380821115620002a557620002a56200044c565b604051601f8301601f19908116603f01168101908282118183101715620002d057620002d06200044c565b81604052838152602092508683858801011115620002ed57600080fd5b600091505b83821015620003115785820183015181830184015290820190620002f2565b83821115620003235760008385830101525b9695505050505050565b600080600080600060a086880312156200034657600080fd5b85516001600160401b03808211156200035e57600080fd5b6200036c89838a0162000276565b965060208801519150808211156200038357600080fd5b50620003928882890162000276565b945050620003a36040870162000259565b9250620003b36060870162000259565b9150608086015190509295509295909350565b600082821015620003e757634e487b7160e01b600052601160045260246000fd5b500390565b600181811c908216806200040157607f821691505b602082108114156200042357634e487b7160e01b600052602260045260246000fd5b50919050565b6000826200044757634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052604160045260246000fd5b61261b80620004726000396000f3fe6080604052600436106101435760003560e01c80638da5cb5b116100b0578063c9567bf91161006c578063c9567bf914610365578063d543dbeb1461037a578063db8d55f11461039a578063dd62ed3e1461042a578063e1ae0d2614610470578063f2fde38b1461049057005b80638da5cb5b146102bd57806395d89b41146102e5578063a9059cbb146102fa578063ab3662921461031a578063b515566a14610330578063c3c8cd801461035057005b80633ccfd60b116100ff5780633ccfd60b146102295780635932ead11461023e578063627e80e71461025e5780636fc3eaec1461027357806370a0823114610288578063715018a6146102a857005b806306fdde031461014c578063095ea7b31461017757806318160ddd146101a757806323b872dd146101cd578063273123b7146101ed578063313ce5671461020d57005b3661014a57005b005b34801561015857600080fd5b506101616104b0565b60405161016e919061233c565b60405180910390f35b34801561018357600080fd5b506101976101923660046120fb565b610542565b604051901515815260200161016e565b3480156101b357600080fd5b50683635c9adc5dea000005b60405190815260200161016e565b3480156101d957600080fd5b506101976101e83660046120ba565b610558565b3480156101f957600080fd5b5061014a610208366004612047565b6105c1565b34801561021957600080fd5b506040516009815260200161016e565b34801561023557600080fd5b5061014a610615565b34801561024a57600080fd5b5061014a6102593660046121e0565b610723565b34801561026a57600080fd5b5061014a61076b565b34801561027f57600080fd5b5061014a610d84565b34801561029457600080fd5b506101bf6102a3366004612047565b610da8565b3480156102b457600080fd5b5061014a610dd0565b3480156102c957600080fd5b506000546040516001600160a01b03909116815260200161016e565b3480156102f157600080fd5b50610161610e06565b34801561030657600080fd5b506101976103153660046120fb565b610e15565b34801561032657600080fd5b506101bf60165481565b34801561033c57600080fd5b5061014a61034b366004612127565b610e22565b34801561035c57600080fd5b5061014a610eb8565b34801561037157600080fd5b5061014a610ee5565b34801561038657600080fd5b5061014a6103953660046122a1565b611293565b3480156103a657600080fd5b506103af611366565b60405161016e919060006101208201905082518252602083015160018060a01b03808216602085015260408501516040850152606085015160608501526080850151608085015260a085015160a08501528060c08601511660c0850152505060e083015160e083015261010080840151818401525092915050565b34801561043657600080fd5b506101bf610445366004612081565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561047c57600080fd5b5061014a61048b3660046122a1565b611452565b34801561049c57600080fd5b5061014a6104ab366004612047565b611481565b6060600880546104bf90612502565b80601f01602080910402602001604051908101604052809291908181526020018280546104eb90612502565b80156105385780601f1061050d57610100808354040283529160200191610538565b820191906000526020600020905b81548152906001019060200180831161051b57829003601f168201915b5050505050905090565b600061054f338484611519565b50600192915050565b600061056584848461163d565b6105b784336105b2856040518060600160405280602881526020016125be602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906119d7565b611519565b5060019392505050565b6000546001600160a01b031633146105f45760405162461bcd60e51b81526004016105eb90612391565b60405180910390fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b600260015414156106685760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105eb565b60026001556000546001600160a01b031633146106975760405162461bcd60e51b81526004016105eb90612391565b4760006106ac6000546001600160a01b031690565b90506000816001600160a01b03166108fc849081150290604051600060405180830381858888f1935050505090508061071a5760405162461bcd60e51b815260206004820152601060248201526f3bb4ba34323930bb903330b4b632b21760811b60448201526064016105eb565b50506001805550565b6000546001600160a01b0316331461074d5760405162461bcd60e51b81526004016105eb90612391565b60148054911515600160b81b0260ff60b81b19909216919091179055565b6000546001600160a01b031633146107955760405162461bcd60e51b81526004016105eb90612391565b601454600160a01b900460ff16156107e95760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064016105eb565b601654479080821161083d5760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656e6f7567682045544820746f20706179206c6f636b20666565730060448201526064016105eb565b60006108498383611a03565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091559091506108893082683635c9adc5dea00000611519565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156108c257600080fd5b505afa1580156108d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fa9190612064565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561094257600080fd5b505afa158015610956573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097a9190612064565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156109c257600080fd5b505af11580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa9190612064565b601480546001600160a01b0319166001600160a01b039283161790556012541663f305d7198330610a2a81610da8565b600080610a3f6000546001600160a01b031690565b426040518863ffffffff1660e01b8152600401610a6196959493929190612301565b6060604051808303818588803b158015610a7a57600080fd5b505af1158015610a8e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ab391906122d3565b505060145460125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b158015610b0757600080fd5b505af1158015610b1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3f91906121fd565b50601380546001600160a01b03191673663a5c229c09b049e36dcc11a9b0d4a8eb9db21490811790915560145460405163095ea7b360e01b8152600481019290925260001960248301526001600160a01b03169063095ea7b390604401602060405180830381600087803b158015610bb657600080fd5b505af1158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee91906121fd565b506014546000906001600160a01b03166370a08231610c156000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610c5457600080fd5b505afa158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8c91906122ba565b90506000610c9d4262278d00611a16565b9050600080610cb46000546001600160a01b031690565b60135460145460405163457a0b7b60e11b81526001600160a01b039182166004820152602481018890526044810187905285821660648201526001608482015281841660a48201529293501690638af416f690899060c4016000604051808303818588803b158015610d2557600080fd5b505af1158015610d39573d6000803e3d6000fd5b50506014805461ffff60b01b191661010160b01b17905550610d5f9150600f9050611293565b6014805460ff60a01b1916600160a01b179055610d7a610dd0565b5050505050505050565b6010546001600160a01b03163314610d9b57600080fd5b47610da581611a22565b50565b6001600160a01b038116600090815260026020526040812054610dca90611aa7565b92915050565b6000546001600160a01b03163314610dfa5760405162461bcd60e51b81526004016105eb90612391565b610e046000611b24565b565b6060600980546104bf90612502565b600061054f33848461163d565b6000546001600160a01b03163314610e4c5760405162461bcd60e51b81526004016105eb90612391565b60005b8151811015610eb457600160066000848481518110610e7057610e7061256e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610eac8161253d565b915050610e4f565b5050565b6010546001600160a01b03163314610ecf57600080fd5b6000610eda30610da8565b9050610da581611b74565b6000546001600160a01b03163314610f0f5760405162461bcd60e51b81526004016105eb90612391565b601454600160a01b900460ff1615610f635760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064016105eb565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091554790610fa23082683635c9adc5dea00000611519565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610fdb57600080fd5b505afa158015610fef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110139190612064565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561105b57600080fd5b505afa15801561106f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110939190612064565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156110db57600080fd5b505af11580156110ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111139190612064565b601480546001600160a01b0319166001600160a01b039283161790556012541663f305d719833061114381610da8565b6000806111586000546001600160a01b031690565b426040518863ffffffff1660e01b815260040161117a96959493929190612301565b6060604051808303818588803b15801561119357600080fd5b505af11580156111a7573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111cc91906122d3565b505060145460125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b15801561122057600080fd5b505af1158015611234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125891906121fd565b506014805461ffff60b01b191661010160b01b179055611278600f611293565b6014805460ff60a01b1916600160a01b179055610eb4610dd0565b6000546001600160a01b031633146112bd5760405162461bcd60e51b81526004016105eb90612391565b6000811161130d5760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016105eb565b61132b6064611325683635c9adc5dea0000084611cfd565b90611d09565b60158190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf9060200160405180910390a150565b6113c76040518061012001604052806000815260200160006001600160a01b031681526020016000815260200160008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081525090565b73663a5c229c09b049e36dcc11a9b0d4a8eb9db2146001600160a01b03166390e1a0036040518163ffffffff1660e01b81526004016101206040518083038186803b15801561141557600080fd5b505afa158015611429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144d919061221a565b905090565b6000546001600160a01b0316331461147c5760405162461bcd60e51b81526004016105eb90612391565b601655565b6000546001600160a01b031633146114ab5760405162461bcd60e51b81526004016105eb90612391565b6001600160a01b0381166115105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105eb565b610da581611b24565b6001600160a01b03831661157b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105eb565b6001600160a01b0382166115dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105eb565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166116a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105eb565b6001600160a01b0382166117035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105eb565b600081116117655760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105eb565b6005600c55600a600d556000546001600160a01b0384811691161480159061179b57506000546001600160a01b03838116911614155b1561197a576001600160a01b03831660009081526006602052604090205460ff161580156117e257506001600160a01b03821660009081526006602052604090205460ff16155b6117eb57600080fd5b6014546001600160a01b03848116911614801561181657506012546001600160a01b03838116911614155b801561183b57506001600160a01b03821660009081526005602052604090205460ff16155b80156118505750601454600160b81b900460ff165b156118ad5760155481111561186457600080fd5b6001600160a01b038216600090815260076020526040902054421161188857600080fd5b61189342601e612492565b6001600160a01b0383166000908152600760205260409020555b6014546001600160a01b0383811691161480156118d857506012546001600160a01b03848116911614155b80156118fd57506001600160a01b03831660009081526005602052604090205460ff16155b1561190d576005600c556014600d555b600061191830610da8565b601454909150600160a81b900460ff1615801561194357506014546001600160a01b03858116911614155b80156119585750601454600160b01b900460ff165b156119785761196681611b74565b4780156119765761197647611a22565b505b505b6001600160a01b03831660009081526005602052604090205460019060ff16806119bc57506001600160a01b03831660009081526005602052604090205460ff165b156119c5575060005b6119d184848484611d15565b50505050565b600081848411156119fb5760405162461bcd60e51b81526004016105eb919061233c565b505050900390565b6000611a0f82846124eb565b9392505050565b6000611a0f8284612492565b6010546001600160a01b03166108fc611a3c836002611d09565b6040518115909202916000818181858888f19350505050158015611a64573d6000803e3d6000fd5b506011546001600160a01b03166108fc611a7f836002611d09565b6040518115909202916000818181858888f19350505050158015610eb4573d6000803e3d6000fd5b6000600a54821115611b0e5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105eb565b6000611b18611d43565b9050611a0f8382611d09565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611bbc57611bbc61256e565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611c1057600080fd5b505afa158015611c24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c489190612064565b81600181518110611c5b57611c5b61256e565b6001600160a01b039283166020918202929092010152601254611c819130911684611519565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611cba9085906000908690309042906004016123c6565b600060405180830381600087803b158015611cd457600080fd5b505af1158015611ce8573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b6000611a0f82846124cc565b6000611a0f82846124aa565b80611d2257611d22611d66565b611d2d848484611d94565b806119d1576119d1600e54600c55600f54600d55565b6000806000611d50611e8b565b9092509050611d5f8282611d09565b9250505090565b600c54158015611d765750600d54155b15611d7d57565b600c8054600e55600d8054600f5560009182905555565b600080600080600080611da687611ecd565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150611dd89087611a03565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054611e079086611a16565b6001600160a01b038916600090815260026020526040902055611e2981611f2a565b611e338483611f74565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611e7891815260200190565b60405180910390a3505050505050505050565b600a546000908190683635c9adc5dea00000611ea78282611d09565b821015611ec4575050600a5492683635c9adc5dea0000092509050565b90939092509050565b6000806000806000806000806000611eea8a600c54600d54611f98565b9250925092506000611efa611d43565b90506000806000611f0d8e878787611fe7565b919e509c509a509598509396509194505050505091939550919395565b6000611f34611d43565b90506000611f428383611cfd565b30600090815260026020526040902054909150611f5f9082611a16565b30600090815260026020526040902055505050565b600a54611f819083611a03565b600a55600b54611f919082611a16565b600b555050565b6000808080611fac60646113258989611cfd565b90506000611fbf60646113258a89611cfd565b90506000611fd782611fd18b86611a03565b90611a03565b9992985090965090945050505050565b6000808080611ff68886611cfd565b905060006120048887611cfd565b905060006120128888611cfd565b9050600061202482611fd18686611a03565b939b939a50919850919650505050505050565b80516120428161259a565b919050565b60006020828403121561205957600080fd5b8135611a0f8161259a565b60006020828403121561207657600080fd5b8151611a0f8161259a565b6000806040838503121561209457600080fd5b823561209f8161259a565b915060208301356120af8161259a565b809150509250929050565b6000806000606084860312156120cf57600080fd5b83356120da8161259a565b925060208401356120ea8161259a565b929592945050506040919091013590565b6000806040838503121561210e57600080fd5b82356121198161259a565b946020939093013593505050565b6000602080838503121561213a57600080fd5b823567ffffffffffffffff8082111561215257600080fd5b818501915085601f83011261216657600080fd5b81358181111561217857612178612584565b8060051b9150612189848301612461565b8181528481019084860184860187018a10156121a457600080fd5b600095505b838610156121d357803594506121be8561259a565b848352600195909501949186019186016121a9565b5098975050505050505050565b6000602082840312156121f257600080fd5b8135611a0f816125af565b60006020828403121561220f57600080fd5b8151611a0f816125af565b6000610120828403121561222d57600080fd5b612235612437565b8251815261224560208401612037565b602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015261227e60c08401612037565b60c082015260e08381015190820152610100928301519281019290925250919050565b6000602082840312156122b357600080fd5b5035919050565b6000602082840312156122cc57600080fd5b5051919050565b6000806000606084860312156122e857600080fd5b8351925060208401519150604084015190509250925092565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600060208083528351808285015260005b818110156123695785810183015185820160400152820161234d565b8181111561237b576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124165784516001600160a01b0316835293830193918301916001016123f1565b50506001600160a01b03969096166060850152505050608001529392505050565b604051610120810167ffffffffffffffff8111828210171561245b5761245b612584565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561248a5761248a612584565b604052919050565b600082198211156124a5576124a5612558565b500190565b6000826124c757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156124e6576124e6612558565b500290565b6000828210156124fd576124fd612558565b500390565b600181811c9082168061251657607f821691505b6020821081141561253757634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561255157612551612558565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610da557600080fd5b8015158114610da557600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122079f6e0ce84f726d07cf6b17ab6d3e40c303978f2e17297131b4067007bac2fc464736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000067a143fc9cfc8795e6fa0b6f415897e0e8529c3d0000000000000000000000002077f849b636e56214f1f47c1e0f89785e220ba100000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000000000000000000000000000000000000000000d4b6f6461726f626f742e646f6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4b524420f09f909520f09fa49600000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101435760003560e01c80638da5cb5b116100b0578063c9567bf91161006c578063c9567bf914610365578063d543dbeb1461037a578063db8d55f11461039a578063dd62ed3e1461042a578063e1ae0d2614610470578063f2fde38b1461049057005b80638da5cb5b146102bd57806395d89b41146102e5578063a9059cbb146102fa578063ab3662921461031a578063b515566a14610330578063c3c8cd801461035057005b80633ccfd60b116100ff5780633ccfd60b146102295780635932ead11461023e578063627e80e71461025e5780636fc3eaec1461027357806370a0823114610288578063715018a6146102a857005b806306fdde031461014c578063095ea7b31461017757806318160ddd146101a757806323b872dd146101cd578063273123b7146101ed578063313ce5671461020d57005b3661014a57005b005b34801561015857600080fd5b506101616104b0565b60405161016e919061233c565b60405180910390f35b34801561018357600080fd5b506101976101923660046120fb565b610542565b604051901515815260200161016e565b3480156101b357600080fd5b50683635c9adc5dea000005b60405190815260200161016e565b3480156101d957600080fd5b506101976101e83660046120ba565b610558565b3480156101f957600080fd5b5061014a610208366004612047565b6105c1565b34801561021957600080fd5b506040516009815260200161016e565b34801561023557600080fd5b5061014a610615565b34801561024a57600080fd5b5061014a6102593660046121e0565b610723565b34801561026a57600080fd5b5061014a61076b565b34801561027f57600080fd5b5061014a610d84565b34801561029457600080fd5b506101bf6102a3366004612047565b610da8565b3480156102b457600080fd5b5061014a610dd0565b3480156102c957600080fd5b506000546040516001600160a01b03909116815260200161016e565b3480156102f157600080fd5b50610161610e06565b34801561030657600080fd5b506101976103153660046120fb565b610e15565b34801561032657600080fd5b506101bf60165481565b34801561033c57600080fd5b5061014a61034b366004612127565b610e22565b34801561035c57600080fd5b5061014a610eb8565b34801561037157600080fd5b5061014a610ee5565b34801561038657600080fd5b5061014a6103953660046122a1565b611293565b3480156103a657600080fd5b506103af611366565b60405161016e919060006101208201905082518252602083015160018060a01b03808216602085015260408501516040850152606085015160608501526080850151608085015260a085015160a08501528060c08601511660c0850152505060e083015160e083015261010080840151818401525092915050565b34801561043657600080fd5b506101bf610445366004612081565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561047c57600080fd5b5061014a61048b3660046122a1565b611452565b34801561049c57600080fd5b5061014a6104ab366004612047565b611481565b6060600880546104bf90612502565b80601f01602080910402602001604051908101604052809291908181526020018280546104eb90612502565b80156105385780601f1061050d57610100808354040283529160200191610538565b820191906000526020600020905b81548152906001019060200180831161051b57829003601f168201915b5050505050905090565b600061054f338484611519565b50600192915050565b600061056584848461163d565b6105b784336105b2856040518060600160405280602881526020016125be602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906119d7565b611519565b5060019392505050565b6000546001600160a01b031633146105f45760405162461bcd60e51b81526004016105eb90612391565b60405180910390fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b600260015414156106685760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105eb565b60026001556000546001600160a01b031633146106975760405162461bcd60e51b81526004016105eb90612391565b4760006106ac6000546001600160a01b031690565b90506000816001600160a01b03166108fc849081150290604051600060405180830381858888f1935050505090508061071a5760405162461bcd60e51b815260206004820152601060248201526f3bb4ba34323930bb903330b4b632b21760811b60448201526064016105eb565b50506001805550565b6000546001600160a01b0316331461074d5760405162461bcd60e51b81526004016105eb90612391565b60148054911515600160b81b0260ff60b81b19909216919091179055565b6000546001600160a01b031633146107955760405162461bcd60e51b81526004016105eb90612391565b601454600160a01b900460ff16156107e95760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064016105eb565b601654479080821161083d5760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656e6f7567682045544820746f20706179206c6f636b20666565730060448201526064016105eb565b60006108498383611a03565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091559091506108893082683635c9adc5dea00000611519565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156108c257600080fd5b505afa1580156108d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fa9190612064565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561094257600080fd5b505afa158015610956573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097a9190612064565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156109c257600080fd5b505af11580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa9190612064565b601480546001600160a01b0319166001600160a01b039283161790556012541663f305d7198330610a2a81610da8565b600080610a3f6000546001600160a01b031690565b426040518863ffffffff1660e01b8152600401610a6196959493929190612301565b6060604051808303818588803b158015610a7a57600080fd5b505af1158015610a8e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ab391906122d3565b505060145460125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b158015610b0757600080fd5b505af1158015610b1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3f91906121fd565b50601380546001600160a01b03191673663a5c229c09b049e36dcc11a9b0d4a8eb9db21490811790915560145460405163095ea7b360e01b8152600481019290925260001960248301526001600160a01b03169063095ea7b390604401602060405180830381600087803b158015610bb657600080fd5b505af1158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee91906121fd565b506014546000906001600160a01b03166370a08231610c156000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610c5457600080fd5b505afa158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8c91906122ba565b90506000610c9d4262278d00611a16565b9050600080610cb46000546001600160a01b031690565b60135460145460405163457a0b7b60e11b81526001600160a01b039182166004820152602481018890526044810187905285821660648201526001608482015281841660a48201529293501690638af416f690899060c4016000604051808303818588803b158015610d2557600080fd5b505af1158015610d39573d6000803e3d6000fd5b50506014805461ffff60b01b191661010160b01b17905550610d5f9150600f9050611293565b6014805460ff60a01b1916600160a01b179055610d7a610dd0565b5050505050505050565b6010546001600160a01b03163314610d9b57600080fd5b47610da581611a22565b50565b6001600160a01b038116600090815260026020526040812054610dca90611aa7565b92915050565b6000546001600160a01b03163314610dfa5760405162461bcd60e51b81526004016105eb90612391565b610e046000611b24565b565b6060600980546104bf90612502565b600061054f33848461163d565b6000546001600160a01b03163314610e4c5760405162461bcd60e51b81526004016105eb90612391565b60005b8151811015610eb457600160066000848481518110610e7057610e7061256e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610eac8161253d565b915050610e4f565b5050565b6010546001600160a01b03163314610ecf57600080fd5b6000610eda30610da8565b9050610da581611b74565b6000546001600160a01b03163314610f0f5760405162461bcd60e51b81526004016105eb90612391565b601454600160a01b900460ff1615610f635760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064016105eb565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091554790610fa23082683635c9adc5dea00000611519565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610fdb57600080fd5b505afa158015610fef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110139190612064565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561105b57600080fd5b505afa15801561106f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110939190612064565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156110db57600080fd5b505af11580156110ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111139190612064565b601480546001600160a01b0319166001600160a01b039283161790556012541663f305d719833061114381610da8565b6000806111586000546001600160a01b031690565b426040518863ffffffff1660e01b815260040161117a96959493929190612301565b6060604051808303818588803b15801561119357600080fd5b505af11580156111a7573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111cc91906122d3565b505060145460125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b15801561122057600080fd5b505af1158015611234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125891906121fd565b506014805461ffff60b01b191661010160b01b179055611278600f611293565b6014805460ff60a01b1916600160a01b179055610eb4610dd0565b6000546001600160a01b031633146112bd5760405162461bcd60e51b81526004016105eb90612391565b6000811161130d5760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016105eb565b61132b6064611325683635c9adc5dea0000084611cfd565b90611d09565b60158190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf9060200160405180910390a150565b6113c76040518061012001604052806000815260200160006001600160a01b031681526020016000815260200160008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081525090565b73663a5c229c09b049e36dcc11a9b0d4a8eb9db2146001600160a01b03166390e1a0036040518163ffffffff1660e01b81526004016101206040518083038186803b15801561141557600080fd5b505afa158015611429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144d919061221a565b905090565b6000546001600160a01b0316331461147c5760405162461bcd60e51b81526004016105eb90612391565b601655565b6000546001600160a01b031633146114ab5760405162461bcd60e51b81526004016105eb90612391565b6001600160a01b0381166115105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105eb565b610da581611b24565b6001600160a01b03831661157b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105eb565b6001600160a01b0382166115dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105eb565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166116a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105eb565b6001600160a01b0382166117035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105eb565b600081116117655760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105eb565b6005600c55600a600d556000546001600160a01b0384811691161480159061179b57506000546001600160a01b03838116911614155b1561197a576001600160a01b03831660009081526006602052604090205460ff161580156117e257506001600160a01b03821660009081526006602052604090205460ff16155b6117eb57600080fd5b6014546001600160a01b03848116911614801561181657506012546001600160a01b03838116911614155b801561183b57506001600160a01b03821660009081526005602052604090205460ff16155b80156118505750601454600160b81b900460ff165b156118ad5760155481111561186457600080fd5b6001600160a01b038216600090815260076020526040902054421161188857600080fd5b61189342601e612492565b6001600160a01b0383166000908152600760205260409020555b6014546001600160a01b0383811691161480156118d857506012546001600160a01b03848116911614155b80156118fd57506001600160a01b03831660009081526005602052604090205460ff16155b1561190d576005600c556014600d555b600061191830610da8565b601454909150600160a81b900460ff1615801561194357506014546001600160a01b03858116911614155b80156119585750601454600160b01b900460ff165b156119785761196681611b74565b4780156119765761197647611a22565b505b505b6001600160a01b03831660009081526005602052604090205460019060ff16806119bc57506001600160a01b03831660009081526005602052604090205460ff165b156119c5575060005b6119d184848484611d15565b50505050565b600081848411156119fb5760405162461bcd60e51b81526004016105eb919061233c565b505050900390565b6000611a0f82846124eb565b9392505050565b6000611a0f8284612492565b6010546001600160a01b03166108fc611a3c836002611d09565b6040518115909202916000818181858888f19350505050158015611a64573d6000803e3d6000fd5b506011546001600160a01b03166108fc611a7f836002611d09565b6040518115909202916000818181858888f19350505050158015610eb4573d6000803e3d6000fd5b6000600a54821115611b0e5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105eb565b6000611b18611d43565b9050611a0f8382611d09565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611bbc57611bbc61256e565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611c1057600080fd5b505afa158015611c24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c489190612064565b81600181518110611c5b57611c5b61256e565b6001600160a01b039283166020918202929092010152601254611c819130911684611519565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611cba9085906000908690309042906004016123c6565b600060405180830381600087803b158015611cd457600080fd5b505af1158015611ce8573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b6000611a0f82846124cc565b6000611a0f82846124aa565b80611d2257611d22611d66565b611d2d848484611d94565b806119d1576119d1600e54600c55600f54600d55565b6000806000611d50611e8b565b9092509050611d5f8282611d09565b9250505090565b600c54158015611d765750600d54155b15611d7d57565b600c8054600e55600d8054600f5560009182905555565b600080600080600080611da687611ecd565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150611dd89087611a03565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054611e079086611a16565b6001600160a01b038916600090815260026020526040902055611e2981611f2a565b611e338483611f74565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611e7891815260200190565b60405180910390a3505050505050505050565b600a546000908190683635c9adc5dea00000611ea78282611d09565b821015611ec4575050600a5492683635c9adc5dea0000092509050565b90939092509050565b6000806000806000806000806000611eea8a600c54600d54611f98565b9250925092506000611efa611d43565b90506000806000611f0d8e878787611fe7565b919e509c509a509598509396509194505050505091939550919395565b6000611f34611d43565b90506000611f428383611cfd565b30600090815260026020526040902054909150611f5f9082611a16565b30600090815260026020526040902055505050565b600a54611f819083611a03565b600a55600b54611f919082611a16565b600b555050565b6000808080611fac60646113258989611cfd565b90506000611fbf60646113258a89611cfd565b90506000611fd782611fd18b86611a03565b90611a03565b9992985090965090945050505050565b6000808080611ff68886611cfd565b905060006120048887611cfd565b905060006120128888611cfd565b9050600061202482611fd18686611a03565b939b939a50919850919650505050505050565b80516120428161259a565b919050565b60006020828403121561205957600080fd5b8135611a0f8161259a565b60006020828403121561207657600080fd5b8151611a0f8161259a565b6000806040838503121561209457600080fd5b823561209f8161259a565b915060208301356120af8161259a565b809150509250929050565b6000806000606084860312156120cf57600080fd5b83356120da8161259a565b925060208401356120ea8161259a565b929592945050506040919091013590565b6000806040838503121561210e57600080fd5b82356121198161259a565b946020939093013593505050565b6000602080838503121561213a57600080fd5b823567ffffffffffffffff8082111561215257600080fd5b818501915085601f83011261216657600080fd5b81358181111561217857612178612584565b8060051b9150612189848301612461565b8181528481019084860184860187018a10156121a457600080fd5b600095505b838610156121d357803594506121be8561259a565b848352600195909501949186019186016121a9565b5098975050505050505050565b6000602082840312156121f257600080fd5b8135611a0f816125af565b60006020828403121561220f57600080fd5b8151611a0f816125af565b6000610120828403121561222d57600080fd5b612235612437565b8251815261224560208401612037565b602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015261227e60c08401612037565b60c082015260e08381015190820152610100928301519281019290925250919050565b6000602082840312156122b357600080fd5b5035919050565b6000602082840312156122cc57600080fd5b5051919050565b6000806000606084860312156122e857600080fd5b8351925060208401519150604084015190509250925092565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600060208083528351808285015260005b818110156123695785810183015185820160400152820161234d565b8181111561237b576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124165784516001600160a01b0316835293830193918301916001016123f1565b50506001600160a01b03969096166060850152505050608001529392505050565b604051610120810167ffffffffffffffff8111828210171561245b5761245b612584565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561248a5761248a612584565b604052919050565b600082198211156124a5576124a5612558565b500190565b6000826124c757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156124e6576124e6612558565b500290565b6000828210156124fd576124fd612558565b500390565b600181811c9082168061251657607f821691505b6020821081141561253757634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561255157612551612558565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610da557600080fd5b8015158114610da557600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122079f6e0ce84f726d07cf6b17ab6d3e40c303978f2e17297131b4067007bac2fc464736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000067a143fc9cfc8795e6fa0b6f415897e0e8529c3d0000000000000000000000002077f849b636e56214f1f47c1e0f89785e220ba100000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000000000000000000000000000000000000000000d4b6f6461726f626f742e646f6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4b524420f09f909520f09fa49600000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Kodarobot.dog
Arg [1] : symbol_ (string): KRD 🐕 🤖
Arg [2] : addr1 (address): 0x67A143fc9cfc8795E6fa0b6f415897E0e8529c3d
Arg [3] : addr2 (address): 0x2077F849b636E56214F1F47c1e0F89785E220ba1
Arg [4] : lockFees_ (uint256): 200000000000000000
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 00000000000000000000000067a143fc9cfc8795e6fa0b6f415897e0e8529c3d
Arg [3] : 0000000000000000000000002077f849b636e56214f1f47c1e0f89785e220ba1
Arg [4] : 00000000000000000000000000000000000000000000000002c68af0bb140000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [6] : 4b6f6461726f626f742e646f6700000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [8] : 4b524420f09f909520f09fa49600000000000000000000000000000000000000
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.