Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 92 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw Dividen... | 16717749 | 653 days ago | IN | 0 ETH | 0.00053029 | ||||
Withdraw Dividen... | 16709837 | 654 days ago | IN | 0 ETH | 0.00098722 | ||||
Withdraw Dividen... | 16704012 | 655 days ago | IN | 0 ETH | 0.00149514 | ||||
Withdraw Dividen... | 16703882 | 655 days ago | IN | 0 ETH | 0.00065119 | ||||
Withdraw Dividen... | 16702786 | 655 days ago | IN | 0 ETH | 0.00114106 | ||||
Withdraw Dividen... | 16702744 | 655 days ago | IN | 0 ETH | 0.0006702 | ||||
Withdraw Dividen... | 16702570 | 655 days ago | IN | 0 ETH | 0.00127974 | ||||
Withdraw Dividen... | 16701851 | 655 days ago | IN | 0 ETH | 0.00131222 | ||||
Withdraw Dividen... | 16700298 | 656 days ago | IN | 0 ETH | 0.00089848 | ||||
Withdraw Dividen... | 16699919 | 656 days ago | IN | 0 ETH | 0.00155952 | ||||
Withdraw Dividen... | 16696614 | 656 days ago | IN | 0 ETH | 0.00084413 | ||||
Withdraw Dividen... | 16695174 | 656 days ago | IN | 0 ETH | 0.00176773 | ||||
Withdraw Dividen... | 16694990 | 656 days ago | IN | 0 ETH | 0.00148903 | ||||
Withdraw Dividen... | 16692797 | 657 days ago | IN | 0 ETH | 0.00261731 | ||||
Withdraw Dividen... | 16689193 | 657 days ago | IN | 0 ETH | 0.00132753 | ||||
Withdraw Dividen... | 16689191 | 657 days ago | IN | 0 ETH | 0.00189334 | ||||
Withdraw Dividen... | 16687131 | 657 days ago | IN | 0 ETH | 0.00174783 | ||||
Withdraw Dividen... | 16686942 | 658 days ago | IN | 0 ETH | 0.00191946 | ||||
Withdraw Dividen... | 16686649 | 658 days ago | IN | 0 ETH | 0.0018427 | ||||
Withdraw Dividen... | 16683786 | 658 days ago | IN | 0 ETH | 0.00073508 | ||||
Withdraw Dividen... | 16682449 | 658 days ago | IN | 0 ETH | 0.00076093 | ||||
Withdraw Dividen... | 16681450 | 658 days ago | IN | 0 ETH | 0.00125956 | ||||
Withdraw Dividen... | 16679625 | 659 days ago | IN | 0 ETH | 0.00129697 | ||||
Withdraw Dividen... | 16679332 | 659 days ago | IN | 0 ETH | 0.00103319 | ||||
Withdraw Dividen... | 16679323 | 659 days ago | IN | 0 ETH | 0.00106748 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16702729 | 655 days ago | 0.13068574 ETH | ||||
16702729 | 655 days ago | 0.13068574 ETH | ||||
16702534 | 655 days ago | 0.20061155 ETH | ||||
16702534 | 655 days ago | 0.20061155 ETH | ||||
16702527 | 655 days ago | 0.20061155 ETH | ||||
16702527 | 655 days ago | 0.20061155 ETH | ||||
16702473 | 655 days ago | 0.38913798 ETH | ||||
16702473 | 655 days ago | 0.38913798 ETH | ||||
16701371 | 655 days ago | 0.56249509 ETH | ||||
16701371 | 655 days ago | 0.56249509 ETH | ||||
16701287 | 655 days ago | 0.56249509 ETH | ||||
16701287 | 655 days ago | 0.56249509 ETH | ||||
16686515 | 658 days ago | 0.62822631 ETH | ||||
16686515 | 658 days ago | 0.62822631 ETH | ||||
16660022 | 661 days ago | 0.12702272 ETH | ||||
16660022 | 661 days ago | 0.12702272 ETH | ||||
16651770 | 662 days ago | 0.36168198 ETH | ||||
16651770 | 662 days ago | 0.36168198 ETH | ||||
16634606 | 665 days ago | 0.76455186 ETH | ||||
16634606 | 665 days ago | 0.76455186 ETH | ||||
16617338 | 667 days ago | 0.93548027 ETH | ||||
16617338 | 667 days ago | 0.93548027 ETH | ||||
16608492 | 669 days ago | 1.52621925 ETH | ||||
16608492 | 669 days ago | 1.52621925 ETH | ||||
16603957 | 669 days ago | 1.83542868 ETH |
Loading...
Loading
Contract Name:
DividendTracker
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-13 */ /** *Submitted for verification at Etherscan.io on 2023-02-10 */ /** /* BITCOIN FOREVER $BTCF IS A BITCOIN REWARDS TOKEN ON THE ERC20 BLOCKCHAIN GIVING HOLDERS PEGGED BTC REWARDS FOR LIFE Website: http://bitcoinforevereth.com TG: https://t.me/BTCforeverETH Twitter: https://twitter.com/BTCforevereth */ // SPDX-License-Identifier: MIT pragma solidity 0.8.13; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } 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"); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } function _createInitialSupply(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } 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); } } 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, address _rewardToken) 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, address _rewardToken) 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, address _rewardToken) 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, address _rewardToken) 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(address _rewardToken) 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 ); } 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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract DividendPayingToken is DividendPayingTokenInterface, DividendPayingTokenOptionalInterface, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; mapping(address => uint256) internal magnifiedDividendPerShare; address[] public rewardTokens; address public nextRewardToken; uint256 public rewardTokenCounter; IUniswapV2Router02 public immutable uniswapV2Router; // 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 => mapping(address => int256)) internal magnifiedDividendCorrections; mapping(address => mapping(address => uint256)) internal withdrawnDividends; mapping (address => uint256) public holderBalance; uint256 public totalBalance; mapping(address => uint256) public totalDividendsDistributed; constructor(){ IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // router 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D uniswapV2Router = _uniswapV2Router; // Mainnet rewardTokens.push(address(0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599)); // WBTC - 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 nextRewardToken = rewardTokens[0]; } /// @dev Distributes dividends whenever ether is paid to this contract. receive() external payable { distributeDividends(); } /// @notice Distributes ether to token holders as dividends. /// @dev It reverts if the total supply of tokens is 0. /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amount of ether not distributed, /// the magnified amount of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amount of undistributed ether /// (de-magnified) in a distribution can be less than 1 wei. /// We can actually keep track of the undistributed ether in a distribution /// and try to distribute it in the next distribution, /// but keeping track of such data on-chain costs much more than /// the saved ether, so we don't do that. function distributeDividends() public override payable { require(totalBalance > 0); uint256 initialBalance = IERC20(nextRewardToken).balanceOf(address(this)); buyTokens(msg.value, nextRewardToken); uint256 newBalance = IERC20(nextRewardToken).balanceOf(address(this)).sub(initialBalance); if (newBalance > 0) { magnifiedDividendPerShare[nextRewardToken] = magnifiedDividendPerShare[nextRewardToken].add( (newBalance).mul(magnitude) / totalBalance ); emit DividendsDistributed(msg.sender, newBalance); totalDividendsDistributed[nextRewardToken] = totalDividendsDistributed[nextRewardToken].add(newBalance); } rewardTokenCounter = rewardTokenCounter == rewardTokens.length - 1 ? 0 : rewardTokenCounter + 1; nextRewardToken = rewardTokens[rewardTokenCounter]; } // useful for buybacks or to reclaim any BNB on the contract in a way that helps holders. function buyTokens(uint256 bnbAmountInWei, address rewardToken) internal { // generate the uniswap pair path of weth -> eth address[] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = rewardToken; // make the swap uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmountInWei}( 0, // accept any amount of Ethereum path, address(this), block.timestamp ); } /// @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(address _rewardToken) external virtual override { _withdrawDividendOfUser(payable(msg.sender), _rewardToken); } /// @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, address _rewardToken) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user, _rewardToken); if (_withdrawableDividend > 0) { withdrawnDividends[user][_rewardToken] = withdrawnDividends[user][_rewardToken].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); IERC20(_rewardToken).transfer(user, _withdrawableDividend); 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, address _rewardToken) external view override returns(uint256) { return withdrawableDividendOf(_owner, _rewardToken); } /// @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, address _rewardToken) public view override returns(uint256) { return accumulativeDividendOf(_owner,_rewardToken).sub(withdrawnDividends[_owner][_rewardToken]); } /// @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, address _rewardToken) external view override returns(uint256) { return withdrawnDividends[_owner][_rewardToken]; } /// @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, address _rewardToken) public view override returns(uint256) { return magnifiedDividendPerShare[_rewardToken].mul(holderBalance[_owner]).toInt256Safe() .add(magnifiedDividendCorrections[_rewardToken][_owner]).toUint256Safe() / magnitude; } /// @dev Internal function that increases 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 _increase(address account, uint256 value) internal { for (uint256 i; i < rewardTokens.length; i++){ magnifiedDividendCorrections[rewardTokens[i]][account] = magnifiedDividendCorrections[rewardTokens[i]][account] .sub((magnifiedDividendPerShare[rewardTokens[i]].mul(value)).toInt256Safe()); } } /// @dev Internal function that reduces 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 _reduce(address account, uint256 value) internal { for (uint256 i; i < rewardTokens.length; i++){ magnifiedDividendCorrections[rewardTokens[i]][account] = magnifiedDividendCorrections[rewardTokens[i]][account] .add( (magnifiedDividendPerShare[rewardTokens[i]].mul(value)).toInt256Safe() ); } } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = holderBalance[account]; holderBalance[account] = newBalance; if(newBalance > currentBalance) { uint256 increaseAmount = newBalance.sub(currentBalance); _increase(account, increaseAmount); totalBalance += increaseAmount; } else if(newBalance < currentBalance) { uint256 reduceAmount = currentBalance.sub(newBalance); _reduce(account, reduceAmount); totalBalance -= reduceAmount; } } } contract DividendTracker is DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(address key) private view returns (uint) { return tokenHoldersMap.values[key]; } function getIndexOfKey(address key) private view returns (int) { if(!tokenHoldersMap.inserted[key]) { return -1; } return int(tokenHoldersMap.indexOf[key]); } function getKeyAtIndex(uint index) private view returns (address) { return tokenHoldersMap.keys[index]; } function size() private view returns (uint) { return tokenHoldersMap.keys.length; } function set(address key, uint val) private { if (tokenHoldersMap.inserted[key]) { tokenHoldersMap.values[key] = val; } else { tokenHoldersMap.inserted[key] = true; tokenHoldersMap.values[key] = val; tokenHoldersMap.indexOf[key] = tokenHoldersMap.keys.length; tokenHoldersMap.keys.push(key); } } function remove(address key) private { if (!tokenHoldersMap.inserted[key]) { return; } delete tokenHoldersMap.inserted[key]; delete tokenHoldersMap.values[key]; uint index = tokenHoldersMap.indexOf[key]; uint lastIndex = tokenHoldersMap.keys.length - 1; address lastKey = tokenHoldersMap.keys[lastIndex]; tokenHoldersMap.indexOf[lastKey] = index; delete tokenHoldersMap.indexOf[key]; tokenHoldersMap.keys[index] = lastKey; tokenHoldersMap.keys.pop(); } Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public immutable minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event IncludeInDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() { claimWait = 1200; minimumTokenBalanceForDividends = 1000 * (10**18); } function excludeFromDividends(address account) external onlyOwner { excludedFromDividends[account] = true; _setBalance(account, 0); remove(account); emit ExcludeFromDividends(account); } function includeInDividends(address account) external onlyOwner { require(excludedFromDividends[account]); excludedFromDividends[account] = false; emit IncludeInDividends(account); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 1200 && newClaimWait <= 86400, "Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"); require(newClaimWait != claimWait, "Dividend_Tracker: Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function getAccount(address _account, address _rewardToken) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = getIndexOfKey(account); iterationsUntilProcessed = -1; if(index >= 0) { if(uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account, _rewardToken); totalDividends = accumulativeDividendOf(account, _rewardToken); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index, address _rewardToken) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { if(index >= size()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0); } address account = getKeyAtIndex(index); return getAccount(account, _rewardToken); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if(lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); set(account, newBalance); } else { _setBalance(account, 0); remove(account); } processAccount(account, true); } function process(uint256 gas) external returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if(numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while(gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if(_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if(canAutoClaim(lastClaimTimes[account])) { if(processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if(gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount; bool paid; for (uint256 i; i < rewardTokens.length; i++){ amount = _withdrawDividendOfUser(account, rewardTokens[i]); if(amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); paid = true; } } return paid; } } contract BITCOINFOREVER is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool private swapping; DividendTracker public dividendTracker; address public operationsWallet; uint256 public swapTokensAtAmount; uint256 public maxTxn; uint256 public liquidityActiveBlock = 0; // 0 means liquidity is not active yet uint256 public tradingActiveBlock = 0; // 0 means trading is not active uint256 public earlyBuyPenaltyEnd; // determines when snipers/bots can sell without extra penalty bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch bool public transferDelayEnabled = true; uint256 public constant feeDivisor = 1000; uint256 public totalSellFees; uint256 public rewardsSellFee; uint256 public operationsSellFee; uint256 public liquiditySellFee; uint256 public totalBuyFees; uint256 public rewardsBuyFee; uint256 public operationsBuyFee; uint256 public liquidityBuyFee; uint256 public tokensForRewards; uint256 public tokensForOperations; uint256 public tokensForLiquidity; uint256 public gasForProcessing = 0; uint256 public lpWithdrawRequestTimestamp; uint256 public lpWithdrawRequestDuration = 3 days; bool public lpWithdrawRequestPending; uint256 public lpPercToWithDraw; /******************/ // exlcude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; mapping (address => bool) public _isExcludedMaxTransactionAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event ExcludedMaxTransactionAmount(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event OperationsWalletUpdated(address indexed newWallet, address indexed oldWallet); event DevWalletUpdated(address indexed newWallet, address indexed oldWallet); event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SendDividends( uint256 tokensSwapped, uint256 amount ); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); event RequestedLPWithdraw(); event WithdrewLPForMigration(); event CanceledLpWithdrawRequest(); constructor() ERC20("BITCOINFOREVER", "BTCF") { uint256 totalSupply = 100 * 1e6 * 1e18; swapTokensAtAmount = totalSupply * 2 / 100; // 1% swap tokens amount maxTxn = totalSupply * 2 / 100; // 2% Max wallet rewardsBuyFee = 10; operationsBuyFee = 230; liquidityBuyFee = 10; totalBuyFees = rewardsBuyFee + operationsBuyFee + liquidityBuyFee; rewardsSellFee = 10; operationsSellFee = 230; liquiditySellFee = 10; totalSellFees = rewardsSellFee + operationsSellFee + liquiditySellFee; dividendTracker = new DividendTracker(); operationsWallet = address(msg.sender); // set as operations wallet IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);//0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D // Create a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(owner()); dividendTracker.excludeFromDividends(address(_uniswapV2Router)); dividendTracker.excludeFromDividends(address(0xdead)); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(dividendTracker), true); excludeFromMaxTransaction(address(_uniswapV2Router), true); excludeFromMaxTransaction(address(0xdead), true); _createInitialSupply(address(owner()), totalSupply); } receive() external payable { } // only use if conducting a presale function addPresaleAddressForExclusions(address _presaleAddress) external onlyOwner { excludeFromFees(_presaleAddress, true); dividendTracker.excludeFromDividends(_presaleAddress); excludeFromMaxTransaction(_presaleAddress, true); } // disable Transfer delay - cannot be reenabled function disableTransferDelay() external onlyOwner returns (bool){ transferDelayEnabled = false; return true; } // excludes wallets and contracts from dividends (such as CEX hotwallets, etc.) function excludeFromDividends(address account) external onlyOwner { dividendTracker.excludeFromDividends(account); } // removes exclusion on wallets and contracts from dividends (such as CEX hotwallets, etc.) function includeInDividends(address account) external onlyOwner { dividendTracker.includeInDividends(account); } // once enabled, can never be turned off function enableTrading() external onlyOwner { require(!tradingActive, "Cannot re-enable trading"); tradingActive = true; swapEnabled = true; tradingActiveBlock = block.number; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner(){ swapEnabled = enabled; } function updateMaxWalletAmount(uint256 newNum) external { require(_msgSender() == operationsWallet); require(newNum > (totalSupply() * 1 / 100)/1e18, "Cannot set maxTxn lower than 1%"); maxTxn = newNum * (10**18); } function updateBuyFees(uint256 _operationsFee, uint256 _rewardsFee, uint256 _liquidityFee) external onlyOwner { operationsBuyFee = _operationsFee; rewardsBuyFee = _rewardsFee; liquidityBuyFee = _liquidityFee; totalBuyFees = operationsBuyFee + rewardsBuyFee + liquidityBuyFee; require(totalBuyFees <= 250, "Must keep fees at 25% or less"); } function updateSellFees(uint256 _operationsFee, uint256 _rewardsFee, uint256 _liquidityFee) external onlyOwner { operationsSellFee = _operationsFee; rewardsSellFee = _rewardsFee; liquiditySellFee = _liquidityFee; totalSellFees = operationsSellFee + rewardsSellFee + liquiditySellFee; require(totalSellFees <= 250, "Must keep fees at 25% or less"); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; emit ExcludedMaxTransactionAmount(updAds, isEx); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) external onlyOwner { for(uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require(pair != uniswapV2Pair, "The PancakeSwap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; excludeFromMaxTransaction(pair, value); if(value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function updateOperationsWallet(address newOperationsWallet) external { require(_msgSender() == operationsWallet); require(newOperationsWallet != address(0), "may not set to 0 address"); excludeFromFees(newOperationsWallet, true); emit OperationsWalletUpdated(newOperationsWallet, operationsWallet); operationsWallet = newOperationsWallet; } function updateGasForProcessing(uint256 newValue) external onlyOwner { require(newValue >= 200000 && newValue <= 500000, " gasForProcessing must be between 200,000 and 500,000"); require(newValue != gasForProcessing, "Cannot update gasForProcessing to same value"); emit GasForProcessingUpdated(newValue, gasForProcessing); gasForProcessing = newValue; } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function getClaimWait() external view returns(uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed(address rewardToken) external view returns (uint256) { return dividendTracker.totalDividendsDistributed(rewardToken); } function isExcludedFromFees(address account) external view returns(bool) { return _isExcludedFromFees[account]; } function withdrawableDividendOf(address account, address rewardToken) external view returns(uint256) { return dividendTracker.withdrawableDividendOf(account, rewardToken); } function dividendTokenBalanceOf(address account) external view returns (uint256) { return dividendTracker.holderBalance(account); } function getAccountDividendsInfo(address account, address rewardToken) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account, rewardToken); } function getAccountDividendsInfoAtIndex(uint256 index, address rewardToken) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccountAtIndex(index, rewardToken); } function processDividendTracker(uint256 gas) external { (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas); emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin); } function claim() external { dividendTracker.processAccount(payable(msg.sender), false); } function getLastProcessedIndex() external view returns(uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } function getNumberOfDividends() external view returns(uint256) { return dividendTracker.totalBalance(); } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool){ limitsInEffect = false; transferDelayEnabled = false; return true; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if(amount == 0) { super._transfer(from, to, 0); return; } if(!tradingActive){ require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active yet."); } if(limitsInEffect){ if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ){ // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled){ if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)){ require(_holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed."); _holderLastTransferTimestamp[tx.origin] = block.number; } } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount + balanceOf(to) <= maxTxn, "Unable to exceed Max Wallet"); } //when sell else if(!_isExcludedMaxTransactionAmount[to]) { require(amount + balanceOf(to) <= maxTxn, "Unable to exceed Max Wallet"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // no taxes on transfers (non buys/sells) if(takeFee){ if(tradingActiveBlock + 1 >= block.number && (automatedMarketMakerPairs[to] || automatedMarketMakerPairs[from])){ fees = amount.mul(99).div(100); tokensForLiquidity += fees * 33 / 99; tokensForRewards += fees * 33 / 99; tokensForOperations += fees * 33 / 99; } // on sell else if (automatedMarketMakerPairs[to] && totalSellFees > 0){ fees = amount.mul(totalSellFees).div(feeDivisor); tokensForRewards += fees * rewardsSellFee / totalSellFees; tokensForLiquidity += fees * liquiditySellFee / totalSellFees; tokensForOperations += fees * operationsSellFee / totalSellFees; } // on buy else if(automatedMarketMakerPairs[from] && totalBuyFees > 0) { fees = amount.mul(totalBuyFees).div(feeDivisor); tokensForRewards += fees * rewardsBuyFee / totalBuyFees; tokensForLiquidity += fees * liquidityBuyFee / totalBuyFees; tokensForOperations += fees * operationsBuyFee / totalBuyFees; } if(fees > 0){ super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); dividendTracker.setBalance(payable(from), balanceOf(from)); dividendTracker.setBalance(payable(to), balanceOf(to)); if(!swapping && gasForProcessing > 0) { uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); } catch {} } } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(operationsWallet), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForOperations + tokensForRewards; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} // Halve the amount of liquidity tokens uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForOperations = ethBalance.mul(tokensForOperations).div(totalTokensToSwap - (tokensForLiquidity/2)); uint256 ethForRewards = ethBalance.mul(tokensForRewards).div(totalTokensToSwap - (tokensForLiquidity/2)); uint256 ethForLiquidity = ethBalance - ethForOperations - ethForRewards; tokensForLiquidity = 0; tokensForOperations = 0; tokensForRewards = 0; if(liquidityTokens > 0 && ethForLiquidity > 0){ addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity); } // call twice to force buy of both reward tokens. (bool success,) = address(dividendTracker).call{value: ethForRewards}(""); (success,) = address(operationsWallet).call{value: address(this).balance}(""); } function withdrawStuckEth() external onlyOwner { (bool success,) = address(msg.sender).call{value: address(this).balance}(""); require(success, "failed to withdraw"); } function requestToWithdrawLP(uint256 percToWithdraw) external onlyOwner { require(!lpWithdrawRequestPending, "Cannot request again until first request is over."); require(percToWithdraw <= 100 && percToWithdraw > 0, "Need to set between 1-100%"); lpWithdrawRequestTimestamp = block.timestamp; lpWithdrawRequestPending = true; lpPercToWithDraw = percToWithdraw; emit RequestedLPWithdraw(); } function nextAvailableLpWithdrawDate() public view returns (uint256){ if(lpWithdrawRequestPending){ return lpWithdrawRequestTimestamp + lpWithdrawRequestDuration; } else { return 0; // 0 means no open requests } } function withdrawRequestedLP() external onlyOwner { require(block.timestamp >= nextAvailableLpWithdrawDate() && nextAvailableLpWithdrawDate() > 0, "Must request and wait."); lpWithdrawRequestTimestamp = 0; lpWithdrawRequestPending = false; uint256 amtToWithdraw = IERC20(address(uniswapV2Pair)).balanceOf(address(this)) * lpPercToWithDraw / 100; lpPercToWithDraw = 0; IERC20(uniswapV2Pair).transfer(msg.sender, amtToWithdraw); } function cancelLPWithdrawRequest() external onlyOwner { lpWithdrawRequestPending = false; lpPercToWithDraw = 0; lpWithdrawRequestTimestamp = 0; emit CanceledLpWithdrawRequest(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"account","type":"address"}],"name":"IncludeInDividends","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"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"}],"name":"accumulativeDividendOf","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":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardToken","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"},{"internalType":"address","name":"_rewardToken","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"_rewardToken","type":"address"}],"name":"getAccountAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextRewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"bool","name":"automatic","type":"bool"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardTokenCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"totalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardToken","type":"address"}],"name":"withdrawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526002805460018101825560008281527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90910180546001600160a01b031916732260fac5e5542a773aa44fbcfedf7c193bc2c59917905581546100d1576100d1610115565b600091825260209091200154600380546001600160a01b0319166001600160a01b03909216919091179055506104b0601155683635c9adc5dea0000060a05261012b565b634e487b7160e01b600052603260045260246000fd5b60805160a051611f90610165600039600081816104d10152610d3901526000818161022e0152818161121901526113050152611f906000f3fe6080604052600436106101dc5760003560e01c80639c53c0ca11610102578063e30443bc11610095578063e98030c711610064578063e98030c7146105ee578063f2fde38b1461060e578063fd5908471461062e578063ffb2c4791461064e57600080fd5b8063e30443bc14610553578063e6f083f414610573578063e7841ec0146105b9578063e7f4d2c3146105ce57600080fd5b8063be10b614116100d1578063be10b614146104bf578063c0f306ef146104f3578063cb83bcd614610513578063cc5489df1461053357600080fd5b80639c53c0ca1461043c578063ab6ddfa81461045c578063ad7a672f14610489578063bc4c4b371461049f57600080fd5b80634d6e5e021161017a5780637bb7bed1116101495780637bb7bed1146103835780638c503bf5146103a35780638da5cb5b1461040857806393fcfe611461042657600080fd5b80634d6e5e02146102eb5780634e7b827f146103185780636f2789ec14610358578063715018a61461036e57600080fd5b8063204f11a8116101b6578063204f11a814610268578063226cfa3d146102885780633009a609146102b557806331e79db0146102cb57600080fd5b806303c83302146101f057806309bbedde146101f85780631694505e1461021c57600080fd5b366101eb576101e9610689565b005b600080fd5b6101e9610689565b34801561020457600080fd5b50600a545b6040519081526020015b60405180910390f35b34801561022857600080fd5b506102507f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610213565b34801561027457600080fd5b50610209610283366004611bcc565b6108eb565b34801561029457600080fd5b506102096102a3366004611c05565b60106020526000908152604090205481565b3480156102c157600080fd5b50610209600e5481565b3480156102d757600080fd5b506101e96102e6366004611c05565b61092a565b3480156102f757600080fd5b50610209610306366004611c05565b60096020526000908152604090205481565b34801561032457600080fd5b50610348610333366004611c05565b600f6020526000908152604090205460ff1681565b6040519015158152602001610213565b34801561036457600080fd5b5061020960115481565b34801561037a57600080fd5b506101e96109cb565b34801561038f57600080fd5b5061025061039e366004611c22565b610a3f565b3480156103af57600080fd5b506103c36103be366004611c3b565b610a69565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610213565b34801561041457600080fd5b506000546001600160a01b0316610250565b34801561043257600080fd5b5061020960045481565b34801561044857600080fd5b506101e9610457366004611c05565b610ad9565b34801561046857600080fd5b50610209610477366004611c05565b60076020526000908152604090205481565b34801561049557600080fd5b5061020960085481565b3480156104ab57600080fd5b506103486104ba366004611c6e565b610ae7565b3480156104cb57600080fd5b506102097f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ff57600080fd5b506101e961050e366004611c05565b610bd5565b34801561051f57600080fd5b5061020961052e366004611bcc565b610c6d565b34801561053f57600080fd5b5061020961054e366004611bcc565b610c79565b34801561055f57600080fd5b506101e961056e366004611c9c565b610ced565b34801561057f57600080fd5b5061020961058e366004611bcc565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156105c557600080fd5b50600e54610209565b3480156105da57600080fd5b50600354610250906001600160a01b031681565b3480156105fa57600080fd5b506101e9610609366004611c22565b610d9b565b34801561061a57600080fd5b506101e9610629366004611c05565b610f04565b34801561063a57600080fd5b506103c3610649366004611bcc565b610fee565b34801561065a57600080fd5b5061066e610669366004611c22565b6110d9565b60408051938452602084019290925290820152606001610213565b60006008541161069857600080fd5b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156106e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107059190611cc8565b60035490915061071f9034906001600160a01b03166111f6565b6003546040516370a0823160e01b81523060048201526000916107989184916001600160a01b0316906370a0823190602401602060405180830381865afa15801561076e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107929190611cc8565b9061137c565b90508015610874576008546107e0906107b583600160801b6113be565b6107bf9190611cf7565b6003546001600160a01b031660009081526001602052604090205490611440565b6003546001600160a01b0316600090815260016020908152604091829020929092555182815233917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511910160405180910390a26003546001600160a01b03166000908152600960205260409020546108589082611440565b6003546001600160a01b03166000908152600960205260409020555b60025461088390600190611d19565b6004541461089e57600454610899906001611d30565b6108a1565b60005b6004819055506002600454815481106108bc576108bc611d48565b600091825260209091200154600380546001600160a01b0319166001600160a01b039092169190911790555050565b6001600160a01b038083166000908152600660209081526040808320938516835292905290812054610921906107928585610c79565b90505b92915050565b6000546001600160a01b0316331461095d5760405162461bcd60e51b815260040161095490611d5e565b60405180910390fd5b6001600160a01b0381166000908152600f60205260408120805460ff1916600117905561098b90829061149f565b61099481611538565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b6000546001600160a01b031633146109f55760405162461bcd60e51b815260040161095490611d5e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60028181548110610a4f57600080fd5b6000918252602090912001546001600160a01b0316905081565b600080600080600080600080610a7e600a5490565b8a10610aa3575060009650600019955085945086935083925082915081905080610acc565b6000610aae8b61166b565b9050610aba818b610fee565b98509850985098509850985098509850505b9295985092959890939650565b610ae3338261169e565b5050565b600080546001600160a01b03163314610b125760405162461bcd60e51b815260040161095490611d5e565b60008060005b600254811015610bcc57610b538660028381548110610b3957610b39611d48565b6000918252602090912001546001600160a01b031661169e565b92508215610bba576001600160a01b038616600081815260106020526040908190204290555186151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610bad9087815260200190565b60405180910390a3600191505b80610bc481611d93565b915050610b18565b50949350505050565b6000546001600160a01b03163314610bff5760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b0381166000908152600f602052604090205460ff16610c2457600080fd5b6001600160a01b0381166000818152600f6020526040808220805460ff19169055517f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329190a250565b600061092183836108eb565b6001600160a01b03808216600081815260056020908152604080832094871683529381528382205460078252848320549383526001909152928120549092600160801b92610ce392610cde9291610cd891610cd3916113be565b6117cb565b906117db565b611819565b6109219190611cf7565b6000546001600160a01b03163314610d175760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b0382166000908152600f602052604090205460ff16610ae3577f00000000000000000000000000000000000000000000000000000000000000008110610d7757610d68828261149f565b610d72828261182c565b610d8b565b610d8282600061149f565b610d8b82611538565b610d96826001610ae7565b505050565b6000546001600160a01b03163314610dc55760405162461bcd60e51b815260040161095490611d5e565b6104b08110158015610dda5750620151808111155b610e5a5760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a401610954565b6011548103610ed15760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c75650000000000000000006064820152608401610954565b60115460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601155565b6000546001600160a01b03163314610f2e5760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b038116610f935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610954565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b816000808080808080611000886118ea565b965060001995506000871261106257600e5487111561102e57600e5461102790889061192f565b9550611062565b600e54600a5460009110611043576000611052565b600e54600a546110529161137c565b905061105e88826117db565b9650505b61106c888a6108eb565b9450611078888a610c79565b6001600160a01b0389166000908152601060205260409020549094509250826110a25760006110b0565b6011546110b0908490611440565b91504282116110c05760006110ca565b6110ca824261137c565b90509295985092959890939650565b600a54600090819081908082036110fb575050600e54600092508291506111ef565b600e546000805a90506000805b898410801561111657508582105b156111de578461112581611d93565b600a549096508610905061113857600094505b6000600a600001868154811061115057611150611d48565b60009182526020808320909101546001600160a01b031680835260109091526040909120549091506111819061196c565b156111a457611191816001610ae7565b156111a457816111a081611d93565b9250505b826111ae81611d93565b93505060005a9050808511156111d5576111d26111cb868361137c565b8790611440565b95505b93506111089050565b600e85905590975095509193505050505b9193909250565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611275573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112999190611dac565b816000815181106112ac576112ac611d48565b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106112e0576112e0611d48565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063b6f9de9590859061134590600090869030904290600401611dc9565b6000604051808303818588803b15801561135e57600080fd5b505af1158015611372573d6000803e3d6000fd5b5050505050505050565b600061092183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611993565b6000826000036113d057506000610924565b60006113dc8385611e33565b9050826113e98583611cf7565b146109215760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610954565b60008061144d8385611d30565b9050838110156109215760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610954565b6001600160a01b0382166000908152600760205260409020805490829055808211156114fb5760006114d1838361137c565b90506114dd84826119cd565b80600860008282546114ef9190611d30565b90915550610d96915050565b80821015610d9657600061150f828461137c565b905061151b8482611ad6565b806008600082825461152d9190611d19565b909155505050505050565b6001600160a01b0381166000908152600d602052604090205460ff1661155b5750565b6001600160a01b0381166000908152600d60209081526040808320805460ff19169055600b8252808320839055600c909152812054600a549091906115a290600190611d19565b90506000600a60000182815481106115bc576115bc611d48565b60009182526020808320909101546001600160a01b03908116808452600c90925260408084208790559087168352822091909155600a805491925082918590811061160957611609611d48565b600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055600a80548061164357611643611e52565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b6000600a600001828154811061168357611683611d48565b6000918252602090912001546001600160a01b031692915050565b6000806116ab84846108eb565b905080156117c1576001600160a01b038085166000908152600660209081526040808320938716835292905220546116e39082611440565b6001600160a01b038086166000818152600660209081526040808320948916835293905282902092909255517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061173e9084815260200190565b60405180910390a260405163a9059cbb60e01b81526001600160a01b0385811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015611795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b99190611e68565b509050610924565b5060009392505050565b6000818181121561092457600080fd5b6000806117e88385611e85565b9050600083121580156117fb5750838112155b80611810575060008312801561181057508381125b61092157600080fd5b60008082121561182857600080fd5b5090565b6001600160a01b0382166000908152600d602052604090205460ff161561186a576001600160a01b03919091166000908152600b6020526040902055565b6001600160a01b0382166000818152600d60209081526040808320805460ff19166001908117909155600b8352818420869055600a8054600c909452918420839055820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555050565b6001600160a01b0381166000908152600d602052604081205460ff166119135750600019919050565b506001600160a01b03166000908152600c602052604090205490565b60008061193c8385611ec6565b90506000831215801561194f5750838113155b806118105750600083128015611810575083811361092157600080fd5b60004282111561197e57506000919050565b60115461198b428461137c565b101592915050565b600081848411156119b75760405162461bcd60e51b81526004016109549190611f05565b5060006119c48486611d19565b95945050505050565b60005b600254811015610d9657611a78611a26610cd38460016000600287815481106119fb576119fb611d48565b60009182526020808320909101546001600160a01b03168352820192909252604001902054906113be565b6005600060028581548110611a3d57611a3d611d48565b60009182526020808320909101546001600160a01b03908116845283820194909452604092830182209389168252929092529020549061192f565b6005600060028481548110611a8f57611a8f611d48565b60009182526020808320909101546001600160a01b039081168452838201949094526040928301822093881682529290925290205580611ace81611d93565b9150506119d0565b60005b600254811015610d9657611b56611b04610cd38460016000600287815481106119fb576119fb611d48565b6005600060028581548110611b1b57611b1b611d48565b60009182526020808320909101546001600160a01b0390811684528382019490945260409283018220938916825292909252902054906117db565b6005600060028481548110611b6d57611b6d611d48565b60009182526020808320909101546001600160a01b039081168452838201949094526040928301822093881682529290925290205580611bac81611d93565b915050611ad9565b6001600160a01b0381168114611bc957600080fd5b50565b60008060408385031215611bdf57600080fd5b8235611bea81611bb4565b91506020830135611bfa81611bb4565b809150509250929050565b600060208284031215611c1757600080fd5b813561092181611bb4565b600060208284031215611c3457600080fd5b5035919050565b60008060408385031215611c4e57600080fd5b823591506020830135611bfa81611bb4565b8015158114611bc957600080fd5b60008060408385031215611c8157600080fd5b8235611c8c81611bb4565b91506020830135611bfa81611c60565b60008060408385031215611caf57600080fd5b8235611cba81611bb4565b946020939093013593505050565b600060208284031215611cda57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082611d1457634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611d2b57611d2b611ce1565b500390565b60008219821115611d4357611d43611ce1565b500190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060018201611da557611da5611ce1565b5060010190565b600060208284031215611dbe57600080fd5b815161092181611bb4565b600060808201868352602060808185015281875180845260a086019150828901935060005b81811015611e135784516001600160a01b031683529383019391830191600101611dee565b50506001600160a01b039690961660408501525050506060015292915050565b6000816000190483118215151615611e4d57611e4d611ce1565b500290565b634e487b7160e01b600052603160045260246000fd5b600060208284031215611e7a57600080fd5b815161092181611c60565b600080821280156001600160ff1b0384900385131615611ea757611ea7611ce1565b600160ff1b8390038412811615611ec057611ec0611ce1565b50500190565b60008083128015600160ff1b850184121615611ee457611ee4611ce1565b6001600160ff1b0384018313811615611eff57611eff611ce1565b50500390565b600060208083528351808285015260005b81811015611f3257858101830151858201604001528201611f16565b81811115611f44576000604083870101525b50601f01601f191692909201604001939250505056fea2646970667358221220c586c80bcde7ca05ff23c2368f933e8094ef2c689652bc2a453c0498a6afeafa64736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c80639c53c0ca11610102578063e30443bc11610095578063e98030c711610064578063e98030c7146105ee578063f2fde38b1461060e578063fd5908471461062e578063ffb2c4791461064e57600080fd5b8063e30443bc14610553578063e6f083f414610573578063e7841ec0146105b9578063e7f4d2c3146105ce57600080fd5b8063be10b614116100d1578063be10b614146104bf578063c0f306ef146104f3578063cb83bcd614610513578063cc5489df1461053357600080fd5b80639c53c0ca1461043c578063ab6ddfa81461045c578063ad7a672f14610489578063bc4c4b371461049f57600080fd5b80634d6e5e021161017a5780637bb7bed1116101495780637bb7bed1146103835780638c503bf5146103a35780638da5cb5b1461040857806393fcfe611461042657600080fd5b80634d6e5e02146102eb5780634e7b827f146103185780636f2789ec14610358578063715018a61461036e57600080fd5b8063204f11a8116101b6578063204f11a814610268578063226cfa3d146102885780633009a609146102b557806331e79db0146102cb57600080fd5b806303c83302146101f057806309bbedde146101f85780631694505e1461021c57600080fd5b366101eb576101e9610689565b005b600080fd5b6101e9610689565b34801561020457600080fd5b50600a545b6040519081526020015b60405180910390f35b34801561022857600080fd5b506102507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610213565b34801561027457600080fd5b50610209610283366004611bcc565b6108eb565b34801561029457600080fd5b506102096102a3366004611c05565b60106020526000908152604090205481565b3480156102c157600080fd5b50610209600e5481565b3480156102d757600080fd5b506101e96102e6366004611c05565b61092a565b3480156102f757600080fd5b50610209610306366004611c05565b60096020526000908152604090205481565b34801561032457600080fd5b50610348610333366004611c05565b600f6020526000908152604090205460ff1681565b6040519015158152602001610213565b34801561036457600080fd5b5061020960115481565b34801561037a57600080fd5b506101e96109cb565b34801561038f57600080fd5b5061025061039e366004611c22565b610a3f565b3480156103af57600080fd5b506103c36103be366004611c3b565b610a69565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610213565b34801561041457600080fd5b506000546001600160a01b0316610250565b34801561043257600080fd5b5061020960045481565b34801561044857600080fd5b506101e9610457366004611c05565b610ad9565b34801561046857600080fd5b50610209610477366004611c05565b60076020526000908152604090205481565b34801561049557600080fd5b5061020960085481565b3480156104ab57600080fd5b506103486104ba366004611c6e565b610ae7565b3480156104cb57600080fd5b506102097f00000000000000000000000000000000000000000000003635c9adc5dea0000081565b3480156104ff57600080fd5b506101e961050e366004611c05565b610bd5565b34801561051f57600080fd5b5061020961052e366004611bcc565b610c6d565b34801561053f57600080fd5b5061020961054e366004611bcc565b610c79565b34801561055f57600080fd5b506101e961056e366004611c9c565b610ced565b34801561057f57600080fd5b5061020961058e366004611bcc565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156105c557600080fd5b50600e54610209565b3480156105da57600080fd5b50600354610250906001600160a01b031681565b3480156105fa57600080fd5b506101e9610609366004611c22565b610d9b565b34801561061a57600080fd5b506101e9610629366004611c05565b610f04565b34801561063a57600080fd5b506103c3610649366004611bcc565b610fee565b34801561065a57600080fd5b5061066e610669366004611c22565b6110d9565b60408051938452602084019290925290820152606001610213565b60006008541161069857600080fd5b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156106e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107059190611cc8565b60035490915061071f9034906001600160a01b03166111f6565b6003546040516370a0823160e01b81523060048201526000916107989184916001600160a01b0316906370a0823190602401602060405180830381865afa15801561076e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107929190611cc8565b9061137c565b90508015610874576008546107e0906107b583600160801b6113be565b6107bf9190611cf7565b6003546001600160a01b031660009081526001602052604090205490611440565b6003546001600160a01b0316600090815260016020908152604091829020929092555182815233917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511910160405180910390a26003546001600160a01b03166000908152600960205260409020546108589082611440565b6003546001600160a01b03166000908152600960205260409020555b60025461088390600190611d19565b6004541461089e57600454610899906001611d30565b6108a1565b60005b6004819055506002600454815481106108bc576108bc611d48565b600091825260209091200154600380546001600160a01b0319166001600160a01b039092169190911790555050565b6001600160a01b038083166000908152600660209081526040808320938516835292905290812054610921906107928585610c79565b90505b92915050565b6000546001600160a01b0316331461095d5760405162461bcd60e51b815260040161095490611d5e565b60405180910390fd5b6001600160a01b0381166000908152600f60205260408120805460ff1916600117905561098b90829061149f565b61099481611538565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b6000546001600160a01b031633146109f55760405162461bcd60e51b815260040161095490611d5e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60028181548110610a4f57600080fd5b6000918252602090912001546001600160a01b0316905081565b600080600080600080600080610a7e600a5490565b8a10610aa3575060009650600019955085945086935083925082915081905080610acc565b6000610aae8b61166b565b9050610aba818b610fee565b98509850985098509850985098509850505b9295985092959890939650565b610ae3338261169e565b5050565b600080546001600160a01b03163314610b125760405162461bcd60e51b815260040161095490611d5e565b60008060005b600254811015610bcc57610b538660028381548110610b3957610b39611d48565b6000918252602090912001546001600160a01b031661169e565b92508215610bba576001600160a01b038616600081815260106020526040908190204290555186151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610bad9087815260200190565b60405180910390a3600191505b80610bc481611d93565b915050610b18565b50949350505050565b6000546001600160a01b03163314610bff5760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b0381166000908152600f602052604090205460ff16610c2457600080fd5b6001600160a01b0381166000818152600f6020526040808220805460ff19169055517f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329190a250565b600061092183836108eb565b6001600160a01b03808216600081815260056020908152604080832094871683529381528382205460078252848320549383526001909152928120549092600160801b92610ce392610cde9291610cd891610cd3916113be565b6117cb565b906117db565b611819565b6109219190611cf7565b6000546001600160a01b03163314610d175760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b0382166000908152600f602052604090205460ff16610ae3577f00000000000000000000000000000000000000000000003635c9adc5dea000008110610d7757610d68828261149f565b610d72828261182c565b610d8b565b610d8282600061149f565b610d8b82611538565b610d96826001610ae7565b505050565b6000546001600160a01b03163314610dc55760405162461bcd60e51b815260040161095490611d5e565b6104b08110158015610dda5750620151808111155b610e5a5760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a401610954565b6011548103610ed15760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c75650000000000000000006064820152608401610954565b60115460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601155565b6000546001600160a01b03163314610f2e5760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b038116610f935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610954565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b816000808080808080611000886118ea565b965060001995506000871261106257600e5487111561102e57600e5461102790889061192f565b9550611062565b600e54600a5460009110611043576000611052565b600e54600a546110529161137c565b905061105e88826117db565b9650505b61106c888a6108eb565b9450611078888a610c79565b6001600160a01b0389166000908152601060205260409020549094509250826110a25760006110b0565b6011546110b0908490611440565b91504282116110c05760006110ca565b6110ca824261137c565b90509295985092959890939650565b600a54600090819081908082036110fb575050600e54600092508291506111ef565b600e546000805a90506000805b898410801561111657508582105b156111de578461112581611d93565b600a549096508610905061113857600094505b6000600a600001868154811061115057611150611d48565b60009182526020808320909101546001600160a01b031680835260109091526040909120549091506111819061196c565b156111a457611191816001610ae7565b156111a457816111a081611d93565b9250505b826111ae81611d93565b93505060005a9050808511156111d5576111d26111cb868361137c565b8790611440565b95505b93506111089050565b600e85905590975095509193505050505b9193909250565b6040805160028082526060820183526000926020830190803683370190505090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611275573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112999190611dac565b816000815181106112ac576112ac611d48565b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106112e0576112e0611d48565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063b6f9de9590859061134590600090869030904290600401611dc9565b6000604051808303818588803b15801561135e57600080fd5b505af1158015611372573d6000803e3d6000fd5b5050505050505050565b600061092183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611993565b6000826000036113d057506000610924565b60006113dc8385611e33565b9050826113e98583611cf7565b146109215760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610954565b60008061144d8385611d30565b9050838110156109215760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610954565b6001600160a01b0382166000908152600760205260409020805490829055808211156114fb5760006114d1838361137c565b90506114dd84826119cd565b80600860008282546114ef9190611d30565b90915550610d96915050565b80821015610d9657600061150f828461137c565b905061151b8482611ad6565b806008600082825461152d9190611d19565b909155505050505050565b6001600160a01b0381166000908152600d602052604090205460ff1661155b5750565b6001600160a01b0381166000908152600d60209081526040808320805460ff19169055600b8252808320839055600c909152812054600a549091906115a290600190611d19565b90506000600a60000182815481106115bc576115bc611d48565b60009182526020808320909101546001600160a01b03908116808452600c90925260408084208790559087168352822091909155600a805491925082918590811061160957611609611d48565b600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055600a80548061164357611643611e52565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b6000600a600001828154811061168357611683611d48565b6000918252602090912001546001600160a01b031692915050565b6000806116ab84846108eb565b905080156117c1576001600160a01b038085166000908152600660209081526040808320938716835292905220546116e39082611440565b6001600160a01b038086166000818152600660209081526040808320948916835293905282902092909255517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061173e9084815260200190565b60405180910390a260405163a9059cbb60e01b81526001600160a01b0385811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015611795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b99190611e68565b509050610924565b5060009392505050565b6000818181121561092457600080fd5b6000806117e88385611e85565b9050600083121580156117fb5750838112155b80611810575060008312801561181057508381125b61092157600080fd5b60008082121561182857600080fd5b5090565b6001600160a01b0382166000908152600d602052604090205460ff161561186a576001600160a01b03919091166000908152600b6020526040902055565b6001600160a01b0382166000818152600d60209081526040808320805460ff19166001908117909155600b8352818420869055600a8054600c909452918420839055820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555050565b6001600160a01b0381166000908152600d602052604081205460ff166119135750600019919050565b506001600160a01b03166000908152600c602052604090205490565b60008061193c8385611ec6565b90506000831215801561194f5750838113155b806118105750600083128015611810575083811361092157600080fd5b60004282111561197e57506000919050565b60115461198b428461137c565b101592915050565b600081848411156119b75760405162461bcd60e51b81526004016109549190611f05565b5060006119c48486611d19565b95945050505050565b60005b600254811015610d9657611a78611a26610cd38460016000600287815481106119fb576119fb611d48565b60009182526020808320909101546001600160a01b03168352820192909252604001902054906113be565b6005600060028581548110611a3d57611a3d611d48565b60009182526020808320909101546001600160a01b03908116845283820194909452604092830182209389168252929092529020549061192f565b6005600060028481548110611a8f57611a8f611d48565b60009182526020808320909101546001600160a01b039081168452838201949094526040928301822093881682529290925290205580611ace81611d93565b9150506119d0565b60005b600254811015610d9657611b56611b04610cd38460016000600287815481106119fb576119fb611d48565b6005600060028581548110611b1b57611b1b611d48565b60009182526020808320909101546001600160a01b0390811684528382019490945260409283018220938916825292909252902054906117db565b6005600060028481548110611b6d57611b6d611d48565b60009182526020808320909101546001600160a01b039081168452838201949094526040928301822093881682529290925290205580611bac81611d93565b915050611ad9565b6001600160a01b0381168114611bc957600080fd5b50565b60008060408385031215611bdf57600080fd5b8235611bea81611bb4565b91506020830135611bfa81611bb4565b809150509250929050565b600060208284031215611c1757600080fd5b813561092181611bb4565b600060208284031215611c3457600080fd5b5035919050565b60008060408385031215611c4e57600080fd5b823591506020830135611bfa81611bb4565b8015158114611bc957600080fd5b60008060408385031215611c8157600080fd5b8235611c8c81611bb4565b91506020830135611bfa81611c60565b60008060408385031215611caf57600080fd5b8235611cba81611bb4565b946020939093013593505050565b600060208284031215611cda57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082611d1457634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611d2b57611d2b611ce1565b500390565b60008219821115611d4357611d43611ce1565b500190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060018201611da557611da5611ce1565b5060010190565b600060208284031215611dbe57600080fd5b815161092181611bb4565b600060808201868352602060808185015281875180845260a086019150828901935060005b81811015611e135784516001600160a01b031683529383019391830191600101611dee565b50506001600160a01b039690961660408501525050506060015292915050565b6000816000190483118215151615611e4d57611e4d611ce1565b500290565b634e487b7160e01b600052603160045260246000fd5b600060208284031215611e7a57600080fd5b815161092181611c60565b600080821280156001600160ff1b0384900385131615611ea757611ea7611ce1565b600160ff1b8390038412811615611ec057611ec0611ce1565b50500190565b60008083128015600160ff1b850184121615611ee457611ee4611ce1565b6001600160ff1b0384018313811615611eff57611eff611ce1565b50500390565b600060208083528351808285015260005b81811015611f3257858101830151858201604001528201611f16565b81811115611f44576000604083870101525b50601f01601f191692909201604001939250505056fea2646970667358221220c586c80bcde7ca05ff23c2368f933e8094ef2c689652bc2a453c0498a6afeafa64736f6c634300080d0033
Deployed Bytecode Sourcemap
33667:8199:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26590:21;:19;:21::i;:::-;33667:8199;;;;;27472:841;;;:::i;37185:119::-;;;;;;;;;;-1:-1:-1;37269:15:0;:27;37185:119;;;160:25:1;;;148:2;133:18;37185:119:0;;;;;;;;24745:51;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;387:32:1;;;369:51;;357:2;342:18;24745:51:0;196:230:1;30549:217:0;;;;;;;;;;-1:-1:-1;30549:217:0;;;;;:::i;:::-;;:::i;35659:50::-;;;;;;;;;;-1:-1:-1;35659:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;35554:33;;;;;;;;;;;;;;;;36210:219;;;;;;;;;;-1:-1:-1;36210:219:0;;;;;:::i;:::-;;:::i;25971:60::-;;;;;;;;;;-1:-1:-1;25971:60:0;;;;;:::i;:::-;;;;;;;;;;;;;;35596:54;;;;;;;;;;-1:-1:-1;35596:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1377:14:1;;1370:22;1352:41;;1340:2;1325:18;35596:54:0;1212:187:1;35718:24:0;;;;;;;;;;;;;;;;16673:148;;;;;;;;;;;;;:::i;24634:29::-;;;;;;;;;;-1:-1:-1;24634:29:0;;;;;:::i;:::-;;:::i;39024:511::-;;;;;;;;;;-1:-1:-1;39024:511:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;2474:32:1;;;2456:51;;2538:2;2523:18;;2516:34;;;;2566:18;;;2559:34;;;;2624:2;2609:18;;2602:34;;;;2667:3;2652:19;;2645:35;2494:3;2696:19;;2689:35;2755:3;2740:19;;2733:35;2799:3;2784:19;;2777:35;2443:3;2428:19;39024:511:0;2117:701:1;16031:79:0;;;;;;;;;;-1:-1:-1;16069:7:0;16096:6;-1:-1:-1;;;;;16096:6:0;16031:79;;24703:33;;;;;;;;;;;;;;;;29117:145;;;;;;;;;;-1:-1:-1;29117:145:0;;;;;:::i;:::-;;:::i;25883:49::-;;;;;;;;;;-1:-1:-1;25883:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;25937:27;;;;;;;;;;;;;;;;41368:495;;;;;;;;;;-1:-1:-1;41368:495:0;;;;;:::i;:::-;;:::i;35749:56::-;;;;;;;;;;;;;;;36441:207;;;;;;;;;;-1:-1:-1;36441:207:0;;;;;:::i;:::-;;:::i;30176:162::-;;;;;;;;;;-1:-1:-1;30176:162:0;;;;;:::i;:::-;;:::i;31587:301::-;;;;;;;;;;-1:-1:-1;31587:301:0;;;;;:::i;:::-;;:::i;39770:428::-;;;;;;;;;;-1:-1:-1;39770:428:0;;;;;:::i;:::-;;:::i;30979:167::-;;;;;;;;;;-1:-1:-1;30979:167:0;;;;;:::i;:::-;-1:-1:-1;;;;;31100:26:0;;;31077:7;31100:26;;;:18;:26;;;;;;;;:40;;;;;;;;;;;;;30979:167;37072:105;;;;;;;;;;-1:-1:-1;37151:18:0;;37072:105;;24668:30;;;;;;;;;;-1:-1:-1;24668:30:0;;;;-1:-1:-1;;;;;24668:30:0;;;36656:408;;;;;;;;;;-1:-1:-1;36656:408:0;;;;;:::i;:::-;;:::i;16976:244::-;;;;;;;;;;-1:-1:-1;16976:244:0;;;;;:::i;:::-;;:::i;37312:1704::-;;;;;;;;;;-1:-1:-1;37312:1704:0;;;;;:::i;:::-;;:::i;40210:1150::-;;;;;;;;;;-1:-1:-1;40210:1150:0;;;;;:::i;:::-;;:::i;:::-;;;;3871:25:1;;;3927:2;3912:18;;3905:34;;;;3955:18;;;3948:34;3859:2;3844:18;40210:1150:0;3669:319:1;27472:841:0;27558:1;27543:12;;:16;27535:25;;;;;;27599:15;;27592:48;;-1:-1:-1;;;27592:48:0;;27634:4;27592:48;;;369:51:1;27567:22:0;;-1:-1:-1;;;;;27599:15:0;;27592:33;;342:18:1;;27592:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27668:15;;27567:73;;-1:-1:-1;27647:37:0;;27657:9;;-1:-1:-1;;;;;27668:15:0;27647:9;:37::i;:::-;27719:15;;27712:48;;-1:-1:-1;;;27712:48:0;;27754:4;27712:48;;;369:51:1;27691:18:0;;27712:68;;27765:14;;-1:-1:-1;;;;;27719:15:0;;27712:33;;342:18:1;;27712:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;;:68::i;:::-;27691:89;-1:-1:-1;27791:14:0;;27787:362;;27948:12;;27861:108;;27918:27;27919:10;-1:-1:-1;;;27918:16:0;:27::i;:::-;:42;;;;:::i;:::-;27887:15;;-1:-1:-1;;;;;27887:15:0;27861:42;;;;:25;:42;;;;;;;:46;:108::i;:::-;27842:15;;-1:-1:-1;;;;;27842:15:0;27816:42;;;;:25;:42;;;;;;;;;:153;;;;27983:44;160:25:1;;;28004:10:0;;27983:44;;133:18:1;27983:44:0;;;;;;;28109:15;;-1:-1:-1;;;;;28109:15:0;28083:42;;;;:25;:42;;;;;;:58;;28130:10;28083:46;:58::i;:::-;28064:15;;-1:-1:-1;;;;;28064:15:0;28038:42;;;;:25;:42;;;;;:103;27787:362;28198:12;:19;:23;;28220:1;;28198:23;:::i;:::-;28176:18;;:45;:74;;28228:18;;:22;;28249:1;28228:22;:::i;:::-;28176:74;;;28224:1;28176:74;28155:18;:95;;;;28275:12;28288:18;;28275:32;;;;;;;;:::i;:::-;;;;;;;;;;;28257:15;:50;;-1:-1:-1;;;;;;28257:50:0;-1:-1:-1;;;;;28275:32:0;;;28257:50;;;;;;-1:-1:-1;;27472:841:0:o;30549:217::-;-1:-1:-1;;;;;30719:26:0;;;30648:7;30719:26;;;:18;:26;;;;;;;;:40;;;;;;;;;;;;30671:89;;:43;30738:6;30746:12;30671:22;:43::i;:89::-;30664:96;;30549:217;;;;;:::o;36210:219::-;16243:6;;-1:-1:-1;;;;;16243:6:0;593:10;16243:22;16235:67;;;;-1:-1:-1;;;16235:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;36284:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;36284:37:0::1;36317:4;36284:37;::::0;;36331:23:::1;::::0;36306:7;;36331:11:::1;:23::i;:::-;36362:15;36369:7;36362:6;:15::i;:::-;36392:29;::::0;-1:-1:-1;;;;;36392:29:0;::::1;::::0;::::1;::::0;;;::::1;36210:219:::0;:::o;16673:148::-;16243:6;;-1:-1:-1;;;;;16243:6:0;593:10;16243:22;16235:67;;;;-1:-1:-1;;;16235:67:0;;;;;;;:::i;:::-;16780:1:::1;16764:6:::0;;16743:40:::1;::::0;-1:-1:-1;;;;;16764:6:0;;::::1;::::0;16743:40:::1;::::0;16780:1;;16743:40:::1;16811:1;16794:19:::0;;-1:-1:-1;;;;;;16794:19:0::1;::::0;;16673:148::o;24634:29::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24634:29:0;;-1:-1:-1;24634:29:0;:::o;39024:511::-;39134:7;39156:6;39177;39198:7;39220;39242;39264;39286;39315:6;37269:15;:27;;37185:119;39315:6;39306:5;:15;39303:121;;-1:-1:-1;39346:42:0;;-1:-1:-1;;;39390:2:0;-1:-1:-1;39390:2:0;;-1:-1:-1;39346:42:0;;-1:-1:-1;39346:42:0;;-1:-1:-1;39346:42:0;;-1:-1:-1;39346:42:0;;-1:-1:-1;39346:42:0;39338:74;;39303:121;39436:15;39454:20;39468:5;39454:13;:20::i;:::-;39436:38;;39494:33;39505:7;39514:12;39494:10;:33::i;:::-;39487:40;;;;;;;;;;;;;;;;;39024:511;;;;;;;;;;;;:::o;29117:145::-;29198:58;29230:10;29243:12;29198:23;:58::i;:::-;;29117:145;:::o;41368:495::-;41459:4;16243:6;;-1:-1:-1;;;;;16243:6:0;593:10;16243:22;16235:67;;;;-1:-1:-1;;;16235:67:0;;;;;;;:::i;:::-;41476:14:::1;41501:9:::0;41526::::1;41521:313;41541:12;:19:::0;41537:23;::::1;41521:313;;;41590:49;41614:7;41623:12;41636:1;41623:15;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;41623:15:0::1;41590:23;:49::i;:::-;41581:58:::0;-1:-1:-1;41657:10:0;;41654:169:::1;;-1:-1:-1::0;;;;;41682:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;41708:15:::1;41682:41:::0;;41747:33;;::::1;;::::0;41682:23;41747:33:::1;::::0;::::1;::::0;41762:6;160:25:1;;148:2;133:18;;14:177;41747:33:0::1;;;;;;;;41806:4;41799:11;;41654:169;41562:3:::0;::::1;::::0;::::1;:::i;:::-;;;;41521:313;;;-1:-1:-1::0;41851:4:0;41368:495;-1:-1:-1;;;;41368:495:0:o;36441:207::-;16243:6;;-1:-1:-1;;;;;16243:6:0;593:10;16243:22;16235:67;;;;-1:-1:-1;;;16235:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36521:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;36513:39;;;::::0;::::1;;-1:-1:-1::0;;;;;36560:30:0;::::1;36593:5;36560:30:::0;;;:21:::1;:30;::::0;;;;;:38;;-1:-1:-1;;36560:38:0::1;::::0;;36613:27;::::1;::::0;36593:5;36613:27:::1;36441:207:::0;:::o;30176:162::-;30265:7;30288:44;30311:6;30319:12;30288:22;:44::i;31587:301::-;-1:-1:-1;;;;;31803:42:0;;;31686:7;31803:42;;;:28;:42;;;;;;;;:50;;;;;;;;;;;;31753:13;:21;;;;;;31709:39;;;:25;:39;;;;;;;31686:7;;-1:-1:-1;;;24554:6:0;31709:161;;:145;;31803:50;31709:81;;:66;;:43;:66::i;:::-;:79;:81::i;:::-;:93;;:145::i;:::-;:159;:161::i;:::-;:173;;;;:::i;39770:428::-;16243:6;;-1:-1:-1;;;;;16243:6:0;593:10;16243:22;16235:67;;;;-1:-1:-1;;;16235:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;39865:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;39906:7;39862:59;39947:31;39933:10;:45;39930:222;;39995:32;40007:7;40016:10;39995:11;:32::i;:::-;40036:24;40040:7;40049:10;40036:3;:24::i;:::-;39930:222;;;40096:23;40108:7;40117:1;40096:11;:23::i;:::-;40128:15;40135:7;40128:6;:15::i;:::-;40161:29;40176:7;40185:4;40161:14;:29::i;:::-;;39770:428:::0;;:::o;36656:408::-;16243:6;;-1:-1:-1;;;;;16243:6:0;593:10;16243:22;16235:67;;;;-1:-1:-1;;;16235:67:0;;;;;;;:::i;:::-;36757:4:::1;36741:12;:20;;:45;;;;;36781:5;36765:12;:21;;36741:45;36733:127;;;::::0;-1:-1:-1;;;36733:127:0;;5634:2:1;36733:127:0::1;::::0;::::1;5616:21:1::0;5673:2;5653:18;;;5646:30;5712:34;5692:18;;;5685:62;5783:34;5763:18;;;5756:62;-1:-1:-1;;;5834:19:1;;;5827:36;5880:19;;36733:127:0::1;5432:473:1::0;36733:127:0::1;36895:9;;36879:12;:25:::0;36871:93:::1;;;::::0;-1:-1:-1;;;36871:93:0;;6112:2:1;36871:93:0::1;::::0;::::1;6094:21:1::0;6151:2;6131:18;;;6124:30;6190:34;6170:18;;;6163:62;6261:25;6241:18;;;6234:53;6304:19;;36871:93:0::1;5910:419:1::0;36871:93:0::1;37011:9;::::0;36980:41:::1;::::0;36997:12;;36980:41:::1;::::0;;;::::1;37032:9;:24:::0;36656:408::o;16976:244::-;16243:6;;-1:-1:-1;;;;;16243:6:0;593:10;16243:22;16235:67;;;;-1:-1:-1;;;16235:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17065:22:0;::::1;17057:73;;;::::0;-1:-1:-1;;;17057:73:0;;6536:2:1;17057:73:0::1;::::0;::::1;6518:21:1::0;6575:2;6555:18;;;6548:30;6614:34;6594:18;;;6587:62;-1:-1:-1;;;6665:18:1;;;6658:36;6711:19;;17057:73:0::1;6334:402:1::0;17057:73:0::1;17167:6;::::0;;17146:38:::1;::::0;-1:-1:-1;;;;;17146:38:0;;::::1;::::0;17167:6;::::1;::::0;17146:38:::1;::::0;::::1;17195:6;:17:::0;;-1:-1:-1;;;;;;17195:17:0::1;-1:-1:-1::0;;;;;17195:17:0;;;::::1;::::0;;;::::1;::::0;;16976:244::o;37312:1704::-;37733:8;37416:15;;;;;;;37762:22;37733:8;37762:13;:22::i;:::-;37754:30;;-1:-1:-1;;37797:29:0;;37851:1;37842:5;:10;37839:582;;37889:18;;37880:5;37872:35;37869:541;;;37972:18;;37955:37;;:5;;:9;:37::i;:::-;37928:64;;37869:541;;;38111:18;;38081:15;:27;38046:32;;-1:-1:-1;38081:220:0;;38300:1;38081:220;;;38221:18;;38189:15;:27;:51;;:31;:51::i;:::-;38046:255;-1:-1:-1;38351:43:0;:5;38046:255;38351:9;:43::i;:::-;38324:70;;38027:383;37869:541;38459:45;38482:7;38491:12;38459:22;:45::i;:::-;38435:69;;38532:45;38555:7;38564:12;38532:22;:45::i;:::-;-1:-1:-1;;;;;38606:23:0;;;;;;:14;:23;;;;;;38515:62;;-1:-1:-1;38606:23:0;-1:-1:-1;38658:17:0;:126;;38783:1;38658:126;;;38733:9;;38715:28;;:13;;:17;:28::i;:::-;38642:142;;38846:15;38830:13;:31;:178;;39007:1;38830:178;;;38917:34;:13;38935:15;38917:17;:34::i;:::-;38797:211;;37312:1704;;;;;;;;;;;:::o;40210:1150::-;40324:15;:27;40258:7;;;;;;40364:25;;;40361:81;;-1:-1:-1;;40414:18:0;;40408:1;;-1:-1:-1;40408:1:0;;-1:-1:-1;40400:33:0;;40361:81;40481:18;;40451:27;;40556:9;40538:27;;40575:18;40605:14;40633:613;40649:3;40639:7;:13;:50;;;;;40669:20;40656:10;:33;40639:50;40633:613;;;40700:21;;;;:::i;:::-;40758:15;:27;40700:21;;-1:-1:-1;40735:50:0;;;-1:-1:-1;40732:98:0;;40819:1;40797:23;;40732:98;40840:15;40858;:20;;40879:19;40858:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;40858:41:0;40926:23;;;:14;:23;;;;;;;;40858:41;;-1:-1:-1;40913:37:0;;:12;:37::i;:::-;40910:134;;;40965:38;40988:7;40998:4;40965:14;:38::i;:::-;40962:73;;;41016:8;;;;:::i;:::-;;;;40962:73;41054:12;;;;:::i;:::-;;;;41077:18;41098:9;41077:30;;41131:10;41121:7;:20;41118:91;;;41163:36;41175:23;:7;41187:10;41175:11;:23::i;:::-;41163:7;;:11;:36::i;:::-;41153:46;;41118:91;41227:10;-1:-1:-1;40633:613:0;;-1:-1:-1;40633:613:0;;41255:18;:40;;;41313:10;;-1:-1:-1;41325:6:0;-1:-1:-1;41276:19:0;;-1:-1:-1;;;;40210:1150:0;;;;;;:::o;28416:530::-;28582:16;;;28596:1;28582:16;;;;;;;;28558:21;;28582:16;;;;;;;;;;-1:-1:-1;28582:16:0;28558:40;;28619:15;-1:-1:-1;;;;;28619:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28609:4;28614:1;28609:7;;;;;;;;:::i;:::-;;;;;;:32;-1:-1:-1;;;;;28609:32:0;;;-1:-1:-1;;;;;28609:32:0;;;;;28662:11;28652:4;28657:1;28652:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;28652:21:0;;;:7;;;;;;;;;:21;28712:226;;-1:-1:-1;;;28712:226:0;;:15;:66;;;;;;28786:14;;28712:226;;28816:1;;28865:4;;28892;;28912:15;;28712:226;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28489:457;28416:530;;:::o;11539:136::-;11597:7;11624:43;11628:1;11631;11624:43;;;;;;;;;;;;;;;;;:3;:43::i;12429:471::-;12487:7;12732:1;12737;12732:6;12728:47;;-1:-1:-1;12762:1:0;12755:8;;12728:47;12787:9;12799:5;12803:1;12799;:5;:::i;:::-;12787:17;-1:-1:-1;12832:1:0;12823:5;12827:1;12787:17;12823:5;:::i;:::-;:10;12815:56;;;;-1:-1:-1;;;12815:56:0;;8417:2:1;12815:56:0;;;8399:21:1;8456:2;8436:18;;;8429:30;8495:34;8475:18;;;8468:62;-1:-1:-1;;;8546:18:1;;;8539:31;8587:19;;12815:56:0;8215:397:1;11075:181:0;11133:7;;11165:5;11169:1;11165;:5;:::i;:::-;11153:17;;11194:1;11189;:6;;11181:46;;;;-1:-1:-1;;;11181:46:0;;8819:2:1;11181:46:0;;;8801:21:1;8858:2;8838:18;;;8831:30;8897:29;8877:18;;;8870:57;8944:18;;11181:46:0;8617:351:1;33115:545:0;-1:-1:-1;;;;;33214:22:0;;33189;33214;;;:13;:22;;;;;;;33243:35;;;;33288:27;;;33285:370;;;33326:22;33351:30;:10;33366:14;33351;:30::i;:::-;33326:55;;33390:34;33400:7;33409:14;33390:9;:34::i;:::-;33449:14;33433:12;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;33285:370:0;;-1:-1:-1;;33285:370:0;;33493:14;33480:10;:27;33477:178;;;33518:20;33541:30;:14;33560:10;33541:18;:30::i;:::-;33518:53;;33580:30;33588:7;33597:12;33580:7;:30::i;:::-;33635:12;33619;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;;33182:478:0;33115:545;;:::o;34935:577::-;-1:-1:-1;;;;;34988:29:0;;;;;;:24;:29;;;;;;;;34983:69;;34935:577;:::o;34983:69::-;-1:-1:-1;;;;;35071:29:0;;;;;;:24;:29;;;;;;;;35064:36;;-1:-1:-1;;35064:36:0;;;35118:22;:27;;;;;35111:34;;;35171:23;:28;;;;;;35071:15;35227:27;35171:28;;35071:29;35227:31;;35064:36;;35227:31;:::i;:::-;35210:48;;35269:15;35287;:20;;35308:9;35287:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;35287:31:0;;;35331:32;;;:23;:32;;;;;;;:40;;;35389:28;;;;;;;35382:35;;;;35331:15;35430:27;;35287:31;;-1:-1:-1;35287:31:0;;35366:5;;35430:27;;;;;;:::i;:::-;;;;;;;;;;:37;;-1:-1:-1;;;;;;35430:37:0;-1:-1:-1;;;;;35430:37:0;;;;;;;;;;35478:15;:26;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;35478:26:0;;;;;-1:-1:-1;;;;;;35478:26:0;;;;;;-1:-1:-1;;;;34935:577:0:o;34299:119::-;34356:7;34383:15;:20;;34404:5;34383:27;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;34383:27:0;;34299:119;-1:-1:-1;;34299:119:0:o;29431:532::-;29526:7;29542:29;29574:42;29597:4;29603:12;29574:22;:42::i;:::-;29542:74;-1:-1:-1;29627:25:0;;29623:318;;-1:-1:-1;;;;;29704:24:0;;;;;;;:18;:24;;;;;;;;:38;;;;;;;;;;:65;;29747:21;29704:42;:65::i;:::-;-1:-1:-1;;;;;29663:24:0;;;;;;;:18;:24;;;;;;;;:38;;;;;;;;;;;:106;;;;29783:46;;;;;29807:21;160:25:1;;148:2;133:18;;14:177;29783:46:0;;;;;;;;29838:58;;-1:-1:-1;;;29838:58:0;;-1:-1:-1;;;;;9305:32:1;;;29838:58:0;;;9287:51:1;9354:18;;;9347:34;;;29838:29:0;;;;;9260:18:1;;29838:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;29912:21:0;-1:-1:-1;29905:28:0;;29623:318;-1:-1:-1;29956:1:0;;29431:532;-1:-1:-1;;;29431:532:0:o;19044:134::-;19100:6;19133:1;19150:6;;;;19142:15;;;;;18479:176;18535:6;;18565:5;18569:1;18565;:5;:::i;:::-;18554:16;;18595:1;18590;:6;;:16;;;;;18605:1;18600;:6;;18590:16;18589:38;;;;18616:1;18612;:5;:14;;;;;18625:1;18621;:5;18612:14;18581:47;;;;;18884:127;18940:7;18973:1;18968;:6;;18960:15;;;;;;-1:-1:-1;19001:1:0;18884:127::o;34535:392::-;-1:-1:-1;;;;;34594:29:0;;;;;;:24;:29;;;;;;;;34590:330;;;-1:-1:-1;;;;;34640:27:0;;;;;;;;:22;:27;;;;;:33;29117:145::o;34590:330::-;-1:-1:-1;;;;;34706:29:0;;;;;;:24;:29;;;;;;;;:36;;-1:-1:-1;;34706:36:0;34738:4;34706:36;;;;;;34757:22;:27;;;;;:33;;;34706:15;34836:27;;34805:23;:28;;;;;;:58;;;34878:30;;;;;;;;;;;-1:-1:-1;;;;;;34878:30:0;;;;;;34535:392;;:::o;34088:203::-;-1:-1:-1;;;;;34166:29:0;;34146:3;34166:29;;;:24;:29;;;;;;;;34162:71;;-1:-1:-1;;;34219:2:0;34088:203;-1:-1:-1;34088:203:0:o;34162:71::-;-1:-1:-1;;;;;;34254:28:0;;;;;:23;:28;;;;;;;34088:203::o;18215:176::-;18271:6;;18301:5;18305:1;18301;:5;:::i;:::-;18290:16;;18331:1;18326;:6;;:16;;;;;18341:1;18336;:6;;18326:16;18325:38;;;;18352:1;18348;:5;:14;;;;;18361:1;18357;:5;18317:47;;;;;39543:219;39610:4;39643:15;39627:13;:31;39624:67;;;-1:-1:-1;39677:5:0;;39543:219;-1:-1:-1;39543:219:0:o;39624:67::-;39745:9;;39707:34;:15;39727:13;39707:19;:34::i;:::-;:47;;;39543:219;-1:-1:-1;;39543:219:0:o;11978:192::-;12064:7;12100:12;12092:6;;;;12084:29;;;;-1:-1:-1;;;12084:29:0;;;;;;;;:::i;:::-;-1:-1:-1;12124:9:0;12136:5;12140:1;12136;:5;:::i;:::-;12124:17;11978:192;-1:-1:-1;;;;;11978:192:0:o;32158:335::-;32230:9;32225:263;32245:12;:19;32241:23;;32225:263;;;32338:142;32409:70;32410:53;32457:5;32410:25;:42;32436:12;32449:1;32436:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;32436:15:0;32410:42;;;;;;;;;;;;;;:46;:53::i;32409:70::-;32338:28;:45;32367:12;32380:1;32367:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;32367:15:0;;;32338:45;;;;;;;;;;;;;;;:54;;;;;;;;;;;;;:70;:142::i;:::-;32281:28;:45;32310:12;32323:1;32310:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;32310:15:0;;;32281:45;;;;;;;;;;;;;;;:54;;;;;;;;;;;:199;32266:3;;;;:::i;:::-;;;;32225:263;;32770:339;32842:9;32837:267;32857:12;:19;32853:23;;32837:267;;;32950:144;33022:70;33023:53;33070:5;33023:25;:42;33049:12;33062:1;33049:15;;;;;;;;:::i;33022:70::-;32950:28;:45;32979:12;32992:1;32979:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;32979:15:0;;;32950:45;;;;;;;;;;;;;;;:54;;;;;;;;;;;;;:70;:144::i;:::-;32893:28;:45;32922:12;32935:1;32922:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;32922:15:0;;;32893:45;;;;;;;;;;;;;;;:54;;;;;;;;;;;:201;32878:3;;;;:::i;:::-;;;;32837:267;;431:131:1;-1:-1:-1;;;;;506:31:1;;496:42;;486:70;;552:1;549;542:12;486:70;431:131;:::o;567:388::-;635:6;643;696:2;684:9;675:7;671:23;667:32;664:52;;;712:1;709;702:12;664:52;751:9;738:23;770:31;795:5;770:31;:::i;:::-;820:5;-1:-1:-1;877:2:1;862:18;;849:32;890:33;849:32;890:33;:::i;:::-;942:7;932:17;;;567:388;;;;;:::o;960:247::-;1019:6;1072:2;1060:9;1051:7;1047:23;1043:32;1040:52;;;1088:1;1085;1078:12;1040:52;1127:9;1114:23;1146:31;1171:5;1146:31;:::i;1404:180::-;1463:6;1516:2;1504:9;1495:7;1491:23;1487:32;1484:52;;;1532:1;1529;1522:12;1484:52;-1:-1:-1;1555:23:1;;1404:180;-1:-1:-1;1404:180:1:o;1797:315::-;1865:6;1873;1926:2;1914:9;1905:7;1901:23;1897:32;1894:52;;;1942:1;1939;1932:12;1894:52;1978:9;1965:23;1955:33;;2038:2;2027:9;2023:18;2010:32;2051:31;2076:5;2051:31;:::i;2823:118::-;2909:5;2902:13;2895:21;2888:5;2885:32;2875:60;;2931:1;2928;2921:12;2946:390;3019:6;3027;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3135:9;3122:23;3154:31;3179:5;3154:31;:::i;:::-;3204:5;-1:-1:-1;3261:2:1;3246:18;;3233:32;3274:30;3233:32;3274:30;:::i;3341:323::-;3417:6;3425;3478:2;3466:9;3457:7;3453:23;3449:32;3446:52;;;3494:1;3491;3484:12;3446:52;3533:9;3520:23;3552:31;3577:5;3552:31;:::i;:::-;3602:5;3654:2;3639:18;;;;3626:32;;-1:-1:-1;;;3341:323:1:o;3993:184::-;4063:6;4116:2;4104:9;4095:7;4091:23;4087:32;4084:52;;;4132:1;4129;4122:12;4084:52;-1:-1:-1;4155:16:1;;3993:184;-1:-1:-1;3993:184:1:o;4182:127::-;4243:10;4238:3;4234:20;4231:1;4224:31;4274:4;4271:1;4264:15;4298:4;4295:1;4288:15;4314:217;4354:1;4380;4370:132;;4424:10;4419:3;4415:20;4412:1;4405:31;4459:4;4456:1;4449:15;4487:4;4484:1;4477:15;4370:132;-1:-1:-1;4516:9:1;;4314:217::o;4536:125::-;4576:4;4604:1;4601;4598:8;4595:34;;;4609:18;;:::i;:::-;-1:-1:-1;4646:9:1;;4536:125::o;4666:128::-;4706:3;4737:1;4733:6;4730:1;4727:13;4724:39;;;4743:18;;:::i;:::-;-1:-1:-1;4779:9:1;;4666:128::o;4799:127::-;4860:10;4855:3;4851:20;4848:1;4841:31;4891:4;4888:1;4881:15;4915:4;4912:1;4905:15;4931:356;5133:2;5115:21;;;5152:18;;;5145:30;5211:34;5206:2;5191:18;;5184:62;5278:2;5263:18;;4931:356::o;5292:135::-;5331:3;5352:17;;;5349:43;;5372:18;;:::i;:::-;-1:-1:-1;5419:1:1;5408:13;;5292:135::o;6873:251::-;6943:6;6996:2;6984:9;6975:7;6971:23;6967:32;6964:52;;;7012:1;7009;7002:12;6964:52;7044:9;7038:16;7063:31;7088:5;7063:31;:::i;7129:908::-;7363:4;7411:3;7400:9;7396:19;7442:6;7431:9;7424:25;7468:2;7506:3;7501:2;7490:9;7486:18;7479:31;7530:6;7565;7559:13;7596:6;7588;7581:22;7634:3;7623:9;7619:19;7612:26;;7673:2;7665:6;7661:15;7647:29;;7694:1;7704:195;7718:6;7715:1;7712:13;7704:195;;;7783:13;;-1:-1:-1;;;;;7779:39:1;7767:52;;7874:15;;;;7839:12;;;;7815:1;7733:9;7704:195;;;-1:-1:-1;;;;;;;7955:32:1;;;;7950:2;7935:18;;7928:60;-1:-1:-1;;;8019:2:1;8004:18;7997:34;7916:3;7129:908;-1:-1:-1;;7129:908:1:o;8042:168::-;8082:7;8148:1;8144;8140:6;8136:14;8133:1;8130:21;8125:1;8118:9;8111:17;8107:45;8104:71;;;8155:18;;:::i;:::-;-1:-1:-1;8195:9:1;;8042:168::o;8973:127::-;9034:10;9029:3;9025:20;9022:1;9015:31;9065:4;9062:1;9055:15;9089:4;9086:1;9079:15;9392:245;9459:6;9512:2;9500:9;9491:7;9487:23;9483:32;9480:52;;;9528:1;9525;9518:12;9480:52;9560:9;9554:16;9579:28;9601:5;9579:28;:::i;9642:265::-;9681:3;9709:9;;;9734:10;;-1:-1:-1;;;;;9753:27:1;;;9746:35;;9730:52;9727:78;;;9785:18;;:::i;:::-;-1:-1:-1;;;9832:19:1;;;9825:27;;9817:36;;9814:62;;;9856:18;;:::i;:::-;-1:-1:-1;;9892:9:1;;9642:265::o;9912:267::-;9951:4;9980:9;;;10005:10;;-1:-1:-1;;;10024:19:1;;10017:27;;10001:44;9998:70;;;10048:18;;:::i;:::-;-1:-1:-1;;;;;10095:27:1;;10088:35;;10080:44;;10077:70;;;10127:18;;:::i;:::-;-1:-1:-1;;10164:9:1;;9912:267::o;10184:597::-;10296:4;10325:2;10354;10343:9;10336:21;10386:6;10380:13;10429:6;10424:2;10413:9;10409:18;10402:34;10454:1;10464:140;10478:6;10475:1;10472:13;10464:140;;;10573:14;;;10569:23;;10563:30;10539:17;;;10558:2;10535:26;10528:66;10493:10;;10464:140;;;10622:6;10619:1;10616:13;10613:91;;;10692:1;10687:2;10678:6;10667:9;10663:22;10659:31;10652:42;10613:91;-1:-1:-1;10765:2:1;10744:15;-1:-1:-1;;10740:29:1;10725:45;;;;10772:2;10721:54;;10184:597;-1:-1:-1;;;10184:597:1:o
Swarm Source
ipfs://c586c80bcde7ca05ff23c2368f933e8094ef2c689652bc2a453c0498a6afeafa
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $101,042 | 0.0693 | $7,005.99 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.