ERC-20
Overview
Max Total Supply
10,779,797,853.055592175686121871 ShibaETH_Dividend_Tracker
Holders
236
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
42,609,674.804605854372808938 ShibaETH_Dividend_TrackerValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
ShibaETHDividendTracker
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-07-31 */ /** *Submitted for verification at Etherscan.io on 2021-07-31 */ /* ShibaETH 1) 10% distribution in Ethereum (wETH) 2) 5% swapped and added to the liquidity pool ░██████╗██╗░░██╗██╗██████╗░░█████╗░███████╗████████╗██╗░░██╗ ██╔════╝██║░░██║██║██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██║░░██║ ╚█████╗░███████║██║██████╦╝███████║█████╗░░░░░██║░░░███████║ ░╚═══██╗██╔══██║██║██╔══██╗██╔══██║██╔══╝░░░░░██║░░░██╔══██║ ██████╔╝██║░░██║██║██████╦╝██║░░██║███████╗░░░██║░░░██║░░██║ ╚═════╝░╚═╝░░╚═╝╚═╝╚═════╝░╚═╝░░╚═╝╚══════╝░░░╚═╝░░░╚═╝░░╚═╝ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ 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); } } /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } contract ShibaETH is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public immutable uniswapV2Pair; bool private liquidating; ShibaETHDividendTracker public dividendTracker; address public deadAddress = 0x000000000000000000000000000000000000dEaD; uint256 public MAX_BUY_TRANSACTION_AMOUNT = 500000000 * (10**18); // 500 Million (0.5%) uint256 public MAX_SELL_TRANSACTION_AMOUNT = 100000000 * (10**18); // 100 Million (0.1%) uint256 public MAX_WALLET_AMOUNT = 1000000000 * (10**18); // 1 Billion (1%) uint256 public constant ETH_REWARDS_FEE = 10; uint256 public constant LIQUIDITY_FEE = 5; uint256 public constant TOTAL_FEES = ETH_REWARDS_FEE + LIQUIDITY_FEE; // sells have fees of 10 and 5 (10 * 1.3 and 5 * 1.3) uint256 public SELL_FEE_INCREASE_FACTOR = 130; // use by default 150,000 gas to process auto-claiming dividends uint256 public gasForProcessing = 150000; // liquidate tokens for ETH when the contract reaches 100k tokens by default uint256 public liquidateTokensAtAmount = 100000 * (10**18); // 100 Thousand (0.0001%); // whether the token can already be traded bool public tradingEnabled; function activateTrading() public onlyOwner { require(!tradingEnabled, "ShibaETH: Trading is already enabled"); tradingEnabled = true; } // exclude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; // addresses that can make transfers before presale is over mapping (address => bool) public canTransferBeforeTradingIsEnabled; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; event UpdatedDividendTracker(address indexed newAddress, address indexed oldAddress); event UpdatedUniswapV2Router(address indexed newAddress, address indexed oldAddress); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event LiquidationThresholdUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Liquified( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SentDividends( uint256 tokensSwapped, uint256 amount ); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); constructor() ERC20("ShibaETH", "ShibaETH") { assert(TOTAL_FEES == 15); dividendTracker = new ShibaETHDividendTracker(); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Create a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(_uniswapV2Router)); dividendTracker.excludeFromDividends(deadAddress); // exclude from paying fees or having max transaction amount excludeFromFees(address(this)); // enable owner wallet to send tokens before presales are over. canTransferBeforeTradingIsEnabled[owner()] = true; /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(owner(), 100000000000 * (10**18)); // 100 Billion (100%) } receive() external payable {} function updateDividendTracker(address newAddress) public onlyOwner { require(newAddress != address(dividendTracker), "ShibaETH: The dividend tracker already has that address"); ShibaETHDividendTracker newDividendTracker = ShibaETHDividendTracker(payable(newAddress)); require(newDividendTracker.owner() == address(this), "ShibaETH: The new dividend tracker must be owned by the ShibaETH token contract"); newDividendTracker.excludeFromDividends(address(newDividendTracker)); newDividendTracker.excludeFromDividends(address(uniswapV2Router)); newDividendTracker.excludeFromDividends(address(deadAddress)); emit UpdatedDividendTracker(newAddress, address(dividendTracker)); dividendTracker = newDividendTracker; } function updateUniswapV2Router(address newAddress) public onlyOwner { require(newAddress != address(uniswapV2Router), "ShibaETH: The router already has that address"); emit UpdatedUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); } function excludeFromFees(address account) public onlyOwner { require(!_isExcludedFromFees[account], "ShibaETH: Account is already excluded from fees"); _isExcludedFromFees[account] = true; } function includeForFees(address account) public onlyOwner { require(_isExcludedFromFees[account], "ShibaETH: Account is already included for fees"); _isExcludedFromFees[account] = false; } function excludeFromDividends(address account) public onlyOwner { dividendTracker.excludeFromDividends(account); } function setMaxBuyTransactionAmount(uint256 amount) external onlyOwner { MAX_BUY_TRANSACTION_AMOUNT = amount * (10**18); } function setMaxSellTransactionAmount(uint256 amount) external onlyOwner { MAX_SELL_TRANSACTION_AMOUNT = amount * (10**18); } function setMaxWalletAmount(uint256 amount) external onlyOwner { MAX_WALLET_AMOUNT = amount * (10**18); } function setSellFeeIncreaseFactor(uint256 multiplier) external onlyOwner { require(SELL_FEE_INCREASE_FACTOR >= 100 && SELL_FEE_INCREASE_FACTOR <= 200, "ShibaETH: Sell transaction multipler must be between 100 (1x) and 200 (2x)"); SELL_FEE_INCREASE_FACTOR = multiplier; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "ShibaETH: The Uniswap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, "ShibaETH: Automated market maker pair is already set to that value"); automatedMarketMakerPairs[pair] = value; if (value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function allowTransferBeforeTradingIsEnabled(address account) public onlyOwner { require(!canTransferBeforeTradingIsEnabled[account], "ShibaETH: Account is already allowed to transfer before trading is enabled"); canTransferBeforeTradingIsEnabled[account] = true; } function updateGasForProcessing(uint256 newValue) public onlyOwner { // Need to make gas fee customizable to future-proof against Ethereum network upgrades. require(newValue != gasForProcessing, "ShibaETH: Cannot update gasForProcessing to same value"); emit GasForProcessingUpdated(newValue, gasForProcessing); gasForProcessing = newValue; } function updateLiquidationThreshold(uint256 newValue) external onlyOwner { require(newValue != liquidateTokensAtAmount, "ShibaETH: Cannot update gasForProcessing to same value"); emit LiquidationThresholdUpdated(newValue, liquidateTokensAtAmount); liquidateTokensAtAmount = newValue; } function updateGasForTransfer(uint256 gasForTransfer) external onlyOwner { dividendTracker.updateGasForTransfer(gasForTransfer); } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function getGasForTransfer() external view returns(uint256) { return dividendTracker.gasForTransfer(); } function getClaimWait() external view returns(uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.balanceOf(account); } function getAccountDividendsInfo(address account) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function getAccountDividendsInfoAtIndex(uint256 index) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccountAtIndex(index); } function processDividendTracker(uint256 gas) external { (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas); emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin); } function claim() external { dividendTracker.processAccount(payable(msg.sender), false); } function getLastProcessedIndex() external view returns(uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); bool tradingIsEnabled = tradingEnabled; // only whitelisted addresses can make transfers before the public presale is over. if (!tradingIsEnabled) { require(canTransferBeforeTradingIsEnabled[from], "ShibaETH: This account cannot send tokens until trading is enabled"); } if (amount == 0) { super._transfer(from, to, 0); return; } if (!liquidating && tradingIsEnabled && automatedMarketMakerPairs[to] && // sells only by detecting transfer to automated market maker pair from != address(uniswapV2Router) && //router -> pair is removing liquidity which shouldn't have max !_isExcludedFromFees[to] //no max tx-amount and wallet token amount for those excluded from fees ) { require(amount <= MAX_SELL_TRANSACTION_AMOUNT, "Sell transfer amount exceeds the MAX_SELL_TRANSACTION_AMOUNT."); uint256 contractBalanceRecepient = balanceOf(to); require(contractBalanceRecepient + amount <= MAX_WALLET_AMOUNT, "Exceeds MAX_WALLET_AMOUNT." ); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= liquidateTokensAtAmount; if (tradingIsEnabled && canSwap && !liquidating && !automatedMarketMakerPairs[from] && from != address(this) && to != address(this) ) { liquidating = true; uint256 swapTokens = contractTokenBalance.mul(LIQUIDITY_FEE).div(TOTAL_FEES); swapAndLiquify(swapTokens); uint256 sellTokens = balanceOf(address(this)); swapAndSendDividends(sellTokens); liquidating = false; } bool takeFee = tradingIsEnabled && !liquidating; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (takeFee) { uint256 fees = amount.div(100).mul(TOTAL_FEES); // if sell, multiply by 1.3 if(automatedMarketMakerPairs[to]) { fees = fees.div(100).mul(SELL_FEE_INCREASE_FACTOR); } amount = amount.sub(fees); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {} try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {} if (!liquidating) { uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); } catch { } } } function swapAndLiquify(uint256 tokens) private { // split the contract balance into halves uint256 half = tokens.div(2); uint256 otherHalf = tokens.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit Liquified(half, newBalance, otherHalf); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(this), block.timestamp ); } function swapAndSendDividends(uint256 tokens) private { swapTokensForEth(tokens); uint256 dividends = address(this).balance; (bool success,) = address(dividendTracker).call{value: dividends}(""); if (success) { emit SentDividends(tokens, dividends); } } } /// @title Dividend-Paying Token Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev An interface for a dividend-paying token contract. interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns(uint256); /// @notice Distributes ether to token holders as dividends. /// @dev SHOULD distribute the paid ether to token holders as dividends. /// SHOULD NOT directly transfer ether to token holders in this function. /// MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0. function distributeDividends() external payable; /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed( address indexed from, uint256 weiAmount ); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn( address indexed to, uint256 weiAmount ); } /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns(uint256); } /// @title Dividend-Paying Token /// @author Roger Wu (https://github.com/roger-wu) /// @dev A mintable ERC20 token that allows anyone to pay and distribute ether /// to token holders as dividends and allows token holders to withdraw their dividends. /// Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code contract DividendPayingToken is ERC20, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; // Need to make gas fee customizable to future-proof against Ethereum network upgrades. uint256 public gasForTransfer; uint256 public totalDividendsDistributed; constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) { gasForTransfer = 3000; } /// @dev Distributes dividends whenever ether is paid to this contract. receive() external payable { distributeDividends(); } /// @notice Distributes ether to token holders as dividends. /// @dev It reverts if the total supply of tokens is 0. /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amount of ether not distributed, /// the magnified amount of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amount of undistributed ether /// (de-magnified) in a distribution can be less than 1 wei. /// We can actually keep track of the undistributed ether in a distribution /// and try to distribute it in the next distribution, /// but keeping track of such data on-chain costs much more than /// the saved ether, so we don't do that. function distributeDividends() public override payable { require(totalSupply() > 0); if (msg.value > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { _withdrawDividendOfUser(payable(msg.sender)); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. 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, gas: gasForTransfer}(""); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns(uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns(uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } /// @dev Internal function that transfer tokens from one address to another. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param from The address to transfer from. /// @param to The address to transfer to. /// @param value The amount to be transferred. function _transfer(address from, address to, uint256 value) internal virtual override { require(false); int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe(); magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection); magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection); } /// @dev Internal function that mints tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } /// @dev Internal function that burns an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if(newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if(newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } } contract ShibaETHDividendTracker is DividendPayingToken, Ownable { using SafeMath for uint256; using SafeMathInt for int256; using IterableMapping for IterableMapping.Map; IterableMapping.Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public constant MIN_TOKEN_BALANCE_FOR_DIVIDENDS = 200000 * (10**18); // Must hold 200,000+ tokens. event ExcludedFromDividends(address indexed account); event GasForTransferUpdated(uint256 indexed newValue, uint256 indexed oldValue); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() DividendPayingToken("ShibaETH_Dividend_Tracker", "ShibaETH_Dividend_Tracker") { claimWait = 3600; } function _transfer(address, address, uint256) internal pure override { require(false, "ShibaETH_Dividend_Tracker: No transfers allowed"); } function withdrawDividend() public pure override { require(false, "ShibaETH_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main ShibaETH contract."); } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account]); excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludedFromDividends(account); } function updateGasForTransfer(uint256 newGasForTransfer) external onlyOwner { require(newGasForTransfer != gasForTransfer, "ShibaETH_Dividend_Tracker: Cannot update gasForTransfer to same value"); emit GasForTransferUpdated(newGasForTransfer, gasForTransfer); gasForTransfer = newGasForTransfer; } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 3600 && newClaimWait <= 86400, "ShibaETH_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"); require(newClaimWait != claimWait, "ShibaETH_Dividend_Tracker: Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function getAccount(address _account) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = tokenHoldersMap.getIndexOfKey(account); iterationsUntilProcessed = -1; if (index >= 0) { if (uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index) public view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { if (index >= tokenHoldersMap.size()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0); } address account = tokenHoldersMap.getKeyAtIndex(index); return getAccount(account); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if (lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if (excludedFromDividends[account]) { return; } if (newBalance >= MIN_TOKEN_BALANCE_FOR_DIVIDENDS) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } processAccount(account, true); } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if (numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while (gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if (_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if (canAutoClaim(lastClaimTimes[account])) { if (processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if (gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if (amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } } library IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int) { if(!map.inserted[key]) { return -1; } return int(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint) { return map.keys.length; } function set(Map storage map, address key, uint val) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint index = map.indexOf[key]; uint lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
Contract 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":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"ClaimWaitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludedFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForTransferUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MIN_TOKEN_BALANCE_FOR_DIVIDENDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasForTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"bool","name":"automatic","type":"bool"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newGasForTransfer","type":"uint256"}],"name":"updateGasForTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060408051808201825260198082527f53686962614554485f4469766964656e645f547261636b657200000000000000602080840182815285518087019096529285528401528151919291839183916200006e91600391620000e0565b50805162000084906004906020840190620000e0565b5050610bb86008555050600a80546001600160a01b0319163390811790915560405190915081906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610e10601255620001c3565b828054620000ee9062000186565b90600052602060002090601f0160209004810192826200011257600085556200015d565b82601f106200012d57805160ff19168380011785556200015d565b828001600101855582156200015d579182015b828111156200015d57825182559160200191906001019062000140565b506200016b9291506200016f565b5090565b5b808211156200016b576000815560010162000170565b600181811c908216806200019b57607f821691505b60208210811415620001bd57634e487b7160e01b600052602260045260246000fd5b50919050565b61219980620001d36000396000f3fe60806040526004361061021e5760003560e01c806385a6b3ae11610123578063bc4c4b37116100ab578063e98030c71161006f578063e98030c714610695578063f2fde38b146106b5578063f39b5020146106d5578063fbcbc0f1146106eb578063ffb2c4791461070b57600080fd5b8063bc4c4b37146105dc578063c38f9cad146105fc578063dd62ed3e1461061a578063e30443bc14610660578063e7841ec01461068057600080fd5b80639d55d16f116100f25780639d55d16f14610526578063a457c2d714610546578063a8b9d24014610566578063a9059cbb14610586578063aafd847a146105a657600080fd5b806385a6b3ae146104b35780638da5cb5b146104c957806391b89fba146104f157806395d89b411461051157600080fd5b8063313ce567116101a65780635183d6fd116101755780635183d6fd146103d85780636a4740021461043d5780636f2789ec1461045257806370a0823114610468578063715018a61461049e57600080fd5b8063313ce5671461034c57806331e79db01461036857806339509351146103885780634e7b827f146103a857600080fd5b806318160ddd116101ed57806318160ddd146102b4578063226cfa3d146102c957806323b872dd146102f657806327ce0147146103165780633009a6091461033657600080fd5b806303c833021461023257806306fdde031461023a578063095ea7b31461026557806309bbedde1461029557600080fd5b3661022d5761022b610746565b005b600080fd5b61022b610746565b34801561024657600080fd5b5061024f6107d9565b60405161025c9190611efa565b60405180910390f35b34801561027157600080fd5b50610285610280366004611e32565b61086b565b604051901515815260200161025c565b3480156102a157600080fd5b50600b545b60405190815260200161025c565b3480156102c057600080fd5b506002546102a6565b3480156102d557600080fd5b506102a66102e4366004611dbe565b60116020526000908152604090205481565b34801561030257600080fd5b50610285610311366004611e8a565b610882565b34801561032257600080fd5b506102a6610331366004611dbe565b6108eb565b34801561034257600080fd5b506102a6600f5481565b34801561035857600080fd5b506040516012815260200161025c565b34801561037457600080fd5b5061022b610383366004611dbe565b610947565b34801561039457600080fd5b506102856103a3366004611e32565b610a77565b3480156103b457600080fd5b506102856103c3366004611dbe565b60106020526000908152604090205460ff1681565b3480156103e457600080fd5b506103f86103f3366004611ee2565b610aad565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161025c565b34801561044957600080fd5b5061022b610c1f565b34801561045e57600080fd5b506102a660125481565b34801561047457600080fd5b506102a6610483366004611dbe565b6001600160a01b031660009081526020819052604090205490565b3480156104aa57600080fd5b5061022b610cc9565b3480156104bf57600080fd5b506102a660095481565b3480156104d557600080fd5b50600a546040516001600160a01b03909116815260200161025c565b3480156104fd57600080fd5b506102a661050c366004611dbe565b610d3d565b34801561051d57600080fd5b5061024f610d48565b34801561053257600080fd5b5061022b610541366004611ee2565b610d57565b34801561055257600080fd5b50610285610561366004611e32565b610e3a565b34801561057257600080fd5b506102a6610581366004611dbe565b610e89565b34801561059257600080fd5b506102856105a1366004611e32565b610eb5565b3480156105b257600080fd5b506102a66105c1366004611dbe565b6001600160a01b031660009081526007602052604090205490565b3480156105e857600080fd5b506102856105f7366004611df6565b610ec2565b34801561060857600080fd5b506102a6692a5a058fc295ed00000081565b34801561062657600080fd5b506102a6610635366004611e5d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561066c57600080fd5b5061022b61067b366004611e32565b610f70565b34801561068c57600080fd5b50600f546102a6565b3480156106a157600080fd5b5061022b6106b0366004611ee2565b6110e6565b3480156106c157600080fd5b5061022b6106d0366004611dbe565b61125b565b3480156106e157600080fd5b506102a660085481565b3480156106f757600080fd5b506103f8610706366004611dbe565b611346565b34801561071757600080fd5b5061072b610726366004611ee2565b6114be565b6040805193845260208401929092529082015260600161025c565b600061075160025490565b1161075b57600080fd5b34156107d75761078e61076d60025490565b61077b34600160801b6115e7565b6107859190611fdb565b6005549061166d565b60055560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546107d3903461166d565b6009555b565b6060600380546107e890612070565b80601f016020809104026020016040519081016040528092919081815260200182805461081490612070565b80156108615780601f1061083657610100808354040283529160200191610861565b820191906000526020600020905b81548152906001019060200180831161084457829003601f168201915b5050505050905090565b60006108783384846116cc565b5060015b92915050565b600061088f8484846117f0565b6108e184336108dc85604051806060016040528060288152602001612117602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611850565b6116cc565b5060019392505050565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b9261093d92610938926109329161092d91906115e7565b61188a565b9061189a565b6118d8565b61087c9190611fdb565b600a546001600160a01b0316331461097a5760405162461bcd60e51b815260040161097190611f4d565b60405180910390fd5b6001600160a01b03811660009081526010602052604090205460ff16156109a057600080fd5b6001600160a01b0381166000908152601060205260408120805460ff191660011790556109ce9082906118eb565b60405163131836e760e21b8152600b60048201526001600160a01b0382166024820152739d7644a9b5bb438910c8b3fa35ec7e9651fc771690634c60db9c9060440160006040518083038186803b158015610a2857600080fd5b505af4158015610a3c573d6000803e3d6000fd5b50506040516001600160a01b03841692507fbc358c1a6bbec2cf1d21c2fb5a564b55d7828e32fb5da64adf3c5479264650109150600090a250565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108789185906108dc908661166d565b600080600080600080600080600b739d7644a9b5bb438910c8b3fa35ec7e9651fc771663deb3d89690916040518263ffffffff1660e01b8152600401610af591815260200190565b60206040518083038186803b158015610b0d57600080fd5b505af4158015610b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b459190611eca565b8910610b6a575060009650600019955085945086935083925082915081905080610c14565b6040516368d54f3f60e11b8152600b6004820152602481018a9052600090739d7644a9b5bb438910c8b3fa35ec7e9651fc77169063d1aa9e7e9060440160206040518083038186803b158015610bbf57600080fd5b505af4158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf79190611dda565b9050610c0281611346565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606d60248201527f53686962614554485f4469766964656e645f547261636b65723a20776974686460448201527f7261774469766964656e642064697361626c65642e205573652074686520276360648201527f6c61696d272066756e6374696f6e206f6e20746865206d61696e20536869626160848201526c22aa241031b7b73a3930b1ba1760991b60a482015260c401610971565b600a546001600160a01b03163314610cf35760405162461bcd60e51b815260040161097190611f4d565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600061087c82610e89565b6060600480546107e890612070565b600a546001600160a01b03163314610d815760405162461bcd60e51b815260040161097190611f4d565b600854811415610e075760405162461bcd60e51b815260206004820152604560248201527f53686962614554485f4469766964656e645f547261636b65723a2043616e6e6f60448201527f742075706461746520676173466f725472616e7366657220746f2073616d652060648201526476616c756560d81b608482015260a401610971565b60085460405182907f5e2963a3d7c88b344b101641f89a2f7da9734fc777ed11ad0097b2775a9e9d1790600090a3600855565b600061087833846108dc8560405180606001604052806025815260200161213f602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611850565b6001600160a01b03811660009081526007602052604081205461087c90610eaf846108eb565b9061194a565b60006108783384846117f0565b600a546000906001600160a01b03163314610eef5760405162461bcd60e51b815260040161097190611f4d565b6000610efa8461198c565b90508015610f66576001600160a01b038416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610f549085815260200190565b60405180910390a3600191505061087c565b5060009392505050565b600a546001600160a01b03163314610f9a5760405162461bcd60e51b815260040161097190611f4d565b6001600160a01b03821660009081526010602052604090205460ff1615610fbf575050565b692a5a058fc295ed000000811061105857610fda82826118eb565b604051632f0ad01760e21b8152600b60048201526001600160a01b038316602482015260448101829052739d7644a9b5bb438910c8b3fa35ec7e9651fc77169063bc2b405c9060640160006040518083038186803b15801561103b57600080fd5b505af415801561104f573d6000803e3d6000fd5b505050506110d6565b6110638260006118eb565b60405163131836e760e21b8152600b60048201526001600160a01b0383166024820152739d7644a9b5bb438910c8b3fa35ec7e9651fc771690634c60db9c9060440160006040518083038186803b1580156110bd57600080fd5b505af41580156110d1573d6000803e3d6000fd5b505050505b6110e1826001610ec2565b505050565b600a546001600160a01b031633146111105760405162461bcd60e51b815260040161097190611f4d565b610e1081101580156111255750620151808111155b6111ae5760405162461bcd60e51b815260206004820152604e60248201527f53686962614554485f4469766964656e645f547261636b65723a20636c61696d60448201527f57616974206d757374206265207570646174656420746f206265747765656e2060648201526d3120616e6420323420686f75727360901b608482015260a401610971565b601254811415611228576040805162461bcd60e51b81526020600482015260248101919091527f53686962614554485f4469766964656e645f547261636b65723a2043616e6e6f60448201527f742075706461746520636c61696d5761697420746f2073616d652076616c75656064820152608401610971565b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601255565b600a546001600160a01b031633146112855760405162461bcd60e51b815260040161097190611f4d565b6001600160a01b0381166112ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610971565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600b60048201526001600160a01b03821660248201528190600090819081908190819081908190739d7644a9b5bb438910c8b3fa35ec7e9651fc7716906317e142d19060440160206040518083038186803b1580156113b157600080fd5b505af41580156113c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e99190611eca565b965060001995506000871261144b57600f5487111561141757600f54611410908890611acf565b955061144b565b600f54600b546000911061142c57600061143b565b600f54600b5461143b9161194a565b9050611447888261189a565b9650505b61145488610e89565b945061145f886108eb565b6001600160a01b038916600090815260116020526040902054909450925082611489576000611497565b60125461149790849061166d565b91504282116114a75760006114b1565b6114b1824261194a565b9050919395975091939597565b600b5460009081908190806114de575050600f54600092508291506115e0565b600f546000805a90506000805b89841080156114f957508582105b156115cf5784611508816120ab565b600b549096508610905061151b57600094505b6000600b600001868154811061154157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316808352601190915260409091205490915061157290611b0c565b1561159557611582816001610ec2565b156115955781611591816120ab565b9250505b8261159f816120ab565b93505060005a9050808511156115c6576115c36115bc868361194a565b879061166d565b95505b93506114eb9050565b600f85905590975095509193505050505b9193909250565b6000826115f65750600061087c565b60006116028385611ffb565b90508261160f8583611fdb565b146116665760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610971565b9392505050565b60008061167a8385611fc3565b9050838110156116665760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610971565b6001600160a01b03831661172e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610971565b6001600160a01b03821661178f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610971565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602f60248201527f53686962614554485f4469766964656e645f547261636b65723a204e6f20747260448201526e185b9cd9995c9cc8185b1b1bddd959608a1b6064820152608401610971565b600081848411156118745760405162461bcd60e51b81526004016109719190611efa565b5060006118818486612059565b95945050505050565b6000818181121561087c57600080fd5b6000806118a78385611f82565b9050600083121580156118ba5750838112155b806118cf57506000831280156118cf57508381125b61166657600080fd5b6000808212156118e757600080fd5b5090565b6001600160a01b0382166000908152602081905260409020548082111561192a576000611918838361194a565b90506119248482611b33565b50505050565b808210156110e157600061193e828461194a565b90506119248482611b97565b600061166683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611850565b60008061199883610e89565b90508015611ac6576001600160a01b0383166000908152600760205260409020546119c3908261166d565b6001600160a01b038416600081815260076020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611a129084815260200190565b60405180910390a26008546040516000916001600160a01b03861691849084818181858888f193505050503d8060008114611a69576040519150601f19603f3d011682016040523d82523d6000602084013e611a6e565b606091505b5050905080611abf576001600160a01b038416600090815260076020526040902054611a9a908361194a565b6001600160a01b03909416600090815260076020526040812094909455509192915050565b5092915050565b50600092915050565b600080611adc838561201a565b905060008312158015611aef5750838113155b806118cf57506000831280156118cf575083811361166657600080fd5b600042821115611b1e57506000919050565b601254611b2b428461194a565b101592915050565b611b3d8282611bdb565b611b77611b5861092d836005546115e790919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611acf565b6001600160a01b0390921660009081526006602052604090209190915550565b611ba18282611cba565b611b77611bbc61092d836005546115e790919063ffffffff16565b6001600160a01b0384166000908152600660205260409020549061189a565b6001600160a01b038216611c315760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610971565b600254611c3e908261166d565b6002556001600160a01b038216600090815260208190526040902054611c64908261166d565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611d1a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610971565b611d57816040518060600160405280602281526020016120f5602291396001600160a01b0385166000908152602081905260409020549190611850565b6001600160a01b038316600090815260208190526040902055600254611d7d908261194a565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611cae565b600060208284031215611dcf578081fd5b8135611666816120dc565b600060208284031215611deb578081fd5b8151611666816120dc565b60008060408385031215611e08578081fd5b8235611e13816120dc565b915060208301358015158114611e27578182fd5b809150509250929050565b60008060408385031215611e44578182fd5b8235611e4f816120dc565b946020939093013593505050565b60008060408385031215611e6f578182fd5b8235611e7a816120dc565b91506020830135611e27816120dc565b600080600060608486031215611e9e578081fd5b8335611ea9816120dc565b92506020840135611eb9816120dc565b929592945050506040919091013590565b600060208284031215611edb578081fd5b5051919050565b600060208284031215611ef3578081fd5b5035919050565b6000602080835283518082850152825b81811015611f2657858101830151858201604001528201611f0a565b81811115611f375783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615611fa457611fa46120c6565b600160ff1b8390038412811615611fbd57611fbd6120c6565b50500190565b60008219821115611fd657611fd66120c6565b500190565b600082611ff657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612015576120156120c6565b500290565b60008083128015600160ff1b850184121615612038576120386120c6565b6001600160ff1b0384018313811615612053576120536120c6565b50500390565b60008282101561206b5761206b6120c6565b500390565b600181811c9082168061208457607f821691505b602082108114156120a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120bf576120bf6120c6565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146120f157600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ba5af829b91cd24b6f183167128dc4056b609ee67eb3e7ad95a505244a2ca28364736f6c63430008040033
Deployed Bytecode
0x60806040526004361061021e5760003560e01c806385a6b3ae11610123578063bc4c4b37116100ab578063e98030c71161006f578063e98030c714610695578063f2fde38b146106b5578063f39b5020146106d5578063fbcbc0f1146106eb578063ffb2c4791461070b57600080fd5b8063bc4c4b37146105dc578063c38f9cad146105fc578063dd62ed3e1461061a578063e30443bc14610660578063e7841ec01461068057600080fd5b80639d55d16f116100f25780639d55d16f14610526578063a457c2d714610546578063a8b9d24014610566578063a9059cbb14610586578063aafd847a146105a657600080fd5b806385a6b3ae146104b35780638da5cb5b146104c957806391b89fba146104f157806395d89b411461051157600080fd5b8063313ce567116101a65780635183d6fd116101755780635183d6fd146103d85780636a4740021461043d5780636f2789ec1461045257806370a0823114610468578063715018a61461049e57600080fd5b8063313ce5671461034c57806331e79db01461036857806339509351146103885780634e7b827f146103a857600080fd5b806318160ddd116101ed57806318160ddd146102b4578063226cfa3d146102c957806323b872dd146102f657806327ce0147146103165780633009a6091461033657600080fd5b806303c833021461023257806306fdde031461023a578063095ea7b31461026557806309bbedde1461029557600080fd5b3661022d5761022b610746565b005b600080fd5b61022b610746565b34801561024657600080fd5b5061024f6107d9565b60405161025c9190611efa565b60405180910390f35b34801561027157600080fd5b50610285610280366004611e32565b61086b565b604051901515815260200161025c565b3480156102a157600080fd5b50600b545b60405190815260200161025c565b3480156102c057600080fd5b506002546102a6565b3480156102d557600080fd5b506102a66102e4366004611dbe565b60116020526000908152604090205481565b34801561030257600080fd5b50610285610311366004611e8a565b610882565b34801561032257600080fd5b506102a6610331366004611dbe565b6108eb565b34801561034257600080fd5b506102a6600f5481565b34801561035857600080fd5b506040516012815260200161025c565b34801561037457600080fd5b5061022b610383366004611dbe565b610947565b34801561039457600080fd5b506102856103a3366004611e32565b610a77565b3480156103b457600080fd5b506102856103c3366004611dbe565b60106020526000908152604090205460ff1681565b3480156103e457600080fd5b506103f86103f3366004611ee2565b610aad565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161025c565b34801561044957600080fd5b5061022b610c1f565b34801561045e57600080fd5b506102a660125481565b34801561047457600080fd5b506102a6610483366004611dbe565b6001600160a01b031660009081526020819052604090205490565b3480156104aa57600080fd5b5061022b610cc9565b3480156104bf57600080fd5b506102a660095481565b3480156104d557600080fd5b50600a546040516001600160a01b03909116815260200161025c565b3480156104fd57600080fd5b506102a661050c366004611dbe565b610d3d565b34801561051d57600080fd5b5061024f610d48565b34801561053257600080fd5b5061022b610541366004611ee2565b610d57565b34801561055257600080fd5b50610285610561366004611e32565b610e3a565b34801561057257600080fd5b506102a6610581366004611dbe565b610e89565b34801561059257600080fd5b506102856105a1366004611e32565b610eb5565b3480156105b257600080fd5b506102a66105c1366004611dbe565b6001600160a01b031660009081526007602052604090205490565b3480156105e857600080fd5b506102856105f7366004611df6565b610ec2565b34801561060857600080fd5b506102a6692a5a058fc295ed00000081565b34801561062657600080fd5b506102a6610635366004611e5d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561066c57600080fd5b5061022b61067b366004611e32565b610f70565b34801561068c57600080fd5b50600f546102a6565b3480156106a157600080fd5b5061022b6106b0366004611ee2565b6110e6565b3480156106c157600080fd5b5061022b6106d0366004611dbe565b61125b565b3480156106e157600080fd5b506102a660085481565b3480156106f757600080fd5b506103f8610706366004611dbe565b611346565b34801561071757600080fd5b5061072b610726366004611ee2565b6114be565b6040805193845260208401929092529082015260600161025c565b600061075160025490565b1161075b57600080fd5b34156107d75761078e61076d60025490565b61077b34600160801b6115e7565b6107859190611fdb565b6005549061166d565b60055560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546107d3903461166d565b6009555b565b6060600380546107e890612070565b80601f016020809104026020016040519081016040528092919081815260200182805461081490612070565b80156108615780601f1061083657610100808354040283529160200191610861565b820191906000526020600020905b81548152906001019060200180831161084457829003601f168201915b5050505050905090565b60006108783384846116cc565b5060015b92915050565b600061088f8484846117f0565b6108e184336108dc85604051806060016040528060288152602001612117602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611850565b6116cc565b5060019392505050565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b9261093d92610938926109329161092d91906115e7565b61188a565b9061189a565b6118d8565b61087c9190611fdb565b600a546001600160a01b0316331461097a5760405162461bcd60e51b815260040161097190611f4d565b60405180910390fd5b6001600160a01b03811660009081526010602052604090205460ff16156109a057600080fd5b6001600160a01b0381166000908152601060205260408120805460ff191660011790556109ce9082906118eb565b60405163131836e760e21b8152600b60048201526001600160a01b0382166024820152739d7644a9b5bb438910c8b3fa35ec7e9651fc771690634c60db9c9060440160006040518083038186803b158015610a2857600080fd5b505af4158015610a3c573d6000803e3d6000fd5b50506040516001600160a01b03841692507fbc358c1a6bbec2cf1d21c2fb5a564b55d7828e32fb5da64adf3c5479264650109150600090a250565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108789185906108dc908661166d565b600080600080600080600080600b739d7644a9b5bb438910c8b3fa35ec7e9651fc771663deb3d89690916040518263ffffffff1660e01b8152600401610af591815260200190565b60206040518083038186803b158015610b0d57600080fd5b505af4158015610b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b459190611eca565b8910610b6a575060009650600019955085945086935083925082915081905080610c14565b6040516368d54f3f60e11b8152600b6004820152602481018a9052600090739d7644a9b5bb438910c8b3fa35ec7e9651fc77169063d1aa9e7e9060440160206040518083038186803b158015610bbf57600080fd5b505af4158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf79190611dda565b9050610c0281611346565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606d60248201527f53686962614554485f4469766964656e645f547261636b65723a20776974686460448201527f7261774469766964656e642064697361626c65642e205573652074686520276360648201527f6c61696d272066756e6374696f6e206f6e20746865206d61696e20536869626160848201526c22aa241031b7b73a3930b1ba1760991b60a482015260c401610971565b600a546001600160a01b03163314610cf35760405162461bcd60e51b815260040161097190611f4d565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600061087c82610e89565b6060600480546107e890612070565b600a546001600160a01b03163314610d815760405162461bcd60e51b815260040161097190611f4d565b600854811415610e075760405162461bcd60e51b815260206004820152604560248201527f53686962614554485f4469766964656e645f547261636b65723a2043616e6e6f60448201527f742075706461746520676173466f725472616e7366657220746f2073616d652060648201526476616c756560d81b608482015260a401610971565b60085460405182907f5e2963a3d7c88b344b101641f89a2f7da9734fc777ed11ad0097b2775a9e9d1790600090a3600855565b600061087833846108dc8560405180606001604052806025815260200161213f602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611850565b6001600160a01b03811660009081526007602052604081205461087c90610eaf846108eb565b9061194a565b60006108783384846117f0565b600a546000906001600160a01b03163314610eef5760405162461bcd60e51b815260040161097190611f4d565b6000610efa8461198c565b90508015610f66576001600160a01b038416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610f549085815260200190565b60405180910390a3600191505061087c565b5060009392505050565b600a546001600160a01b03163314610f9a5760405162461bcd60e51b815260040161097190611f4d565b6001600160a01b03821660009081526010602052604090205460ff1615610fbf575050565b692a5a058fc295ed000000811061105857610fda82826118eb565b604051632f0ad01760e21b8152600b60048201526001600160a01b038316602482015260448101829052739d7644a9b5bb438910c8b3fa35ec7e9651fc77169063bc2b405c9060640160006040518083038186803b15801561103b57600080fd5b505af415801561104f573d6000803e3d6000fd5b505050506110d6565b6110638260006118eb565b60405163131836e760e21b8152600b60048201526001600160a01b0383166024820152739d7644a9b5bb438910c8b3fa35ec7e9651fc771690634c60db9c9060440160006040518083038186803b1580156110bd57600080fd5b505af41580156110d1573d6000803e3d6000fd5b505050505b6110e1826001610ec2565b505050565b600a546001600160a01b031633146111105760405162461bcd60e51b815260040161097190611f4d565b610e1081101580156111255750620151808111155b6111ae5760405162461bcd60e51b815260206004820152604e60248201527f53686962614554485f4469766964656e645f547261636b65723a20636c61696d60448201527f57616974206d757374206265207570646174656420746f206265747765656e2060648201526d3120616e6420323420686f75727360901b608482015260a401610971565b601254811415611228576040805162461bcd60e51b81526020600482015260248101919091527f53686962614554485f4469766964656e645f547261636b65723a2043616e6e6f60448201527f742075706461746520636c61696d5761697420746f2073616d652076616c75656064820152608401610971565b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601255565b600a546001600160a01b031633146112855760405162461bcd60e51b815260040161097190611f4d565b6001600160a01b0381166112ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610971565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600b60048201526001600160a01b03821660248201528190600090819081908190819081908190739d7644a9b5bb438910c8b3fa35ec7e9651fc7716906317e142d19060440160206040518083038186803b1580156113b157600080fd5b505af41580156113c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e99190611eca565b965060001995506000871261144b57600f5487111561141757600f54611410908890611acf565b955061144b565b600f54600b546000911061142c57600061143b565b600f54600b5461143b9161194a565b9050611447888261189a565b9650505b61145488610e89565b945061145f886108eb565b6001600160a01b038916600090815260116020526040902054909450925082611489576000611497565b60125461149790849061166d565b91504282116114a75760006114b1565b6114b1824261194a565b9050919395975091939597565b600b5460009081908190806114de575050600f54600092508291506115e0565b600f546000805a90506000805b89841080156114f957508582105b156115cf5784611508816120ab565b600b549096508610905061151b57600094505b6000600b600001868154811061154157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316808352601190915260409091205490915061157290611b0c565b1561159557611582816001610ec2565b156115955781611591816120ab565b9250505b8261159f816120ab565b93505060005a9050808511156115c6576115c36115bc868361194a565b879061166d565b95505b93506114eb9050565b600f85905590975095509193505050505b9193909250565b6000826115f65750600061087c565b60006116028385611ffb565b90508261160f8583611fdb565b146116665760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610971565b9392505050565b60008061167a8385611fc3565b9050838110156116665760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610971565b6001600160a01b03831661172e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610971565b6001600160a01b03821661178f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610971565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602f60248201527f53686962614554485f4469766964656e645f547261636b65723a204e6f20747260448201526e185b9cd9995c9cc8185b1b1bddd959608a1b6064820152608401610971565b600081848411156118745760405162461bcd60e51b81526004016109719190611efa565b5060006118818486612059565b95945050505050565b6000818181121561087c57600080fd5b6000806118a78385611f82565b9050600083121580156118ba5750838112155b806118cf57506000831280156118cf57508381125b61166657600080fd5b6000808212156118e757600080fd5b5090565b6001600160a01b0382166000908152602081905260409020548082111561192a576000611918838361194a565b90506119248482611b33565b50505050565b808210156110e157600061193e828461194a565b90506119248482611b97565b600061166683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611850565b60008061199883610e89565b90508015611ac6576001600160a01b0383166000908152600760205260409020546119c3908261166d565b6001600160a01b038416600081815260076020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611a129084815260200190565b60405180910390a26008546040516000916001600160a01b03861691849084818181858888f193505050503d8060008114611a69576040519150601f19603f3d011682016040523d82523d6000602084013e611a6e565b606091505b5050905080611abf576001600160a01b038416600090815260076020526040902054611a9a908361194a565b6001600160a01b03909416600090815260076020526040812094909455509192915050565b5092915050565b50600092915050565b600080611adc838561201a565b905060008312158015611aef5750838113155b806118cf57506000831280156118cf575083811361166657600080fd5b600042821115611b1e57506000919050565b601254611b2b428461194a565b101592915050565b611b3d8282611bdb565b611b77611b5861092d836005546115e790919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611acf565b6001600160a01b0390921660009081526006602052604090209190915550565b611ba18282611cba565b611b77611bbc61092d836005546115e790919063ffffffff16565b6001600160a01b0384166000908152600660205260409020549061189a565b6001600160a01b038216611c315760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610971565b600254611c3e908261166d565b6002556001600160a01b038216600090815260208190526040902054611c64908261166d565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611d1a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610971565b611d57816040518060600160405280602281526020016120f5602291396001600160a01b0385166000908152602081905260409020549190611850565b6001600160a01b038316600090815260208190526040902055600254611d7d908261194a565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611cae565b600060208284031215611dcf578081fd5b8135611666816120dc565b600060208284031215611deb578081fd5b8151611666816120dc565b60008060408385031215611e08578081fd5b8235611e13816120dc565b915060208301358015158114611e27578182fd5b809150509250929050565b60008060408385031215611e44578182fd5b8235611e4f816120dc565b946020939093013593505050565b60008060408385031215611e6f578182fd5b8235611e7a816120dc565b91506020830135611e27816120dc565b600080600060608486031215611e9e578081fd5b8335611ea9816120dc565b92506020840135611eb9816120dc565b929592945050506040919091013590565b600060208284031215611edb578081fd5b5051919050565b600060208284031215611ef3578081fd5b5035919050565b6000602080835283518082850152825b81811015611f2657858101830151858201604001528201611f0a565b81811115611f375783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615611fa457611fa46120c6565b600160ff1b8390038412811615611fbd57611fbd6120c6565b50500190565b60008219821115611fd657611fd66120c6565b500190565b600082611ff657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612015576120156120c6565b500290565b60008083128015600160ff1b850184121615612038576120386120c6565b6001600160ff1b0384018313811615612053576120536120c6565b50500390565b60008282101561206b5761206b6120c6565b500390565b600181811c9082168061208457607f821691505b602082108114156120a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120bf576120bf6120c6565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146120f157600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ba5af829b91cd24b6f183167128dc4056b609ee67eb3e7ad95a505244a2ca28364736f6c63430008040033
Deployed Bytecode Sourcemap
53194:6919:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46583:21;:19;:21::i;:::-;53194:6919;;;;;47489:439;;;:::i;9076:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11243:169;;;;;;;;;;-1:-1:-1;11243:169:0;;;;;:::i;:::-;;:::i;:::-;;;4414:14:1;;4407:22;4389:41;;4377:2;4362:18;11243:169:0;4344:92:1;55753:119:0;;;;;;;;;;-1:-1:-1;55837:15:0;:27;55753:119;;;10694:25:1;;;10682:2;10667:18;55753:119:0;10649:76:1;10196:108:0;;;;;;;;;;-1:-1:-1;10284:12:0;;10196:108;;53543:50;;;;;;;;;;-1:-1:-1;53543:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;11894:355;;;;;;;;;;-1:-1:-1;11894:355:0;;;;;:::i;:::-;;:::i;50649:255::-;;;;;;;;;;-1:-1:-1;50649:255:0;;;;;:::i;:::-;;:::i;53438:33::-;;;;;;;;;;;;;;;;10038:93;;;;;;;;;;-1:-1:-1;10038:93:0;;10121:2;12675:36:1;;12663:2;12648:18;10038:93:0;12630:87:1;54559:299:0;;;;;;;;;;-1:-1:-1;54559:299:0;;;;;:::i;:::-;;:::i;12658:218::-;;;;;;;;;;-1:-1:-1;12658:218:0;;;;;:::i;:::-;;:::i;53480:54::-;;;;;;;;;;-1:-1:-1;53480:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;57207:471;;;;;;;;;;-1:-1:-1;57207:471:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3900:32:1;;;;3882:51;;3964:2;3949:18;;3942:34;;;;3992:18;;;3985:34;;;;4050:2;4035:18;;4028:34;;;;4093:3;4078:19;;4071:35;-1:-1:-1;4122:19:1;;4115:35;4181:3;4166:19;;4159:35;4225:3;4210:19;;4203:35;3869:3;3854:19;57207:471:0;3836:408:1;54356:195:0;;;;;;;;;;;;;:::i;53602:24::-;;;;;;;;;;;;;;;;10367:127;;;;;;;;;;-1:-1:-1;10367:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;10468:18:0;10441:7;10468:18;;;;;;;;;;;;10367:127;3227:148;;;;;;;;;;;;;:::i;46293:40::-;;;;;;;;;;;;;;;;2585:79;;;;;;;;;;-1:-1:-1;2650:6:0;;2585:79;;-1:-1:-1;;;;;2650:6:0;;;3481:51:1;;3469:2;3454:18;2585:79:0;3436:102:1;49317:130:0;;;;;;;;;;-1:-1:-1;49317:130:0;;;;;:::i;:::-;;:::i;9295:104::-;;;;;;;;;;;;;:::i;54866:329::-;;;;;;;;;;-1:-1:-1;54866:329:0;;;;;:::i;:::-;;:::i;13379:269::-;;;;;;;;;;-1:-1:-1;13379:269:0;;;;;:::i;:::-;;:::i;49666:174::-;;;;;;;;;;-1:-1:-1;49666:174:0;;;;;:::i;:::-;;:::i;10707:175::-;;;;;;;;;;-1:-1:-1;10707:175:0;;;;;:::i;:::-;;:::i;50061:135::-;;;;;;;;;;-1:-1:-1;50061:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;50162:26:0;50135:7;50162:26;;;:18;:26;;;;;;;50061:135;59745:365;;;;;;;;;;-1:-1:-1;59745:365:0;;;;;:::i;:::-;;:::i;53633:75::-;;;;;;;;;;;;53691:17;53633:75;;10945:151;;;;;;;;;;-1:-1:-1;10945:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;11061:18:0;;;11034:7;11061:18;;;-1:-1:-1;11061:18:0;;;;;;;;:27;;;;;;;;;;;;;10945:151;57927:492;;;;;;;;;;-1:-1:-1;57927:492:0;;;;;:::i;:::-;;:::i;55637:108::-;;;;;;;;;;-1:-1:-1;55719:18:0;;55637:108;;55203:426;;;;;;;;;;-1:-1:-1;55203:426:0;;;;;:::i;:::-;;:::i;3530:244::-;;;;;;;;;;-1:-1:-1;3530:244:0;;;;;:::i;:::-;;:::i;46255:29::-;;;;;;;;;;;;;;;;55880:1319;;;;;;;;;;-1:-1:-1;55880:1319:0;;;;;:::i;:::-;;:::i;58427:1310::-;;;;;;;;;;-1:-1:-1;58427:1310:0;;;;;:::i;:::-;;:::i;:::-;;;;12411:25:1;;;12467:2;12452:18;;12445:34;;;;12495:18;;;12488:34;12399:2;12384:18;58427:1310:0;12366:162:1;47489:439:0;47579:1;47563:13;10284:12;;;10196:108;47563:13;:17;47555:26;;;;;;47598:9;:13;47594:327;;47656:105;47733:13;10284:12;;;10196:108;47733:13;47704:26;47705:9;-1:-1:-1;;;47704:15:0;:26::i;:::-;:42;;;;:::i;:::-;47656:25;;;:29;:105::i;:::-;47628:25;:133;47781:43;;47814:9;10694:25:1;;47802:10:0;;47781:43;;10682:2:1;10667:18;47781:43:0;;;;;;;47869:25;;:40;;47899:9;47869:29;:40::i;:::-;47841:25;:68;47594:327;47489:439::o;9076:100::-;9130:13;9163:5;9156:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9076:100;:::o;11243:169::-;11326:4;11343:39;1959:10;11366:7;11375:6;11343:8;:39::i;:::-;-1:-1:-1;11400:4:0;11243:169;;;;;:::o;11894:355::-;12034:4;12051:36;12061:6;12069:9;12080:6;12051:9;:36::i;:::-;12098:121;12107:6;1959:10;12129:89;12167:6;12129:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12129:19:0;;;;;;-1:-1:-1;12129:19:0;;;;;;;;1959:10;12129:33;;;;;;;;;;:37;:89::i;:::-;12098:8;:121::i;:::-;-1:-1:-1;12237:4:0;11894:355;;;;;:::o;50649:255::-;-1:-1:-1;;;;;50831:36:0;;50726:7;50831:36;;;:28;:36;;;;;;;;;10468:18;;;;;;;50753:25;;-1:-1:-1;;;;50753:131:0;;:115;;:63;;:48;;:25;:29;:48::i;:::-;:61;:63::i;:::-;:77;;:115::i;:::-;:129;:131::i;:::-;:143;;;;:::i;54559:299::-;2797:6;;-1:-1:-1;;;;;2797:6:0;1959:10;2797:22;2789:67;;;;-1:-1:-1;;;2789:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;54645:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;54644:31;54636:40;;;::::0;::::1;;-1:-1:-1::0;;;;;54687:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;54687:37:0::1;-1:-1:-1::0;54687:37:0::1;::::0;;54737:23:::1;::::0;54687:30;;54737:11:::1;:23::i;:::-;54771:31;::::0;-1:-1:-1;;;54771:31:0;;:15:::1;:31;::::0;::::1;10934:25:1::0;-1:-1:-1;;;;;10995:32:1;;10975:18;;;10968:60;54771:22:0::1;::::0;::::1;::::0;10907:18:1;;54771:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;54820:30:0::1;::::0;-1:-1:-1;;;;;54820:30:0;::::1;::::0;-1:-1:-1;54820:30:0::1;::::0;-1:-1:-1;54820:30:0;;::::1;54559:299:::0;:::o;12658:218::-;1959:10;12746:4;12795:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12795:34:0;;;;;;;;;;12746:4;;12763:83;;12795:34;;:50;;12834:10;12795:38;:50::i;57207:471::-;57285:7;57303:6;57320;57337:7;57355;57373;57391;57409;57442:15;:20;;;;:22;;;;;;;;;;;;;10694:25:1;;10682:2;10667:18;;10649:76;57442:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57433:5;:31;57429:138;;-1:-1:-1;57489:42:0;;-1:-1:-1;;;;;;;;57489:42:0;;-1:-1:-1;57489:42:0;;-1:-1:-1;57489:42:0;;-1:-1:-1;57489:42:0;;-1:-1:-1;57489:42:0;57481:74;;57429:138;57597:36;;-1:-1:-1;;;57597:36:0;;:15;:36;;;11948:25:1;11989:18;;;11982:34;;;57579:15:0;;57597:29;;;;11921:18:1;;57597:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57579:54;;57651:19;57662:7;57651:10;:19::i;:::-;57644:26;;;;;;;;;;;;;;;;;57207:471;;;;;;;;;;:::o;54356:195::-;54416:127;;-1:-1:-1;;;54416:127:0;;8155:2:1;54416:127:0;;;8137:21:1;8194:3;8174:18;;;8167:31;8234:34;8214:18;;;8207:62;8305:34;8285:18;;;8278:62;8377:34;8356:19;;;8349:63;-1:-1:-1;;;8428:19:1;;;8421:44;8482:19;;54416:127:0;8127:380:1;3227:148:0;2797:6;;-1:-1:-1;;;;;2797:6:0;1959:10;2797:22;2789:67;;;;-1:-1:-1;;;2789:67:0;;;;;;;:::i;:::-;3318:6:::1;::::0;3297:40:::1;::::0;3334:1:::1;::::0;-1:-1:-1;;;;;3318:6:0::1;::::0;3297:40:::1;::::0;3334:1;;3297:40:::1;3348:6;:19:::0;;-1:-1:-1;;;;;;3348:19:0::1;::::0;;3227:148::o;49317:130::-;49382:7;49409:30;49432:6;49409:22;:30::i;9295:104::-;9351:13;9384:7;9377:14;;;;;:::i;54866:329::-;2797:6;;-1:-1:-1;;;;;2797:6:0;1959:10;2797:22;2789:67;;;;-1:-1:-1;;;2789:67:0;;;;;;;:::i;:::-;54982:14:::1;;54961:17;:35;;54953:117;;;::::0;-1:-1:-1;;;54953:117:0;;8714:2:1;54953:117:0::1;::::0;::::1;8696:21:1::0;8753:2;8733:18;;;8726:30;8792:34;8772:18;;;8765:62;8863:34;8843:18;;;8836:62;-1:-1:-1;;;8914:19:1;;;8907:36;8960:19;;54953:117:0::1;8686:299:1::0;54953:117:0::1;55127:14;::::0;55086:56:::1;::::0;55108:17;;55086:56:::1;::::0;;;::::1;55153:14;:34:::0;54866:329::o;13379:269::-;13472:4;13489:129;1959:10;13512:7;13521:96;13560:15;13521:96;;;;;;;;;;;;;;;;;1959:10;13521:25;;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13521:34:0;;;;;;;;;;;;:38;:96::i;49666:174::-;-1:-1:-1;;;;;49805:26:0;;49743:7;49805:26;;;:18;:26;;;;;;49770:62;;:30;49805:26;49770:22;:30::i;:::-;:34;;:62::i;10707:175::-;10793:4;10810:42;1959:10;10834:9;10845:6;10810:9;:42::i;59745:365::-;2797:6;;59836:4;;-1:-1:-1;;;;;2797:6:0;1959:10;2797:22;2789:67;;;;-1:-1:-1;;;2789:67:0;;;;;;;:::i;:::-;59853:14:::1;59870:32;59894:7;59870:23;:32::i;:::-;59853:49:::0;-1:-1:-1;59919:10:0;;59915:163:::1;;-1:-1:-1::0;;;;;59946:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;;;59972:15:::1;59946:41:::0;;60007:33;;10694:25:1;;;60007:33:0;::::1;;::::0;59946:23;60007:33:::1;::::0;10667:18:1;60007:33:0::1;;;;;;;60062:4;60055:11;;;;;59915:163;-1:-1:-1::0;60097:5:0::1;::::0;59745:365;-1:-1:-1;;;59745:365:0:o;57927:492::-;2797:6;;-1:-1:-1;;;;;2797:6:0;1959:10;2797:22;2789:67;;;;-1:-1:-1;;;2789:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58026:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;58022:69;;;57927:492:::0;;:::o;58022:69::-:1;53691:17;58107:10;:45;58103:267;;58169:32;58181:7;58190:10;58169:11;:32::i;:::-;58216:40;::::0;-1:-1:-1;;;58216:40:0;;:15:::1;:40;::::0;::::1;11596:25:1::0;-1:-1:-1;;;;;11657:32:1;;11637:18;;;11630:60;11706:18;;;11699:34;;;58216:19:0::1;::::0;::::1;::::0;11569:18:1;;58216:40:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58103:267;;;58289:23;58301:7;58310:1;58289:11;:23::i;:::-;58327:31;::::0;-1:-1:-1;;;58327:31:0;;:15:::1;:31;::::0;::::1;10934:25:1::0;-1:-1:-1;;;;;10995:32:1;;10975:18;;;10968:60;58327:22:0::1;::::0;::::1;::::0;10907:18:1;;58327:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58103:267;58382:29;58397:7;58406:4;58382:14;:29::i;:::-;;57927:492:::0;;:::o;55203:426::-;2797:6;;-1:-1:-1;;;;;2797:6:0;1959:10;2797:22;2789:67;;;;-1:-1:-1;;;2789:67:0;;;;;;;:::i;:::-;55304:4:::1;55288:12;:20;;:45;;;;;55328:5;55312:12;:21;;55288:45;55280:136;;;::::0;-1:-1:-1;;;55280:136:0;;6833:2:1;55280:136:0::1;::::0;::::1;6815:21:1::0;6872:2;6852:18;;;6845:30;6911:34;6891:18;;;6884:62;6982:34;6962:18;;;6955:62;-1:-1:-1;;;7033:19:1;;;7026:45;7088:19;;55280:136:0::1;6805:308:1::0;55280:136:0::1;55451:9;;55435:12;:25;;55427:102;;;::::0;;-1:-1:-1;;;55427:102:0;;7320:2:1;55427:102:0::1;::::0;::::1;7302:21:1::0;7339:18;;;7332:30;;;;7398:34;7378:18;;;7371:62;7469:34;7449:18;;;7442:62;7521:19;;55427:102:0::1;7292:254:1::0;55427:102:0::1;55576:9;::::0;55545:41:::1;::::0;55562:12;;55545:41:::1;::::0;;;::::1;55597:9;:24:::0;55203:426::o;3530:244::-;2797:6;;-1:-1:-1;;;;;2797:6:0;1959:10;2797:22;2789:67;;;;-1:-1:-1;;;2789:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3619:22:0;::::1;3611:73;;;::::0;-1:-1:-1;;;3611:73:0;;5251:2:1;3611:73:0::1;::::0;::::1;5233:21:1::0;5290:2;5270:18;;;5263:30;5329:34;5309:18;;;5302:62;-1:-1:-1;;;5380:18:1;;;5373:36;5426:19;;3611:73:0::1;5223:228:1::0;3611:73:0::1;3721:6;::::0;3700:38:::1;::::0;-1:-1:-1;;;;;3700:38:0;;::::1;::::0;3721:6:::1;::::0;3700:38:::1;::::0;3721:6:::1;::::0;3700:38:::1;3749:6;:17:::0;;-1:-1:-1;;;;;;3749:17:0::1;-1:-1:-1::0;;;;;3749:17:0;;;::::1;::::0;;;::::1;::::0;;3530:244::o;55880:1319::-;56272:38;;-1:-1:-1;;;56272:38:0;;:15;:38;;;10934:25:1;-1:-1:-1;;;;;10995:32:1;;10975:18;;;10968:60;56243:8:0;;55954:15;;;;;;;;;;;;;;56272:29;;;;10907:18:1;;56272:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56264:46;-1:-1:-1;;;;;;56369:10:0;;56365:453;;56417:18;;56408:5;56400:35;56396:411;;;56500:18;;56483:37;;:5;;:9;:37::i;:::-;56456:64;;56396:411;;;56626:18;;56596:15;:27;56561:32;;-1:-1:-1;56596:106:0;;56701:1;56596:106;;;56679:18;;56647:15;:27;:51;;:31;:51::i;:::-;56561:141;-1:-1:-1;56748:43:0;:5;56561:141;56748:9;:43::i;:::-;56721:70;;56396:411;;56854:31;56877:7;56854:22;:31::i;:::-;56830:55;;56913:31;56936:7;56913:22;:31::i;:::-;-1:-1:-1;;;;;56973:23:0;;;;;;:14;:23;;;;;;56896:48;;-1:-1:-1;56973:23:0;-1:-1:-1;56973:23:0;57023:52;;57074:1;57023:52;;;57061:9;;57043:28;;:13;;:17;:28::i;:::-;57007:68;;57135:15;57119:13;:31;:72;;57190:1;57119:72;;;57153:34;:13;57171:15;57153:17;:34::i;:::-;57086:105;;55880:1319;;;;;;;;;:::o;58427:1310::-;58542:15;:27;58473:7;;;;;;58586:25;58582:91;;-1:-1:-1;;58642:18:0;;58636:1;;-1:-1:-1;58636:1:0;;-1:-1:-1;58628:33:0;;58582:91;58715:18;;58685:27;;58794:9;58776:27;;58816:18;58849:14;58880:737;58897:3;58887:7;:13;:50;;;;;58917:20;58904:10;:33;58887:50;58880:737;;;58954:21;;;;:::i;:::-;59019:15;:27;58954:21;;-1:-1:-1;58996:50:0;;;-1:-1:-1;58992:114:0;;59089:1;59067:23;;58992:114;59122:15;59140;:20;;59161:19;59140:41;;;;;;-1:-1:-1;;;59140:41:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59140:41:0;59215:23;;;:14;:23;;;;;;;;59140:41;;-1:-1:-1;59202:37:0;;:12;:37::i;:::-;59198:172;;;59264:38;59287:7;59297:4;59264:14;:38::i;:::-;59260:95;;;59327:8;;;;:::i;:::-;;;;59260:95;59386:12;;;;:::i;:::-;;;;59415:18;59436:9;59415:30;;59476:10;59466:7;:20;59462:107;;;59517:36;59529:23;:7;59541:10;59529:11;:23::i;:::-;59517:7;;:11;:36::i;:::-;59507:46;;59462:107;59595:10;-1:-1:-1;58880:737:0;;-1:-1:-1;58880:737:0;;59629:18;:40;;;59690:10;;-1:-1:-1;59702:6:0;-1:-1:-1;59650:19:0;;-1:-1:-1;;;;58427:1310:0;;;;;;:::o;19297:471::-;19355:7;19600:6;19596:47;;-1:-1:-1;19630:1:0;19623:8;;19596:47;19655:9;19667:5;19671:1;19667;:5;:::i;:::-;19655:17;-1:-1:-1;19700:1:0;19691:5;19695:1;19655:17;19691:5;:::i;:::-;:10;19683:56;;;;-1:-1:-1;;;19683:56:0;;7753:2:1;19683:56:0;;;7735:21:1;7792:2;7772:18;;;7765:30;7831:34;7811:18;;;7804:62;-1:-1:-1;;;7882:18:1;;;7875:31;7923:19;;19683:56:0;7725:223:1;19683:56:0;19759:1;19297:471;-1:-1:-1;;;19297:471:0:o;17943:181::-;18001:7;;18033:5;18037:1;18033;:5;:::i;:::-;18021:17;;18062:1;18057;:6;;18049:46;;;;-1:-1:-1;;;18049:46:0;;6061:2:1;18049:46:0;;;6043:21:1;6100:2;6080:18;;;6073:30;6139:29;6119:18;;;6112:57;6186:18;;18049:46:0;6033:177:1;16565:380:0;-1:-1:-1;;;;;16701:19:0;;16693:68;;;;-1:-1:-1;;;16693:68:0;;9955:2:1;16693:68:0;;;9937:21:1;9994:2;9974:18;;;9967:30;10033:34;10013:18;;;10006:62;-1:-1:-1;;;10084:18:1;;;10077:34;10128:19;;16693:68:0;9927:226:1;16693:68:0;-1:-1:-1;;;;;16780:21:0;;16772:68;;;;-1:-1:-1;;;16772:68:0;;5658:2:1;16772:68:0;;;5640:21:1;5697:2;5677:18;;;5670:30;5736:34;5716:18;;;5709:62;-1:-1:-1;;;5787:18:1;;;5780:32;5829:19;;16772:68:0;5630:224:1;16772:68:0;-1:-1:-1;;;;;16853:18:0;;;;;;;-1:-1:-1;16853:18:0;;;;;;;;:27;;;;;;;;;;;;;:36;;;16905:32;;10694:25:1;;;16905:32:0;;;;;;;;;;;;16565:380;;;:::o;54195:153::-;54275:65;;-1:-1:-1;;;54275:65:0;;6417:2:1;54275:65:0;;;6399:21:1;6456:2;6436:18;;;6429:30;6495:34;6475:18;;;6468:62;-1:-1:-1;;;6546:18:1;;;6539:45;6601:19;;54275:65:0;6389:237:1;18846:192:0;18932:7;18968:12;18960:6;;;;18952:29;;;;-1:-1:-1;;;18952:29:0;;;;;;;;:::i;:::-;-1:-1:-1;18992:9:0;19004:5;19008:1;19004;:5;:::i;:::-;18992:17;18846:192;-1:-1:-1;;;;;18846:192:0:o;24419:148::-;24475:6;24512:1;24533:6;;;;24525:15;;;;;23753:176;23809:6;;23839:5;23843:1;23839;:5;:::i;:::-;23828:16;;23869:1;23864;:6;;:16;;;;;23879:1;23874;:6;;23864:16;23863:38;;;;23890:1;23886;:5;:14;;;;;23899:1;23895;:5;23886:14;23855:47;;;;;24158:127;24214:7;24247:1;24242;:6;;24234:15;;;;;;-1:-1:-1;24275:1:0;24158:127::o;52738:449::-;-1:-1:-1;;;;;10468:18:0;;52816:22;10468:18;;;;;;;;;;;52875:27;;;52872:308;;;52919:18;52940:30;:10;52955:14;52940;:30::i;:::-;52919:51;;52985:26;52991:7;53000:10;52985:5;:26::i;:::-;52872:308;58382:29:::1;57927:492:::0;;:::o;52872:308::-;53045:14;53032:10;:27;53029:151;;;53076:18;53097:30;:14;53116:10;53097:18;:30::i;:::-;53076:51;;53142:26;53148:7;53157:10;53142:5;:26::i;18407:136::-;18465:7;18492:43;18496:1;18499;18492:43;;;;;;;;;;;;;;;;;:3;:43::i;48393:705::-;48466:7;48486:29;48518:28;48541:4;48518:22;:28::i;:::-;48486:60;-1:-1:-1;48561:25:0;;48557:513;;-1:-1:-1;;;;;48630:24:0;;;;;;:18;:24;;;;;;:51;;48659:21;48630:28;:51::i;:::-;-1:-1:-1;;;;;48603:24:0;;;;;;:18;:24;;;;;;;;;:78;;;;48701:46;10694:25:1;;;48603:24:0;;48701:46;;10667:18:1;48701:46:0;;;;;;;48825:14;;48780:64;;48763:12;;-1:-1:-1;;;;;48780:9:0;;;48797:21;;48763:12;48780:64;48763:12;48780:64;48797:21;48780:9;48825:14;48780:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48762:82;;;48865:7;48861:153;;-1:-1:-1;;;;;48920:24:0;;;;;;:18;:24;;;;;;:51;;48949:21;48920:28;:51::i;:::-;-1:-1:-1;;;;;48893:24:0;;;;;;;;:18;:24;;;;;:78;;;;-1:-1:-1;48893:24:0;;;-1:-1:-1;;48393:705:0:o;48861:153::-;-1:-1:-1;49037:21:0;48393:705;-1:-1:-1;;48393:705:0:o;48557:513::-;-1:-1:-1;49089:1:0;;48393:705;-1:-1:-1;;48393:705:0:o;23489:176::-;23545:6;;23575:5;23579:1;23575;:5;:::i;:::-;23564:16;;23605:1;23600;:6;;:16;;;;;23615:1;23610;:6;;23600:16;23599:38;;;;23626:1;23622;:5;:14;;;;;23635:1;23631;:5;23591:47;;;;;57686:233;57753:4;57790:15;57774:13;:31;57770:77;;;-1:-1:-1;57830:5:0;;57686:233;-1:-1:-1;57686:233:0:o;57770:77::-;57902:9;;57864:34;:15;57884:13;57864:19;:34::i;:::-;:47;;;57686:233;-1:-1:-1;;57686:233:0:o;51901:272::-;51977:27;51989:7;51998:5;51977:11;:27::i;:::-;52057:108;52110:53;52111:36;52141:5;52111:25;;:29;;:36;;;;:::i;52110:53::-;-1:-1:-1;;;;;52057:37:0;;;;;;:28;:37;;;;;;;:51;:108::i;:::-;-1:-1:-1;;;;;52017:37:0;;;;;;;;:28;:37;;;;;:148;;;;-1:-1:-1;51901:272:0:o;52458:::-;52534:27;52546:7;52555:5;52534:11;:27::i;:::-;52614:108;52667:53;52668:36;52698:5;52668:25;;:29;;:36;;;;:::i;52667:53::-;-1:-1:-1;;;;;52614:37:0;;;;;;:28;:37;;;;;;;:51;:108::i;14998:378::-;-1:-1:-1;;;;;15082:21:0;;15074:65;;;;-1:-1:-1;;;15074:65:0;;10360:2:1;15074:65:0;;;10342:21:1;10399:2;10379:18;;;10372:30;10438:33;10418:18;;;10411:61;10489:18;;15074:65:0;10332:181:1;15074:65:0;15229:12;;:24;;15246:6;15229:16;:24::i;:::-;15214:12;:39;-1:-1:-1;;;;;15285:18:0;;:9;:18;;;;;;;;;;;:30;;15308:6;15285:22;:30::i;:::-;-1:-1:-1;;;;;15264:18:0;;:9;:18;;;;;;;;;;;:51;;;;15331:37;;10694:25:1;;;15264:18:0;;:9;;15331:37;;10667:18:1;15331:37:0;;;;;;;;14998:378;;:::o;15709:418::-;-1:-1:-1;;;;;15793:21:0;;15785:67;;;;-1:-1:-1;;;15785:67:0;;9553:2:1;15785:67:0;;;9535:21:1;9592:2;9572:18;;;9565:30;9631:34;9611:18;;;9604:62;-1:-1:-1;;;9682:18:1;;;9675:31;9723:19;;15785:67:0;9525:223:1;15785:67:0;15948:68;15971:6;15948:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15948:18:0;;:9;:18;;;;;;;;;;;;;:22;:68::i;:::-;-1:-1:-1;;;;;15927:18:0;;:9;:18;;;;;;;;;;:89;16042:12;;:24;;16059:6;16042:16;:24::i;:::-;16027:12;:39;16082:37;;10694:25:1;;;16108:1:0;;-1:-1:-1;;;;;16082:37:0;;;;;10682:2:1;10667:18;16082:37:0;10649:76:1;14:257;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:261::-;346:6;399:2;387:9;378:7;374:23;370:32;367:2;;;420:6;412;405:22;367:2;457:9;451:16;476:31;501:5;476:31;:::i;542:444::-;615:6;623;676:2;664:9;655:7;651:23;647:32;644:2;;;697:6;689;682:22;644:2;741:9;728:23;760:31;785:5;760:31;:::i;:::-;810:5;-1:-1:-1;867:2:1;852:18;;839:32;909:15;;902:23;890:36;;880:2;;945:6;937;930:22;880:2;973:7;963:17;;;634:352;;;;;:::o;991:333::-;1067:6;1075;1128:2;1116:9;1107:7;1103:23;1099:32;1096:2;;;1149:6;1141;1134:22;1096:2;1193:9;1180:23;1212:31;1237:5;1212:31;:::i;:::-;1262:5;1314:2;1299:18;;;;1286:32;;-1:-1:-1;;;1086:238:1:o;1329:398::-;1397:6;1405;1458:2;1446:9;1437:7;1433:23;1429:32;1426:2;;;1479:6;1471;1464:22;1426:2;1523:9;1510:23;1542:31;1567:5;1542:31;:::i;:::-;1592:5;-1:-1:-1;1649:2:1;1634:18;;1621:32;1662:33;1621:32;1662:33;:::i;1732:466::-;1809:6;1817;1825;1878:2;1866:9;1857:7;1853:23;1849:32;1846:2;;;1899:6;1891;1884:22;1846:2;1943:9;1930:23;1962:31;1987:5;1962:31;:::i;:::-;2012:5;-1:-1:-1;2069:2:1;2054:18;;2041:32;2082:33;2041:32;2082:33;:::i;:::-;1836:362;;2134:7;;-1:-1:-1;;;2188:2:1;2173:18;;;;2160:32;;1836:362::o;2533:193::-;2602:6;2655:2;2643:9;2634:7;2630:23;2626:32;2623:2;;;2676:6;2668;2661:22;2623:2;-1:-1:-1;2704:16:1;;2613:113;-1:-1:-1;2613:113:1:o;2731:190::-;2790:6;2843:2;2831:9;2822:7;2818:23;2814:32;2811:2;;;2864:6;2856;2849:22;2811:2;-1:-1:-1;2892:23:1;;2801:120;-1:-1:-1;2801:120:1:o;4441:603::-;4553:4;4582:2;4611;4600:9;4593:21;4643:6;4637:13;4686:6;4681:2;4670:9;4666:18;4659:34;4711:4;4724:140;4738:6;4735:1;4732:13;4724:140;;;4833:14;;;4829:23;;4823:30;4799:17;;;4818:2;4795:26;4788:66;4753:10;;4724:140;;;4882:6;4879:1;4876:13;4873:2;;;4952:4;4947:2;4938:6;4927:9;4923:22;4919:31;4912:45;4873:2;-1:-1:-1;5028:2:1;5007:15;-1:-1:-1;;5003:29:1;4988:45;;;;5035:2;4984:54;;4562:482;-1:-1:-1;;;4562:482:1:o;8990:356::-;9192:2;9174:21;;;9211:18;;;9204:30;9270:34;9265:2;9250:18;;9243:62;9337:2;9322:18;;9164:182::o;12722:267::-;12761:3;12789:11;;;-1:-1:-1;;;;;12835:27:1;;;12828:35;;12816:10;;12812:52;12809:2;;;12867:18;;:::i;:::-;-1:-1:-1;;;12914:19:1;;;12907:27;;12899:36;;12896:2;;;12938:18;;:::i;:::-;-1:-1:-1;;12974:9:1;;12769:220::o;12994:128::-;13034:3;13065:1;13061:6;13058:1;13055:13;13052:2;;;13071:18;;:::i;:::-;-1:-1:-1;13107:9:1;;13042:80::o;13127:217::-;13167:1;13193;13183:2;;-1:-1:-1;;;13218:31:1;;13272:4;13269:1;13262:15;13300:4;13218:31;13290:15;13183:2;-1:-1:-1;13329:9:1;;13173:171::o;13349:168::-;13389:7;13455:1;13451;13447:6;13443:14;13440:1;13437:21;13432:1;13425:9;13418:17;13414:45;13411:2;;;13462:18;;:::i;:::-;-1:-1:-1;13502:9:1;;13401:116::o;13522:270::-;13561:4;13590:12;;;-1:-1:-1;;;13637:19:1;;13630:27;;13618:10;;13614:44;13611:2;;;13661:18;;:::i;:::-;-1:-1:-1;;;;;13708:27:1;;13701:35;;13693:44;;13690:2;;;13740:18;;:::i;:::-;-1:-1:-1;;13777:9:1;;13570:222::o;13797:125::-;13837:4;13865:1;13862;13859:8;13856:2;;;13870:18;;:::i;:::-;-1:-1:-1;13907:9:1;;13846:76::o;13927:380::-;14006:1;14002:12;;;;14049;;;14070:2;;14124:4;14116:6;14112:17;14102:27;;14070:2;14177;14169:6;14166:14;14146:18;14143:38;14140:2;;;14223:10;14218:3;14214:20;14211:1;14204:31;14258:4;14255:1;14248:15;14286:4;14283:1;14276:15;14140:2;;13982:325;;;:::o;14312:135::-;14351:3;-1:-1:-1;;14372:17:1;;14369:2;;;14392:18;;:::i;:::-;-1:-1:-1;14439:1:1;14428:13;;14359:88::o;14452:127::-;14513:10;14508:3;14504:20;14501:1;14494:31;14544:4;14541:1;14534:15;14568:4;14565:1;14558:15;14584:131;-1:-1:-1;;;;;14659:31:1;;14649:42;;14639:2;;14705:1;14702;14695:12;14639:2;14629:86;:::o
Swarm Source
ipfs://ba5af829b91cd24b6f183167128dc4056b609ee67eb3e7ad95a505244a2ca283
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.