ERC-20
Overview
Max Total Supply
144,315,177,180,659.071581169295118437 Dividend_Tracker
Holders
545
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 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:
DividendTracker
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-04-29 */ pragma solidity 0.8.19; // SPDX-License-Identifier: MIT interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _setOwner(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_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; } 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; } } interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { 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 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 {} } contract CAWELON is Context, ERC20, Ownable { using SafeMath for uint256; IRouter public router; address public uniswapV2Pair; bool private swapping; struct airDropWallets { uint256 amount; uint256 unlockTime; } mapping(address => airDropWallets) public airDropWalletsData; mapping(address => bool) public _isExcludedFromFee; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses mapping(address => bool) public automatedMarketMakerPairs; uint256 private ethRewardsBuyFee = 4; uint256 private devBuyFee = 1; uint256 private nativeBurnBuyFee = 3; uint256 private devSellFee = 1; uint256 private nativeBurnSellFee = 3; uint256 private cawBurnSellFee = 4; uint256 public totalBuyFees = ethRewardsBuyFee.add(devBuyFee).add(nativeBurnBuyFee); uint256 public totalSellFees = nativeBurnSellFee.add(cawBurnSellFee).add(devSellFee); uint256 private countETHRewardFees = 0; uint256 private countCAWBurnFee = 0; uint256 private countNativeBurnFee = 0; address public cawCollectWallet = payable(0xbf38fA464F04f18568938d24B72feA56da76bC4A); address public devWallet = payable(0xEFe317a9230D5852AC5e5Ad0Ed5400C1C8e0D65C); DividendTracker public dividendTracker; uint256 public swapTokensAtAmount = 210000000000 * 10**18; //0.05% address constant deadWallet = 0x000000000000000000000000000000000000dEaD; address public immutable CAW = address(0xf3b9569F82B18aEf890De263B84189bd33EBe452); // CAW event SendDividends(uint256 tokenAmount, uint256 ethAmount); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); constructor() ERC20("CAW Supporter", "CAWELON"){ dividendTracker = new DividendTracker(); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(deadWallet); _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[0x49e1F66863E08eff662ba879c636f4eaDeDD33b3] = true; _isExcludedFromFee[deadWallet] = true; _mint(0x49e1F66863E08eff662ba879c636f4eaDeDD33b3, 420000000000000 * (10**18)); } receive() external payable {} function createPair() external onlyOwner { IRouter _router = IRouter(address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D)); address _pair = IFactory(_router.factory()).createPair(address(this), _router.WETH()); router = _router; uniswapV2Pair = _pair; automatedMarketMakerPairs[uniswapV2Pair] = true; dividendTracker.excludeFromDividends(uniswapV2Pair); } function airDrop (address[] calldata recipients, uint256[] calldata amount, uint256 _unlockTime) public onlyOwner{ for (uint256 i = 0; i < recipients.length; i++){ IERC20(address(this)).transferFrom(msg.sender, recipients[i], amount[i] * (10**18)); airDropWalletsData[recipients[i]].amount = amount[i] * (10**18); airDropWalletsData[recipients[i]].unlockTime = block.timestamp.add(_unlockTime * 86400); } } /// @dev It will send all ETH to dev which are sended accidentally function recoverETH() external onlyOwner { uint256 ETHbalance = address(this).balance; (bool success, ) = payable(owner()).call{value: ETHbalance}(""); require(success); } function excludeFromDividends(address account) public onlyOwner { dividendTracker.excludeFromDividends(account); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner{ require(newAmount >= totalSupply() / 2000, "SwapTokensAtAmount must be greater than or equal to 0.05% of total supply"); swapTokensAtAmount = newAmount * 10**18; } function updateDividendTracker(address newAddress) public onlyOwner { require(newAddress != address(dividendTracker), " The dividend tracker already has that address"); dividendTracker.recoverETH(); DividendTracker newDividendTracker = DividendTracker(payable(newAddress)); newDividendTracker.excludeFromDividends( address(newDividendTracker) ); newDividendTracker.excludeFromDividends(address(this)); newDividendTracker.excludeFromDividends(uniswapV2Pair); newDividendTracker.excludeFromDividends(deadWallet); dividendTracker = newDividendTracker; } 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); } uint256 private devFeeActual; uint256 private cawBurnFeeActual; uint256 private nativeBurnFeeActual; uint256 private ETHRewardsFeeActual; function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if(from != uniswapV2Pair){ require(to != address(this), "You cannot send tokens to the contract address!"); } if (amount == 0) { super._transfer(from, to, 0); return; } else if ( !swapping && !_isExcludedFromFee[from] && !_isExcludedFromFee[to] ) { bool isSelling = automatedMarketMakerPairs[to]; bool isBuying = automatedMarketMakerPairs[from]; if ( isSelling && // sells only by detecting transfer to automated market maker pair from != address(router) //router -> pair is removing liquidity which shouldn't have max ) { if(block.timestamp <= airDropWalletsData[from].unlockTime && airDropWalletsData[from].amount > 0){ require(amount <= (balanceOf(from).sub(airDropWalletsData[from].amount))); } devFeeActual = devSellFee; ETHRewardsFeeActual = 0; cawBurnFeeActual = cawBurnSellFee; nativeBurnFeeActual = nativeBurnSellFee; } else if ( isBuying && to != address(router) ) { devFeeActual = devBuyFee; cawBurnFeeActual = 0; nativeBurnFeeActual = nativeBurnBuyFee; ETHRewardsFeeActual = ethRewardsBuyFee; } else { devFeeActual = 0; cawBurnFeeActual = 0; nativeBurnFeeActual = 0; ETHRewardsFeeActual = 0; if(block.timestamp <= airDropWalletsData[from].unlockTime && airDropWalletsData[from].amount > 0){ require(amount <= (balanceOf(from).sub(airDropWalletsData[from].amount)), "wait for unlock period"); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (canSwap && !automatedMarketMakerPairs[from]) { swapping = true; burnNativeTokens(countNativeBurnFee); buyCAWTokens(countCAWBurnFee); swapTokensForDividendETH(countETHRewardFees); swapAndSendDevETH(); swapping = false; } uint256 devFeeAmount = amount.mul(devFeeActual).div(100); uint256 nativeFeeAmount = amount.mul(nativeBurnFeeActual).div(100); uint256 cawFeeAmount = amount.mul(cawBurnFeeActual).div(100); uint256 ETHRewardsFeeAmount = amount.mul(ETHRewardsFeeActual).div(100); countNativeBurnFee += nativeFeeAmount; countCAWBurnFee += cawFeeAmount; countETHRewardFees += ETHRewardsFeeAmount; uint256 fees = devFeeAmount + nativeFeeAmount + cawFeeAmount + ETHRewardsFeeAmount; 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 {} } function burnNativeTokens(uint256 tokenAmount) private { uint256 contractBalance = balanceOf(address(this)); if(tokenAmount > contractBalance){ return; } bool success = IERC20(address(this)).transfer(deadWallet, tokenAmount); if(success){ countNativeBurnFee -= tokenAmount; } } function buyCAWTokens(uint256 tokenAmount) private { address[] memory path = new address[](3); path[0] = address(this); path[1] = router.WETH(); path[2] = CAW; _approve(address(this), address(router), tokenAmount); // make the swap router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, path, cawCollectWallet, block.timestamp ); countCAWBurnFee -= tokenAmount; } function swapTokensForDividendETH(uint256 tokenAmount) private { uint256 beforeSwap; uint256 afterSwapDelta; beforeSwap = address(this).balance; uint256 contractBalance = balanceOf(address(this)); if(tokenAmount > contractBalance){ return; } swapTokensForETH(tokenAmount, payable(address(this))); afterSwapDelta = address(this).balance - beforeSwap; countETHRewardFees -= tokenAmount; uint256 ETHRewards = afterSwapDelta; (bool success, ) = address(dividendTracker).call{value: ETHRewards}(""); if(success){ emit SendDividends(tokenAmount, ETHRewards); } } function swapTokensForETH(uint256 tokenAmount, address wallet) private { // generate the pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), tokenAmount); // make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, payable(wallet), block.timestamp ); } function swapAndSendDevETH() private { uint256 contractBalance = balanceOf(address(this)); if(contractBalance <= 0){ return; } swapTokensForETH(contractBalance, devWallet); } } 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); } 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); } 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 internal constant 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; uint256 public totalDividendsDistributed; constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {} /// @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 payable override { 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 virtual 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: 3000 }(""); 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 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); } } } 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(); } } 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; } } contract DividendTracker 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 minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() DividendPayingToken("Dividend_Tracker", "Dividend_Tracker") { claimWait = 24 hours; minimumTokenBalanceForDividends = 10000 * (10**18); //must hold 10000+ tokens } function _transfer(address, address, uint256) internal pure override { require(false, "Dividend_Tracker: No transfers allowed"); } function withdrawDividend() public pure override { require(false, "Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main contract."); } /// @dev It will send all ETH to curent contracty owner function recoverETH() external onlyOwner { uint256 ETHbalance = address(this).balance; (bool success, ) = payable(owner()).call{value: ETHbalance}(""); require(success); } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account]); excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludeFromDividends(account); } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function getAccount(address _account) public view returns ( address account, int256 index, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilNextClaimAvailable) { account = _account; index = tokenHoldersMap.getIndexOfKey(account); withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilNextClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index) public view returns ( address, int256, uint256, uint256, uint256, uint256, uint256) { if(index >= 10) { return (0x0000000000000000000000000000000000000000, -1, 0, 0, 0, 0, 0); } address account = tokenHoldersMap.getKeyAtIndex(index); return getAccount(account); } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } } 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(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; } }
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":"ExcludeFromDividends","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":[{"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":[],"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":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","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":"secondsUntilNextClaimAvailable","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":"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":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"minimumTokenBalanceForDividends","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":"recoverETH","outputs":[],"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":[],"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
60806040523480156200001157600080fd5b5060408051808201825260108082526f2234bb34b232b7322faa3930b1b5b2b960811b602080840182905284518086019095529184529083015290818160036200005c8382620001a0565b5060046200006b8282620001a0565b50505050506200008a62000084620000a560201b60201c565b620000a9565b6201518060115569021e19e0c9bab24000006012556200026c565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012657607f821691505b6020821081036200014757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019b57600081815260208120601f850160051c81016020861015620001765750805b601f850160051c820191505b81811015620001975782815560010162000182565b5050505b505050565b81516001600160401b03811115620001bc57620001bc620000fb565b620001d481620001cd845462000111565b846200014d565b602080601f8311600181146200020c5760008415620001f35750858301515b600019600386901b1c1916600185901b17855562000197565b600085815260208120601f198616915b828110156200023d578886015182559484019460019091019084016200021c565b50858210156200025c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611c2c806200027c6000396000f3fe6080604052600436106101e75760003560e01c806370a0823111610102578063aafd847a11610095578063e30443bc11610064578063e30443bc146105d0578063f2fde38b146105f0578063fbcbc0f114610610578063ffb2c4791461063057600080fd5b8063aafd847a1461051e578063bc4c4b3714610554578063be10b61414610574578063dd62ed3e1461058a57600080fd5b806391b89fba116100d157806391b89fba146104a957806395d89b41146104c9578063a8b9d240146104de578063a9059cbb146104fe57600080fd5b806370a0823114610420578063715018a61461045657806385a6b3ae1461046b5780638da5cb5b1461048157600080fd5b806327ce01471161017a5780634e7b827f116101495780634e7b827f146103665780635183d6fd146103965780636a474002146103f55780636f2789ec1461040a57600080fd5b806327ce0147146102f45780633009a60914610314578063313ce5671461032a57806331e79db01461034657600080fd5b806309bbedde116101b657806309bbedde1461027357806318160ddd14610292578063226cfa3d146102a757806323b872dd146102d457600080fd5b806303c83302146101fb5780630614117a1461020357806306fdde0314610218578063095ea7b31461024357600080fd5b366101f6576101f461066b565b005b600080fd5b6101f461066b565b34801561020f57600080fd5b506101f46106fe565b34801561022457600080fd5b5061022d6107a7565b60405161023a91906118a9565b60405180910390f35b34801561024f57600080fd5b5061026361025e36600461190c565b610839565b604051901515815260200161023a565b34801561027f57600080fd5b50600a545b60405190815260200161023a565b34801561029e57600080fd5b50600254610284565b3480156102b357600080fd5b506102846102c2366004611938565b60106020526000908152604090205481565b3480156102e057600080fd5b506102636102ef366004611955565b610850565b34801561030057600080fd5b5061028461030f366004611938565b6108b9565b34801561032057600080fd5b50610284600e5481565b34801561033657600080fd5b506040516012815260200161023a565b34801561035257600080fd5b506101f4610361366004611938565b610915565b34801561037257600080fd5b50610263610381366004611938565b600f6020526000908152604090205460ff1681565b3480156103a257600080fd5b506103b66103b1366004611996565b610a3c565b604080516001600160a01b0390981688526020880196909652948601939093526060850191909152608084015260a083015260c082015260e00161023a565b34801561040157600080fd5b506101f4610b0f565b34801561041657600080fd5b5061028460115481565b34801561042c57600080fd5b5061028461043b366004611938565b6001600160a01b031660009081526020819052604090205490565b34801561046257600080fd5b506101f4610ba3565b34801561047757600080fd5b5061028460085481565b34801561048d57600080fd5b506009546040516001600160a01b03909116815260200161023a565b3480156104b557600080fd5b506102846104c4366004611938565b610bd7565b3480156104d557600080fd5b5061022d610be2565b3480156104ea57600080fd5b506102846104f9366004611938565b610bf1565b34801561050a57600080fd5b5061026361051936600461190c565b610c1d565b34801561052a57600080fd5b50610284610539366004611938565b6001600160a01b031660009081526007602052604090205490565b34801561056057600080fd5b5061026361056f3660046119af565b610c2a565b34801561058057600080fd5b5061028460125481565b34801561059657600080fd5b506102846105a53660046119ed565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105dc57600080fd5b506101f46105eb36600461190c565b610cd8565b3480156105fc57600080fd5b506101f461060b366004611938565b610e05565b34801561061c57600080fd5b506103b661062b366004611938565b610ea0565b34801561063c57600080fd5b5061065061064b366004611996565b610fa7565b6040805193845260208401929092529082015260600161023a565b600061067660025490565b1161068057600080fd5b34156106fc576106b361069260025490565b6106a034600160801b6110a5565b6106aa9190611a31565b6005549061112e565b60055560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26008546106f8903461112e565b6008555b565b6009546001600160a01b031633146107315760405162461bcd60e51b815260040161072890611a53565b60405180910390fd5b4760006107466009546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610790576040519150601f19603f3d011682016040523d82523d6000602084013e610795565b606091505b50509050806107a357600080fd5b5050565b6060600380546107b690611a88565b80601f01602080910402602001604051908101604052809291908181526020018280546107e290611a88565b801561082f5780601f106108045761010080835404028352916020019161082f565b820191906000526020600020905b81548152906001019060200180831161081257829003601f168201915b5050505050905090565b600061084633848461118d565b5060015b92915050565b600061085d8484846112b1565b6108af84336108aa85604051806060016040528060288152602001611bcf602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061130d565b61118d565b5060019392505050565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b9261090b9261090692610900916108fb91906110a5565b611347565b90611357565b611395565b61084a9190611a31565b6009546001600160a01b0316331461093f5760405162461bcd60e51b815260040161072890611a53565b6001600160a01b0381166000908152600f602052604090205460ff161561096557600080fd5b6001600160a01b0381166000908152600f60205260408120805460ff191660011790556109939082906113a8565b60405163131836e760e21b8152600a60048201526001600160a01b0382166024820152736aace99a58d06053785676f5f8ea3555c12b798890634c60db9c9060440160006040518083038186803b1580156109ed57600080fd5b505af4158015610a01573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b6000806000806000806000600a8810610a6b575060009550600019945085935083925082915081905080610b04565b6040516368d54f3f60e11b8152600a600482015260248101899052600090736aace99a58d06053785676f5f8ea3555c12b79889063d1aa9e7e90604401602060405180830381865af4158015610ac5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae99190611ac2565b9050610af481610ea0565b9750975097509750975097509750505b919395979092949650565b60405162461bcd60e51b815260206004820152605c60248201527f4469766964656e645f547261636b65723a20776974686472617744697669646560448201527f6e642064697361626c65642e20557365207468652027636c61696d272066756e60648201527f6374696f6e206f6e20746865206d61696e2020636f6e74726163742e00000000608482015260a401610728565b6009546001600160a01b03163314610bcd5760405162461bcd60e51b815260040161072890611a53565b6106fc6000611407565b600061084a82610bf1565b6060600480546107b690611a88565b6001600160a01b03811660009081526007602052604081205461084a90610c17846108b9565b90611459565b60006108463384846112b1565b6009546000906001600160a01b03163314610c575760405162461bcd60e51b815260040161072890611a53565b6000610c628461149b565b90508015610cce576001600160a01b038416600081815260106020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610cbc9085815260200190565b60405180910390a3600191505061084a565b5060009392505050565b6009546001600160a01b03163314610d025760405162461bcd60e51b815260040161072890611a53565b6001600160a01b0382166000908152600f602052604090205460ff166107a3576012548110610db357610d3582826113a8565b604051632f0ad01760e21b8152600a60048201526001600160a01b038316602482015260448101829052736aace99a58d06053785676f5f8ea3555c12b79889063bc2b405c906064015b60006040518083038186803b158015610d9757600080fd5b505af4158015610dab573d6000803e3d6000fd5b505050505050565b610dbe8260006113a8565b60405163131836e760e21b8152600a60048201526001600160a01b0383166024820152736aace99a58d06053785676f5f8ea3555c12b798890634c60db9c90604401610d7f565b6009546001600160a01b03163314610e2f5760405162461bcd60e51b815260040161072890611a53565b6001600160a01b038116610e945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610728565b610e9d81611407565b50565b6040516317e142d160e01b8152600a60048201526001600160a01b0382166024820152819060009081908190819081908190736aace99a58d06053785676f5f8ea3555c12b7988906317e142d190604401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190611adf565b9550610f3d87610bf1565b9450610f48876108b9565b6001600160a01b038816600090815260106020526040902054909450925082610f72576000610f80565b601154610f8090849061112e565b9150428211610f90576000610f9a565b610f9a8242611459565b9050919395979092949650565b600a5460009081908190808203610fc9575050600e546000925082915061109e565b600e546000805a90506000805b8984108015610fe457508582105b1561108d5784610ff381611af8565b600a549096508610905061100657600094505b6000600a600001868154811061101e5761101e611b11565b6000918252602090912001546001600160a01b03169050611040816001610c2a565b15611053578161104f81611af8565b9250505b8261105d81611af8565b93505060005a9050808511156110845761108161107a8683611459565b879061112e565b95505b9350610fd69050565b600e85905590975095509193505050505b9193909250565b6000826000036110b75750600061084a565b60006110c38385611b27565b9050826110d08583611a31565b146111275760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610728565b9392505050565b60008061113b8385611b3e565b9050838110156111275760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610728565b6001600160a01b0383166111ef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610728565b6001600160a01b0382166112505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610728565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602660248201527f4469766964656e645f547261636b65723a204e6f207472616e736665727320616044820152651b1b1bddd95960d21b6064820152608401610728565b505050565b600081848411156113315760405162461bcd60e51b815260040161072891906118a9565b50600061133e8486611b51565b95945050505050565b6000818181121561084a57600080fd5b6000806113648385611b64565b9050600083121580156113775750838112155b8061138c575060008312801561138c57508381125b61112757600080fd5b6000808212156113a457600080fd5b5090565b6001600160a01b038216600090815260208190526040902054808211156113e75760006113d58383611459565b90506113e184826115e1565b50505050565b808210156113085760006113fb8284611459565b90506113e18482611645565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061112783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061130d565b6000806114a783610bf1565b905080156115d8576001600160a01b0383166000908152600760205260409020546114d2908261112e565b6001600160a01b038416600081815260076020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906115219084815260200190565b60405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d806000811461157b576040519150601f19603f3d011682016040523d82523d6000602084013e611580565b606091505b50509050806115d1576001600160a01b0384166000908152600760205260409020546115ac9083611459565b6001600160a01b03909416600090815260076020526040812094909455509192915050565b5092915050565b50600092915050565b6115eb8282611689565b6116256116066108fb836005546110a590919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611768565b6001600160a01b0390921660009081526006602052604090209190915550565b61164f82826117a5565b61162561166a6108fb836005546110a590919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611357565b6001600160a01b0382166116df5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610728565b6002546116ec908261112e565b6002556001600160a01b038216600090815260208190526040902054611712908261112e565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6000806117758385611b8c565b9050600083121580156117885750838113155b8061138c575060008312801561138c575083811361112757600080fd5b6001600160a01b0382166118055760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610728565b61184281604051806060016040528060228152602001611bad602291396001600160a01b038516600090815260208190526040902054919061130d565b6001600160a01b0383166000908152602081905260409020556002546118689082611459565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161175c565b600060208083528351808285015260005b818110156118d6578581018301518582016040015282016118ba565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e9d57600080fd5b6000806040838503121561191f57600080fd5b823561192a816118f7565b946020939093013593505050565b60006020828403121561194a57600080fd5b8135611127816118f7565b60008060006060848603121561196a57600080fd5b8335611975816118f7565b92506020840135611985816118f7565b929592945050506040919091013590565b6000602082840312156119a857600080fd5b5035919050565b600080604083850312156119c257600080fd5b82356119cd816118f7565b9150602083013580151581146119e257600080fd5b809150509250929050565b60008060408385031215611a0057600080fd5b8235611a0b816118f7565b915060208301356119e2816118f7565b634e487b7160e01b600052601160045260246000fd5b600082611a4e57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611a9c57607f821691505b602082108103611abc57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611ad457600080fd5b8151611127816118f7565b600060208284031215611af157600080fd5b5051919050565b600060018201611b0a57611b0a611a1b565b5060010190565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761084a5761084a611a1b565b8082018082111561084a5761084a611a1b565b8181038181111561084a5761084a611a1b565b8082018281126000831280158216821582161715611b8457611b84611a1b565b505092915050565b81810360008312801583831316838312821617156115d1576115d1611a1b56fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212207721c699b09ed27a7eba52a91608fb4ae9fbbeae089e3437bc2f4bf5a20aa40f64736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101e75760003560e01c806370a0823111610102578063aafd847a11610095578063e30443bc11610064578063e30443bc146105d0578063f2fde38b146105f0578063fbcbc0f114610610578063ffb2c4791461063057600080fd5b8063aafd847a1461051e578063bc4c4b3714610554578063be10b61414610574578063dd62ed3e1461058a57600080fd5b806391b89fba116100d157806391b89fba146104a957806395d89b41146104c9578063a8b9d240146104de578063a9059cbb146104fe57600080fd5b806370a0823114610420578063715018a61461045657806385a6b3ae1461046b5780638da5cb5b1461048157600080fd5b806327ce01471161017a5780634e7b827f116101495780634e7b827f146103665780635183d6fd146103965780636a474002146103f55780636f2789ec1461040a57600080fd5b806327ce0147146102f45780633009a60914610314578063313ce5671461032a57806331e79db01461034657600080fd5b806309bbedde116101b657806309bbedde1461027357806318160ddd14610292578063226cfa3d146102a757806323b872dd146102d457600080fd5b806303c83302146101fb5780630614117a1461020357806306fdde0314610218578063095ea7b31461024357600080fd5b366101f6576101f461066b565b005b600080fd5b6101f461066b565b34801561020f57600080fd5b506101f46106fe565b34801561022457600080fd5b5061022d6107a7565b60405161023a91906118a9565b60405180910390f35b34801561024f57600080fd5b5061026361025e36600461190c565b610839565b604051901515815260200161023a565b34801561027f57600080fd5b50600a545b60405190815260200161023a565b34801561029e57600080fd5b50600254610284565b3480156102b357600080fd5b506102846102c2366004611938565b60106020526000908152604090205481565b3480156102e057600080fd5b506102636102ef366004611955565b610850565b34801561030057600080fd5b5061028461030f366004611938565b6108b9565b34801561032057600080fd5b50610284600e5481565b34801561033657600080fd5b506040516012815260200161023a565b34801561035257600080fd5b506101f4610361366004611938565b610915565b34801561037257600080fd5b50610263610381366004611938565b600f6020526000908152604090205460ff1681565b3480156103a257600080fd5b506103b66103b1366004611996565b610a3c565b604080516001600160a01b0390981688526020880196909652948601939093526060850191909152608084015260a083015260c082015260e00161023a565b34801561040157600080fd5b506101f4610b0f565b34801561041657600080fd5b5061028460115481565b34801561042c57600080fd5b5061028461043b366004611938565b6001600160a01b031660009081526020819052604090205490565b34801561046257600080fd5b506101f4610ba3565b34801561047757600080fd5b5061028460085481565b34801561048d57600080fd5b506009546040516001600160a01b03909116815260200161023a565b3480156104b557600080fd5b506102846104c4366004611938565b610bd7565b3480156104d557600080fd5b5061022d610be2565b3480156104ea57600080fd5b506102846104f9366004611938565b610bf1565b34801561050a57600080fd5b5061026361051936600461190c565b610c1d565b34801561052a57600080fd5b50610284610539366004611938565b6001600160a01b031660009081526007602052604090205490565b34801561056057600080fd5b5061026361056f3660046119af565b610c2a565b34801561058057600080fd5b5061028460125481565b34801561059657600080fd5b506102846105a53660046119ed565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105dc57600080fd5b506101f46105eb36600461190c565b610cd8565b3480156105fc57600080fd5b506101f461060b366004611938565b610e05565b34801561061c57600080fd5b506103b661062b366004611938565b610ea0565b34801561063c57600080fd5b5061065061064b366004611996565b610fa7565b6040805193845260208401929092529082015260600161023a565b600061067660025490565b1161068057600080fd5b34156106fc576106b361069260025490565b6106a034600160801b6110a5565b6106aa9190611a31565b6005549061112e565b60055560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26008546106f8903461112e565b6008555b565b6009546001600160a01b031633146107315760405162461bcd60e51b815260040161072890611a53565b60405180910390fd5b4760006107466009546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610790576040519150601f19603f3d011682016040523d82523d6000602084013e610795565b606091505b50509050806107a357600080fd5b5050565b6060600380546107b690611a88565b80601f01602080910402602001604051908101604052809291908181526020018280546107e290611a88565b801561082f5780601f106108045761010080835404028352916020019161082f565b820191906000526020600020905b81548152906001019060200180831161081257829003601f168201915b5050505050905090565b600061084633848461118d565b5060015b92915050565b600061085d8484846112b1565b6108af84336108aa85604051806060016040528060288152602001611bcf602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061130d565b61118d565b5060019392505050565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b9261090b9261090692610900916108fb91906110a5565b611347565b90611357565b611395565b61084a9190611a31565b6009546001600160a01b0316331461093f5760405162461bcd60e51b815260040161072890611a53565b6001600160a01b0381166000908152600f602052604090205460ff161561096557600080fd5b6001600160a01b0381166000908152600f60205260408120805460ff191660011790556109939082906113a8565b60405163131836e760e21b8152600a60048201526001600160a01b0382166024820152736aace99a58d06053785676f5f8ea3555c12b798890634c60db9c9060440160006040518083038186803b1580156109ed57600080fd5b505af4158015610a01573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b6000806000806000806000600a8810610a6b575060009550600019945085935083925082915081905080610b04565b6040516368d54f3f60e11b8152600a600482015260248101899052600090736aace99a58d06053785676f5f8ea3555c12b79889063d1aa9e7e90604401602060405180830381865af4158015610ac5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae99190611ac2565b9050610af481610ea0565b9750975097509750975097509750505b919395979092949650565b60405162461bcd60e51b815260206004820152605c60248201527f4469766964656e645f547261636b65723a20776974686472617744697669646560448201527f6e642064697361626c65642e20557365207468652027636c61696d272066756e60648201527f6374696f6e206f6e20746865206d61696e2020636f6e74726163742e00000000608482015260a401610728565b6009546001600160a01b03163314610bcd5760405162461bcd60e51b815260040161072890611a53565b6106fc6000611407565b600061084a82610bf1565b6060600480546107b690611a88565b6001600160a01b03811660009081526007602052604081205461084a90610c17846108b9565b90611459565b60006108463384846112b1565b6009546000906001600160a01b03163314610c575760405162461bcd60e51b815260040161072890611a53565b6000610c628461149b565b90508015610cce576001600160a01b038416600081815260106020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610cbc9085815260200190565b60405180910390a3600191505061084a565b5060009392505050565b6009546001600160a01b03163314610d025760405162461bcd60e51b815260040161072890611a53565b6001600160a01b0382166000908152600f602052604090205460ff166107a3576012548110610db357610d3582826113a8565b604051632f0ad01760e21b8152600a60048201526001600160a01b038316602482015260448101829052736aace99a58d06053785676f5f8ea3555c12b79889063bc2b405c906064015b60006040518083038186803b158015610d9757600080fd5b505af4158015610dab573d6000803e3d6000fd5b505050505050565b610dbe8260006113a8565b60405163131836e760e21b8152600a60048201526001600160a01b0383166024820152736aace99a58d06053785676f5f8ea3555c12b798890634c60db9c90604401610d7f565b6009546001600160a01b03163314610e2f5760405162461bcd60e51b815260040161072890611a53565b6001600160a01b038116610e945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610728565b610e9d81611407565b50565b6040516317e142d160e01b8152600a60048201526001600160a01b0382166024820152819060009081908190819081908190736aace99a58d06053785676f5f8ea3555c12b7988906317e142d190604401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190611adf565b9550610f3d87610bf1565b9450610f48876108b9565b6001600160a01b038816600090815260106020526040902054909450925082610f72576000610f80565b601154610f8090849061112e565b9150428211610f90576000610f9a565b610f9a8242611459565b9050919395979092949650565b600a5460009081908190808203610fc9575050600e546000925082915061109e565b600e546000805a90506000805b8984108015610fe457508582105b1561108d5784610ff381611af8565b600a549096508610905061100657600094505b6000600a600001868154811061101e5761101e611b11565b6000918252602090912001546001600160a01b03169050611040816001610c2a565b15611053578161104f81611af8565b9250505b8261105d81611af8565b93505060005a9050808511156110845761108161107a8683611459565b879061112e565b95505b9350610fd69050565b600e85905590975095509193505050505b9193909250565b6000826000036110b75750600061084a565b60006110c38385611b27565b9050826110d08583611a31565b146111275760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610728565b9392505050565b60008061113b8385611b3e565b9050838110156111275760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610728565b6001600160a01b0383166111ef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610728565b6001600160a01b0382166112505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610728565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602660248201527f4469766964656e645f547261636b65723a204e6f207472616e736665727320616044820152651b1b1bddd95960d21b6064820152608401610728565b505050565b600081848411156113315760405162461bcd60e51b815260040161072891906118a9565b50600061133e8486611b51565b95945050505050565b6000818181121561084a57600080fd5b6000806113648385611b64565b9050600083121580156113775750838112155b8061138c575060008312801561138c57508381125b61112757600080fd5b6000808212156113a457600080fd5b5090565b6001600160a01b038216600090815260208190526040902054808211156113e75760006113d58383611459565b90506113e184826115e1565b50505050565b808210156113085760006113fb8284611459565b90506113e18482611645565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061112783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061130d565b6000806114a783610bf1565b905080156115d8576001600160a01b0383166000908152600760205260409020546114d2908261112e565b6001600160a01b038416600081815260076020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906115219084815260200190565b60405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d806000811461157b576040519150601f19603f3d011682016040523d82523d6000602084013e611580565b606091505b50509050806115d1576001600160a01b0384166000908152600760205260409020546115ac9083611459565b6001600160a01b03909416600090815260076020526040812094909455509192915050565b5092915050565b50600092915050565b6115eb8282611689565b6116256116066108fb836005546110a590919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611768565b6001600160a01b0390921660009081526006602052604090209190915550565b61164f82826117a5565b61162561166a6108fb836005546110a590919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611357565b6001600160a01b0382166116df5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610728565b6002546116ec908261112e565b6002556001600160a01b038216600090815260208190526040902054611712908261112e565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6000806117758385611b8c565b9050600083121580156117885750838113155b8061138c575060008312801561138c575083811361112757600080fd5b6001600160a01b0382166118055760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610728565b61184281604051806060016040528060228152602001611bad602291396001600160a01b038516600090815260208190526040902054919061130d565b6001600160a01b0383166000908152602081905260409020556002546118689082611459565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161175c565b600060208083528351808285015260005b818110156118d6578581018301518582016040015282016118ba565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e9d57600080fd5b6000806040838503121561191f57600080fd5b823561192a816118f7565b946020939093013593505050565b60006020828403121561194a57600080fd5b8135611127816118f7565b60008060006060848603121561196a57600080fd5b8335611975816118f7565b92506020840135611985816118f7565b929592945050506040919091013590565b6000602082840312156119a857600080fd5b5035919050565b600080604083850312156119c257600080fd5b82356119cd816118f7565b9150602083013580151581146119e257600080fd5b809150509250929050565b60008060408385031215611a0057600080fd5b8235611a0b816118f7565b915060208301356119e2816118f7565b634e487b7160e01b600052601160045260246000fd5b600082611a4e57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611a9c57607f821691505b602082108103611abc57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611ad457600080fd5b8151611127816118f7565b600060208284031215611af157600080fd5b5051919050565b600060018201611b0a57611b0a611a1b565b5060010190565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761084a5761084a611a1b565b8082018082111561084a5761084a611a1b565b8181038181111561084a5761084a611a1b565b8082018281126000831280158216821582161715611b8457611b84611a1b565b505092915050565b81810360008312801583831316838312821617156115d1576115d1611a1b56fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212207721c699b09ed27a7eba52a91608fb4ae9fbbeae089e3437bc2f4bf5a20aa40f64736f6c63430008130033
Deployed Bytecode Sourcemap
42670:5320:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30007:21;:19;:21::i;:::-;42670:5320;;;;;30913:471;;;:::i;43988:219::-;;;;;;;;;;;;;:::i;5914:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8222:210;;;;;;;;;;-1:-1:-1;8222:210:0;;;;;:::i;:::-;;:::i;:::-;;;1188:14:1;;1181:22;1163:41;;1151:2;1136:18;8222:210:0;1023:187:1;44510:119:0;;;;;;;;;;-1:-1:-1;44594:15:0;:27;44510:119;;;1361:25:1;;;1349:2;1334:18;44510:119:0;1215:177:1;7034:108:0;;;;;;;;;;-1:-1:-1;7122:12:0;;7034:108;;43011:50;;;;;;;;;;-1:-1:-1;43011:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;8914:454;;;;;;;;;;-1:-1:-1;8914:454:0;;;;;:::i;:::-;;:::i;34341:372::-;;;;;;;;;;-1:-1:-1;34341:372:0;;;;;:::i;:::-;;:::i;42906:33::-;;;;;;;;;;;;;;;;6876:93;;;;;;;;;;-1:-1:-1;6876:93:0;;6959:2;2252:36:1;;2240:2;2225:18;6876:93:0;2110:184:1;44219:283:0;;;;;;;;;;-1:-1:-1;44219:283:0;;;;;:::i;:::-;;:::i;42948:54::-;;;;;;;;;;-1:-1:-1;42948:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;45631:460;;;;;;;;;;-1:-1:-1;45631:460:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;2815:32:1;;;2797:51;;2879:2;2864:18;;2857:34;;;;2907:18;;;2900:34;;;;2965:2;2950:18;;2943:34;;;;3008:3;2993:19;;2986:35;2835:3;3037:19;;3030:35;3096:3;3081:19;;3074:35;2784:3;2769:19;45631:460:0;2484:631:1;43741:178:0;;;;;;;;;;;;;:::i;43070:24::-;;;;;;;;;;;;;;;;7205:177;;;;;;;;;;-1:-1:-1;7205:177:0;;;;;:::i;:::-;-1:-1:-1;;;;;7356:18:0;7324:7;7356:18;;;;;;;;;;;;7205:177;1622:94;;;;;;;;;;;;;:::i;29741:40::-;;;;;;;;;;;;;;;;1399:87;;;;;;;;;;-1:-1:-1;1472:6:0;;1399:87;;-1:-1:-1;;;;;1472:6:0;;;3266:51:1;;3254:2;3239:18;1399:87:0;3120:203:1;32926:131:0;;;;;;;;;;-1:-1:-1;32926:131:0;;;;;:::i;:::-;;:::i;6133:104::-;;;;;;;;;;;;;:::i;33276:216::-;;;;;;;;;;-1:-1:-1;33276:216:0;;;;;:::i;:::-;;:::i;7595:::-;;;;;;;;;;-1:-1:-1;7595:216:0;;;;;:::i;:::-;;:::i;33713:177::-;;;;;;;;;;-1:-1:-1;33713:177:0;;;;;:::i;:::-;-1:-1:-1;;;;;33856:26:0;33824:7;33856:26;;;:18;:26;;;;;;;33713:177;47644:343;;;;;;;;;;-1:-1:-1;47644:343:0;;;;;:::i;:::-;;:::i;43101:47::-;;;;;;;;;;;;;;;;7874:201;;;;;;;;;;-1:-1:-1;7874:201:0;;;;;:::i;:::-;-1:-1:-1;;;;;8040:18:0;;;8008:7;8040:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7874:201;46099:421;;;;;;;;;;-1:-1:-1;46099:421:0;;;;;:::i;:::-;;:::i;1724:192::-;;;;;;;;;;-1:-1:-1;1724:192:0;;;;;:::i;:::-;;:::i;44637:986::-;;;;;;;;;;-1:-1:-1;44637:986:0;;;;;:::i;:::-;;:::i;46528:1108::-;;;;;;;;;;-1:-1:-1;46528:1108:0;;;;;:::i;:::-;;:::i;:::-;;;;4680:25:1;;;4736:2;4721:18;;4714:34;;;;4764:18;;;4757:34;4668:2;4653:18;46528:1108:0;4478:319:1;30913:471:0;31003:1;30987:13;7122:12;;;7034:108;30987:13;:17;30979:26;;;;;;31022:9;:13;31018:359;;31080:105;31157:13;7122:12;;;7034:108;31157:13;31128:26;31129:9;-1:-1:-1;;;31128:15:0;:26::i;:::-;:42;;;;:::i;:::-;31080:25;;;:29;:105::i;:::-;31052:25;:133;31205:43;;31238:9;1361:25:1;;31226:10:0;;31205:43;;1349:2:1;1334:18;31205:43:0;;;;;;;31293:25;;:72;;31341:9;31293:29;:72::i;:::-;31265:25;:100;31018:359;30913:471::o;43988:219::-;1472:6;;-1:-1:-1;;;;;1472:6:0;900:10;1534:23;1526:68;;;;-1:-1:-1;;;1526:68:0;;;;;;;:::i;:::-;;;;;;;;;44067:21:::1;44046:18;44126:7;1472:6:::0;;-1:-1:-1;;;;;1472:6:0;;1399:87;44126:7:::1;-1:-1:-1::0;;;;;44118:21:0::1;44147:10;44118:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44099:63;;;44181:7;44173:16;;;::::0;::::1;;44029:178;;43988:219::o:0;5914:100::-;5968:13;6001:5;5994:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5914:100;:::o;8222:210::-;8341:4;8363:39;900:10;8386:7;8395:6;8363:8;:39::i;:::-;-1:-1:-1;8420:4:0;8222:210;;;;;:::o;8914:454::-;9054:4;9071:36;9081:6;9089:9;9100:6;9071:9;:36::i;:::-;9118:220;9141:6;900:10;9189:138;9245:6;9189:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9189:19:0;;;;;;:11;:19;;;;;;;;900:10;9189:33;;;;;;;;;;:37;:138::i;:::-;9118:8;:220::i;:::-;-1:-1:-1;9356:4:0;8914:454;;;;;:::o;34341:372::-;-1:-1:-1;;;;;34622:36:0;;34455:7;34622:36;;;:28;:36;;;;;;;;;7356:18;;;;;;;34500:25;;-1:-1:-1;;;28617:6:0;34500:193;;:159;;:99;;:66;;:25;:47;:66::i;:::-;:97;:99::i;:::-;:121;;:159::i;:::-;:191;:193::i;:::-;:205;;;;:::i;44219:283::-;1472:6;;-1:-1:-1;;;;;1472:6:0;900:10;1534:23;1526:68;;;;-1:-1:-1;;;1526:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44302:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;44301:31;44293:40;;;::::0;::::1;;-1:-1:-1::0;;;;;44341:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;44341:37:0::1;44374:4;44341:37;::::0;;44388:23:::1;::::0;44363:7;;44388:11:::1;:23::i;:::-;44419:31;::::0;-1:-1:-1;;;44419:31:0;;:15:::1;:31;::::0;::::1;6316:25:1::0;-1:-1:-1;;;;;6377:32:1;;6357:18;;;6350:60;44419:22:0::1;::::0;::::1;::::0;6289:18:1;;44419:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;44465:29:0::1;::::0;-1:-1:-1;;;;;44465:29:0;::::1;::::0;-1:-1:-1;44465:29:0::1;::::0;-1:-1:-1;44465:29:0;;::::1;44219:283:::0;:::o;45631:460::-;45717:7;45739:6;45760:7;45782;45804;45826;45848;45877:2;45868:5;:11;45865:113;;-1:-1:-1;45904:42:0;;-1:-1:-1;;;45948:2:0;-1:-1:-1;45904:42:0;;-1:-1:-1;45904:42:0;;-1:-1:-1;45904:42:0;;-1:-1:-1;45904:42:0;;-1:-1:-1;45904:42:0;45896:70;;45865:113;46008:36;;-1:-1:-1;;;46008:36:0;;:15;:36;;;6625:25:1;6666:18;;;6659:34;;;45990:15:0;;46008:29;;;;6598:18:1;;46008:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45990:54;;46064:19;46075:7;46064:10;:19::i;:::-;46057:26;;;;;;;;;;;;;;;45631:460;;;;;;;;;;:::o;43741:178::-;43801:110;;-1:-1:-1;;;43801:110:0;;7162:2:1;43801:110:0;;;7144:21:1;7201:2;7181:18;;;7174:30;7240:34;7220:18;;;7213:62;7311:34;7291:18;;;7284:62;7383:30;7362:19;;;7355:59;7431:19;;43801:110:0;6960:496:1;1622:94:0;1472:6;;-1:-1:-1;;;;;1472:6:0;900:10;1534:23;1526:68;;;;-1:-1:-1;;;1526:68:0;;;;;;;:::i;:::-;1687:21:::1;1705:1;1687:9;:21::i;32926:131::-:0;32992:7;33019:30;33042:6;33019:22;:30::i;6133:104::-;6189:13;6222:7;6215:14;;;;;:::i;33276:216::-;-1:-1:-1;;;;;33457:26:0;;33390:7;33457:26;;;:18;:26;;;;;;33422:62;;:30;33476:6;33422:22;:30::i;:::-;:34;;:62::i;7595:216::-;7717:4;7739:42;900:10;7763:9;7774:6;7739:9;:42::i;47644:343::-;1472:6;;47735:4;;-1:-1:-1;;;;;1472:6:0;900:10;1534:23;1526:68;;;;-1:-1:-1;;;1526:68:0;;;;;;;:::i;:::-;47752:14:::1;47769:32;47793:7;47769:23;:32::i;:::-;47752:49:::0;-1:-1:-1;47814:10:0;;47811:147:::1;;-1:-1:-1::0;;;;;47835:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;47861:15:::1;47835:41:::0;;47896:33;;::::1;;::::0;47835:23;47896:33:::1;::::0;::::1;::::0;47911:6;1361:25:1;;1349:2;1334:18;;1215:177;47896:33:0::1;;;;;;;;47945:4;47938:11;;;;;47811:147;-1:-1:-1::0;47974:5:0::1;::::0;47644:343;-1:-1:-1;;;47644:343:0:o;46099:421::-;1472:6;;-1:-1:-1;;;;;1472:6:0;900:10;1534:23;1526:68;;;;-1:-1:-1;;;1526:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46194:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;46235:7;46191:59;46276:31;;46262:10;:45;46259:254;;46324:32;46336:7;46345:10;46324:11;:32::i;:::-;46365:40;::::0;-1:-1:-1;;;46365:40:0;;:15:::1;:40;::::0;::::1;7701:25:1::0;-1:-1:-1;;;;;7762:32:1;;7742:18;;;7735:60;7811:18;;;7804:34;;;46365:19:0::1;::::0;::::1;::::0;7674:18:1;;46365:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;44029:178;;43988:219::o:0;46259:254::-:1;46441:23;46453:7;46462:1;46441:11;:23::i;:::-;46473:31;::::0;-1:-1:-1;;;46473:31:0;;:15:::1;:31;::::0;::::1;6316:25:1::0;-1:-1:-1;;;;;6377:32:1;;6357:18;;;6350:60;46473:22:0::1;::::0;::::1;::::0;6289:18:1;;46473:31:0::1;6112:304:1::0;1724:192:0;1472:6;;-1:-1:-1;;;;;1472:6:0;900:10;1534:23;1526:68;;;;-1:-1:-1;;;1526:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;1813:22:0;::::1;1805:73;;;::::0;-1:-1:-1;;;1805:73:0;;8368:2:1;1805:73:0::1;::::0;::::1;8350:21:1::0;8407:2;8387:18;;;8380:30;8446:34;8426:18;;;8419:62;-1:-1:-1;;;8497:18:1;;;8490:36;8543:19;;1805:73:0::1;8166:402:1::0;1805:73:0::1;1889:19;1899:8;1889:9;:19::i;:::-;1724:192:::0;:::o;44637:986::-;45019:38;;-1:-1:-1;;;45019:38:0;;:15;:38;;;6316:25:1;-1:-1:-1;;;;;6377:32:1;;6357:18;;;6350:60;44990:8:0;;44719:15;;;;;;;;;;;;45019:29;;;;6289:18:1;;45019:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45011:46;;45094:31;45117:7;45094:22;:31::i;:::-;45070:55;;45153:31;45176:7;45153:22;:31::i;:::-;-1:-1:-1;;;;;45213:23:0;;;;;;:14;:23;;;;;;45136:48;;-1:-1:-1;45213:23:0;-1:-1:-1;45265:17:0;:126;;45390:1;45265:126;;;45340:9;;45322:28;;:13;;:17;:28::i;:::-;45249:142;;45453:15;45437:13;:31;:178;;45614:1;45437:178;;;45524:34;:13;45542:15;45524:17;:34::i;:::-;45404:211;;44637:986;;;;;;;;;:::o;46528:1108::-;46640:15;:27;46574:7;;;;;;46680:25;;;46677:81;;-1:-1:-1;;46730:18:0;;46724:1;;-1:-1:-1;46724:1:0;;-1:-1:-1;46716:33:0;;46677:81;46797:18;;46767:27;;46872:9;46854:27;;46891:18;46921:14;46949:573;46965:3;46955:7;:13;:50;;;;;46985:20;46972:10;:33;46955:50;46949:573;;;47016:21;;;;:::i;:::-;47074:15;:27;47016:21;;-1:-1:-1;47051:50:0;;;-1:-1:-1;47048:98:0;;47135:1;47113:23;;47048:98;47156:15;47174;:20;;47195:19;47174:41;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;47174:41:0;;-1:-1:-1;47235:38:0;47174:41;;47235:14;:38::i;:::-;47232:86;;;47294:8;;;;:::i;:::-;;;;47232:86;47328:12;;;;:::i;:::-;;;;47351:18;47372:9;47351:30;;47405:10;47395:7;:20;47392:91;;;47437:36;47449:23;:7;47461:10;47449:11;:23::i;:::-;47437:7;;:11;:36::i;:::-;47427:46;;47392:91;47503:10;-1:-1:-1;46949:573:0;;-1:-1:-1;46949:573:0;;47531:18;:40;;;47589:10;;-1:-1:-1;47601:6:0;-1:-1:-1;47552:19:0;;-1:-1:-1;;;;46528:1108:0;;;;;;:::o;39562:471::-;39620:7;39865:1;39870;39865:6;39861:47;;-1:-1:-1;39895:1:0;39888:8;;39861:47;39920:9;39932:5;39936:1;39932;:5;:::i;:::-;39920:17;-1:-1:-1;39965:1:0;39956:5;39960:1;39920:17;39956:5;:::i;:::-;:10;39948:56;;;;-1:-1:-1;;;39948:56:0;;9408:2:1;39948:56:0;;;9390:21:1;9447:2;9427:18;;;9420:30;9486:34;9466:18;;;9459:62;-1:-1:-1;;;9537:18:1;;;9530:31;9578:19;;39948:56:0;9206:397:1;39948:56:0;40024:1;39562:471;-1:-1:-1;;;39562:471:0:o;38208:181::-;38266:7;;38298:5;38302:1;38298;:5;:::i;:::-;38286:17;;38327:1;38322;:6;;38314:46;;;;-1:-1:-1;;;38314:46:0;;9940:2:1;38314:46:0;;;9922:21:1;9979:2;9959:18;;;9952:30;10018:29;9998:18;;;9991:57;10065:18;;38314:46:0;9738:351:1;12361:380:0;-1:-1:-1;;;;;12497:19:0;;12489:68;;;;-1:-1:-1;;;12489:68:0;;10296:2:1;12489:68:0;;;10278:21:1;10335:2;10315:18;;;10308:30;10374:34;10354:18;;;10347:62;-1:-1:-1;;;10425:18:1;;;10418:34;10469:19;;12489:68:0;10094:400:1;12489:68:0;-1:-1:-1;;;;;12576:21:0;;12568:68;;;;-1:-1:-1;;;12568:68:0;;10701:2:1;12568:68:0;;;10683:21:1;10740:2;10720:18;;;10713:30;10779:34;10759:18;;;10752:62;-1:-1:-1;;;10830:18:1;;;10823:32;10872:19;;12568:68:0;10499:398:1;12568:68:0;-1:-1:-1;;;;;12649:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;12701:32;;1361:25:1;;;12701:32:0;;1334:18:1;12701:32:0;;;;;;;12361:380;;;:::o;43589:144::-;43669:56;;-1:-1:-1;;;43669:56:0;;11104:2:1;43669:56:0;;;11086:21:1;11143:2;11123:18;;;11116:30;11182:34;11162:18;;;11155:62;-1:-1:-1;;;11233:18:1;;;11226:36;11279:19;;43669:56:0;10902:402:1;43669:56:0;43589:144;;;:::o;39111:192::-;39197:7;39233:12;39225:6;;;;39217:29;;;;-1:-1:-1;;;39217:29:0;;;;;;;;:::i;:::-;-1:-1:-1;39257:9:0;39269:5;39273:1;39269;:5;:::i;:::-;39257:17;39111:192;-1:-1:-1;;;;;39111:192:0:o;4534:134::-;4590:6;4623:1;4640:6;;;;4632:15;;;;;4091:176;4147:6;;4177:5;4181:1;4177;:5;:::i;:::-;4166:16;;4207:1;4202;:6;;:16;;;;;4217:1;4212;:6;;4202:16;4201:38;;;;4228:1;4224;:5;:14;;;;;4237:1;4233;:5;4224:14;4193:47;;;;;4275:127;4331:7;4364:1;4359;:6;;4351:15;;;;;;-1:-1:-1;4392:1:0;4275:127::o;35850:451::-;-1:-1:-1;;;;;7356:18:0;;35928:22;7356:18;;;;;;;;;;;35988:27;;;35984:310;;;36032:18;36053:30;:10;36068:14;36053;:30::i;:::-;36032:51;;36098:26;36104:7;36113:10;36098:5;:26::i;:::-;36017:119;43589:144;;;:::o;35984:310::-;36159:14;36146:10;:27;36142:152;;;36190:18;36211:30;:14;36230:10;36211:18;:30::i;:::-;36190:51;;36256:26;36262:7;36271:10;36256:5;:26::i;1924:173::-;1999:6;;;-1:-1:-1;;;;;2016:17:0;;;-1:-1:-1;;;;;;2016:17:0;;;;;;;2049:40;;1999:6;;;2016:17;1999:6;;2049:40;;1980:16;;2049:40;1969:128;1924:173;:::o;38672:136::-;38730:7;38757:43;38761:1;38764;38757:43;;;;;;;;;;;;;;;;;:3;:43::i;31849:858::-;31957:7;31982:29;32014:28;32037:4;32014:22;:28::i;:::-;31982:60;-1:-1:-1;32057:25:0;;32053:626;;-1:-1:-1;;;;;32126:24:0;;;;;;:18;:24;;;;;;:83;;32173:21;32126:28;:83::i;:::-;-1:-1:-1;;;;;32099:24:0;;;;;;:18;:24;;;;;;;:110;;;;32229:46;;;;;;32253:21;1361:25:1;;1349:2;1334:18;;1215:177;32229:46:0;;;;;;;;32291:12;32309:4;-1:-1:-1;;;;;32309:9:0;32344:21;32389:4;32309:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32290:122;;;32434:7;32429:194;;-1:-1:-1;;;;;32489:24:0;;;;;;:18;:24;;;;;;:91;;32540:21;32489:28;:91::i;:::-;-1:-1:-1;;;;;32462:24:0;;;;;;;:18;:24;;;;;:118;;;;-1:-1:-1;32462:24:0;;31849:858;-1:-1:-1;;31849:858:0:o;32429:194::-;-1:-1:-1;32646:21:0;31849:858;-1:-1:-1;;31849:858:0:o;32053:626::-;-1:-1:-1;32698:1:0;;31849:858;-1:-1:-1;;31849:858:0:o;34989:284::-;35065:27;35077:7;35086:5;35065:11;:27::i;:::-;35145:120;35211:53;35212:36;35242:5;35212:25;;:29;;:36;;;;:::i;35211:53::-;-1:-1:-1;;;;;35145:61:0;;;;;;:28;:61;;;;;;;:65;:120::i;:::-;-1:-1:-1;;;;;35105:37:0;;;;;;;:28;:37;;;;;:160;;;;-1:-1:-1;34989:284:0:o;35558:::-;35634:27;35646:7;35655:5;35634:11;:27::i;:::-;35714:120;35780:53;35781:36;35811:5;35781:25;;:29;;:36;;;;:::i;35780:53::-;-1:-1:-1;;;;;35714:61:0;;;;;;:28;:61;;;;;;;:65;:120::i;10757:378::-;-1:-1:-1;;;;;10841:21:0;;10833:65;;;;-1:-1:-1;;;10833:65:0;;11865:2:1;10833:65:0;;;11847:21:1;11904:2;11884:18;;;11877:30;11943:33;11923:18;;;11916:61;11994:18;;10833:65:0;11663:355:1;10833:65:0;10988:12;;:24;;11005:6;10988:16;:24::i;:::-;10973:12;:39;-1:-1:-1;;;;;11044:18:0;;:9;:18;;;;;;;;;;;:30;;11067:6;11044:22;:30::i;:::-;-1:-1:-1;;;;;11023:18:0;;:9;:18;;;;;;;;;;;:51;;;;11090:37;;1361:25:1;;;11023:18:0;;:9;;11090:37;;1334:18:1;11090:37:0;;;;;;;;10757:378;;:::o;3827:176::-;3883:6;;3913:5;3917:1;3913;:5;:::i;:::-;3902:16;;3943:1;3938;:6;;:16;;;;;3953:1;3948;:6;;3938:16;3937:38;;;;3964:1;3960;:5;:14;;;;;3973:1;3969;:5;3929:47;;;;;11468:455;-1:-1:-1;;;;;11552:21:0;;11544:67;;;;-1:-1:-1;;;11544:67:0;;12430:2:1;11544:67:0;;;12412:21:1;12469:2;12449:18;;;12442:30;12508:34;12488:18;;;12481:62;-1:-1:-1;;;12559:18:1;;;12552:31;12600:19;;11544:67:0;12228:397:1;11544:67:0;11707:105;11744:6;11707:105;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11707:18:0;;:9;:18;;;;;;;;;;;;:105;:22;:105::i;:::-;-1:-1:-1;;;;;11686:18:0;;:9;:18;;;;;;;;;;:126;11838:12;;:24;;11855:6;11838:16;:24::i;:::-;11823:12;:39;11878:37;;1361:25:1;;;11904:1:0;;-1:-1:-1;;;;;11878:37:0;;;;;1349:2:1;1334:18;11878:37:0;1215:177:1;14:548;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:131::-;-1:-1:-1;;;;;642:31:1;;632:42;;622:70;;688:1;685;678:12;703:315;771:6;779;832:2;820:9;811:7;807:23;803:32;800:52;;;848:1;845;838:12;800:52;887:9;874:23;906:31;931:5;906:31;:::i;:::-;956:5;1008:2;993:18;;;;980:32;;-1:-1:-1;;;703:315:1:o;1397:247::-;1456:6;1509:2;1497:9;1488:7;1484:23;1480:32;1477:52;;;1525:1;1522;1515:12;1477:52;1564:9;1551:23;1583:31;1608:5;1583:31;:::i;1649:456::-;1726:6;1734;1742;1795:2;1783:9;1774:7;1770:23;1766:32;1763:52;;;1811:1;1808;1801:12;1763:52;1850:9;1837:23;1869:31;1894:5;1869:31;:::i;:::-;1919:5;-1:-1:-1;1976:2:1;1961:18;;1948:32;1989:33;1948:32;1989:33;:::i;:::-;1649:456;;2041:7;;-1:-1:-1;;;2095:2:1;2080:18;;;;2067:32;;1649:456::o;2299:180::-;2358:6;2411:2;2399:9;2390:7;2386:23;2382:32;2379:52;;;2427:1;2424;2417:12;2379:52;-1:-1:-1;2450:23:1;;2299:180;-1:-1:-1;2299:180:1:o;3328:424::-;3401:6;3409;3462:2;3450:9;3441:7;3437:23;3433:32;3430:52;;;3478:1;3475;3468:12;3430:52;3517:9;3504:23;3536:31;3561:5;3536:31;:::i;:::-;3586:5;-1:-1:-1;3643:2:1;3628:18;;3615:32;3685:15;;3678:23;3666:36;;3656:64;;3716:1;3713;3706:12;3656:64;3739:7;3729:17;;;3328:424;;;;;:::o;3757:388::-;3825:6;3833;3886:2;3874:9;3865:7;3861:23;3857:32;3854:52;;;3902:1;3899;3892:12;3854:52;3941:9;3928:23;3960:31;3985:5;3960:31;:::i;:::-;4010:5;-1:-1:-1;4067:2:1;4052:18;;4039:32;4080:33;4039:32;4080:33;:::i;4802:127::-;4863:10;4858:3;4854:20;4851:1;4844:31;4894:4;4891:1;4884:15;4918:4;4915:1;4908:15;4934:217;4974:1;5000;4990:132;;5044:10;5039:3;5035:20;5032:1;5025:31;5079:4;5076:1;5069:15;5107:4;5104:1;5097:15;4990:132;-1:-1:-1;5136:9:1;;4934:217::o;5156:356::-;5358:2;5340:21;;;5377:18;;;5370:30;5436:34;5431:2;5416:18;;5409:62;5503:2;5488:18;;5156:356::o;5727:380::-;5806:1;5802:12;;;;5849;;;5870:61;;5924:4;5916:6;5912:17;5902:27;;5870:61;5977:2;5969:6;5966:14;5946:18;5943:38;5940:161;;6023:10;6018:3;6014:20;6011:1;6004:31;6058:4;6055:1;6048:15;6086:4;6083:1;6076:15;5940:161;;5727:380;;;:::o;6704:251::-;6774:6;6827:2;6815:9;6806:7;6802:23;6798:32;6795:52;;;6843:1;6840;6833:12;6795:52;6875:9;6869:16;6894:31;6919:5;6894:31;:::i;8573:183::-;8642:6;8695:2;8683:9;8674:7;8670:23;8666:32;8663:52;;;8711:1;8708;8701:12;8663:52;-1:-1:-1;8734:16:1;;8573:183;-1:-1:-1;8573:183:1:o;8761:135::-;8800:3;8821:17;;;8818:43;;8841:18;;:::i;:::-;-1:-1:-1;8888:1:1;8877:13;;8761:135::o;8901:127::-;8962:10;8957:3;8953:20;8950:1;8943:31;8993:4;8990:1;8983:15;9017:4;9014:1;9007:15;9033:168;9106:9;;;9137;;9154:15;;;9148:22;;9134:37;9124:71;;9175:18;;:::i;9608:125::-;9673:9;;;9694:10;;;9691:36;;;9707:18;;:::i;11309:128::-;11376:9;;;11397:11;;;11394:37;;;11411:18;;:::i;11442:216::-;11506:9;;;11534:11;;;11481:3;11564:9;;11592:10;;11588:19;;11617:10;;11609:19;;11585:44;11582:70;;;11632:18;;:::i;:::-;11582:70;;11442:216;;;;:::o;12023:200::-;12089:9;;;12062:4;12117:9;;12145:10;;12157:12;;;12141:29;12180:12;;;12172:21;;12138:56;12135:82;;;12197:18;;:::i
Swarm Source
ipfs://7721c699b09ed27a7eba52a91608fb4ae9fbbeae089e3437bc2f4bf5a20aa40f
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.