Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000 NEXUS
Holders
674
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
8,427.958724496288614861 NEXUSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NexusPro
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.20; // SPDX-License-Identifier: MIT /** Transformative tools to help hunting alpha on-chain and online Telegram: https://t.me/nexusproportal Website: https://nexuspro.ai/ Docs: https://nexuspro.gitbook.io/twitter-eye/ Twitter: https://twitter.com/NexusProBot **/ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20{ /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() external virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library Address { function isContract(address account) internal view returns (bool) { return account.code.length > 0; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } 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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } library SafeERC20 { using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function _callOptionalReturn(IERC20 token, bytes memory data) private { bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } } interface ILpPair { function sync() external; } interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens(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 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); } interface IDexFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, 'SafeMath: addition overflow'); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, 'SafeMath: subtraction overflow'); } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } 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; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, 'SafeMath: division by 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; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, 'SafeMath: modulo by zero'); } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } function min(uint256 x, uint256 y) internal pure returns (uint256 z) { z = x < y ? x : y; } function sqrt(uint256 y) internal pure returns (uint256 z) { if (y > 3) { z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } interface DividendPayingContractOptionalInterface { function withdrawableDividendOf(address _owner) external view returns(uint256); function withdrawnDividendOf(address _owner) external view returns(uint256); function accumulativeDividendOf(address _owner) external view returns(uint256); } interface DividendPayingContractInterface { function dividendOf(address _owner) external view returns(uint256); function distributeDividends() external payable; function withdrawDividend() external; event DividendsDistributed( address indexed from, uint256 weiAmount ); event DividendWithdrawn( address indexed to, uint256 weiAmount ); } contract DividendPayingContract is DividendPayingContractInterface, DividendPayingContractOptionalInterface, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; mapping (address => uint256) public holderBalance; uint256 public totalBalance; uint256 public totalDividendsDistributed; receive() external payable { distributeDividends(); } function distributeDividends() public override payable { if(totalBalance > 0 && msg.value > 0){ magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalBalance ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } function withdrawDividend() external virtual override { _withdrawDividendOfUser(payable(msg.sender)); } function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); (bool success,) = user.call{value: _withdrawableDividend}(""); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } function withdrawDividendOfUserForCompound(address payable user) external onlyOwner returns (uint256 _withdrawableDividend) { _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user] + _withdrawableDividend; emit DividendWithdrawn(user, _withdrawableDividend); } (bool success,) = owner().call{value: _withdrawableDividend}(""); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } } function dividendOf(address _owner) external view override returns(uint256) { return withdrawableDividendOf(_owner); } function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } function withdrawnDividendOf(address _owner) external view override returns(uint256) { return withdrawnDividends[_owner]; } function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(holderBalance[_owner]).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } function _increase(address account, uint256 value) internal { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _reduce(address account, uint256 value) internal { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = holderBalance[account]; holderBalance[account] = newBalance; if(newBalance > currentBalance) { uint256 increaseAmount = newBalance.sub(currentBalance); _increase(account, increaseAmount); totalBalance += increaseAmount; } else if(newBalance < currentBalance) { uint256 reduceAmount = currentBalance.sub(newBalance); _reduce(account, reduceAmount); totalBalance -= reduceAmount; } } } contract DividendTracker is DividendPayingContract { event Claim(address indexed account, uint256 amount, bool indexed automatic); mapping (address => bool) public excludedFromDividends; constructor() {} function getAccount(address _account) public view returns ( address account, uint256 withdrawableDividends, uint256 totalDividends, uint256 balance) { account = _account; withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); balance = holderBalance[account]; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } _setBalance(account, newBalance); processAccount(account, true); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if(amount > 0) { emit Claim(account, amount, automatic); return true; } return false; } function getTotalDividendsDistributed() external view returns (uint256) { return totalDividendsDistributed; } function dividendTokenBalanceOf(address account) public view returns (uint256) { return holderBalance[account]; } function getNumberOfDividends() external view returns(uint256) { return totalBalance; } function excludeFromDividends(address account) external onlyOwner { excludedFromDividends[account] = true; _setBalance(account, 0); } function includeInDividends(address account) external onlyOwner { require(excludedFromDividends[account]); excludedFromDividends[account] = false; _setBalance(account, IERC20(owner()).balanceOf(account)); // sets balance back to token balance } } contract NexusPro is ERC20, Ownable { mapping (address => bool) public exemptFromFees; mapping (address => bool) public exemptFromLimits; bool public tradingAllowed; mapping (address => bool) public isAMMPair; address public marketingAddress; address public devAddress; DividendTracker public dividendTracker; Taxes public buyTax; Taxes public sellTax; TokensForTax public tokensForTax; mapping(address => uint256) private _holderLastTransferBlock; // MEV protection bool public antiMevEnabled = true; bool public limited = true; uint256 public swapTokensAtAmt; address public lpPair; IDexRouter public dexRouter; address public immutable WETH; TxLimits public txLimits; uint64 public constant FEE_DIVISOR = 10000; // structs struct TxLimits { uint128 transactionLimit; uint128 walletLimit; } struct Taxes { uint48 marketingTax; uint48 devTax; uint48 liquidityTax; uint48 revShareTax; uint48 totalTax; } struct TokensForTax { uint64 tokensForMarketing; uint64 tokensForLiquidity; uint64 tokensForDev; uint64 tokensForRevShare; bool gasSaver; } // events event UpdatedTransactionLimit(uint newMax); event UpdatedWalletLimit(uint newMax); event SetExemptFromFees(address _address, bool _isExempt); event SetExemptFromLimits(address _address, bool _isExempt); event RemovedLimits(); event UpdatedBuyTax(uint newAmt); event UpdatedSellTax(uint newAmt); // constructor constructor() ERC20("Nexus Pro", "NEXUS") { _mint(msg.sender, 100_000_000 * 1e18); address _v2Router; // @dev assumes WETH pair if(block.chainid == 1){ _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; } else if(block.chainid == 5){ _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; } else { revert("Chain not configured"); } dividendTracker = new DividendTracker(); dexRouter = IDexRouter(_v2Router); txLimits.transactionLimit = uint128(totalSupply() * 20 / 1000); txLimits.walletLimit = uint128(totalSupply() * 2 / 100); swapTokensAtAmt = totalSupply() * 25 / 100000; marketingAddress = 0x2Ad8787f1EdBe8A0F81F130Ce7846390E2a7715E; // update devAddress = 0xBAE8B6b5D60BC1E1e4d10144149dA1458B7460DD; // update buyTax.marketingTax = 600; buyTax.liquidityTax = 300; buyTax.devTax = 300; buyTax.revShareTax = 300; buyTax.totalTax = buyTax.marketingTax + buyTax.liquidityTax + buyTax.devTax + buyTax.revShareTax; sellTax.marketingTax = 600; sellTax.liquidityTax = 300; sellTax.devTax = 300; sellTax.revShareTax = 300; sellTax.totalTax = sellTax.marketingTax + sellTax.liquidityTax + sellTax.devTax + buyTax.revShareTax + sellTax.revShareTax; tokensForTax.gasSaver = true; WETH = dexRouter.WETH(); lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), WETH); isAMMPair[lpPair] = true; exemptFromLimits[lpPair] = true; exemptFromLimits[msg.sender] = true; exemptFromLimits[address(this)] = true; exemptFromFees[msg.sender] = true; exemptFromFees[address(this)] = true; dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(address(lpPair)); _approve(address(this), address(dexRouter), type(uint256).max); _approve(address(msg.sender), address(dexRouter), totalSupply()); } function _transfer( address from, address to, uint256 amount ) internal virtual override { if(!exemptFromFees[from] && !exemptFromFees[to]){ require(tradingAllowed, "Trading not active"); checkLimits(from, to, amount); amount -= handleTax(from, to, amount); } super._transfer(from,to,amount); dividendTracker.setBalance(payable(to), balanceOf(to)); dividendTracker.setBalance(payable(from), balanceOf(from)); } function checkLimits(address from, address to, uint256 amount) internal { if(limited){ bool exFromLimitsTo = exemptFromLimits[to]; uint256 balanceOfTo = balanceOf(to); TxLimits memory _txLimits = txLimits; // buy if (isAMMPair[from] && !exFromLimitsTo) { require(amount <= _txLimits.transactionLimit, "Max Txn"); require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet"); } // sell else if (isAMMPair[to] && !exemptFromLimits[from]) { require(amount <= _txLimits.transactionLimit, "Max Txn"); } else if(!exFromLimitsTo) { require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet"); } } if (antiMevEnabled){ if(isAMMPair[to]){ require(_holderLastTransferBlock[from] < block.number, "Anti MEV"); } else { _holderLastTransferBlock[to] = block.number; _holderLastTransferBlock[tx.origin] = block.number; } } } function handleTax(address from, address to, uint256 amount) internal returns (uint256){ if(balanceOf(address(this)) >= swapTokensAtAmt && !isAMMPair[from]) { convertTaxes(); } uint128 tax = 0; Taxes memory taxes; if (isAMMPair[to]){ taxes = sellTax; } else if(isAMMPair[from]){ taxes = buyTax; } if(taxes.totalTax > 0){ TokensForTax memory tokensForTaxUpdate = tokensForTax; tax = uint128(amount * taxes.totalTax / FEE_DIVISOR); tokensForTaxUpdate.tokensForLiquidity += uint64(tax * taxes.liquidityTax / taxes.totalTax / 1e9); tokensForTaxUpdate.tokensForMarketing += uint64(tax * taxes.marketingTax / taxes.totalTax / 1e9); tokensForTaxUpdate.tokensForDev += uint64(tax * taxes.devTax / taxes.totalTax / 1e9); tokensForTaxUpdate.tokensForRevShare += uint64(tax * taxes.revShareTax / taxes.totalTax / 1e9); tokensForTax = tokensForTaxUpdate; super._transfer(from, address(this), tax); } return tax; } function swapTokensForETH(uint256 tokenAmt) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmt, 0, path, address(this), block.timestamp ); } function convertTaxes() private { uint256 contractBalance = balanceOf(address(this)); TokensForTax memory tokensForTaxMem = tokensForTax; uint256 totalTokensToSwap = tokensForTaxMem.tokensForLiquidity + tokensForTaxMem.tokensForMarketing + tokensForTaxMem.tokensForDev + tokensForTaxMem.tokensForRevShare; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} if(contractBalance > swapTokensAtAmt * 20){ contractBalance = swapTokensAtAmt * 20; } if(tokensForTaxMem.tokensForLiquidity > 0){ uint256 liquidityTokens = contractBalance * tokensForTaxMem.tokensForLiquidity / totalTokensToSwap; super._transfer(address(this), lpPair, liquidityTokens); try ILpPair(lpPair).sync(){} catch {} contractBalance -= liquidityTokens; totalTokensToSwap -= tokensForTaxMem.tokensForLiquidity; } if(contractBalance > 0){ swapTokensForETH(contractBalance); uint256 ethBalance = address(this).balance; bool success; if(tokensForTaxMem.tokensForDev > 0){ (success,) = devAddress.call{value: ethBalance * tokensForTaxMem.tokensForDev / totalTokensToSwap}(""); } if(tokensForTaxMem.tokensForRevShare > 0){ (success,) = address(dividendTracker).call{value: ethBalance * tokensForTaxMem.tokensForRevShare/ totalTokensToSwap}(""); } ethBalance = address(this).balance; if(ethBalance > 0){ (success,) = marketingAddress.call{value: ethBalance}(""); } } tokensForTaxMem.tokensForLiquidity = 0; tokensForTaxMem.tokensForMarketing = 0; tokensForTaxMem.tokensForDev = 0; tokensForTaxMem.tokensForRevShare = 0; tokensForTax = tokensForTaxMem; } // owner functions function setExemptFromFee(address _address, bool _isExempt) external onlyOwner { require(_address != address(0), "Zero Address"); require(_address != address(this), "Cannot unexempt contract"); exemptFromFees[_address] = _isExempt; emit SetExemptFromFees(_address, _isExempt); } function setExemptFromLimit(address _address, bool _isExempt) external onlyOwner { require(_address != address(0), "Zero Address"); if(!_isExempt){ require(_address != lpPair, "Cannot remove pair"); } exemptFromLimits[_address] = _isExempt; emit SetExemptFromLimits(_address, _isExempt); } function updateTransactionLimit(uint128 newNumInTokens) external onlyOwner { require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low"); txLimits.transactionLimit = uint128(newNumInTokens * (10**decimals())); emit UpdatedTransactionLimit(txLimits.transactionLimit); } function updateWalletLimit(uint128 newNumInTokens) external onlyOwner { require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low"); txLimits.walletLimit = uint128(newNumInTokens * (10**decimals())); emit UpdatedWalletLimit(txLimits.walletLimit); } function updateSwapTokensAmt(uint256 newAmount) external onlyOwner { require(newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply."); require(newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply."); swapTokensAtAmt = newAmount; } function updateBuyTax(uint48 _marketingTax, uint48 _liquidityTax, uint48 _devTax, uint48 _revShareTax) external onlyOwner { Taxes memory taxes; taxes.marketingTax = _marketingTax; taxes.liquidityTax = _liquidityTax; taxes.devTax = _devTax; taxes.revShareTax = _revShareTax; taxes.totalTax = _marketingTax + _liquidityTax + _devTax + _revShareTax; require(taxes.totalTax <= 1000, "Keep tax below 10%"); emit UpdatedBuyTax(taxes.totalTax); buyTax = taxes; } function updateSellTax(uint48 _marketingTax, uint48 _liquidityTax, uint48 _devTax, uint48 _revShareTax) external onlyOwner { Taxes memory taxes; taxes.marketingTax = _marketingTax; taxes.liquidityTax = _liquidityTax; taxes.devTax = _devTax; taxes.revShareTax = _revShareTax; taxes.totalTax = _marketingTax + _liquidityTax + _devTax + _revShareTax; require(taxes.totalTax <= 1000, "Keep tax below 10%"); emit UpdatedSellTax(taxes.totalTax); sellTax = taxes; } function enableTrading() external onlyOwner { require(!tradingAllowed, "Trading already live"); tradingAllowed = true; } function removeLimits() external onlyOwner { limited = false; TxLimits memory _txLimits; uint256 supply = totalSupply(); _txLimits.transactionLimit = uint128(supply); _txLimits.walletLimit = uint128(supply); txLimits = _txLimits; emit RemovedLimits(); } function updateMevBlockerEnabled(bool _enabled) external onlyOwner { antiMevEnabled = _enabled; } function airdropToWallets(address[] calldata wallets, uint256[] calldata amountsInWei) external onlyOwner { require(wallets.length == amountsInWei.length, "arrays length mismatch"); for(uint256 i = 0; i < wallets.length; i++){ super._transfer(msg.sender, wallets[i], amountsInWei[i]); } } function rescueTokens(address _token, address _to) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); SafeERC20.safeTransfer(IERC20(_token),_to, _contractBalance); } function updateMarketingAddress(address _address) external onlyOwner { require(_address != address(0), "zero address"); marketingAddress = _address; } function updateDevAddress(address _address) external onlyOwner { require(_address != address(0), "zero address"); devAddress = _address; } receive() payable external {} // dividend functions function claim() external { dividendTracker.processAccount(payable(msg.sender), false); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.holderBalance(account); } function getAccountDividendsInfo(address account) external view returns ( address, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function getNumberOfDividends() external view returns(uint256) { return dividendTracker.totalBalance(); } function excludeFromDividends(address _wallet) external onlyOwner { dividendTracker.excludeFromDividends(_wallet); } function includeInDividends(address _wallet) external onlyOwner { dividendTracker.includeInDividends(_wallet); } function compound(uint256 minOutput) external { uint256 amountEthForCompound = dividendTracker.withdrawDividendOfUserForCompound(payable(msg.sender)); if(amountEthForCompound > 0){ buyBackTokens(amountEthForCompound, minOutput, msg.sender); } else { revert("No rewards"); } } function buyBackTokens(uint256 ethAmountInWei, uint256 minOut, address to) internal { // generate the uniswap pair path of weth -> eth address[] memory path = new address[](2); path[0] = dexRouter.WETH(); path[1] = address(this); // make the swap dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmountInWei}( minOut, path, address(to), block.timestamp ); } // helper views function getExpectedCompoundOutputByEthAmount(uint256 rewardAmount) external view returns(uint256) { address[] memory path = new address[](2); path[0] = dexRouter.WETH(); path[1] = address(this); uint256[] memory amounts = dexRouter.getAmountsOut(rewardAmount, path); return amounts[1] - (amounts[1] * (buyTax.totalTax + 50) / FEE_DIVISOR); } function getExpectedCompoundOutputByWallet(address wallet) external view returns(uint256) { uint256 rewardAmount = withdrawableDividendOf(wallet); address[] memory path = new address[](2); path[0] = dexRouter.WETH(); path[1] = address(this); uint256[] memory amounts = dexRouter.getAmountsOut(rewardAmount, path); return amounts[1] - (amounts[1] * (buyTax.totalTax + 50) / FEE_DIVISOR); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetExemptFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetExemptFromLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedBuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedSellTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedTransactionLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedWalletLimit","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amountsInWei","type":"uint256[]"}],"name":"airdropToWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiMevEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"buyTax","outputs":[{"internalType":"uint48","name":"marketingTax","type":"uint48"},{"internalType":"uint48","name":"devTax","type":"uint48"},{"internalType":"uint48","name":"liquidityTax","type":"uint48"},{"internalType":"uint48","name":"revShareTax","type":"uint48"},{"internalType":"uint48","name":"totalTax","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minOutput","type":"uint256"}],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"name":"getExpectedCompoundOutputByEthAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getExpectedCompoundOutputByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"includeInDividends","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":"","type":"address"}],"name":"isAMMPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint48","name":"marketingTax","type":"uint48"},{"internalType":"uint48","name":"devTax","type":"uint48"},{"internalType":"uint48","name":"liquidityTax","type":"uint48"},{"internalType":"uint48","name":"revShareTax","type":"uint48"},{"internalType":"uint48","name":"totalTax","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"setExemptFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"setExemptFromLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTax","outputs":[{"internalType":"uint64","name":"tokensForMarketing","type":"uint64"},{"internalType":"uint64","name":"tokensForLiquidity","type":"uint64"},{"internalType":"uint64","name":"tokensForDev","type":"uint64"},{"internalType":"uint64","name":"tokensForRevShare","type":"uint64"},{"internalType":"bool","name":"gasSaver","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txLimits","outputs":[{"internalType":"uint128","name":"transactionLimit","type":"uint128"},{"internalType":"uint128","name":"walletLimit","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint48","name":"_marketingTax","type":"uint48"},{"internalType":"uint48","name":"_liquidityTax","type":"uint48"},{"internalType":"uint48","name":"_devTax","type":"uint48"},{"internalType":"uint48","name":"_revShareTax","type":"uint48"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateMevBlockerEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint48","name":"_marketingTax","type":"uint48"},{"internalType":"uint48","name":"_liquidityTax","type":"uint48"},{"internalType":"uint48","name":"_devTax","type":"uint48"},{"internalType":"uint48","name":"_revShareTax","type":"uint48"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newNumInTokens","type":"uint128"}],"name":"updateTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newNumInTokens","type":"uint128"}],"name":"updateWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526012805461ffff19166101011790553480156200001f575f80fd5b50604051806040016040528060098152602001684e657875732050726f60b81b815250604051806040016040528060058152602001644e4558555360d81b8152508160039081620000719190620009c4565b506004620000808282620009c4565b5050505f620000946200072a60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000f8336a52b7d2dcc80cd2e40000006200072e565b5f466001036200011e5750737a250d5630b4cf539739df2c5dacb4c659f2488d62000190565b46600503620001435750737a250d5630b4cf539739df2c5dacb4c659f2488d62000190565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6040516200019e9062000916565b604051809103905ff080158015620001b8573d5f803e3d5ffd5b50600c80546001600160a01b03199081166001600160a01b0393841617909155601580549091169183169190911790556103e8620001f560025490565b6200020290601462000aa0565b6200020e919062000ac0565b601680546001600160801b0319166001600160801b039290921691909117905560646200023a60025490565b6200024790600262000aa0565b62000253919062000ac0565b601680546001600160801b03928316600160801b029216919091179055620186a06200027e60025490565b6200028b90601962000aa0565b62000297919062000ac0565b601355600a8054732ad8787f1edbe8a0f81f130ce7846390e2a7715e6001600160a01b031991821617909155600b805473bae8b6b5d60bc1e1e4d10144149da1458b7460dd9216919091179055600d80546001600160c01b03191673012c00000000012c00000000012c000000000258179081905565ffffffffffff600160901b82048116916601000000000000810482169162000349916c0100000000000000000000000090041661025862000ae0565b62000355919062000ae0565b62000361919062000ae0565b600d805465ffffffffffff60c01b1916600160c01b65ffffffffffff938416021790819055600e80546001600160c01b03191673012c00000000012c00000000012c0000000002581790819055600160901b808204841693920482169166010000000000008204811691620003eb916c010000000000000000000000009091041661025862000ae0565b620003f7919062000ae0565b62000403919062000ae0565b6200040f919062000ae0565b600e805465ffffffffffff92909216600160c01b0265ffffffffffff60c01b199092169190911790556010805460ff19166001179055601554604080516315ab88c960e31b815290516001600160a01b039092169163ad5c4648916004808201926020929091908290030181865afa1580156200048e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620004b4919062000b09565b6001600160a01b039081166080526015546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa15801562000503573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000529919062000b09565b6080516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af115801562000578573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200059e919062000b09565b601480546001600160a01b0319166001600160a01b0392831690811782555f908152600960209081526040808320805460ff19908116600190811790925594548616845260078352818420805486168217905533808552828520805487168317905530808652838620805488168417905590855260069093528184208054861682179055828452928190208054909416909217909255600c54905163031e79db60e41b81526004810192909252909116906331e79db0906024015f604051808303815f87803b15801562000670575f80fd5b505af115801562000683573d5f803e3d5ffd5b5050600c5460145460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db091506024015f604051808303815f87803b158015620006ce575f80fd5b505af1158015620006e1573d5f803e3d5ffd5b50506015546200070092503091506001600160a01b03165f19620007ef565b601554620007239033906001600160a01b03166200071d60025490565b620007ef565b5062000b4e565b3390565b6001600160a01b038216620007865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000187565b8060025f82825462000799919062000b38565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316620008535760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000187565b6001600160a01b038216620008b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000187565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61114c8062004b5883390190565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200094d57607f821691505b6020821081036200096c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620009bf575f81815260208120601f850160051c810160208610156200099a5750805b601f850160051c820191505b81811015620009bb57828155600101620009a6565b5050505b505050565b81516001600160401b03811115620009e057620009e062000924565b620009f881620009f1845462000938565b8462000972565b602080601f83116001811462000a2e575f841562000a165750858301515b5f19600386901b1c1916600185901b178555620009bb565b5f85815260208120601f198616915b8281101562000a5e5788860151825594840194600190910190840162000a3d565b508582101562000a7c57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141762000aba5762000aba62000a8c565b92915050565b5f8262000adb57634e487b7160e01b5f52601260045260245ffd5b500490565b65ffffffffffff81811683821601908082111562000b025762000b0262000a8c565b5092915050565b5f6020828403121562000b1a575f80fd5b81516001600160a01b038116811462000b31575f80fd5b9392505050565b8082018082111562000aba5762000aba62000a8c565b608051613fea62000b6e5f395f8181610a3d01526135f80152613fea5ff3fe608060405260043610610369575f3560e01c806370a08231116101c8578063a8b9d240116100fd578063bedafd011161009d578063ccad03e11161006d578063ccad03e114610b28578063dd62ed3e14610b47578063f270fde414610b66578063f2fde38b14610bb0575f80fd5b8063bedafd0114610a8d578063c0f306ef14610aac578063c78d0fa014610acb578063cc1776d314610ae0575f80fd5b8063ac37d4a1116100d8578063ac37d4a1146109c4578063ad56c13c146109e3578063ad5c464814610a2c578063b0249cc614610a5f575f80fd5b8063a8b9d24014610967578063a9059cbb14610986578063aa5f7e26146109a5575f80fd5b80638a8c523c1161016857806395d89b411161014357806395d89b41146108e85780639e93ad8e146108fc578063a457c2d714610929578063a5ece94114610948575f80fd5b80638a8c523c146108895780638d3e6e401461089d5780638da5cb5b146108cb575f80fd5b8063751039fc116101a3578063751039fc146108195780637c174e871461082d578063850337621461084c578063860a32ec1461086b575f80fd5b806370a08231146107bd578063715018a6146107f157806371778e7d14610805575f80fd5b8063395093511161029e5780635431c94e1161023e578063627e9d8e11610219578063627e9d8e146106e557806366ebd39a146106fe5780636843cd841461071d5780636d7adcad1461073c575f80fd5b80635431c94e1461067957806359758994146106985780635a90a49e146106b7575f80fd5b8063452ed4f111610279578063452ed4f1146105ac5780634e71d92d146105cb5780634f7041a5146105df57806353371be014610660575f80fd5b8063395093511461054f5780633ad10ef61461056e578063450066281461058d575f80fd5b80632369bf831161030957806330bb4cff116102e457806330bb4cff146104e2578063313ce567146104f657806331e79db01461051157806336e18e1914610530575f80fd5b80632369bf831461048557806323b872dd146104a45780632c1f5216146104c3575f80fd5b8063095ea7b311610344578063095ea7b31461040257806318160ddd1461043157806321045918146104455780632307b44114610466575f80fd5b806306fdde03146103745780630758d9241461039e57806308f2f233146103d5575f80fd5b3661037057005b5f80fd5b34801561037f575f80fd5b50610388610bcf565b6040516103959190613836565b60405180910390f35b3480156103a9575f80fd5b506015546103bd906001600160a01b031681565b6040516001600160a01b039091168152602001610395565b3480156103e0575f80fd5b506103f46103ef36600461387c565b610c5f565b604051908152602001610395565b34801561040d575f80fd5b5061042161041c36600461389e565b610e4d565b6040519015158152602001610395565b34801561043c575f80fd5b506002546103f4565b348015610450575f80fd5b5061046461045f3660046138c8565b610e66565b005b348015610471575f80fd5b50610464610480366004613926565b610fba565b348015610490575f80fd5b5061046461049f36600461387c565b611098565b3480156104af575f80fd5b506104216104be36600461398c565b611129565b3480156104ce575f80fd5b50600c546103bd906001600160a01b031681565b3480156104ed575f80fd5b506103f461114c565b348015610501575f80fd5b5060405160128152602001610395565b34801561051c575f80fd5b5061046461052b36600461387c565b6111bc565b34801561053b575f80fd5b5061046461054a3660046139ca565b61123d565b34801561055a575f80fd5b5061042161056936600461389e565b611355565b348015610579575f80fd5b50600b546103bd906001600160a01b031681565b348015610598575f80fd5b506104646105a7366004613a0a565b611376565b3480156105b7575f80fd5b506014546103bd906001600160a01b031681565b3480156105d6575f80fd5b50610464611533565b3480156105ea575f80fd5b50600d546106279065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b6040805165ffffffffffff968716815294861660208601529285169284019290925283166060830152909116608082015260a001610395565b34801561066b575f80fd5b506008546104219060ff1681565b348015610684575f80fd5b50610464610693366004613a5b565b6115a7565b3480156106a3575f80fd5b506104646106b2366004613a9f565b6116a1565b3480156106c2575f80fd5b506104216106d136600461387c565b60066020525f908152604090205460ff1681565b3480156106f0575f80fd5b506012546104219060ff1681565b348015610709575f80fd5b506104646107183660046139ca565b6116de565b348015610728575f80fd5b506103f461073736600461387c565b6117f2565b348015610747575f80fd5b50600f54601054610782916001600160401b0380821692600160401b8304821692600160801b8104831692600160c01b909104169060ff1685565b604080516001600160401b0396871681529486166020860152928516928401929092529092166060820152901515608082015260a001610395565b3480156107c8575f80fd5b506103f46107d736600461387c565b6001600160a01b03165f9081526020819052604090205490565b3480156107fc575f80fd5b5061046461185f565b348015610810575f80fd5b506103f46118d2565b348015610824575f80fd5b50610464611919565b348015610838575f80fd5b506103f46108473660046138c8565b6119b9565b348015610857575f80fd5b5061046461086636600461387c565b611b9a565b348015610876575f80fd5b5060125461042190610100900460ff1681565b348015610894575f80fd5b50610464611c2b565b3480156108a8575f80fd5b506104216108b736600461387c565b60076020525f908152604090205460ff1681565b3480156108d6575f80fd5b506005546001600160a01b03166103bd565b3480156108f3575f80fd5b50610388611cae565b348015610907575f80fd5b5061091161271081565b6040516001600160401b039091168152602001610395565b348015610934575f80fd5b5061042161094336600461389e565b611cbd565b348015610953575f80fd5b50600a546103bd906001600160a01b031681565b348015610972575f80fd5b506103f461098136600461387c565b611d37565b348015610991575f80fd5b506104216109a036600461389e565b611d69565b3480156109b0575f80fd5b506104646109bf3660046138c8565b611d76565b3480156109cf575f80fd5b506104646109de366004613a0a565b611e2d565b3480156109ee575f80fd5b50610a026109fd36600461387c565b611fea565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610395565b348015610a37575f80fd5b506103bd7f000000000000000000000000000000000000000000000000000000000000000081565b348015610a6a575f80fd5b50610421610a7936600461387c565b60096020525f908152604090205460ff1681565b348015610a98575f80fd5b50610464610aa7366004613aba565b61206b565b348015610ab7575f80fd5b50610464610ac636600461387c565b612195565b348015610ad6575f80fd5b506103f460135481565b348015610aeb575f80fd5b50600e546106279065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b348015610b33575f80fd5b50610464610b42366004613aba565b6121f1565b348015610b52575f80fd5b506103f4610b61366004613a5b565b612313565b348015610b71575f80fd5b50601654610b90906001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610395565b348015610bbb575f80fd5b50610464610bca36600461387c565b61233d565b606060038054610bde90613ae6565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0a90613ae6565b8015610c555780601f10610c2c57610100808354040283529160200191610c55565b820191905f5260205f20905b815481529060010190602001808311610c3857829003601f168201915b5050505050905090565b5f80610c6a83611d37565b6040805160028082526060820183529293505f9290916020830190803683375050601554604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015610cd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfa9190613b32565b815f81518110610d0c57610d0c613b4d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110610d4057610d40613b4d565b6001600160a01b03928316602091820292909201015260155460405163d06ca61f60e01b81525f92919091169063d06ca61f90610d839086908690600401613ba3565b5f60405180830381865afa158015610d9d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610dc49190810190613bbb565b600d5490915061271090610de890600160c01b900465ffffffffffff166032613c87565b65ffffffffffff1682600181518110610e0357610e03613b4d565b6020026020010151610e159190613cad565b610e1f9190613cd8565b81600181518110610e3257610e32613b4d565b6020026020010151610e449190613ceb565b95945050505050565b5f33610e5a818585612427565b60019150505b92915050565b6005546001600160a01b03163314610e995760405162461bcd60e51b8152600401610e9090613cfe565b60405180910390fd5b620186a0610ea660025490565b610eb1906001613cad565b610ebb9190613cd8565b811015610f285760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610e90565b6103e8610f3460025490565b610f3f906005613cad565b610f499190613cd8565b811115610fb55760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610e90565b601355565b6005546001600160a01b03163314610fe45760405162461bcd60e51b8152600401610e9090613cfe565b82811461102c5760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610e90565b5f5b838110156110915761107f3386868481811061104c5761104c613b4d565b9050602002016020810190611061919061387c565b85858581811061107357611073613b4d565b9050602002013561254a565b8061108981613d33565b91505061102e565b5050505050565b6005546001600160a01b031633146110c25760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0381166111075760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610e90565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f336111368582856126ed565b611141858585612765565b506001949350505050565b600c54604080516342d359d760e11b815290515f926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b79190613d4b565b905090565b6005546001600160a01b031633146111e65760405162461bcd60e51b8152600401610e9090613cfe565b600c5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b5f604051808303815f87803b15801561122b575f80fd5b505af1158015611091573d5f803e3d5ffd5b6005546001600160a01b031633146112675760405162461bcd60e51b8152600401610e9090613cfe565b6112736012600a613e42565b6103e861127f60025490565b61128a906001613cad565b6112949190613cd8565b61129e9190613cd8565b816001600160801b031610156112e05760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610e90565b6112ec6012600a613e42565b6112ff906001600160801b038316613cad565b601680546001600160801b0319166001600160801b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020015b60405180910390a150565b5f33610e5a8185856113678383612313565b6113719190613e50565b612427565b6005546001600160a01b031633146113a05760405162461bcd60e51b8152600401610e9090613cfe565b6040805160a0810182525f608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836113e28688613c87565b6113ec9190613c87565b6113f69190613c87565b65ffffffffffff16608082018190526103e8101561144b5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610e90565b608081015160405165ffffffffffff90911681527fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c979060200160405180910390a18051600e805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b02939093166bffffffffffffffffffffffff60601b19948316600160301b026bffffffffffffffffffffffff199096169290971691909117939093179190911693909317929092179290921617905550505050565b600c5460405163bc4c4b3760e01b81523360048201525f60248201526001600160a01b039091169063bc4c4b37906044016020604051808303815f875af1158015611580573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a49190613e63565b50565b6005546001600160a01b031633146115d15760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0382166116275760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610e90565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa15801561166b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168f9190613d4b565b905061169c838383612938565b505050565b6005546001600160a01b031633146116cb5760405162461bcd60e51b8152600401610e9090613cfe565b6012805460ff1916911515919091179055565b6005546001600160a01b031633146117085760405162461bcd60e51b8152600401610e9090613cfe565b6117146012600a613e42565b6103e861172060025490565b61172b906001613cad565b6117359190613cd8565b61173f9190613cd8565b816001600160801b031610156117815760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610e90565b61178d6012600a613e42565b6117a0906001600160801b038316613cad565b601680546001600160801b03908116600160801b93821684021791829055604051929091041681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade07889060200161134a565b600c5460405163156dbbf560e31b81526001600160a01b0383811660048301525f92169063ab6ddfa8906024015b602060405180830381865afa15801561183b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e609190613d4b565b6005546001600160a01b031633146118895760405162461bcd60e51b8152600401610e9090613cfe565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600c546040805163ad7a672f60e01b815290515f926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015611193573d5f803e3d5ffd5b6005546001600160a01b031633146119435760405162461bcd60e51b8152600401610e9090613cfe565b6012805461ff0019169055604080518082019091525f80825260208201525f61196b60025490565b6001600160801b03811680845260208401819052600160801b8102176016556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a15050565b6040805160028082526060820183525f92839291906020830190803683375050601554604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611a24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a489190613b32565b815f81518110611a5a57611a5a613b4d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611a8e57611a8e613b4d565b6001600160a01b03928316602091820292909201015260155460405163d06ca61f60e01b81525f92919091169063d06ca61f90611ad19087908690600401613ba3565b5f60405180830381865afa158015611aeb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b129190810190613bbb565b600d5490915061271090611b3690600160c01b900465ffffffffffff166032613c87565b65ffffffffffff1682600181518110611b5157611b51613b4d565b6020026020010151611b639190613cad565b611b6d9190613cd8565b81600181518110611b8057611b80613b4d565b6020026020010151611b929190613ceb565b949350505050565b6005546001600160a01b03163314611bc45760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b038116611c095760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610e90565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611c555760405162461bcd60e51b8152600401610e9090613cfe565b60085460ff1615611c9f5760405162461bcd60e51b815260206004820152601460248201527354726164696e6720616c7265616479206c69766560601b6044820152606401610e90565b6008805460ff19166001179055565b606060048054610bde90613ae6565b5f3381611cca8286612313565b905083811015611d2a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e90565b6111418286868403612427565b600c546040516302a2e74960e61b81526001600160a01b0383811660048301525f92169063a8b9d24090602401611820565b5f33610e5a818585612765565b600c5460405163dcb95ed960e01b81523360048201525f916001600160a01b03169063dcb95ed9906024016020604051808303815f875af1158015611dbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de19190613d4b565b90508015611df857611df481833361298a565b5050565b60405162461bcd60e51b815260206004820152600a6024820152694e6f207265776172647360b01b6044820152606401610e90565b6005546001600160a01b03163314611e575760405162461bcd60e51b8152600401610e9090613cfe565b6040805160a0810182525f608082015265ffffffffffff868116825285811692820192909252838216602082015290821660608201528183611e998688613c87565b611ea39190613c87565b611ead9190613c87565b65ffffffffffff16608082018190526103e81015611f025760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610e90565b608081015160405165ffffffffffff90911681527f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece05089060200160405180910390a18051600d805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b02939093166bffffffffffffffffffffffff60601b19948316600160301b026bffffffffffffffffffffffff199096169290971691909117939093179190911693909317929092179290921617905550505050565b600c5460405163fbcbc0f160e01b81526001600160a01b0383811660048301525f92839283928392169063fbcbc0f190602401608060405180830381865afa158015612038573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205c9190613e7e565b93509350935093509193509193565b6005546001600160a01b031633146120955760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0382166120da5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610e90565b306001600160a01b038316036121325760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e6578656d707420636f6e747261637400000000000000006044820152606401610e90565b6001600160a01b0382165f81815260066020908152604091829020805460ff19168515159081179091558251938452908301527f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d91015b60405180910390a15050565b6005546001600160a01b031633146121bf5760405162461bcd60e51b8152600401610e9090613cfe565b600c5460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef90602401611214565b6005546001600160a01b0316331461221b5760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0382166122605760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610e90565b806122b8576014546001600160a01b03908116908316036122b85760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610e90565b6001600160a01b0382165f81815260076020908152604091829020805460ff19168515159081179091558251938452908301527f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce9101612189565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146123675760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0381166123cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e90565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166124895760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e90565b6001600160a01b0382166124ea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e90565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166125ae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610e90565b6001600160a01b0382166126105760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610e90565b6001600160a01b0383165f90815260208190526040902054818110156126875760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e90565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f6126f88484612313565b90505f19811461275f57818110156127525760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e90565b61275f8484848403612427565b50505050565b6001600160a01b0383165f9081526006602052604090205460ff161580156127a557506001600160a01b0382165f9081526006602052604090205460ff16155b156128145760085460ff166127f15760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610e90565b6127fc838383612ad4565b612807838383612d72565b6128119082613ceb565b90505b61281f83838361254a565b600c546001600160a01b031663e30443bc8361284f816001600160a01b03165f9081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612892575f80fd5b505af11580156128a4573d5f803e3d5ffd5b5050600c546001600160a01b0316915063e30443bc9050846128da816001600160a01b03165f9081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b15801561291d575f80fd5b505af115801561292f573d5f803e3d5ffd5b50505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261169c90849061315e565b6040805160028082526060820183525f926020830190803683375050601554604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156129f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a159190613b32565b815f81518110612a2757612a27613b4d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612a5b57612a5b613b4d565b6001600160a01b03928316602091820292909201015260155460405163b6f9de9560e01b815291169063b6f9de95908690612aa0908790869088904290600401613eba565b5f604051808303818588803b158015612ab7575f80fd5b505af1158015612ac9573d5f803e3d5ffd5b505050505050505050565b601254610100900460ff1615612cd0576001600160a01b038281165f9081526007602090815260408083205483835281842054825180840184526016546001600160801b038082168352600160801b90910416818601529589168552600990935292205460ff928316939192168015612b4b575082155b15612bec5780516001600160801b0316841115612b945760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610e90565b60208101516001600160801b0316612bac8386613e50565b1115612be75760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610e90565b612ccc565b6001600160a01b0385165f9081526009602052604090205460ff168015612c2b57506001600160a01b0386165f9081526007602052604090205460ff16155b15612c745780516001600160801b0316841115612be75760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610e90565b82612ccc5760208101516001600160801b0316612c918386613e50565b1115612ccc5760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610e90565b5050505b60125460ff161561169c576001600160a01b0382165f9081526009602052604090205460ff1615612d4c576001600160a01b0383165f90815260116020526040902054431161169c5760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610e90565b506001600160a01b03165f90815260116020526040808220439081905532835291205550565b601354305f90815260208190526040812054909111158015612dac57506001600160a01b0384165f9081526009602052604090205460ff16155b15612db957612db961322f565b6040805160a0810182525f808252602080830182905282840182905260608301829052608083018290526001600160a01b0387168252600990529182205460ff1615612e5957506040805160a081018252600e5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b90049091166080820152612ecf565b6001600160a01b0386165f9081526009602052604090205460ff1615612ecf57506040805160a081018252600d5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b900490911660808201525b608081015165ffffffffffff161561314c576040805160a081018252600f546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b9004909116606082015260105460ff16151560808083019190915282015161271090612f529065ffffffffffff1687613cad565b612f5c9190613cd8565b9250633b9aca00826080015165ffffffffffff16836040015165ffffffffffff1685612f889190613eee565b612f929190613f19565b612f9c9190613f19565b81602001818151612fad9190613f3e565b6001600160401b031690525060808201518251633b9aca009165ffffffffffff90811691612fdc911686613eee565b612fe69190613f19565b612ff09190613f19565b81518290612fff908390613f3e565b6001600160401b031690525060808201516020830151633b9aca009165ffffffffffff90811691613031911686613eee565b61303b9190613f19565b6130459190613f19565b816040018181516130569190613f3e565b6001600160401b031690525060808201516060830151633b9aca009165ffffffffffff90811691613088911686613eee565b6130929190613f19565b61309c9190613f19565b816060018181516130ad9190613f3e565b6001600160401b039081169091528251600f80546020860151604087015160608801518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03928716600160401b026001600160801b031990941695909616949094179190911781169390931791909117905560808301516010805491151560ff1990921691909117905561314a915088903090861661254a565b505b506001600160801b0316949350505050565b5f6131b2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135959092919063ffffffff16565b80519091501561169c57808060200190518101906131d09190613e63565b61169c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610e90565b305f9081526020818152604080832054815160a081018352600f546001600160401b03808216808452600160401b83048216968401879052600160801b83048216958401869052600160c01b909204166060830181905260105460ff1615156080840152929591949193916132a49190613f3e565b6132ae9190613f3e565b6132b89190613f3e565b6001600160401b031690508215806132ce575080155b156132d857505050565b6013546132e6906014613cad565b8311156132fe576013546132fb906014613cad565b92505b60208201516001600160401b0316156133d8575f8183602001516001600160401b03168561332c9190613cad565b6133369190613cd8565b6014549091506133519030906001600160a01b03168361254a565b60145f9054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561339d575f80fd5b505af19250505080156133ae575060015b506133b98185613ceb565b935082602001516001600160401b0316826133d49190613ceb565b9150505b8215613560576133e7836135a3565b604082015147905f906001600160401b03161561347557600b5460408501516001600160a01b03909116908490613427906001600160401b031685613cad565b6134319190613cd8565b6040515f81818185875af1925050503d805f811461346a576040519150601f19603f3d011682016040523d82523d5f602084013e61346f565b606091505b50909150505b60608401516001600160401b0316156134ff57600c5460608501516001600160a01b039091169084906134b1906001600160401b031685613cad565b6134bb9190613cd8565b6040515f81818185875af1925050503d805f81146134f4576040519150601f19603f3d011682016040523d82523d5f602084013e6134f9565b606091505b50909150505b479150811561355d57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114613552576040519150601f19603f3d011682016040523d82523d5f602084013e613557565b606091505b50909150505b50505b505f602082018190528082526040820181905260608201819052600f55608001516010805460ff191691151591909117905550565b6060611b9284845f856136a0565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106135d6576135d6613b4d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061362a5761362a613b4d565b6001600160a01b03928316602091820292909201015260155460405163791ac94760e01b815291169063791ac9479061366f9085905f90869030904290600401613f5e565b5f604051808303815f87803b158015613686575f80fd5b505af1158015613698573d5f803e3d5ffd5b505050505050565b6060824710156137015760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610e90565b5f80866001600160a01b0316858760405161371c9190613f99565b5f6040518083038185875af1925050503d805f8114613756576040519150601f19603f3d011682016040523d82523d5f602084013e61375b565b606091505b509150915061376c87838387613777565b979650505050505050565b606083156137e55782515f036137de576001600160a01b0385163b6137de5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610e90565b5081611b92565b611b9283838151156137fa5781518083602001fd5b8060405162461bcd60e51b8152600401610e909190613836565b5f5b8381101561382e578181015183820152602001613816565b50505f910152565b602081525f8251806020840152613854816040850160208701613814565b601f01601f19169190910160400192915050565b6001600160a01b03811681146115a4575f80fd5b5f6020828403121561388c575f80fd5b813561389781613868565b9392505050565b5f80604083850312156138af575f80fd5b82356138ba81613868565b946020939093013593505050565b5f602082840312156138d8575f80fd5b5035919050565b5f8083601f8401126138ef575f80fd5b5081356001600160401b03811115613905575f80fd5b6020830191508360208260051b850101111561391f575f80fd5b9250929050565b5f805f8060408587031215613939575f80fd5b84356001600160401b038082111561394f575f80fd5b61395b888389016138df565b90965094506020870135915080821115613973575f80fd5b50613980878288016138df565b95989497509550505050565b5f805f6060848603121561399e575f80fd5b83356139a981613868565b925060208401356139b981613868565b929592945050506040919091013590565b5f602082840312156139da575f80fd5b81356001600160801b0381168114613897575f80fd5b803565ffffffffffff81168114613a05575f80fd5b919050565b5f805f8060808587031215613a1d575f80fd5b613a26856139f0565b9350613a34602086016139f0565b9250613a42604086016139f0565b9150613a50606086016139f0565b905092959194509250565b5f8060408385031215613a6c575f80fd5b8235613a7781613868565b91506020830135613a8781613868565b809150509250929050565b80151581146115a4575f80fd5b5f60208284031215613aaf575f80fd5b813561389781613a92565b5f8060408385031215613acb575f80fd5b8235613ad681613868565b91506020830135613a8781613a92565b600181811c90821680613afa57607f821691505b602082108103613b1857634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215613b42575f80fd5b815161389781613868565b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b83811015613b985781516001600160a01b031687529582019590820190600101613b73565b509495945050505050565b828152604060208201525f611b926040830184613b61565b5f6020808385031215613bcc575f80fd5b82516001600160401b0380821115613be2575f80fd5b818501915085601f830112613bf5575f80fd5b815181811115613c0757613c07613b1e565b8060051b604051601f19603f83011681018181108582111715613c2c57613c2c613b1e565b604052918252848201925083810185019188831115613c49575f80fd5b938501935b82851015613c6757845184529385019392850192613c4e565b98975050505050505050565b634e487b7160e01b5f52601160045260245ffd5b65ffffffffffff818116838216019080821115613ca657613ca6613c73565b5092915050565b8082028115828204841417610e6057610e60613c73565b634e487b7160e01b5f52601260045260245ffd5b5f82613ce657613ce6613cc4565b500490565b81810381811115610e6057610e60613c73565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60018201613d4457613d44613c73565b5060010190565b5f60208284031215613d5b575f80fd5b5051919050565b600181815b80851115613d9c57815f1904821115613d8257613d82613c73565b80851615613d8f57918102915b93841c9390800290613d67565b509250929050565b5f82613db257506001610e60565b81613dbe57505f610e60565b8160018114613dd45760028114613dde57613dfa565b6001915050610e60565b60ff841115613def57613def613c73565b50506001821b610e60565b5060208310610133831016604e8410600b8410161715613e1d575081810a610e60565b613e278383613d62565b805f1904821115613e3a57613e3a613c73565b029392505050565b5f61389760ff841683613da4565b80820180821115610e6057610e60613c73565b5f60208284031215613e73575f80fd5b815161389781613a92565b5f805f8060808587031215613e91575f80fd5b8451613e9c81613868565b60208601516040870151606090970151919890975090945092505050565b848152608060208201525f613ed26080830186613b61565b6001600160a01b03949094166040830152506060015292915050565b6001600160801b03818116838216028082169190828114613f1157613f11613c73565b505092915050565b5f6001600160801b0380841680613f3257613f32613cc4565b92169190910492915050565b6001600160401b03818116838216019080821115613ca657613ca6613c73565b85815284602082015260a060408201525f613f7c60a0830186613b61565b6001600160a01b0394909416606083015250608001529392505050565b5f8251613faa818460208701613814565b919091019291505056fea26469706673582212205c77c29e19734adef76ca12aea637f4fa29ba1dc41fecc10eb214729d78c87ea64736f6c63430008140033608060405234801561000f575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506110ef8061005d5f395ff3fe608060405260043610610134575f3560e01c806391b89fba116100a8578063bc4c4b371161006d578063bc4c4b371461034f578063c0f306ef1461036e578063dcb95ed91461038d578063e30443bc146103ac578063f2fde38b146103cb578063fbcbc0f1146103ea575f80fd5b806391b89fba1461029d578063a8b9d240146102bc578063aafd847a146102db578063ab6ddfa81461030f578063ad7a672f1461033a575f80fd5b80636843cd84116100f95780636843cd84146101f25780636a47400214610226578063715018a61461023a57806371778e7d1461024e57806385a6b3ae146102625780638da5cb5b14610277575f80fd5b806303c833021461014757806327ce01471461014f57806330bb4cff1461018157806331e79db0146101955780634e7b827f146101b4575f80fd5b3661014357610141610433565b005b5f80fd5b610141610433565b34801561015a575f80fd5b5061016e610169366004610eec565b6104bb565b6040519081526020015b60405180910390f35b34801561018c575f80fd5b5060065461016e565b3480156101a0575f80fd5b506101416101af366004610eec565b61051d565b3480156101bf575f80fd5b506101e26101ce366004610eec565b60076020525f908152604090205460ff1681565b6040519015158152602001610178565b3480156101fd575f80fd5b5061016e61020c366004610eec565b6001600160a01b03165f9081526004602052604090205490565b348015610231575f80fd5b5061014161057f565b348015610245575f80fd5b50610141610588565b348015610259575f80fd5b5060055461016e565b34801561026d575f80fd5b5061016e60065481565b348015610282575f80fd5b505f546040516001600160a01b039091168152602001610178565b3480156102a8575f80fd5b5061016e6102b7366004610eec565b6105f9565b3480156102c7575f80fd5b5061016e6102d6366004610eec565b6105ff565b3480156102e6575f80fd5b5061016e6102f5366004610eec565b6001600160a01b03165f9081526003602052604090205490565b34801561031a575f80fd5b5061016e610329366004610eec565b60046020525f908152604090205481565b348015610345575f80fd5b5061016e60055481565b34801561035a575f80fd5b506101e2610369366004610f07565b61062a565b348015610379575f80fd5b50610141610388366004610eec565b6106bf565b348015610398575f80fd5b5061016e6103a7366004610eec565b6107ae565b3480156103b7575f80fd5b506101416103c6366004610f42565b610908565b3480156103d6575f80fd5b506101416103e5366004610eec565b61096b565b3480156103f5575f80fd5b50610409610404366004610eec565b610a52565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610178565b5f60055411801561044357505f34115b156104b9576005546104709061045d34600160801b610a8e565b6104679190610f80565b60015490610b13565b60015560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26006546104b59034610b13565b6006555b565b6001600160a01b0381165f908152600260209081526040808320546004909252822054600154600160801b9261050d9261050892610502916104fd9190610a8e565b610b71565b90610b7f565b610bb9565b6105179190610f80565b92915050565b5f546001600160a01b0316331461054f5760405162461bcd60e51b815260040161054690610f9f565b60405180910390fd5b6001600160a01b0381165f908152600760205260408120805460ff1916600117905561057c908290610bca565b50565b61057c33610c5e565b5f546001600160a01b031633146105b15760405162461bcd60e51b815260040161054690610f9f565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f610517825b6001600160a01b0381165f9081526003602052604081205461051790610624846104bb565b90610d95565b5f80546001600160a01b031633146106545760405162461bcd60e51b815260040161054690610f9f565b5f61065e84610c5e565b905080156106b657821515846001600160a01b03167fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092836040516106a491815260200190565b60405180910390a36001915050610517565b505f9392505050565b5f546001600160a01b031633146106e85760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0381165f9081526007602052604090205460ff1661070b575f80fd5b6001600160a01b0381165f908152600760205260409020805460ff1916905561057c8161073f5f546001600160a01b031690565b6040516370a0823160e01b81526001600160a01b03858116600483015291909116906370a0823190602401602060405180830381865afa158015610785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a99190610fd4565b610bca565b5f80546001600160a01b031633146107d85760405162461bcd60e51b815260040161054690610f9f565b6107e1826105ff565b90508015610863576001600160a01b0382165f9081526003602052604090205461080c908290610feb565b6001600160a01b0383165f81815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061085a9084815260200190565b60405180910390a25b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f81146108ad576040519150601f19603f3d011682016040523d82523d5f602084013e6108b2565b606091505b5050905080610901576001600160a01b0383165f908152600360205260409020546108dd9083610d95565b6001600160a01b0384165f9081526003602052604081209190915591506109039050565b505b919050565b5f546001600160a01b031633146109315760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0382165f9081526007602052604090205460ff166109675761095a8282610bca565b61096582600161062a565b505b5050565b5f546001600160a01b031633146109945760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0381166109f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610546565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b805f8080610a5f846105ff565b9250610a6a846104bb565b6001600160a01b0385165f9081526004602052604090205494969395509392915050565b5f825f03610a9d57505f610517565b5f610aa88385610ffe565b905082610ab58583610f80565b14610b0c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610546565b9392505050565b5f80610b1f8385610feb565b905083811015610b0c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610546565b5f8181811215610517575f80fd5b5f80610b8b8385611015565b90505f8312158015610b9d5750838112155b80610bb157505f83128015610bb157508381125b610b0c575f80fd5b5f80821215610bc6575f80fd5b5090565b6001600160a01b0382165f90815260046020526040902080549082905580821115610c23575f610bfa8383610d95565b9050610c068482610dd6565b8060055f828254610c179190610feb565b90915550610965915050565b80821015610965575f610c368284610d95565b9050610c428482610e2e565b8060055f828254610c53919061103c565b909155505050505050565b5f80610c69836105ff565b90508015610d8d576001600160a01b0383165f90815260036020526040902054610c939082610b13565b6001600160a01b0384165f81815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90610ce19084815260200190565b60405180910390a25f836001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610d32576040519150601f19603f3d011682016040523d82523d5f602084013e610d37565b606091505b5050905080610d86576001600160a01b0384165f90815260036020526040902054610d629083610d95565b6001600160a01b039094165f90815260036020526040812094909455509192915050565b5092915050565b505f92915050565b5f610b0c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e67565b610e0f610df16104fd83600154610a8e90919063ffffffff16565b6001600160a01b0384165f9081526002602052604090205490610e9f565b6001600160a01b039092165f9081526002602052604090209190915550565b610e0f610e496104fd83600154610a8e90919063ffffffff16565b6001600160a01b0384165f9081526002602052604090205490610b7f565b5f8184841115610e8a5760405162461bcd60e51b8152600401610546919061104f565b505f610e96848661103c565b95945050505050565b5f80610eab838561109a565b90505f8312158015610ebd5750838113155b80610bb157505f83128015610bb15750838113610b0c575f80fd5b6001600160a01b038116811461057c575f80fd5b5f60208284031215610efc575f80fd5b8135610b0c81610ed8565b5f8060408385031215610f18575f80fd5b8235610f2381610ed8565b915060208301358015158114610f37575f80fd5b809150509250929050565b5f8060408385031215610f53575f80fd5b8235610f5e81610ed8565b946020939093013593505050565b634e487b7160e01b5f52601160045260245ffd5b5f82610f9a57634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610fe4575f80fd5b5051919050565b8082018082111561051757610517610f6c565b808202811582820484141761051757610517610f6c565b8082018281125f83128015821682158216171561103457611034610f6c565b505092915050565b8181038181111561051757610517610f6c565b5f6020808352835180828501525f5b8181101561107a5785810183015185820160400152820161105e565b505f604082860101526040601f19601f8301168501019250505092915050565b8181035f831280158383131683831282161715610d8657610d86610f6c56fea26469706673582212208476926497af553a5075897afd3e010cf4e423ff60b0f7d4ecef237e5c10ca1c64736f6c63430008140033
Deployed Bytecode
0x608060405260043610610369575f3560e01c806370a08231116101c8578063a8b9d240116100fd578063bedafd011161009d578063ccad03e11161006d578063ccad03e114610b28578063dd62ed3e14610b47578063f270fde414610b66578063f2fde38b14610bb0575f80fd5b8063bedafd0114610a8d578063c0f306ef14610aac578063c78d0fa014610acb578063cc1776d314610ae0575f80fd5b8063ac37d4a1116100d8578063ac37d4a1146109c4578063ad56c13c146109e3578063ad5c464814610a2c578063b0249cc614610a5f575f80fd5b8063a8b9d24014610967578063a9059cbb14610986578063aa5f7e26146109a5575f80fd5b80638a8c523c1161016857806395d89b411161014357806395d89b41146108e85780639e93ad8e146108fc578063a457c2d714610929578063a5ece94114610948575f80fd5b80638a8c523c146108895780638d3e6e401461089d5780638da5cb5b146108cb575f80fd5b8063751039fc116101a3578063751039fc146108195780637c174e871461082d578063850337621461084c578063860a32ec1461086b575f80fd5b806370a08231146107bd578063715018a6146107f157806371778e7d14610805575f80fd5b8063395093511161029e5780635431c94e1161023e578063627e9d8e11610219578063627e9d8e146106e557806366ebd39a146106fe5780636843cd841461071d5780636d7adcad1461073c575f80fd5b80635431c94e1461067957806359758994146106985780635a90a49e146106b7575f80fd5b8063452ed4f111610279578063452ed4f1146105ac5780634e71d92d146105cb5780634f7041a5146105df57806353371be014610660575f80fd5b8063395093511461054f5780633ad10ef61461056e578063450066281461058d575f80fd5b80632369bf831161030957806330bb4cff116102e457806330bb4cff146104e2578063313ce567146104f657806331e79db01461051157806336e18e1914610530575f80fd5b80632369bf831461048557806323b872dd146104a45780632c1f5216146104c3575f80fd5b8063095ea7b311610344578063095ea7b31461040257806318160ddd1461043157806321045918146104455780632307b44114610466575f80fd5b806306fdde03146103745780630758d9241461039e57806308f2f233146103d5575f80fd5b3661037057005b5f80fd5b34801561037f575f80fd5b50610388610bcf565b6040516103959190613836565b60405180910390f35b3480156103a9575f80fd5b506015546103bd906001600160a01b031681565b6040516001600160a01b039091168152602001610395565b3480156103e0575f80fd5b506103f46103ef36600461387c565b610c5f565b604051908152602001610395565b34801561040d575f80fd5b5061042161041c36600461389e565b610e4d565b6040519015158152602001610395565b34801561043c575f80fd5b506002546103f4565b348015610450575f80fd5b5061046461045f3660046138c8565b610e66565b005b348015610471575f80fd5b50610464610480366004613926565b610fba565b348015610490575f80fd5b5061046461049f36600461387c565b611098565b3480156104af575f80fd5b506104216104be36600461398c565b611129565b3480156104ce575f80fd5b50600c546103bd906001600160a01b031681565b3480156104ed575f80fd5b506103f461114c565b348015610501575f80fd5b5060405160128152602001610395565b34801561051c575f80fd5b5061046461052b36600461387c565b6111bc565b34801561053b575f80fd5b5061046461054a3660046139ca565b61123d565b34801561055a575f80fd5b5061042161056936600461389e565b611355565b348015610579575f80fd5b50600b546103bd906001600160a01b031681565b348015610598575f80fd5b506104646105a7366004613a0a565b611376565b3480156105b7575f80fd5b506014546103bd906001600160a01b031681565b3480156105d6575f80fd5b50610464611533565b3480156105ea575f80fd5b50600d546106279065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b6040805165ffffffffffff968716815294861660208601529285169284019290925283166060830152909116608082015260a001610395565b34801561066b575f80fd5b506008546104219060ff1681565b348015610684575f80fd5b50610464610693366004613a5b565b6115a7565b3480156106a3575f80fd5b506104646106b2366004613a9f565b6116a1565b3480156106c2575f80fd5b506104216106d136600461387c565b60066020525f908152604090205460ff1681565b3480156106f0575f80fd5b506012546104219060ff1681565b348015610709575f80fd5b506104646107183660046139ca565b6116de565b348015610728575f80fd5b506103f461073736600461387c565b6117f2565b348015610747575f80fd5b50600f54601054610782916001600160401b0380821692600160401b8304821692600160801b8104831692600160c01b909104169060ff1685565b604080516001600160401b0396871681529486166020860152928516928401929092529092166060820152901515608082015260a001610395565b3480156107c8575f80fd5b506103f46107d736600461387c565b6001600160a01b03165f9081526020819052604090205490565b3480156107fc575f80fd5b5061046461185f565b348015610810575f80fd5b506103f46118d2565b348015610824575f80fd5b50610464611919565b348015610838575f80fd5b506103f46108473660046138c8565b6119b9565b348015610857575f80fd5b5061046461086636600461387c565b611b9a565b348015610876575f80fd5b5060125461042190610100900460ff1681565b348015610894575f80fd5b50610464611c2b565b3480156108a8575f80fd5b506104216108b736600461387c565b60076020525f908152604090205460ff1681565b3480156108d6575f80fd5b506005546001600160a01b03166103bd565b3480156108f3575f80fd5b50610388611cae565b348015610907575f80fd5b5061091161271081565b6040516001600160401b039091168152602001610395565b348015610934575f80fd5b5061042161094336600461389e565b611cbd565b348015610953575f80fd5b50600a546103bd906001600160a01b031681565b348015610972575f80fd5b506103f461098136600461387c565b611d37565b348015610991575f80fd5b506104216109a036600461389e565b611d69565b3480156109b0575f80fd5b506104646109bf3660046138c8565b611d76565b3480156109cf575f80fd5b506104646109de366004613a0a565b611e2d565b3480156109ee575f80fd5b50610a026109fd36600461387c565b611fea565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610395565b348015610a37575f80fd5b506103bd7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b348015610a6a575f80fd5b50610421610a7936600461387c565b60096020525f908152604090205460ff1681565b348015610a98575f80fd5b50610464610aa7366004613aba565b61206b565b348015610ab7575f80fd5b50610464610ac636600461387c565b612195565b348015610ad6575f80fd5b506103f460135481565b348015610aeb575f80fd5b50600e546106279065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b348015610b33575f80fd5b50610464610b42366004613aba565b6121f1565b348015610b52575f80fd5b506103f4610b61366004613a5b565b612313565b348015610b71575f80fd5b50601654610b90906001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610395565b348015610bbb575f80fd5b50610464610bca36600461387c565b61233d565b606060038054610bde90613ae6565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0a90613ae6565b8015610c555780601f10610c2c57610100808354040283529160200191610c55565b820191905f5260205f20905b815481529060010190602001808311610c3857829003601f168201915b5050505050905090565b5f80610c6a83611d37565b6040805160028082526060820183529293505f9290916020830190803683375050601554604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015610cd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfa9190613b32565b815f81518110610d0c57610d0c613b4d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110610d4057610d40613b4d565b6001600160a01b03928316602091820292909201015260155460405163d06ca61f60e01b81525f92919091169063d06ca61f90610d839086908690600401613ba3565b5f60405180830381865afa158015610d9d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610dc49190810190613bbb565b600d5490915061271090610de890600160c01b900465ffffffffffff166032613c87565b65ffffffffffff1682600181518110610e0357610e03613b4d565b6020026020010151610e159190613cad565b610e1f9190613cd8565b81600181518110610e3257610e32613b4d565b6020026020010151610e449190613ceb565b95945050505050565b5f33610e5a818585612427565b60019150505b92915050565b6005546001600160a01b03163314610e995760405162461bcd60e51b8152600401610e9090613cfe565b60405180910390fd5b620186a0610ea660025490565b610eb1906001613cad565b610ebb9190613cd8565b811015610f285760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610e90565b6103e8610f3460025490565b610f3f906005613cad565b610f499190613cd8565b811115610fb55760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610e90565b601355565b6005546001600160a01b03163314610fe45760405162461bcd60e51b8152600401610e9090613cfe565b82811461102c5760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610e90565b5f5b838110156110915761107f3386868481811061104c5761104c613b4d565b9050602002016020810190611061919061387c565b85858581811061107357611073613b4d565b9050602002013561254a565b8061108981613d33565b91505061102e565b5050505050565b6005546001600160a01b031633146110c25760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0381166111075760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610e90565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f336111368582856126ed565b611141858585612765565b506001949350505050565b600c54604080516342d359d760e11b815290515f926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b79190613d4b565b905090565b6005546001600160a01b031633146111e65760405162461bcd60e51b8152600401610e9090613cfe565b600c5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b5f604051808303815f87803b15801561122b575f80fd5b505af1158015611091573d5f803e3d5ffd5b6005546001600160a01b031633146112675760405162461bcd60e51b8152600401610e9090613cfe565b6112736012600a613e42565b6103e861127f60025490565b61128a906001613cad565b6112949190613cd8565b61129e9190613cd8565b816001600160801b031610156112e05760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610e90565b6112ec6012600a613e42565b6112ff906001600160801b038316613cad565b601680546001600160801b0319166001600160801b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020015b60405180910390a150565b5f33610e5a8185856113678383612313565b6113719190613e50565b612427565b6005546001600160a01b031633146113a05760405162461bcd60e51b8152600401610e9090613cfe565b6040805160a0810182525f608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836113e28688613c87565b6113ec9190613c87565b6113f69190613c87565b65ffffffffffff16608082018190526103e8101561144b5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610e90565b608081015160405165ffffffffffff90911681527fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c979060200160405180910390a18051600e805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b02939093166bffffffffffffffffffffffff60601b19948316600160301b026bffffffffffffffffffffffff199096169290971691909117939093179190911693909317929092179290921617905550505050565b600c5460405163bc4c4b3760e01b81523360048201525f60248201526001600160a01b039091169063bc4c4b37906044016020604051808303815f875af1158015611580573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a49190613e63565b50565b6005546001600160a01b031633146115d15760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0382166116275760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610e90565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa15801561166b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168f9190613d4b565b905061169c838383612938565b505050565b6005546001600160a01b031633146116cb5760405162461bcd60e51b8152600401610e9090613cfe565b6012805460ff1916911515919091179055565b6005546001600160a01b031633146117085760405162461bcd60e51b8152600401610e9090613cfe565b6117146012600a613e42565b6103e861172060025490565b61172b906001613cad565b6117359190613cd8565b61173f9190613cd8565b816001600160801b031610156117815760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610e90565b61178d6012600a613e42565b6117a0906001600160801b038316613cad565b601680546001600160801b03908116600160801b93821684021791829055604051929091041681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade07889060200161134a565b600c5460405163156dbbf560e31b81526001600160a01b0383811660048301525f92169063ab6ddfa8906024015b602060405180830381865afa15801561183b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e609190613d4b565b6005546001600160a01b031633146118895760405162461bcd60e51b8152600401610e9090613cfe565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600c546040805163ad7a672f60e01b815290515f926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015611193573d5f803e3d5ffd5b6005546001600160a01b031633146119435760405162461bcd60e51b8152600401610e9090613cfe565b6012805461ff0019169055604080518082019091525f80825260208201525f61196b60025490565b6001600160801b03811680845260208401819052600160801b8102176016556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a15050565b6040805160028082526060820183525f92839291906020830190803683375050601554604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611a24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a489190613b32565b815f81518110611a5a57611a5a613b4d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611a8e57611a8e613b4d565b6001600160a01b03928316602091820292909201015260155460405163d06ca61f60e01b81525f92919091169063d06ca61f90611ad19087908690600401613ba3565b5f60405180830381865afa158015611aeb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b129190810190613bbb565b600d5490915061271090611b3690600160c01b900465ffffffffffff166032613c87565b65ffffffffffff1682600181518110611b5157611b51613b4d565b6020026020010151611b639190613cad565b611b6d9190613cd8565b81600181518110611b8057611b80613b4d565b6020026020010151611b929190613ceb565b949350505050565b6005546001600160a01b03163314611bc45760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b038116611c095760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610e90565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611c555760405162461bcd60e51b8152600401610e9090613cfe565b60085460ff1615611c9f5760405162461bcd60e51b815260206004820152601460248201527354726164696e6720616c7265616479206c69766560601b6044820152606401610e90565b6008805460ff19166001179055565b606060048054610bde90613ae6565b5f3381611cca8286612313565b905083811015611d2a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e90565b6111418286868403612427565b600c546040516302a2e74960e61b81526001600160a01b0383811660048301525f92169063a8b9d24090602401611820565b5f33610e5a818585612765565b600c5460405163dcb95ed960e01b81523360048201525f916001600160a01b03169063dcb95ed9906024016020604051808303815f875af1158015611dbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de19190613d4b565b90508015611df857611df481833361298a565b5050565b60405162461bcd60e51b815260206004820152600a6024820152694e6f207265776172647360b01b6044820152606401610e90565b6005546001600160a01b03163314611e575760405162461bcd60e51b8152600401610e9090613cfe565b6040805160a0810182525f608082015265ffffffffffff868116825285811692820192909252838216602082015290821660608201528183611e998688613c87565b611ea39190613c87565b611ead9190613c87565b65ffffffffffff16608082018190526103e81015611f025760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610e90565b608081015160405165ffffffffffff90911681527f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece05089060200160405180910390a18051600d805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b02939093166bffffffffffffffffffffffff60601b19948316600160301b026bffffffffffffffffffffffff199096169290971691909117939093179190911693909317929092179290921617905550505050565b600c5460405163fbcbc0f160e01b81526001600160a01b0383811660048301525f92839283928392169063fbcbc0f190602401608060405180830381865afa158015612038573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205c9190613e7e565b93509350935093509193509193565b6005546001600160a01b031633146120955760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0382166120da5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610e90565b306001600160a01b038316036121325760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e6578656d707420636f6e747261637400000000000000006044820152606401610e90565b6001600160a01b0382165f81815260066020908152604091829020805460ff19168515159081179091558251938452908301527f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d91015b60405180910390a15050565b6005546001600160a01b031633146121bf5760405162461bcd60e51b8152600401610e9090613cfe565b600c5460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef90602401611214565b6005546001600160a01b0316331461221b5760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0382166122605760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610e90565b806122b8576014546001600160a01b03908116908316036122b85760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610e90565b6001600160a01b0382165f81815260076020908152604091829020805460ff19168515159081179091558251938452908301527f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce9101612189565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146123675760405162461bcd60e51b8152600401610e9090613cfe565b6001600160a01b0381166123cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e90565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166124895760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e90565b6001600160a01b0382166124ea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e90565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166125ae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610e90565b6001600160a01b0382166126105760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610e90565b6001600160a01b0383165f90815260208190526040902054818110156126875760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e90565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f6126f88484612313565b90505f19811461275f57818110156127525760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e90565b61275f8484848403612427565b50505050565b6001600160a01b0383165f9081526006602052604090205460ff161580156127a557506001600160a01b0382165f9081526006602052604090205460ff16155b156128145760085460ff166127f15760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610e90565b6127fc838383612ad4565b612807838383612d72565b6128119082613ceb565b90505b61281f83838361254a565b600c546001600160a01b031663e30443bc8361284f816001600160a01b03165f9081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612892575f80fd5b505af11580156128a4573d5f803e3d5ffd5b5050600c546001600160a01b0316915063e30443bc9050846128da816001600160a01b03165f9081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b15801561291d575f80fd5b505af115801561292f573d5f803e3d5ffd5b50505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261169c90849061315e565b6040805160028082526060820183525f926020830190803683375050601554604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156129f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a159190613b32565b815f81518110612a2757612a27613b4d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612a5b57612a5b613b4d565b6001600160a01b03928316602091820292909201015260155460405163b6f9de9560e01b815291169063b6f9de95908690612aa0908790869088904290600401613eba565b5f604051808303818588803b158015612ab7575f80fd5b505af1158015612ac9573d5f803e3d5ffd5b505050505050505050565b601254610100900460ff1615612cd0576001600160a01b038281165f9081526007602090815260408083205483835281842054825180840184526016546001600160801b038082168352600160801b90910416818601529589168552600990935292205460ff928316939192168015612b4b575082155b15612bec5780516001600160801b0316841115612b945760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610e90565b60208101516001600160801b0316612bac8386613e50565b1115612be75760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610e90565b612ccc565b6001600160a01b0385165f9081526009602052604090205460ff168015612c2b57506001600160a01b0386165f9081526007602052604090205460ff16155b15612c745780516001600160801b0316841115612be75760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610e90565b82612ccc5760208101516001600160801b0316612c918386613e50565b1115612ccc5760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610e90565b5050505b60125460ff161561169c576001600160a01b0382165f9081526009602052604090205460ff1615612d4c576001600160a01b0383165f90815260116020526040902054431161169c5760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610e90565b506001600160a01b03165f90815260116020526040808220439081905532835291205550565b601354305f90815260208190526040812054909111158015612dac57506001600160a01b0384165f9081526009602052604090205460ff16155b15612db957612db961322f565b6040805160a0810182525f808252602080830182905282840182905260608301829052608083018290526001600160a01b0387168252600990529182205460ff1615612e5957506040805160a081018252600e5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b90049091166080820152612ecf565b6001600160a01b0386165f9081526009602052604090205460ff1615612ecf57506040805160a081018252600d5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b900490911660808201525b608081015165ffffffffffff161561314c576040805160a081018252600f546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b9004909116606082015260105460ff16151560808083019190915282015161271090612f529065ffffffffffff1687613cad565b612f5c9190613cd8565b9250633b9aca00826080015165ffffffffffff16836040015165ffffffffffff1685612f889190613eee565b612f929190613f19565b612f9c9190613f19565b81602001818151612fad9190613f3e565b6001600160401b031690525060808201518251633b9aca009165ffffffffffff90811691612fdc911686613eee565b612fe69190613f19565b612ff09190613f19565b81518290612fff908390613f3e565b6001600160401b031690525060808201516020830151633b9aca009165ffffffffffff90811691613031911686613eee565b61303b9190613f19565b6130459190613f19565b816040018181516130569190613f3e565b6001600160401b031690525060808201516060830151633b9aca009165ffffffffffff90811691613088911686613eee565b6130929190613f19565b61309c9190613f19565b816060018181516130ad9190613f3e565b6001600160401b039081169091528251600f80546020860151604087015160608801518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03928716600160401b026001600160801b031990941695909616949094179190911781169390931791909117905560808301516010805491151560ff1990921691909117905561314a915088903090861661254a565b505b506001600160801b0316949350505050565b5f6131b2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135959092919063ffffffff16565b80519091501561169c57808060200190518101906131d09190613e63565b61169c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610e90565b305f9081526020818152604080832054815160a081018352600f546001600160401b03808216808452600160401b83048216968401879052600160801b83048216958401869052600160c01b909204166060830181905260105460ff1615156080840152929591949193916132a49190613f3e565b6132ae9190613f3e565b6132b89190613f3e565b6001600160401b031690508215806132ce575080155b156132d857505050565b6013546132e6906014613cad565b8311156132fe576013546132fb906014613cad565b92505b60208201516001600160401b0316156133d8575f8183602001516001600160401b03168561332c9190613cad565b6133369190613cd8565b6014549091506133519030906001600160a01b03168361254a565b60145f9054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561339d575f80fd5b505af19250505080156133ae575060015b506133b98185613ceb565b935082602001516001600160401b0316826133d49190613ceb565b9150505b8215613560576133e7836135a3565b604082015147905f906001600160401b03161561347557600b5460408501516001600160a01b03909116908490613427906001600160401b031685613cad565b6134319190613cd8565b6040515f81818185875af1925050503d805f811461346a576040519150601f19603f3d011682016040523d82523d5f602084013e61346f565b606091505b50909150505b60608401516001600160401b0316156134ff57600c5460608501516001600160a01b039091169084906134b1906001600160401b031685613cad565b6134bb9190613cd8565b6040515f81818185875af1925050503d805f81146134f4576040519150601f19603f3d011682016040523d82523d5f602084013e6134f9565b606091505b50909150505b479150811561355d57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114613552576040519150601f19603f3d011682016040523d82523d5f602084013e613557565b606091505b50909150505b50505b505f602082018190528082526040820181905260608201819052600f55608001516010805460ff191691151591909117905550565b6060611b9284845f856136a0565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106135d6576135d6613b4d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061362a5761362a613b4d565b6001600160a01b03928316602091820292909201015260155460405163791ac94760e01b815291169063791ac9479061366f9085905f90869030904290600401613f5e565b5f604051808303815f87803b158015613686575f80fd5b505af1158015613698573d5f803e3d5ffd5b505050505050565b6060824710156137015760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610e90565b5f80866001600160a01b0316858760405161371c9190613f99565b5f6040518083038185875af1925050503d805f8114613756576040519150601f19603f3d011682016040523d82523d5f602084013e61375b565b606091505b509150915061376c87838387613777565b979650505050505050565b606083156137e55782515f036137de576001600160a01b0385163b6137de5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610e90565b5081611b92565b611b9283838151156137fa5781518083602001fd5b8060405162461bcd60e51b8152600401610e909190613836565b5f5b8381101561382e578181015183820152602001613816565b50505f910152565b602081525f8251806020840152613854816040850160208701613814565b601f01601f19169190910160400192915050565b6001600160a01b03811681146115a4575f80fd5b5f6020828403121561388c575f80fd5b813561389781613868565b9392505050565b5f80604083850312156138af575f80fd5b82356138ba81613868565b946020939093013593505050565b5f602082840312156138d8575f80fd5b5035919050565b5f8083601f8401126138ef575f80fd5b5081356001600160401b03811115613905575f80fd5b6020830191508360208260051b850101111561391f575f80fd5b9250929050565b5f805f8060408587031215613939575f80fd5b84356001600160401b038082111561394f575f80fd5b61395b888389016138df565b90965094506020870135915080821115613973575f80fd5b50613980878288016138df565b95989497509550505050565b5f805f6060848603121561399e575f80fd5b83356139a981613868565b925060208401356139b981613868565b929592945050506040919091013590565b5f602082840312156139da575f80fd5b81356001600160801b0381168114613897575f80fd5b803565ffffffffffff81168114613a05575f80fd5b919050565b5f805f8060808587031215613a1d575f80fd5b613a26856139f0565b9350613a34602086016139f0565b9250613a42604086016139f0565b9150613a50606086016139f0565b905092959194509250565b5f8060408385031215613a6c575f80fd5b8235613a7781613868565b91506020830135613a8781613868565b809150509250929050565b80151581146115a4575f80fd5b5f60208284031215613aaf575f80fd5b813561389781613a92565b5f8060408385031215613acb575f80fd5b8235613ad681613868565b91506020830135613a8781613a92565b600181811c90821680613afa57607f821691505b602082108103613b1857634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215613b42575f80fd5b815161389781613868565b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b83811015613b985781516001600160a01b031687529582019590820190600101613b73565b509495945050505050565b828152604060208201525f611b926040830184613b61565b5f6020808385031215613bcc575f80fd5b82516001600160401b0380821115613be2575f80fd5b818501915085601f830112613bf5575f80fd5b815181811115613c0757613c07613b1e565b8060051b604051601f19603f83011681018181108582111715613c2c57613c2c613b1e565b604052918252848201925083810185019188831115613c49575f80fd5b938501935b82851015613c6757845184529385019392850192613c4e565b98975050505050505050565b634e487b7160e01b5f52601160045260245ffd5b65ffffffffffff818116838216019080821115613ca657613ca6613c73565b5092915050565b8082028115828204841417610e6057610e60613c73565b634e487b7160e01b5f52601260045260245ffd5b5f82613ce657613ce6613cc4565b500490565b81810381811115610e6057610e60613c73565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60018201613d4457613d44613c73565b5060010190565b5f60208284031215613d5b575f80fd5b5051919050565b600181815b80851115613d9c57815f1904821115613d8257613d82613c73565b80851615613d8f57918102915b93841c9390800290613d67565b509250929050565b5f82613db257506001610e60565b81613dbe57505f610e60565b8160018114613dd45760028114613dde57613dfa565b6001915050610e60565b60ff841115613def57613def613c73565b50506001821b610e60565b5060208310610133831016604e8410600b8410161715613e1d575081810a610e60565b613e278383613d62565b805f1904821115613e3a57613e3a613c73565b029392505050565b5f61389760ff841683613da4565b80820180821115610e6057610e60613c73565b5f60208284031215613e73575f80fd5b815161389781613a92565b5f805f8060808587031215613e91575f80fd5b8451613e9c81613868565b60208601516040870151606090970151919890975090945092505050565b848152608060208201525f613ed26080830186613b61565b6001600160a01b03949094166040830152506060015292915050565b6001600160801b03818116838216028082169190828114613f1157613f11613c73565b505092915050565b5f6001600160801b0380841680613f3257613f32613cc4565b92169190910492915050565b6001600160401b03818116838216019080821115613ca657613ca6613c73565b85815284602082015260a060408201525f613f7c60a0830186613b61565b6001600160a01b0394909416606083015250608001529392505050565b5f8251613faa818460208701613814565b919091019291505056fea26469706673582212205c77c29e19734adef76ca12aea637f4fa29ba1dc41fecc10eb214729d78c87ea64736f6c63430008140033
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.