Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
815,026,065,334,706.463349466 AHouse
Holders
501
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AnimalHouse
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 300 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at BscScan.com on 2021-03-01 */ /** *Submitted for verification at BscScan.com on 2021-03-01 */ /** #AnimalHouse features: 4% fee auto add to the liquidity pool locked forever when selling 4% fee auto distribute to all holders 4% fee burn */ pragma solidity ^0.6.12; // SPDX-License-Identifier: Unlicensed interface IERC20 { 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); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ 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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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 sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @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. */ contract Ownable is Context { address private _owner; address private _previousOwner; uint256 private _lockTime; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } function geUnlockTime() public view returns (uint256) { return _lockTime; } //Locks the contract for owner for the amount of time provided function lock(uint256 time) public virtual onlyOwner { _previousOwner = _owner; _owner = address(0); _lockTime = now + time; emit OwnershipTransferred(_owner, address(0)); } //Unlocks the contract for owner when _lockTime is exceeds function unlock() public virtual { require(_previousOwner == msg.sender, "You don't have permission to unlock"); require(now > _lockTime , "Contract is locked until 7 days"); emit OwnershipTransferred(_owner, _previousOwner); _owner = _previousOwner; } } // pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint 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 (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract AnimalHouse is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; 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 _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 1000000000 * 10**6 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private _name = "AnimalHouse"; string private _symbol = "AHouse"; uint8 private _decimals = 9; uint256 public _taxFee = 4; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 4; uint256 private _previousLiquidityFee = _liquidityFee; uint256 public _burnFee = 4; uint256 private _previousBurnFee = _burnFee; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 public _maxTxAmount = 5000000 * 10**6 * 10**9; uint256 private numTokensSellToAddToLiquidity = 5000000 * 10**6 * 10**9; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor () public { _rOwned[_msgSender()] = _rTotal; // IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0xD99D1c33F9fC3444f8101754aBC46c52416550D1); // BSC IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Ropsten/ETH // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; //exclude owner and this contract from fee _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), 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(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); Values memory values = _getValues(tAmount); uint256 rAmount = values.rAmount; _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { Values memory values = _getValues(tAmount); return values.rAmount; } else { Values memory values = _getValues(tAmount); return values.rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner() { // require(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Uniswap router.'); require(!_isExcluded[account], "Account is already excluded"); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner() { require(_isExcluded[account], "Account is already excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { Values memory values = _getValues(tAmount); uint256 rAmount = values.rAmount; uint256 rTransferAmount = values.rTransferAmount; uint256 rFee = values.rFee; uint256 tTransferAmount = values.tTransferAmount; uint256 tFee = values.tFee; uint256 tLiquidity = values.tLiquidity; _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setTaxFeePercent(uint256 taxFee) external onlyOwner() { _taxFee = taxFee; } function setBurnFeePercent(uint256 burnFee) external onlyOwner() { _burnFee = burnFee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() { _liquidityFee = liquidityFee; } function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() { _maxTxAmount = _tTotal.mul(maxTxPercent).div( 10**2 ); } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } struct Values{ uint256 rAmount; uint256 rTransferAmount; uint256 rFee; uint256 rBurnFee; uint256 tTransferAmount; uint256 tFee; uint256 tLiquidity; uint256 tBurnFee; } struct rValuesParams { uint256 tAmount; uint256 tFee; uint256 tLiquidity; uint256 tBurnFee; uint256 currentRate; } function _getValues(uint256 tAmount) private view returns (Values memory) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tBurnFee) = _getTValues(tAmount); rValuesParams memory r_values_params = rValuesParams(tAmount, tFee, tLiquidity, tBurnFee, _getRate()); ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 rBurnFee ) = _getRValues(r_values_params); Values memory values = Values(rAmount, rTransferAmount, rFee, rBurnFee, tTransferAmount, tFee, tLiquidity, tBurnFee); return (values); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tBurnFee = calculateBurnFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tBurnFee); return (tTransferAmount, tFee, tLiquidity, tBurnFee); } function _getRValues(rValuesParams memory r_values_params) private pure returns (uint256, uint256, uint256, uint256) { uint256 tAmount = r_values_params.tAmount; uint256 tFee = r_values_params.tFee; uint256 tLiquidity = r_values_params.tLiquidity; uint256 tBurnFee = r_values_params.tBurnFee; uint256 currentRate = r_values_params.currentRate; uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rBurnFee = tBurnFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rBurnFee); return (rAmount, rTransferAmount, rFee, rBurnFee); } 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; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div( 10**2 ); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div( 10**2 ); } function calculateBurnFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_burnFee).div( 10**2 ); } function removeAllFee() private { if(_taxFee == 0 && _liquidityFee == 0 && _burnFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _previousBurnFee = _burnFee; _taxFee = 0; _liquidityFee = 0; _burnFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; _burnFee = _previousBurnFee; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } 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"); if(from != owner() && to != owner()) require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); // is the token balance of this contract address over the min number of // tokens that we need to initiate a swap + liquidity lock? // also, don't get caught in a circular liquidity event. // also, don't swap & liquify if sender is uniswap pair. uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { contractTokenBalance = numTokensSellToAddToLiquidity; //add liquidity swapAndLiquify(contractTokenBalance); } //indicates if fee should be deducted from transfer bool takeFee = true; //if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){ takeFee = false; } //transfer amount, it will take tax, burn, liquidity fee _tokenTransfer(from,to,amount,takeFee); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { // split the contract balance into halves uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } 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 addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } //this method is responsible for taking all fee, if takeFee is true function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private { if(!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if(!takeFee) restoreAllFee(); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { Values memory values = _getValues(tAmount); uint256 rAmount = values.rAmount; uint256 rTransferAmount = values.rTransferAmount; uint256 rFee = values.rFee; uint256 tTransferAmount = values.tTransferAmount; uint256 tFee = values.tFee; uint256 tLiquidity = values.tLiquidity; uint256 tBurnFee = values.tBurnFee; uint256 rBurnFee = values.rBurnFee; _tTotal = _tTotal.sub(tBurnFee); _rTotal = _rTotal.sub(rBurnFee); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) private { Values memory values = _getValues(tAmount); uint256 rAmount = values.rAmount; uint256 rTransferAmount = values.rTransferAmount; uint256 rFee = values.rFee; uint256 tTransferAmount = values.tTransferAmount; uint256 tFee = values.tFee; uint256 tLiquidity = values.tLiquidity; _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private { Values memory values = _getValues(tAmount); uint256 rAmount = values.rAmount; uint256 rTransferAmount = values.rTransferAmount; uint256 rFee = values.rFee; uint256 tTransferAmount = values.tTransferAmount; uint256 tFee = values.tFee; uint256 tLiquidity = values.tLiquidity; _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 300 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":"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":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","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":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"burnFee","type":"uint256"}],"name":"setBurnFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
69d3c21bcecceda100000060095569085afffa6ff50bffffff19600a55610100604052600b60c08190526a416e696d616c486f75736560a81b60e09081526200004c91600c9190620003bc565b506040805180820190915260068082526541486f75736560d01b60209092019182526200007c91600d91620003bc565b50600e805460ff191660091790556004600f81905560108190556011819055601281905560138190556014556015805461ff00191661010017905569010f0cf064dd592000006016819055601755348015620000d757600080fd5b506000620000e4620003a9565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600a54600360006200013f620003a9565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620001b657600080fd5b505afa158015620001cb573d6000803e3d6000fd5b505050506040513d6020811015620001e257600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929186169163ad5c464891600480820192602092909190829003018186803b1580156200023357600080fd5b505afa15801562000248573d6000803e3d6000fd5b505050506040513d60208110156200025f57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b158015620002b257600080fd5b505af1158015620002c7573d6000803e3d6000fd5b505050506040513d6020811015620002de57600080fd5b50516001600160601b0319606091821b811660a0529082901b166080526001600660006200030b620003ad565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600690925290208054909116600117905562000355620003a9565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6009546040518082815260200191505060405180910390a35062000458565b3390565b6000546001600160a01b031690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003ff57805160ff19168380011785556200042f565b828001600101855582156200042f579182015b828111156200042f57825182559160200191906001019062000412565b506200043d92915062000441565b5090565b5b808211156200043d576000815560010162000442565b60805160601c60a05160601c612dc6620004a060003980610f185280611ab95250806109f6528061232552806123dd528061240452806124ea52806125115250612dc66000f3fe6080604052600436106102345760003560e01c80636bc87c3a1161012e578063a9059cbb116100ab578063d543dbeb1161006f578063d543dbeb146107e8578063dd46706414610812578063dd62ed3e1461083c578063ea2f0b3714610877578063f2fde38b146108aa5761023b565b8063a9059cbb1461072f578063b6c5232414610768578063c0b0fda21461077d578063c49b9a8014610792578063cea26958146107be5761023b565b80638da5cb5b116100f25780638da5cb5b1461068d5780638ee88c53146106a257806395d89b41146106cc578063a457c2d7146106e1578063a69df4b51461071a5761023b565b80636bc87c3a146105e857806370a08231146105fd578063715018a6146106305780637d1db4a51461064557806388f820201461065a5761023b565b80633685d419116101bc5780634549b039116101805780634549b0391461052657806349bd5a5e146105585780634a74bb021461056d57806352390c02146105825780635342acb4146105b55761023b565b80633685d41914610448578063395093511461047b5780633b124fe7146104b45780633bd5d173146104c9578063437823ec146104f35761023b565b80631694505e116102035780631694505e1461036a57806318160ddd1461039b57806323b872dd146103b05780632d838119146103f3578063313ce5671461041d5761023b565b8063061c82d01461024057806306fdde031461026c578063095ea7b3146102f657806313114a9d146103435761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b5061026a6004803603602081101561026357600080fd5b50356108dd565b005b34801561027857600080fd5b5061028161093a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102bb5781810151838201526020016102a3565b50505050905090810190601f1680156102e85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561030257600080fd5b5061032f6004803603604081101561031957600080fd5b506001600160a01b0381351690602001356109d0565b604080519115158252519081900360200190f35b34801561034f57600080fd5b506103586109ee565b60408051918252519081900360200190f35b34801561037657600080fd5b5061037f6109f4565b604080516001600160a01b039092168252519081900360200190f35b3480156103a757600080fd5b50610358610a18565b3480156103bc57600080fd5b5061032f600480360360608110156103d357600080fd5b506001600160a01b03813581169160208101359091169060400135610a1e565b3480156103ff57600080fd5b506103586004803603602081101561041657600080fd5b5035610aa5565b34801561042957600080fd5b50610432610b07565b6040805160ff9092168252519081900360200190f35b34801561045457600080fd5b5061026a6004803603602081101561046b57600080fd5b50356001600160a01b0316610b10565b34801561048757600080fd5b5061032f6004803603604081101561049e57600080fd5b506001600160a01b038135169060200135610cd1565b3480156104c057600080fd5b50610358610d1f565b3480156104d557600080fd5b5061026a600480360360208110156104ec57600080fd5b5035610d25565b3480156104ff57600080fd5b5061026a6004803603602081101561051657600080fd5b50356001600160a01b0316610e03565b34801561053257600080fd5b506103586004803603604081101561054957600080fd5b50803590602001351515610e7f565b34801561056457600080fd5b5061037f610f16565b34801561057957600080fd5b5061032f610f3a565b34801561058e57600080fd5b5061026a600480360360208110156105a557600080fd5b50356001600160a01b0316610f48565b3480156105c157600080fd5b5061032f600480360360208110156105d857600080fd5b50356001600160a01b03166110ce565b3480156105f457600080fd5b506103586110ec565b34801561060957600080fd5b506103586004803603602081101561062057600080fd5b50356001600160a01b03166110f2565b34801561063c57600080fd5b5061026a611154565b34801561065157600080fd5b506103586111f6565b34801561066657600080fd5b5061032f6004803603602081101561067d57600080fd5b50356001600160a01b03166111fc565b34801561069957600080fd5b5061037f61121a565b3480156106ae57600080fd5b5061026a600480360360208110156106c557600080fd5b5035611229565b3480156106d857600080fd5b50610281611286565b3480156106ed57600080fd5b5061032f6004803603604081101561070457600080fd5b506001600160a01b0381351690602001356112e7565b34801561072657600080fd5b5061026a61134f565b34801561073b57600080fd5b5061032f6004803603604081101561075257600080fd5b506001600160a01b03813516906020013561144f565b34801561077457600080fd5b50610358611463565b34801561078957600080fd5b50610358611469565b34801561079e57600080fd5b5061026a600480360360208110156107b557600080fd5b5035151561146f565b3480156107ca57600080fd5b5061026a600480360360208110156107e157600080fd5b5035611516565b3480156107f457600080fd5b5061026a6004803603602081101561080b57600080fd5b5035611573565b34801561081e57600080fd5b5061026a6004803603602081101561083557600080fd5b50356115f1565b34801561084857600080fd5b506103586004803603604081101561085f57600080fd5b506001600160a01b03813581169160200135166116a1565b34801561088357600080fd5b5061026a6004803603602081101561089a57600080fd5b50356001600160a01b03166116cc565b3480156108b657600080fd5b5061026a600480360360208110156108cd57600080fd5b50356001600160a01b0316611745565b6108e561183d565b6000546001600160a01b03908116911614610935576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b600f55565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109c65780601f1061099b576101008083540402835291602001916109c6565b820191906000526020600020905b8154815290600101906020018083116109a957829003601f168201915b5050505050905090565b60006109e46109dd61183d565b8484611841565b5060015b92915050565b600b5490565b7f000000000000000000000000000000000000000000000000000000000000000081565b60095490565b6000610a2b84848461192d565b610a9b84610a3761183d565b610a9685604051806060016040528060288152602001612c63602891396001600160a01b038a16600090815260056020526040812090610a7561183d565b6001600160a01b031681526020810191909152604001600020549190611b73565b611841565b5060019392505050565b6000600a54821115610ae85760405162461bcd60e51b815260040180806020018281038252602a815260200180612ba8602a913960400191505060405180910390fd5b6000610af2611c0a565b9050610afe8382611c2d565b9150505b919050565b600e5460ff1690565b610b1861183d565b6000546001600160a01b03908116911614610b68576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff16610bd5576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600854811015610ccd57816001600160a01b031660088281548110610bf957fe5b6000918252602090912001546001600160a01b03161415610cc557600880546000198101908110610c2657fe5b600091825260209091200154600880546001600160a01b039092169183908110610c4c57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610c9e57fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610ccd565b600101610bd8565b5050565b60006109e4610cde61183d565b84610a968560056000610cef61183d565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611c76565b600f5481565b6000610d2f61183d565b6001600160a01b03811660009081526007602052604090205490915060ff1615610d8a5760405162461bcd60e51b815260040180806020018281038252602c815260200180612d1d602c913960400191505060405180910390fd5b610d92612b10565b610d9b83611cd0565b80516001600160a01b03841660009081526003602052604090205491925090610dc49082611d85565b6001600160a01b038416600090815260036020526040902055600a54610dea9082611d85565b600a55600b54610dfa9085611c76565b600b5550505050565b610e0b61183d565b6000546001600160a01b03908116911614610e5b576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000600954831115610ed8576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81610ef857610ee5612b10565b610eee84611cd0565b5191506109e89050565b610f00612b10565b610f0984611cd0565b6020015191506109e89050565b7f000000000000000000000000000000000000000000000000000000000000000081565b601554610100900460ff1681565b610f5061183d565b6000546001600160a01b03908116911614610fa0576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff161561100e576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526003602052604090205415611068576001600160a01b03811660009081526003602052604090205461104e90610aa5565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6001600160a01b031660009081526006602052604090205460ff1690565b60115481565b6001600160a01b03811660009081526007602052604081205460ff161561113257506001600160a01b038116600090815260046020526040902054610b02565b6001600160a01b0382166000908152600360205260409020546109e890610aa5565b61115c61183d565b6000546001600160a01b039081169116146111ac576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60165481565b6001600160a01b031660009081526007602052604090205460ff1690565b6000546001600160a01b031690565b61123161183d565b6000546001600160a01b03908116911614611281576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b601155565b600d8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109c65780601f1061099b576101008083540402835291602001916109c6565b60006109e46112f461183d565b84610a9685604051806060016040528060258152602001612d6c602591396005600061131e61183d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611b73565b6001546001600160a01b031633146113985760405162461bcd60e51b8152600401808060200182810382526023815260200180612d496023913960400191505060405180910390fd5b60025442116113ee576040805162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015290519081900360640190fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b60006109e461145c61183d565b848461192d565b60025490565b60135481565b61147761183d565b6000546001600160a01b039081169116146114c7576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b60158054821515610100810261ff00199092169190911790915560408051918252517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599181900360200190a150565b61151e61183d565b6000546001600160a01b0390811691161461156e576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b601355565b61157b61183d565b6000546001600160a01b039081169116146115cb576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6115eb60646115e583600954611dc790919063ffffffff16565b90611c2d565b60165550565b6115f961183d565b6000546001600160a01b03908116911614611649576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b60008054600180546001600160a01b03199081166001600160a01b0384161790915516815542820160025560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6116d461183d565b6000546001600160a01b03908116911614611724576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b61174d61183d565b6000546001600160a01b0390811691161461179d576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b0381166117e25760405162461bcd60e51b8152600401808060200182810382526026815260200180612bd26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0383166118865760405162461bcd60e51b8152600401808060200182810382526024815260200180612cf96024913960400191505060405180910390fd5b6001600160a01b0382166118cb5760405162461bcd60e51b8152600401808060200182810382526022815260200180612bf86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166119725760405162461bcd60e51b8152600401808060200182810382526025815260200180612cd46025913960400191505060405180910390fd5b6001600160a01b0382166119b75760405162461bcd60e51b8152600401808060200182810382526023815260200180612b856023913960400191505060405180910390fd5b600081116119f65760405162461bcd60e51b8152600401808060200182810382526029815260200180612cab6029913960400191505060405180910390fd5b6119fe61121a565b6001600160a01b0316836001600160a01b031614158015611a385750611a2261121a565b6001600160a01b0316826001600160a01b031614155b15611a7e57601654811115611a7e5760405162461bcd60e51b8152600401808060200182810382526028815260200180612c1a6028913960400191505060405180910390fd5b6000611a89306110f2565b90506016548110611a9957506016545b60175481108015908190611ab0575060155460ff16155b8015611aee57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b8015611b015750601554610100900460ff165b15611b14576017549150611b1482611e20565b6001600160a01b03851660009081526006602052604090205460019060ff1680611b5657506001600160a01b03851660009081526006602052604090205460ff165b15611b5f575060005b611b6b86868684611ebd565b505050505050565b60008184841115611c025760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bc7578181015183820152602001611baf565b50505050905090810190601f168015611bf45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000611c17612031565b9092509050611c268282611c2d565b9250505090565b6000611c6f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612194565b9392505050565b600082820183811015611c6f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b611cd8612b10565b600080600080611ce7866121f9565b9350935093509350611cf7612b55565b6040518060a00160405280888152602001858152602001848152602001838152602001611d22611c0a565b905290506000808080611d348561224f565b9350935093509350611d44612b10565b506040805161010081018252948552602085019390935291830152606082015260808101959095525060a084019290925260c083015260e082015292915050565b6000611c6f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b73565b600082611dd6575060006109e8565b82820282848281611de357fe5b0414611c6f5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c426021913960400191505060405180910390fd5b6015805460ff191660011790556000611e3a826002611c2d565b90506000611e488383611d85565b905047611e54836122d5565b6000611e604783611d85565b9050611e6c83826124e4565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a150506015805460ff19169055505050565b80611eca57611eca6125e2565b6001600160a01b03841660009081526007602052604090205460ff168015611f0b57506001600160a01b03831660009081526007602052604090205460ff16155b15611f2057611f1b84848461262b565b61201e565b6001600160a01b03841660009081526007602052604090205460ff16158015611f6157506001600160a01b03831660009081526007602052604090205460ff165b15611f7157611f1b84848461276b565b6001600160a01b03841660009081526007602052604090205460ff16158015611fb357506001600160a01b03831660009081526007602052604090205460ff16155b15611fc357611f1b84848461282f565b6001600160a01b03841660009081526007602052604090205460ff16801561200357506001600160a01b03831660009081526007602052604090205460ff165b1561201357611f1b84848461296d565b61201e84848461282f565b8061202b5761202b6129fb565b50505050565b600a546009546000918291825b6008548110156121625782600360006008848154811061205a57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806120bf575081600460006008848154811061209857fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156120d657600a5460095494509450505050612190565b61211660036000600884815481106120ea57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611d85565b9250612158600460006008848154811061212c57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611d85565b915060010161203e565b50600954600a5461217291611c2d565b82101561218a57600a54600954935093505050612190565b90925090505b9091565b600081836121e35760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611bc7578181015183820152602001611baf565b5060008385816121ef57fe5b0495945050505050565b600080600080600061220a86612a0f565b9050600061221787612a2b565b9050600061222488612a47565b9050600061223e8361223884818d89611d85565b90611d85565b975092955093509150509193509193565b805160208201516040830151606084015160808501516000948594859485949293919290918561227f8683611dc7565b9050600061228d8684611dc7565b9050600061229b8585611dc7565b905060006122a98786611dc7565b905060006122bd8361223884818989611d85565b949f949e50929c50909a509198505050505050505050565b6040805160028082526060808301845292602083019080368337019050509050308160008151811061230357fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561237c57600080fd5b505afa158015612390573d6000803e3d6000fd5b505050506040513d60208110156123a657600080fd5b50518151829060019081106123b757fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612402307f000000000000000000000000000000000000000000000000000000000000000084611841565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663791ac9478360008430426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156124a757818101518382015260200161248f565b505050509050019650505050505050600060405180830381600087803b1580156124d057600080fd5b505af1158015611b6b573d6000803e3d6000fd5b61250f307f000000000000000000000000000000000000000000000000000000000000000084611841565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d71982308560008061254c61121a565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b1580156125b757600080fd5b505af11580156125cb573d6000803e3d6000fd5b50505050506040513d606081101561202b57600080fd5b600f541580156125f25750601154155b80156125fe5750601354155b1561260857612629565b600f8054601055601180546012556013805460145560009283905590829055555b565b612633612b10565b61263c82611cd0565b8051602080830151604080850151608086015160a087015160c08801516001600160a01b038d16600090815260049097529390952054969750949592949093909290919061268a9089611d85565b6001600160a01b038b166000908152600460209081526040808320939093556003905220546126b99087611d85565b6001600160a01b03808c1660009081526003602052604080822093909355908b16815220546126e89086611c76565b6001600160a01b038a1660009081526003602052604090205561270a81612a63565b6127148483612aec565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a350505050505050505050565b612773612b10565b61277c82611cd0565b8051602080830151604080850151608086015160a087015160c08801516001600160a01b038d1660009081526003909752939095205496975094959294909390929091906127ca9087611d85565b6001600160a01b03808c16600090815260036020908152604080832094909455918c168152600490915220546128009084611c76565b6001600160a01b038a166000908152600460209081526040808320939093556003905220546126e89086611c76565b612837612b10565b61284082611cd0565b805160208201516040830151608084015160a085015160c086015160e0870151606088015160095498995096979596949593949293919290916128839083611d85565b600955600a546128939082611d85565b600a556001600160a01b038c166000908152600360205260409020546128b99089611d85565b6001600160a01b03808e1660009081526003602052604080822093909355908d16815220546128e89088611c76565b6001600160a01b038c1660009081526003602052604090205561290a83612a63565b6129148685612aec565b8a6001600160a01b03168c6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040518082815260200191505060405180910390a3505050505050505050505050565b612975612b10565b61297e82611cd0565b8051602080830151604080850151608086015160a087015160c08801516001600160a01b038d1660009081526004909752939095205496975094959294909390929091906129cc9089611d85565b6001600160a01b038b166000908152600460209081526040808320939093556003905220546127ca9087611d85565b601054600f55601254601155601454601355565b60006109e860646115e5600f5485611dc790919063ffffffff16565b60006109e860646115e560135485611dc790919063ffffffff16565b60006109e860646115e560115485611dc790919063ffffffff16565b6000612a6d611c0a565b90506000612a7b8383611dc7565b30600090815260036020526040902054909150612a989082611c76565b3060009081526003602090815260408083209390935560079052205460ff1615612ae75730600090815260046020526040902054612ad69084611c76565b306000908152600460205260409020555b505050565b600a54612af99083611d85565b600a55600b54612b099082611c76565b600b555050565b60405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040518060a001604052806000815260200160008152602001600081526020016000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6f636b45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122090300ae533a754fd1446177dff6ae763cb62a4c53bc602ea0007cbaa7ca3f05e64736f6c634300060c0033
Deployed Bytecode
0x6080604052600436106102345760003560e01c80636bc87c3a1161012e578063a9059cbb116100ab578063d543dbeb1161006f578063d543dbeb146107e8578063dd46706414610812578063dd62ed3e1461083c578063ea2f0b3714610877578063f2fde38b146108aa5761023b565b8063a9059cbb1461072f578063b6c5232414610768578063c0b0fda21461077d578063c49b9a8014610792578063cea26958146107be5761023b565b80638da5cb5b116100f25780638da5cb5b1461068d5780638ee88c53146106a257806395d89b41146106cc578063a457c2d7146106e1578063a69df4b51461071a5761023b565b80636bc87c3a146105e857806370a08231146105fd578063715018a6146106305780637d1db4a51461064557806388f820201461065a5761023b565b80633685d419116101bc5780634549b039116101805780634549b0391461052657806349bd5a5e146105585780634a74bb021461056d57806352390c02146105825780635342acb4146105b55761023b565b80633685d41914610448578063395093511461047b5780633b124fe7146104b45780633bd5d173146104c9578063437823ec146104f35761023b565b80631694505e116102035780631694505e1461036a57806318160ddd1461039b57806323b872dd146103b05780632d838119146103f3578063313ce5671461041d5761023b565b8063061c82d01461024057806306fdde031461026c578063095ea7b3146102f657806313114a9d146103435761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b5061026a6004803603602081101561026357600080fd5b50356108dd565b005b34801561027857600080fd5b5061028161093a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102bb5781810151838201526020016102a3565b50505050905090810190601f1680156102e85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561030257600080fd5b5061032f6004803603604081101561031957600080fd5b506001600160a01b0381351690602001356109d0565b604080519115158252519081900360200190f35b34801561034f57600080fd5b506103586109ee565b60408051918252519081900360200190f35b34801561037657600080fd5b5061037f6109f4565b604080516001600160a01b039092168252519081900360200190f35b3480156103a757600080fd5b50610358610a18565b3480156103bc57600080fd5b5061032f600480360360608110156103d357600080fd5b506001600160a01b03813581169160208101359091169060400135610a1e565b3480156103ff57600080fd5b506103586004803603602081101561041657600080fd5b5035610aa5565b34801561042957600080fd5b50610432610b07565b6040805160ff9092168252519081900360200190f35b34801561045457600080fd5b5061026a6004803603602081101561046b57600080fd5b50356001600160a01b0316610b10565b34801561048757600080fd5b5061032f6004803603604081101561049e57600080fd5b506001600160a01b038135169060200135610cd1565b3480156104c057600080fd5b50610358610d1f565b3480156104d557600080fd5b5061026a600480360360208110156104ec57600080fd5b5035610d25565b3480156104ff57600080fd5b5061026a6004803603602081101561051657600080fd5b50356001600160a01b0316610e03565b34801561053257600080fd5b506103586004803603604081101561054957600080fd5b50803590602001351515610e7f565b34801561056457600080fd5b5061037f610f16565b34801561057957600080fd5b5061032f610f3a565b34801561058e57600080fd5b5061026a600480360360208110156105a557600080fd5b50356001600160a01b0316610f48565b3480156105c157600080fd5b5061032f600480360360208110156105d857600080fd5b50356001600160a01b03166110ce565b3480156105f457600080fd5b506103586110ec565b34801561060957600080fd5b506103586004803603602081101561062057600080fd5b50356001600160a01b03166110f2565b34801561063c57600080fd5b5061026a611154565b34801561065157600080fd5b506103586111f6565b34801561066657600080fd5b5061032f6004803603602081101561067d57600080fd5b50356001600160a01b03166111fc565b34801561069957600080fd5b5061037f61121a565b3480156106ae57600080fd5b5061026a600480360360208110156106c557600080fd5b5035611229565b3480156106d857600080fd5b50610281611286565b3480156106ed57600080fd5b5061032f6004803603604081101561070457600080fd5b506001600160a01b0381351690602001356112e7565b34801561072657600080fd5b5061026a61134f565b34801561073b57600080fd5b5061032f6004803603604081101561075257600080fd5b506001600160a01b03813516906020013561144f565b34801561077457600080fd5b50610358611463565b34801561078957600080fd5b50610358611469565b34801561079e57600080fd5b5061026a600480360360208110156107b557600080fd5b5035151561146f565b3480156107ca57600080fd5b5061026a600480360360208110156107e157600080fd5b5035611516565b3480156107f457600080fd5b5061026a6004803603602081101561080b57600080fd5b5035611573565b34801561081e57600080fd5b5061026a6004803603602081101561083557600080fd5b50356115f1565b34801561084857600080fd5b506103586004803603604081101561085f57600080fd5b506001600160a01b03813581169160200135166116a1565b34801561088357600080fd5b5061026a6004803603602081101561089a57600080fd5b50356001600160a01b03166116cc565b3480156108b657600080fd5b5061026a600480360360208110156108cd57600080fd5b50356001600160a01b0316611745565b6108e561183d565b6000546001600160a01b03908116911614610935576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b600f55565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109c65780601f1061099b576101008083540402835291602001916109c6565b820191906000526020600020905b8154815290600101906020018083116109a957829003601f168201915b5050505050905090565b60006109e46109dd61183d565b8484611841565b5060015b92915050565b600b5490565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b60095490565b6000610a2b84848461192d565b610a9b84610a3761183d565b610a9685604051806060016040528060288152602001612c63602891396001600160a01b038a16600090815260056020526040812090610a7561183d565b6001600160a01b031681526020810191909152604001600020549190611b73565b611841565b5060019392505050565b6000600a54821115610ae85760405162461bcd60e51b815260040180806020018281038252602a815260200180612ba8602a913960400191505060405180910390fd5b6000610af2611c0a565b9050610afe8382611c2d565b9150505b919050565b600e5460ff1690565b610b1861183d565b6000546001600160a01b03908116911614610b68576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff16610bd5576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600854811015610ccd57816001600160a01b031660088281548110610bf957fe5b6000918252602090912001546001600160a01b03161415610cc557600880546000198101908110610c2657fe5b600091825260209091200154600880546001600160a01b039092169183908110610c4c57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610c9e57fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610ccd565b600101610bd8565b5050565b60006109e4610cde61183d565b84610a968560056000610cef61183d565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611c76565b600f5481565b6000610d2f61183d565b6001600160a01b03811660009081526007602052604090205490915060ff1615610d8a5760405162461bcd60e51b815260040180806020018281038252602c815260200180612d1d602c913960400191505060405180910390fd5b610d92612b10565b610d9b83611cd0565b80516001600160a01b03841660009081526003602052604090205491925090610dc49082611d85565b6001600160a01b038416600090815260036020526040902055600a54610dea9082611d85565b600a55600b54610dfa9085611c76565b600b5550505050565b610e0b61183d565b6000546001600160a01b03908116911614610e5b576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000600954831115610ed8576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81610ef857610ee5612b10565b610eee84611cd0565b5191506109e89050565b610f00612b10565b610f0984611cd0565b6020015191506109e89050565b7f000000000000000000000000c3e8fe715ccc382f7ee71c8534d63e3c10de08f681565b601554610100900460ff1681565b610f5061183d565b6000546001600160a01b03908116911614610fa0576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff161561100e576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526003602052604090205415611068576001600160a01b03811660009081526003602052604090205461104e90610aa5565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6001600160a01b031660009081526006602052604090205460ff1690565b60115481565b6001600160a01b03811660009081526007602052604081205460ff161561113257506001600160a01b038116600090815260046020526040902054610b02565b6001600160a01b0382166000908152600360205260409020546109e890610aa5565b61115c61183d565b6000546001600160a01b039081169116146111ac576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60165481565b6001600160a01b031660009081526007602052604090205460ff1690565b6000546001600160a01b031690565b61123161183d565b6000546001600160a01b03908116911614611281576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b601155565b600d8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109c65780601f1061099b576101008083540402835291602001916109c6565b60006109e46112f461183d565b84610a9685604051806060016040528060258152602001612d6c602591396005600061131e61183d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611b73565b6001546001600160a01b031633146113985760405162461bcd60e51b8152600401808060200182810382526023815260200180612d496023913960400191505060405180910390fd5b60025442116113ee576040805162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015290519081900360640190fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b60006109e461145c61183d565b848461192d565b60025490565b60135481565b61147761183d565b6000546001600160a01b039081169116146114c7576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b60158054821515610100810261ff00199092169190911790915560408051918252517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599181900360200190a150565b61151e61183d565b6000546001600160a01b0390811691161461156e576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b601355565b61157b61183d565b6000546001600160a01b039081169116146115cb576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6115eb60646115e583600954611dc790919063ffffffff16565b90611c2d565b60165550565b6115f961183d565b6000546001600160a01b03908116911614611649576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b60008054600180546001600160a01b03199081166001600160a01b0384161790915516815542820160025560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6116d461183d565b6000546001600160a01b03908116911614611724576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b61174d61183d565b6000546001600160a01b0390811691161461179d576040805162461bcd60e51b81526020600482018190526024820152600080516020612c8b833981519152604482015290519081900360640190fd5b6001600160a01b0381166117e25760405162461bcd60e51b8152600401808060200182810382526026815260200180612bd26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0383166118865760405162461bcd60e51b8152600401808060200182810382526024815260200180612cf96024913960400191505060405180910390fd5b6001600160a01b0382166118cb5760405162461bcd60e51b8152600401808060200182810382526022815260200180612bf86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166119725760405162461bcd60e51b8152600401808060200182810382526025815260200180612cd46025913960400191505060405180910390fd5b6001600160a01b0382166119b75760405162461bcd60e51b8152600401808060200182810382526023815260200180612b856023913960400191505060405180910390fd5b600081116119f65760405162461bcd60e51b8152600401808060200182810382526029815260200180612cab6029913960400191505060405180910390fd5b6119fe61121a565b6001600160a01b0316836001600160a01b031614158015611a385750611a2261121a565b6001600160a01b0316826001600160a01b031614155b15611a7e57601654811115611a7e5760405162461bcd60e51b8152600401808060200182810382526028815260200180612c1a6028913960400191505060405180910390fd5b6000611a89306110f2565b90506016548110611a9957506016545b60175481108015908190611ab0575060155460ff16155b8015611aee57507f000000000000000000000000c3e8fe715ccc382f7ee71c8534d63e3c10de08f66001600160a01b0316856001600160a01b031614155b8015611b015750601554610100900460ff165b15611b14576017549150611b1482611e20565b6001600160a01b03851660009081526006602052604090205460019060ff1680611b5657506001600160a01b03851660009081526006602052604090205460ff165b15611b5f575060005b611b6b86868684611ebd565b505050505050565b60008184841115611c025760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bc7578181015183820152602001611baf565b50505050905090810190601f168015611bf45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000611c17612031565b9092509050611c268282611c2d565b9250505090565b6000611c6f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612194565b9392505050565b600082820183811015611c6f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b611cd8612b10565b600080600080611ce7866121f9565b9350935093509350611cf7612b55565b6040518060a00160405280888152602001858152602001848152602001838152602001611d22611c0a565b905290506000808080611d348561224f565b9350935093509350611d44612b10565b506040805161010081018252948552602085019390935291830152606082015260808101959095525060a084019290925260c083015260e082015292915050565b6000611c6f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b73565b600082611dd6575060006109e8565b82820282848281611de357fe5b0414611c6f5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c426021913960400191505060405180910390fd5b6015805460ff191660011790556000611e3a826002611c2d565b90506000611e488383611d85565b905047611e54836122d5565b6000611e604783611d85565b9050611e6c83826124e4565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a150506015805460ff19169055505050565b80611eca57611eca6125e2565b6001600160a01b03841660009081526007602052604090205460ff168015611f0b57506001600160a01b03831660009081526007602052604090205460ff16155b15611f2057611f1b84848461262b565b61201e565b6001600160a01b03841660009081526007602052604090205460ff16158015611f6157506001600160a01b03831660009081526007602052604090205460ff165b15611f7157611f1b84848461276b565b6001600160a01b03841660009081526007602052604090205460ff16158015611fb357506001600160a01b03831660009081526007602052604090205460ff16155b15611fc357611f1b84848461282f565b6001600160a01b03841660009081526007602052604090205460ff16801561200357506001600160a01b03831660009081526007602052604090205460ff165b1561201357611f1b84848461296d565b61201e84848461282f565b8061202b5761202b6129fb565b50505050565b600a546009546000918291825b6008548110156121625782600360006008848154811061205a57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806120bf575081600460006008848154811061209857fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156120d657600a5460095494509450505050612190565b61211660036000600884815481106120ea57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611d85565b9250612158600460006008848154811061212c57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611d85565b915060010161203e565b50600954600a5461217291611c2d565b82101561218a57600a54600954935093505050612190565b90925090505b9091565b600081836121e35760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611bc7578181015183820152602001611baf565b5060008385816121ef57fe5b0495945050505050565b600080600080600061220a86612a0f565b9050600061221787612a2b565b9050600061222488612a47565b9050600061223e8361223884818d89611d85565b90611d85565b975092955093509150509193509193565b805160208201516040830151606084015160808501516000948594859485949293919290918561227f8683611dc7565b9050600061228d8684611dc7565b9050600061229b8585611dc7565b905060006122a98786611dc7565b905060006122bd8361223884818989611d85565b949f949e50929c50909a509198505050505050505050565b6040805160028082526060808301845292602083019080368337019050509050308160008151811061230357fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561237c57600080fd5b505afa158015612390573d6000803e3d6000fd5b505050506040513d60208110156123a657600080fd5b50518151829060019081106123b757fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612402307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611841565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663791ac9478360008430426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156124a757818101518382015260200161248f565b505050509050019650505050505050600060405180830381600087803b1580156124d057600080fd5b505af1158015611b6b573d6000803e3d6000fd5b61250f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611841565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71982308560008061254c61121a565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b1580156125b757600080fd5b505af11580156125cb573d6000803e3d6000fd5b50505050506040513d606081101561202b57600080fd5b600f541580156125f25750601154155b80156125fe5750601354155b1561260857612629565b600f8054601055601180546012556013805460145560009283905590829055555b565b612633612b10565b61263c82611cd0565b8051602080830151604080850151608086015160a087015160c08801516001600160a01b038d16600090815260049097529390952054969750949592949093909290919061268a9089611d85565b6001600160a01b038b166000908152600460209081526040808320939093556003905220546126b99087611d85565b6001600160a01b03808c1660009081526003602052604080822093909355908b16815220546126e89086611c76565b6001600160a01b038a1660009081526003602052604090205561270a81612a63565b6127148483612aec565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a350505050505050505050565b612773612b10565b61277c82611cd0565b8051602080830151604080850151608086015160a087015160c08801516001600160a01b038d1660009081526003909752939095205496975094959294909390929091906127ca9087611d85565b6001600160a01b03808c16600090815260036020908152604080832094909455918c168152600490915220546128009084611c76565b6001600160a01b038a166000908152600460209081526040808320939093556003905220546126e89086611c76565b612837612b10565b61284082611cd0565b805160208201516040830151608084015160a085015160c086015160e0870151606088015160095498995096979596949593949293919290916128839083611d85565b600955600a546128939082611d85565b600a556001600160a01b038c166000908152600360205260409020546128b99089611d85565b6001600160a01b03808e1660009081526003602052604080822093909355908d16815220546128e89088611c76565b6001600160a01b038c1660009081526003602052604090205561290a83612a63565b6129148685612aec565b8a6001600160a01b03168c6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040518082815260200191505060405180910390a3505050505050505050505050565b612975612b10565b61297e82611cd0565b8051602080830151604080850151608086015160a087015160c08801516001600160a01b038d1660009081526004909752939095205496975094959294909390929091906129cc9089611d85565b6001600160a01b038b166000908152600460209081526040808320939093556003905220546127ca9087611d85565b601054600f55601254601155601454601355565b60006109e860646115e5600f5485611dc790919063ffffffff16565b60006109e860646115e560135485611dc790919063ffffffff16565b60006109e860646115e560115485611dc790919063ffffffff16565b6000612a6d611c0a565b90506000612a7b8383611dc7565b30600090815260036020526040902054909150612a989082611c76565b3060009081526003602090815260408083209390935560079052205460ff1615612ae75730600090815260046020526040902054612ad69084611c76565b306000908152600460205260409020555b505050565b600a54612af99083611d85565b600a55600b54612b099082611c76565b600b555050565b60405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040518060a001604052806000815260200160008152602001600081526020016000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6f636b45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122090300ae533a754fd1446177dff6ae763cb62a4c53bc602ea0007cbaa7ca3f05e64736f6c634300060c0033
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.