More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21152574 | 46 days ago | Contract Creation | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
DividendTracker
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-11-09 */ /** We introduce Strategic Shitcoins Reserve ($SSR), a revolutionary memecoin project designed to print magic money wealth without the constraints of traditional tax mechanisms. $SSR utilizes a groundbreaking Magic Money Printing Contract (MMPC), in order to distribute reflections in Wrapped Ethereum (WETH) purely using our magic money printers while having 0% tax. Inspired by a senator’s promise to create a ”Strategic Bitcoin Reserve”, $SSR is here to offer a true memecoin from the people, for the people, where each of us will print magic internet money effortlessly. Telegram: https://t.me/ssr_token Website: https://strategicshitcoinsreserve.cash X (Twitter): https://x.com/SSR_erc20 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.10; 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 IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface 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; } interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns(uint256); } interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns(uint256); /// @notice Distributes ether to token holders as dividends. /// @dev SHOULD distribute the paid ether to token holders as dividends. /// SHOULD NOT directly transfer ether to token holders in this function. /// MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0. function distributeDividends() external payable; /// @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 IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int) { if(!map.inserted[key]) { return -1; } return int(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint) { return map.keys.length; } function set(Map storage map, address key, uint val) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint index = map.indexOf[key]; uint lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } 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; } } 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; } } 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 { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract SSR is ERC20, Ownable { using SafeMath for uint256; uint256 constant private TOTAL_SUPPLY = 1_000_000_000 * 1e18; uint256 public MAX_WALLET = TOTAL_SUPPLY * 25 / 1000; uint256 public swapTokensAtAmount = TOTAL_SUPPLY * 2 / 1000; DividendTracker immutable public DIVIDEND_TRACKER; address public immutable UNISWAP_PAIR; IUniswapV2Router02 constant UNISWAP_ROUTER = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address constant UNISWAP_UNIVERSAL_ROUTER = 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B; address immutable DEPLOYER; address payable public developmentWallet; address constant public TOKEN = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // WETH uint256 tradingFee = 15; uint256 tradingFeeSellIncrease = 0; struct RewardSettings { uint64 gasForProcessing; uint64 percentMagicMoneyPool; uint64 magicMoneyPoolFrequency; uint64 lastMagicMoneyPoolingTime; } uint256 constant MAX_MAGICMONEYPOOL_ITERATIONS = 5; RewardSettings public rewardSettings = RewardSettings(80_000, 125, 900 seconds, 0); uint256 constant MIN_TOKENS_FOR_DIVIDENDS = 1_000_000 * (10**18); bool swapping; uint256 step; bool tradingOpen = false; event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event IncludeInDividends(address indexed wallet); event ExcludeFromDividends(address indexed wallet); event SendDividends(uint256 indexed tokensSwapped); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); constructor() ERC20("Strategic Shitcoins Reserve", "SSR") { address deployer_ = address(msg.sender); DEPLOYER = deployer_; developmentWallet = payable(deployer_); // Set development wallet to the deployer's address DIVIDEND_TRACKER = new DividendTracker(); // Create a uniswap pair for this new token UNISWAP_PAIR = IUniswapV2Factory(UNISWAP_ROUTER.factory()) .createPair(address(this), UNISWAP_ROUTER.WETH()); // exclude from receiving dividends DIVIDEND_TRACKER.excludeFromDividends(address(DIVIDEND_TRACKER)); DIVIDEND_TRACKER.excludeFromDividends(address(this)); DIVIDEND_TRACKER.excludeFromDividends(deployer_); DIVIDEND_TRACKER.excludeFromDividends(address(UNISWAP_ROUTER)); DIVIDEND_TRACKER.excludeFromDividends(UNISWAP_UNIVERSAL_ROUTER); DIVIDEND_TRACKER.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)); DIVIDEND_TRACKER.excludeFromDividends(address(0x0000000000000000000000000000000000000000)); DIVIDEND_TRACKER.excludeFromDividends(UNISWAP_PAIR); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(address(deployer_), TOTAL_SUPPLY); } receive() external payable {} modifier tradingCheck(address from) { require(tradingOpen || from == owner() || from == DEPLOYER); _; } function _transfer( address from, address to, uint256 amount ) internal override tradingCheck(from) { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if(amount == 0) { return super._transfer(from, to, 0); } else if(from == address(this) || to == DEPLOYER){ return super._transfer(from, to, amount); } uint256 receiverPreBalance = balanceOf(to); if (to != UNISWAP_PAIR) { require(receiverPreBalance + amount <= MAX_WALLET, "Exceeding the max wallet limit"); } bool rewardsActive = tradingFee == 0; uint256 contractTokenBalance = balanceOf(address(this)); bool shouldSwap = shouldSwapBack(from, contractTokenBalance); if(shouldSwap) { swapping = true; swapBack(rewardsActive); swapping = false; } if(rewardsActive && !shouldSwap && to == UNISWAP_PAIR && block.timestamp >= rewardSettings.lastMagicMoneyPoolingTime + rewardSettings.magicMoneyPoolFrequency){ magicMoneyPool(); } if(!rewardsActive){ uint256 feeAmount = takeFee(from) * amount / 100; super._transfer(from, address(this), feeAmount); amount -= feeAmount; } super._transfer(from, to, amount); try DIVIDEND_TRACKER.setBalance(payable(from), balanceOf(from)) {} catch {} try DIVIDEND_TRACKER.setBalance(payable(to), balanceOf(to)) {} catch {} bool newDividendReceiver = from == UNISWAP_PAIR && (receiverPreBalance < MIN_TOKENS_FOR_DIVIDENDS && (receiverPreBalance + amount >= MIN_TOKENS_FOR_DIVIDENDS)); if(!shouldSwap && rewardsActive && !newDividendReceiver) { uint256 gas = rewardSettings.gasForProcessing; try DIVIDEND_TRACKER.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); } catch {} } } function magicMoneyPool() private { uint256 nrIterations = (block.timestamp - rewardSettings.lastMagicMoneyPoolingTime) / rewardSettings.magicMoneyPoolFrequency; rewardSettings.lastMagicMoneyPoolingTime = uint64(block.timestamp - (block.timestamp - rewardSettings.lastMagicMoneyPoolingTime) % rewardSettings.magicMoneyPoolFrequency); uint256 liquidityPairBalance = this.balanceOf(UNISWAP_PAIR); uint256 totalAmountToReward = 0; if(nrIterations > MAX_MAGICMONEYPOOL_ITERATIONS){ nrIterations = MAX_MAGICMONEYPOOL_ITERATIONS; } for(uint256 i=0;i<nrIterations;i++){ uint256 amountToReward = liquidityPairBalance.mul(rewardSettings.percentMagicMoneyPool).div(10_000); liquidityPairBalance -= amountToReward; totalAmountToReward += amountToReward; } super._transfer(UNISWAP_PAIR, address(this), totalAmountToReward); IUniswapV2Pair(UNISWAP_PAIR).sync(); } function takeFee(address from) private view returns (uint256 fee){ fee = (from == UNISWAP_PAIR ? tradingFee : (tradingFee + tradingFeeSellIncrease)); } function shouldSwapBack(address from, uint256 contractTokenBalance) private view returns (bool swapIt) { swapIt = contractTokenBalance >= swapTokensAtAmount && from != UNISWAP_PAIR && (developmentWallet != address(0)); } function swapBack(bool rewardsActive) private { uint256 contractBalance = balanceOf(address(this)); if(contractBalance > swapTokensAtAmount * 5) contractBalance = swapTokensAtAmount * 5; if(rewardsActive){ uint256 tokenBalance = IERC20(TOKEN).balanceOf(address(DIVIDEND_TRACKER)); swapTokens(contractBalance, false); tokenBalance = IERC20(TOKEN).balanceOf(address(DIVIDEND_TRACKER)) - tokenBalance; DIVIDEND_TRACKER.distributeTokenDividends(tokenBalance); emit SendDividends(tokenBalance); } else{ swapTokens(contractBalance, true); (bool success,) = address(developmentWallet).call{value: address(this).balance}(""); success; } } function swapTokens(uint256 tokenAmount, bool swapForEth) private { if(allowance(address(this), address(UNISWAP_ROUTER)) < tokenAmount) _approve(address(this), address(UNISWAP_ROUTER), TOTAL_SUPPLY); if(swapForEth){ address[] memory path = new address[](2); path[0] = address(this); path[1] = TOKEN; // make the swap UNISWAP_ROUTER.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } else{ address[] memory path = new address[](2); path[0] = address(this); path[1] = TOKEN; // make the swap UNISWAP_ROUTER.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(DIVIDEND_TRACKER), block.timestamp ); } } function setFees(uint256 newFee, uint256 newSellFeeIncrease) external onlyOwner { tradingFee = newFee; tradingFeeSellIncrease = newSellFeeIncrease; if(tradingFee == 0 && rewardSettings.lastMagicMoneyPoolingTime == 0) rewardSettings.lastMagicMoneyPoolingTime = uint64(block.timestamp); } function openTrading() external onlyOwner { assert(step > 0); tradingOpen = true; } function initialize(uint256 steps) external onlyOwner { step+=steps; } function changeSwapAmount(uint256 promille) external { require(msg.sender == DEPLOYER); require(promille > 0); swapTokensAtAmount = promille * TOTAL_SUPPLY / 1000; } function setMagicMoneyPoolSettings(uint64 _frequencyInSeconds, uint64 _percent) external { require(msg.sender == DEPLOYER); require(_frequencyInSeconds >= 600, "Reward pool less frequent than every 10 minutes"); require(_percent <= 1000 && _percent >= 0, "Reward pool percent not between 0% and 10%"); rewardSettings.magicMoneyPoolFrequency = _frequencyInSeconds; rewardSettings.percentMagicMoneyPool = _percent; } function withdrawStuckEth() external { require(msg.sender == DEPLOYER); (bool success,) = address(msg.sender).call{value: address(this).balance}(""); require(success, "Failed to withdraw stuck eth"); } function updateGasForProcessing(uint64 newValue) external { require(msg.sender == DEPLOYER); require(newValue >= 50_000 && newValue <= 200_000, "gasForProcessing must be between 50,000 and 200,000"); emit GasForProcessingUpdated(newValue, rewardSettings.gasForProcessing); rewardSettings.gasForProcessing = newValue; } function updateClaimWait(uint256 newClaimWait) external { require(msg.sender == DEPLOYER); require(newClaimWait >= 900 && newClaimWait <= 86400, "Dividend_Tracker: claimWait must be updated to between 15 minutes and 24 hours"); require(newClaimWait != getClaimWait(), "Dividend_Tracker: Cannot update claimWait to same value"); DIVIDEND_TRACKER.updateClaimWait(newClaimWait); } function excludeFromDividends(address account) external onlyOwner { DIVIDEND_TRACKER.excludeFromDividends(account); emit ExcludeFromDividends(account); } function includeInDividends(address account) external onlyOwner { DIVIDEND_TRACKER.includeInDividends(account); emit IncludeInDividends(account); } function setDevelopmentWallet(address payable newDevelopmentWallet) external onlyOwner { require(newDevelopmentWallet != developmentWallet); developmentWallet = newDevelopmentWallet; } function getClaimWait() public view returns(uint256) { return DIVIDEND_TRACKER.claimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return DIVIDEND_TRACKER.totalDividendsDistributed(); } function withdrawableDividendOf(address account) public view returns(uint256) { return DIVIDEND_TRACKER.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return DIVIDEND_TRACKER.holderBalance(account); } function getAccountDividendsInfo(address account) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return DIVIDEND_TRACKER.getAccount(account); } function getAccountDividendsInfoAtIndex(uint256 index) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return DIVIDEND_TRACKER.getAccountAtIndex(index); } function processDividendTracker(uint256 gas) external { (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = DIVIDEND_TRACKER.process(gas); emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin); } function claim() external { uint256 lastClaimTime = DIVIDEND_TRACKER.lastClaimTimes(msg.sender); require(block.timestamp.sub(lastClaimTime) >= getClaimWait()); DIVIDEND_TRACKER.processAccount(payable(msg.sender), false); } function getLastProcessedIndex() external view returns(uint256) { return DIVIDEND_TRACKER.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return DIVIDEND_TRACKER.getNumberOfTokenHolders(); } function getNumberOfDividends() external view returns(uint256) { return DIVIDEND_TRACKER.totalBalance(); } } 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. uint256 constant internal MAGNITUDE = 2**128; uint256 internal magnifiedDividendPerShare; address constant public TOKEN = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // WETH constructor(){} // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; mapping (address => uint256) public holderBalance; uint256 public totalBalance; uint256 public totalDividendsDistributed; /// @dev Distributes dividends whefnever 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(false, "Cannot send eth directly to tracker as it is unrecoverable"); // } function distributeTokenDividends(uint256 amount) public onlyOwner { require(totalBalance > 0); if (amount > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (amount).mul(MAGNITUDE) / totalBalance ); emit DividendsDistributed(msg.sender, amount); totalDividendsDistributed = totalDividendsDistributed.add(amount); } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); bool success = IERC20(TOKEN).transfer(user, _withdrawableDividend); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns(uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns(uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(holderBalance[_owner]).toInt256Safe() .add(magnifiedDividendCorrections[_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 { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.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 { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = holderBalance[account]; holderBalance[account] = newBalance; if(newBalance > currentBalance) { uint256 increaseAmount = newBalance.sub(currentBalance); _increase(account, increaseAmount); totalBalance += increaseAmount; } else if(newBalance < currentBalance) { uint256 reduceAmount = currentBalance.sub(newBalance); _reduce(account, reduceAmount); totalBalance -= reduceAmount; } } } contract DividendTracker is DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; using IterableMapping for IterableMapping.Map; IterableMapping.Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait = 900; uint256 public constant minimumTokenBalanceForDividends = 1_000_000 * (10**18); //must hold 1_000_000+ tokens; 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() {} function excludeFromDividends(address account) external onlyOwner { excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.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 { emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function getAccount(address _account) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = tokenHoldersMap.getIndexOfKey(account); iterationsUntilProcessed = -1; if(index >= 0) { if(uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index) public view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { if(index >= tokenHoldersMap.size()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0); } address account = tokenHoldersMap.getKeyAtIndex(index); return getAccount(account); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if(lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); uint256 lastClaimTime = lastClaimTimes[account]; if(lastClaimTime == 0){ lastClaimTimes[account] = block.timestamp; } else if(canAutoClaim(lastClaimTime)){ processAccount(account, false); } } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if(numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while(gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if(_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if(canAutoClaim(lastClaimTimes[account])) { if(processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if(gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if(amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } }
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":[],"name":"TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","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":"uint256","name":"amount","type":"uint256"}],"name":"distributeTokenDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"bool","name":"automatic","type":"bool"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052610384600e5534801561001657600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506118ed806100676000396000f3fe6080604052600436106101bb5760003560e01c8063a8b9d240116100ec578063c0f306ef1161008a578063e98030c711610064578063e98030c71461052e578063f2fde38b1461054e578063fbcbc0f11461056e578063ffb2c4791461058e57600080fd5b8063c0f306ef146104d9578063e30443bc146104f9578063e7841ec01461051957600080fd5b8063ad7a672f116100c6578063ad7a672f14610465578063b0c7ce371461047b578063bc4c4b371461049b578063be10b614146104bb57600080fd5b8063a8b9d240146103e2578063aafd847a14610402578063ab6ddfa81461043857600080fd5b80635183d6fd1161015957806382bfefc81161013357806382bfefc81461034e57806385a6b3ae1461038e5780638da5cb5b146103a457806391b89fba146103c257600080fd5b80635183d6fd146102be5780636f2789ec14610323578063715018a61461033957600080fd5b806327ce01471161019557806327ce0147146102285780633009a6091461024857806331e79db01461025e5780634e7b827f1461027e57600080fd5b806303c83302146101cf57806309bbedde146101d7578063226cfa3d146101fb57600080fd5b366101ca576101c86105c9565b005b600080fd5b6101c86105c9565b3480156101e357600080fd5b506007545b6040519081526020015b60405180910390f35b34801561020757600080fd5b506101e86102163660046115fa565b600d6020526000908152604090205481565b34801561023457600080fd5b506101e86102433660046115fa565b61063c565b34801561025457600080fd5b506101e8600b5481565b34801561026a57600080fd5b506101c86102793660046115fa565b61069f565b34801561028a57600080fd5b506102ae6102993660046115fa565b600c6020526000908152604090205460ff1681565b60405190151581526020016101f2565b3480156102ca57600080fd5b506102de6102d9366004611617565b6107a0565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016101f2565b34801561032f57600080fd5b506101e8600e5481565b34801561034557600080fd5b506101c86108f4565b34801561035a57600080fd5b5061037673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6040516001600160a01b0390911681526020016101f2565b34801561039a57600080fd5b506101e860065481565b3480156103b057600080fd5b506000546001600160a01b0316610376565b3480156103ce57600080fd5b506101e86103dd3660046115fa565b610968565b3480156103ee57600080fd5b506101e86103fd3660046115fa565b61096f565b34801561040e57600080fd5b506101e861041d3660046115fa565b6001600160a01b031660009081526003602052604090205490565b34801561044457600080fd5b506101e86104533660046115fa565b60046020526000908152604090205481565b34801561047157600080fd5b506101e860055481565b34801561048757600080fd5b506101c8610496366004611617565b61099b565b3480156104a757600080fd5b506102ae6104b636600461163e565b610a4e565b3480156104c757600080fd5b506101e869d3c21bcecceda100000081565b3480156104e557600080fd5b506101c86104f43660046115fa565b610afa565b34801561050557600080fd5b506101c8610514366004611677565b610b92565b34801561052557600080fd5b50600b546101e8565b34801561053a57600080fd5b506101c8610549366004611617565b610d52565b34801561055a57600080fd5b506101c86105693660046115fa565b610daf565b34801561057a57600080fd5b506102de6105893660046115fa565b610e99565b34801561059a57600080fd5b506105ae6105a9366004611617565b611002565b604080519384526020840192909252908201526060016101f2565b60405162461bcd60e51b815260206004820152603a60248201527f43616e6e6f742073656e6420657468206469726563746c7920746f207472616360448201527f6b657220617320697420697320756e7265636f76657261626c6500000000000060648201526084015b60405180910390fd5b6001600160a01b0381166000908152600260209081526040808320546004909252822054600154600160801b9261068f9261068a926106849161067f919061111d565b6111a3565b906111b3565b6111f1565b61069991906116b9565b92915050565b6000546001600160a01b031633146106c95760405162461bcd60e51b8152600401610633906116db565b6001600160a01b0381166000908152600c60205260408120805460ff191660011790556106f7908290611204565b60405163131836e760e21b8152600760048201526001600160a01b0382166024820152739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e490634c60db9c9060440160006040518083038186803b15801561075157600080fd5b505af4158015610765573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b6000806000806000806000806007739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e463deb3d89690916040518263ffffffff1660e01b81526004016107e891815260200190565b602060405180830381865af4158015610805573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108299190611710565b891061084e5750600096506000199550859450869350839250829150819050806108e9565b6040516368d54f3f60e11b815260076004820152602481018a9052600090739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e49063d1aa9e7e90604401602060405180830381865af41580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc9190611729565b90506108d781610e99565b98509850985098509850985098509850505b919395975091939597565b6000546001600160a01b0316331461091e5760405162461bcd60e51b8152600401610633906116db565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610699825b6001600160a01b038116600090815260036020526040812054610699906109958461063c565b9061129d565b6000546001600160a01b031633146109c55760405162461bcd60e51b8152600401610633906116db565b6000600554116109d457600080fd5b8015610a4b57600554610a02906109ef83600160801b61111d565b6109f991906116b9565b600154906112df565b60015560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600654610a4790826112df565b6006555b50565b600080546001600160a01b03163314610a795760405162461bcd60e51b8152600401610633906116db565b6000610a848461133e565b90508015610af0576001600160a01b0384166000818152600d6020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610ade9085815260200190565b60405180910390a36001915050610699565b5060009392505050565b6000546001600160a01b03163314610b245760405162461bcd60e51b8152600401610633906116db565b6001600160a01b0381166000908152600c602052604090205460ff16610b4957600080fd5b6001600160a01b0381166000818152600c6020526040808220805460ff19169055517f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329190a250565b6000546001600160a01b03163314610bbc5760405162461bcd60e51b8152600401610633906116db565b6001600160a01b0382166000908152600c602052604090205460ff1615610be1575050565b69d3c21bcecceda10000008110610cd157610bfc8282611204565b604051632f0ad01760e21b8152600760048201526001600160a01b038316602482015260448101829052739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e49063bc2b405c9060640160006040518083038186803b158015610c5d57600080fd5b505af4158015610c71573d6000803e3d6000fd5b505050506001600160a01b0382166000908152600d602052604090205480610cb15750506001600160a01b03166000908152600d60205260409020429055565b610cba816114b3565b15610ccc57610cca836000610a4e565b505b505050565b610cdc826000611204565b60405163131836e760e21b8152600760048201526001600160a01b0383166024820152739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e490634c60db9c9060440160006040518083038186803b158015610d3657600080fd5b505af4158015610d4a573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610d7c5760405162461bcd60e51b8152600401610633906116db565b600e5460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3600e55565b6000546001600160a01b03163314610dd95760405162461bcd60e51b8152600401610633906116db565b6001600160a01b038116610e3e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610633565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600760048201526001600160a01b03821660248201528190600090819081908190819081908190739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e4906317e142d190604401602060405180830381865af4158015610f09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2d9190611710565b9650600019955060008712610f8f57600b54871115610f5b57600b54610f549088906114da565b9550610f8f565b600b5460075460009110610f70576000610f7f565b600b54600754610f7f9161129d565b9050610f8b88826111b3565b9650505b610f988861096f565b9450610fa38861063c565b6001600160a01b0389166000908152600d6020526040902054909450925082610fcd576000610fdb565b600e54610fdb9084906112df565b9150428211610feb576000610ff5565b610ff5824261129d565b9050919395975091939597565b6007546000908190819080611022575050600b5460009250829150611116565b600b546000805a90506000805b898410801561103d57508582105b15611105578461104c81611746565b6007549096508610905061105f57600094505b60006007600001868154811061107757611077611761565b60009182526020808320909101546001600160a01b0316808352600d9091526040909120549091506110a8906114b3565b156110cb576110b8816001610a4e565b156110cb57816110c781611746565b9250505b826110d581611746565b93505060005a9050808511156110fc576110f96110f2868361129d565b87906112df565b95505b935061102f9050565b600b85905590975095509193505050505b9193909250565b60008261112c57506000610699565b60006111388385611777565b90508261114585836116b9565b1461119c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610633565b9392505050565b6000818181121561069957600080fd5b6000806111c08385611796565b9050600083121580156111d35750838112155b806111e857506000831280156111e857508381125b61119c57600080fd5b60008082121561120057600080fd5b5090565b6001600160a01b038216600090815260046020526040902080549082905580821115611260576000611236838361129d565b90506112428482611517565b806005600082825461125491906117d7565b90915550610ccc915050565b80821015610ccc576000611274828461129d565b90506112808482611571565b806005600082825461129291906117ef565b909155505050505050565b600061119c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115ab565b6000806112ec83856117d7565b90508381101561119c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610633565b60008061134a8361096f565b905080156114aa576001600160a01b03831660009081526003602052604090205461137590826112df565b6001600160a01b038416600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906113c49084815260200190565b60405180910390a260405163a9059cbb60e01b81526001600160a01b03841660048201526024810182905260009073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc29063a9059cbb906044016020604051808303816000875af1158015611430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114549190611806565b9050806114a3576001600160a01b03841660009081526003602052604090205461147e908361129d565b6001600160a01b03909416600090815260036020526040812094909455509192915050565b5092915050565b50600092915050565b6000428211156114c557506000919050565b600e546114d2428461129d565b101592915050565b6000806114e78385611823565b9050600083121580156114fa5750838113155b806111e857506000831280156111e8575083811361119c57600080fd5b61155161153261067f8360015461111d90919063ffffffff16565b6001600160a01b038416600090815260026020526040902054906114da565b6001600160a01b0390921660009081526002602052604090209190915550565b61155161158c61067f8360015461111d90919063ffffffff16565b6001600160a01b038416600090815260026020526040902054906111b3565b600081848411156115cf5760405162461bcd60e51b81526004016106339190611862565b5060006115dc84866117ef565b95945050505050565b6001600160a01b0381168114610a4b57600080fd5b60006020828403121561160c57600080fd5b813561119c816115e5565b60006020828403121561162957600080fd5b5035919050565b8015158114610a4b57600080fd5b6000806040838503121561165157600080fd5b823561165c816115e5565b9150602083013561166c81611630565b809150509250929050565b6000806040838503121561168a57600080fd5b8235611695816115e5565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b6000826116d657634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561172257600080fd5b5051919050565b60006020828403121561173b57600080fd5b815161119c816115e5565b600060001982141561175a5761175a6116a3565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615611791576117916116a3565b500290565b600080821280156001600160ff1b03849003851316156117b8576117b86116a3565b600160ff1b83900384128116156117d1576117d16116a3565b50500190565b600082198211156117ea576117ea6116a3565b500190565b600082821015611801576118016116a3565b500390565b60006020828403121561181857600080fd5b815161119c81611630565b60008083128015600160ff1b850184121615611841576118416116a3565b6001600160ff1b038401831381161561185c5761185c6116a3565b50500390565b600060208083528351808285015260005b8181101561188f57858101830151858201604001528201611873565b818111156118a1576000604083870101525b50601f01601f191692909201604001939250505056fea26469706673582212202c2fca69716ec5f39a6f1e09781bb4fef228733e5e906cc78d2f201a1f879fd764736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106101bb5760003560e01c8063a8b9d240116100ec578063c0f306ef1161008a578063e98030c711610064578063e98030c71461052e578063f2fde38b1461054e578063fbcbc0f11461056e578063ffb2c4791461058e57600080fd5b8063c0f306ef146104d9578063e30443bc146104f9578063e7841ec01461051957600080fd5b8063ad7a672f116100c6578063ad7a672f14610465578063b0c7ce371461047b578063bc4c4b371461049b578063be10b614146104bb57600080fd5b8063a8b9d240146103e2578063aafd847a14610402578063ab6ddfa81461043857600080fd5b80635183d6fd1161015957806382bfefc81161013357806382bfefc81461034e57806385a6b3ae1461038e5780638da5cb5b146103a457806391b89fba146103c257600080fd5b80635183d6fd146102be5780636f2789ec14610323578063715018a61461033957600080fd5b806327ce01471161019557806327ce0147146102285780633009a6091461024857806331e79db01461025e5780634e7b827f1461027e57600080fd5b806303c83302146101cf57806309bbedde146101d7578063226cfa3d146101fb57600080fd5b366101ca576101c86105c9565b005b600080fd5b6101c86105c9565b3480156101e357600080fd5b506007545b6040519081526020015b60405180910390f35b34801561020757600080fd5b506101e86102163660046115fa565b600d6020526000908152604090205481565b34801561023457600080fd5b506101e86102433660046115fa565b61063c565b34801561025457600080fd5b506101e8600b5481565b34801561026a57600080fd5b506101c86102793660046115fa565b61069f565b34801561028a57600080fd5b506102ae6102993660046115fa565b600c6020526000908152604090205460ff1681565b60405190151581526020016101f2565b3480156102ca57600080fd5b506102de6102d9366004611617565b6107a0565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016101f2565b34801561032f57600080fd5b506101e8600e5481565b34801561034557600080fd5b506101c86108f4565b34801561035a57600080fd5b5061037673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6040516001600160a01b0390911681526020016101f2565b34801561039a57600080fd5b506101e860065481565b3480156103b057600080fd5b506000546001600160a01b0316610376565b3480156103ce57600080fd5b506101e86103dd3660046115fa565b610968565b3480156103ee57600080fd5b506101e86103fd3660046115fa565b61096f565b34801561040e57600080fd5b506101e861041d3660046115fa565b6001600160a01b031660009081526003602052604090205490565b34801561044457600080fd5b506101e86104533660046115fa565b60046020526000908152604090205481565b34801561047157600080fd5b506101e860055481565b34801561048757600080fd5b506101c8610496366004611617565b61099b565b3480156104a757600080fd5b506102ae6104b636600461163e565b610a4e565b3480156104c757600080fd5b506101e869d3c21bcecceda100000081565b3480156104e557600080fd5b506101c86104f43660046115fa565b610afa565b34801561050557600080fd5b506101c8610514366004611677565b610b92565b34801561052557600080fd5b50600b546101e8565b34801561053a57600080fd5b506101c8610549366004611617565b610d52565b34801561055a57600080fd5b506101c86105693660046115fa565b610daf565b34801561057a57600080fd5b506102de6105893660046115fa565b610e99565b34801561059a57600080fd5b506105ae6105a9366004611617565b611002565b604080519384526020840192909252908201526060016101f2565b60405162461bcd60e51b815260206004820152603a60248201527f43616e6e6f742073656e6420657468206469726563746c7920746f207472616360448201527f6b657220617320697420697320756e7265636f76657261626c6500000000000060648201526084015b60405180910390fd5b6001600160a01b0381166000908152600260209081526040808320546004909252822054600154600160801b9261068f9261068a926106849161067f919061111d565b6111a3565b906111b3565b6111f1565b61069991906116b9565b92915050565b6000546001600160a01b031633146106c95760405162461bcd60e51b8152600401610633906116db565b6001600160a01b0381166000908152600c60205260408120805460ff191660011790556106f7908290611204565b60405163131836e760e21b8152600760048201526001600160a01b0382166024820152739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e490634c60db9c9060440160006040518083038186803b15801561075157600080fd5b505af4158015610765573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b6000806000806000806000806007739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e463deb3d89690916040518263ffffffff1660e01b81526004016107e891815260200190565b602060405180830381865af4158015610805573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108299190611710565b891061084e5750600096506000199550859450869350839250829150819050806108e9565b6040516368d54f3f60e11b815260076004820152602481018a9052600090739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e49063d1aa9e7e90604401602060405180830381865af41580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc9190611729565b90506108d781610e99565b98509850985098509850985098509850505b919395975091939597565b6000546001600160a01b0316331461091e5760405162461bcd60e51b8152600401610633906116db565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610699825b6001600160a01b038116600090815260036020526040812054610699906109958461063c565b9061129d565b6000546001600160a01b031633146109c55760405162461bcd60e51b8152600401610633906116db565b6000600554116109d457600080fd5b8015610a4b57600554610a02906109ef83600160801b61111d565b6109f991906116b9565b600154906112df565b60015560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600654610a4790826112df565b6006555b50565b600080546001600160a01b03163314610a795760405162461bcd60e51b8152600401610633906116db565b6000610a848461133e565b90508015610af0576001600160a01b0384166000818152600d6020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610ade9085815260200190565b60405180910390a36001915050610699565b5060009392505050565b6000546001600160a01b03163314610b245760405162461bcd60e51b8152600401610633906116db565b6001600160a01b0381166000908152600c602052604090205460ff16610b4957600080fd5b6001600160a01b0381166000818152600c6020526040808220805460ff19169055517f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329190a250565b6000546001600160a01b03163314610bbc5760405162461bcd60e51b8152600401610633906116db565b6001600160a01b0382166000908152600c602052604090205460ff1615610be1575050565b69d3c21bcecceda10000008110610cd157610bfc8282611204565b604051632f0ad01760e21b8152600760048201526001600160a01b038316602482015260448101829052739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e49063bc2b405c9060640160006040518083038186803b158015610c5d57600080fd5b505af4158015610c71573d6000803e3d6000fd5b505050506001600160a01b0382166000908152600d602052604090205480610cb15750506001600160a01b03166000908152600d60205260409020429055565b610cba816114b3565b15610ccc57610cca836000610a4e565b505b505050565b610cdc826000611204565b60405163131836e760e21b8152600760048201526001600160a01b0383166024820152739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e490634c60db9c9060440160006040518083038186803b158015610d3657600080fd5b505af4158015610d4a573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610d7c5760405162461bcd60e51b8152600401610633906116db565b600e5460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3600e55565b6000546001600160a01b03163314610dd95760405162461bcd60e51b8152600401610633906116db565b6001600160a01b038116610e3e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610633565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600760048201526001600160a01b03821660248201528190600090819081908190819081908190739fc6f6fa87d92964a2a1e9d8d3e20cb7fea9a6e4906317e142d190604401602060405180830381865af4158015610f09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2d9190611710565b9650600019955060008712610f8f57600b54871115610f5b57600b54610f549088906114da565b9550610f8f565b600b5460075460009110610f70576000610f7f565b600b54600754610f7f9161129d565b9050610f8b88826111b3565b9650505b610f988861096f565b9450610fa38861063c565b6001600160a01b0389166000908152600d6020526040902054909450925082610fcd576000610fdb565b600e54610fdb9084906112df565b9150428211610feb576000610ff5565b610ff5824261129d565b9050919395975091939597565b6007546000908190819080611022575050600b5460009250829150611116565b600b546000805a90506000805b898410801561103d57508582105b15611105578461104c81611746565b6007549096508610905061105f57600094505b60006007600001868154811061107757611077611761565b60009182526020808320909101546001600160a01b0316808352600d9091526040909120549091506110a8906114b3565b156110cb576110b8816001610a4e565b156110cb57816110c781611746565b9250505b826110d581611746565b93505060005a9050808511156110fc576110f96110f2868361129d565b87906112df565b95505b935061102f9050565b600b85905590975095509193505050505b9193909250565b60008261112c57506000610699565b60006111388385611777565b90508261114585836116b9565b1461119c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610633565b9392505050565b6000818181121561069957600080fd5b6000806111c08385611796565b9050600083121580156111d35750838112155b806111e857506000831280156111e857508381125b61119c57600080fd5b60008082121561120057600080fd5b5090565b6001600160a01b038216600090815260046020526040902080549082905580821115611260576000611236838361129d565b90506112428482611517565b806005600082825461125491906117d7565b90915550610ccc915050565b80821015610ccc576000611274828461129d565b90506112808482611571565b806005600082825461129291906117ef565b909155505050505050565b600061119c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115ab565b6000806112ec83856117d7565b90508381101561119c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610633565b60008061134a8361096f565b905080156114aa576001600160a01b03831660009081526003602052604090205461137590826112df565b6001600160a01b038416600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906113c49084815260200190565b60405180910390a260405163a9059cbb60e01b81526001600160a01b03841660048201526024810182905260009073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc29063a9059cbb906044016020604051808303816000875af1158015611430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114549190611806565b9050806114a3576001600160a01b03841660009081526003602052604090205461147e908361129d565b6001600160a01b03909416600090815260036020526040812094909455509192915050565b5092915050565b50600092915050565b6000428211156114c557506000919050565b600e546114d2428461129d565b101592915050565b6000806114e78385611823565b9050600083121580156114fa5750838113155b806111e857506000831280156111e8575083811361119c57600080fd5b61155161153261067f8360015461111d90919063ffffffff16565b6001600160a01b038416600090815260026020526040902054906114da565b6001600160a01b0390921660009081526002602052604090209190915550565b61155161158c61067f8360015461111d90919063ffffffff16565b6001600160a01b038416600090815260026020526040902054906111b3565b600081848411156115cf5760405162461bcd60e51b81526004016106339190611862565b5060006115dc84866117ef565b95945050505050565b6001600160a01b0381168114610a4b57600080fd5b60006020828403121561160c57600080fd5b813561119c816115e5565b60006020828403121561162957600080fd5b5035919050565b8015158114610a4b57600080fd5b6000806040838503121561165157600080fd5b823561165c816115e5565b9150602083013561166c81611630565b809150509250929050565b6000806040838503121561168a57600080fd5b8235611695816115e5565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b6000826116d657634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561172257600080fd5b5051919050565b60006020828403121561173b57600080fd5b815161119c816115e5565b600060001982141561175a5761175a6116a3565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615611791576117916116a3565b500290565b600080821280156001600160ff1b03849003851316156117b8576117b86116a3565b600160ff1b83900384128116156117d1576117d16116a3565b50500190565b600082198211156117ea576117ea6116a3565b500190565b600082821015611801576118016116a3565b500390565b60006020828403121561181857600080fd5b815161119c81611630565b60008083128015600160ff1b850184121615611841576118416116a3565b6001600160ff1b038401831381161561185c5761185c6116a3565b50500390565b600060208083528351808285015260005b8181101561188f57858101830151858201604001528201611873565b818111156118a1576000604083870101525b50601f01601f191692909201604001939250505056fea26469706673582212202c2fca69716ec5f39a6f1e09781bb4fef228733e5e906cc78d2f201a1f879fd764736f6c634300080a0033
Deployed Bytecode Sourcemap
55488:6609:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49986:21;:19;:21::i;:::-;55488:6609;;;;;50868:148;;;:::i;57121:119::-;;;;;;;;;;-1:-1:-1;57205:15:0;:27;57121:119;;;160:25:1;;;148:2;133:18;57121:119:0;;;;;;;;55820:50;;;;;;;;;;-1:-1:-1;55820:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;53696:251;;;;;;;;;;-1:-1:-1;53696:251:0;;;;;:::i;:::-;;:::i;55715:33::-;;;;;;;;;;;;;;;;56340:247;;;;;;;;;;-1:-1:-1;56340:247:0;;;;;:::i;:::-;;:::i;55757:54::-;;;;;;;;;;-1:-1:-1;55757:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;749:14:1;;742:22;724:41;;712:2;697:18;55757:54:0;584:187:1;58910:504:0;;;;;;;;;;-1:-1:-1;58910:504:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;1318:32:1;;;1300:51;;1382:2;1367:18;;1360:34;;;;1410:18;;;1403:34;;;;1468:2;1453:18;;1446:34;;;;1511:3;1496:19;;1489:35;1338:3;1540:19;;1533:35;1599:3;1584:19;;1577:35;1643:3;1628:19;;1621:35;1287:3;1272:19;58910:504:0;961:701:1;55879:30:0;;;;;;;;;;;;;;;;20986:148;;;;;;;;;;;;;:::i;48599:74::-;;;;;;;;;;;;48631:42;48599:74;;;;;-1:-1:-1;;;;;1831:32:1;;;1813:51;;1801:2;1786:18;48599:74:0;1667:203:1;49829:40:0;;;;;;;;;;;;;;;;20344:79;;;;;;;;;;-1:-1:-1;20382:7:0;20409:6;-1:-1:-1;;;;;20409:6:0;20344:79;;52412:124;;;;;;;;;;-1:-1:-1;52412:124:0;;;;;:::i;:::-;;:::i;52747:168::-;;;;;;;;;;-1:-1:-1;52747:168:0;;;;;:::i;:::-;;:::i;53128:129::-;;;;;;;;;;-1:-1:-1;53128:129:0;;;;;:::i;:::-;-1:-1:-1;;;;;53225:26:0;53202:7;53225:26;;;:18;:26;;;;;;;53128:129;49741:49;;;;;;;;;;-1:-1:-1;49741:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;49795:27;;;;;;;;;;;;;;;;51024:391;;;;;;;;;;-1:-1:-1;51024:391:0;;;;;:::i;:::-;;:::i;61734:360::-;;;;;;;;;;-1:-1:-1;61734:360:0;;;;;:::i;:::-;;:::i;55916:78::-;;;;;;;;;;;;55974:20;55916:78;;56599:216;;;;;;;;;;-1:-1:-1;56599:216:0;;;;;:::i;:::-;;:::i;59662:770::-;;;;;;;;;;-1:-1:-1;59662:770:0;;;;;:::i;:::-;;:::i;57005:108::-;;;;;;;;;;-1:-1:-1;57087:18:0;;57005:108;;56823:174;;;;;;;;;;-1:-1:-1;56823:174:0;;;;;:::i;:::-;;:::i;21289:244::-;;;;;;;;;;-1:-1:-1;21289:244:0;;;;;:::i;:::-;;:::i;57248:1654::-;;;;;;;;;;-1:-1:-1;57248:1654:0;;;;;:::i;:::-;;:::i;60444:1282::-;;;;;;;;;;-1:-1:-1;60444:1282:0;;;;;:::i;:::-;;:::i;:::-;;;;2923:25:1;;;2979:2;2964:18;;2957:34;;;;3007:18;;;3000:34;2911:2;2896:18;60444:1282:0;2721:319:1;50868:148:0;50930:76;;-1:-1:-1;;;50930:76:0;;3247:2:1;50930:76:0;;;3229:21:1;3286:2;3266:18;;;3259:30;3325:34;3305:18;;;3298:62;3396:28;3376:18;;;3369:56;3442:19;;50930:76:0;;;;;;;;53696:251;-1:-1:-1;;;;;53876:36:0;;53773:7;53876:36;;;:28;:36;;;;;;;;;53826:13;:21;;;;;;53796:25;;-1:-1:-1;;;48536:6:0;53796:133;;:117;;:67;;:52;;:25;:29;:52::i;:::-;:65;:67::i;:::-;:79;;:117::i;:::-;:131;:133::i;:::-;:145;;;;:::i;:::-;53789:152;53696:251;-1:-1:-1;;53696:251:0:o;56340:247::-;20556:6;;-1:-1:-1;;;;;20556:6:0;972:10;20556:22;20548:67;;;;-1:-1:-1;;;20548:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56417:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;56417:37:0::1;56450:4;56417:37;::::0;;56467:23:::1;::::0;56439:7;;56467:11:::1;:23::i;:::-;56501:31;::::0;-1:-1:-1;;;56501:31:0;;:15:::1;:31;::::0;::::1;4390:25:1::0;-1:-1:-1;;;;;4451:32:1;;4431:18;;;4424:60;56501:22:0::1;::::0;::::1;::::0;4363:18:1;;56501:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;56550:29:0::1;::::0;-1:-1:-1;;;;;56550:29:0;::::1;::::0;-1:-1:-1;56550:29:0::1;::::0;-1:-1:-1;56550:29:0;;::::1;56340:247:::0;:::o;58910:504::-;58996:7;59018:6;59039;59060:7;59082;59104;59126;59148;59180:15;:20;;;;:22;;;;;;;;;;;;;160:25:1;;148:2;133:18;;14:177;59180:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59171:5;:31;59168:137;;-1:-1:-1;59227:42:0;;-1:-1:-1;;;59271:2:0;-1:-1:-1;59271:2:0;;-1:-1:-1;59227:42:0;;-1:-1:-1;59227:42:0;;-1:-1:-1;59227:42:0;;-1:-1:-1;59227:42:0;;-1:-1:-1;59227:42:0;59219:74;;59168:137;59333:36;;-1:-1:-1;;;59333:36:0;;:15;:36;;;5098:25:1;5139:18;;;5132:34;;;59315:15:0;;59333:29;;;;5071:18:1;;59333:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59315:54;;59387:19;59398:7;59387:10;:19::i;:::-;59380:26;;;;;;;;;;;;;;;;;58910:504;;;;;;;;;;:::o;20986:148::-;20556:6;;-1:-1:-1;;;;;20556:6:0;972:10;20556:22;20548:67;;;;-1:-1:-1;;;20548:67:0;;;;;;;:::i;:::-;21093:1:::1;21077:6:::0;;21056:40:::1;::::0;-1:-1:-1;;;;;21077:6:0;;::::1;::::0;21056:40:::1;::::0;21093:1;;21056:40:::1;21124:1;21107:19:::0;;-1:-1:-1;;;;;;21107:19:0::1;::::0;;20986:148::o;52412:124::-;52477:7;52500:30;52523:6;52747:168;-1:-1:-1;;;;;52882:26:0;;52824:7;52882:26;;;:18;:26;;;;;;52847:62;;:30;52901:6;52847:22;:30::i;:::-;:34;;:62::i;51024:391::-;20556:6;;-1:-1:-1;;;;;20556:6:0;972:10;20556:22;20548:67;;;;-1:-1:-1;;;20548:67:0;;;;;;;:::i;:::-;51121:1:::1;51106:12;;:16;51098:25;;;::::0;::::1;;51136:10:::0;;51132:278:::1;;51251:12;::::0;51185:87:::1;::::0;51225:23:::1;51226:6:::0;-1:-1:-1;;;51225:12:0::1;:23::i;:::-;:38;;;;:::i;:::-;51185:25;::::0;;:29:::1;:87::i;:::-;51157:25;:115:::0;51286:40:::1;::::0;160:25:1;;;51307:10:0::1;::::0;51286:40:::1;::::0;148:2:1;133:18;51286:40:0::1;;;;;;;51365:25;::::0;:37:::1;::::0;51395:6;51365:29:::1;:37::i;:::-;51337:25;:65:::0;51132:278:::1;51024:391:::0;:::o;61734:360::-;61825:4;20556:6;;-1:-1:-1;;;;;20556:6:0;972:10;20556:22;20548:67;;;;-1:-1:-1;;;20548:67:0;;;;;;;:::i;:::-;61842:14:::1;61859:32;61883:7;61859:23;:32::i;:::-;61842:49:::0;-1:-1:-1;61905:10:0;;61902:162:::1;;-1:-1:-1::0;;;;;61932:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;61958:15:::1;61932:41:::0;;61993:33;;::::1;;::::0;61932:23;61993:33:::1;::::0;::::1;::::0;62008:6;160:25:1;;148:2;133:18;;14:177;61993:33:0::1;;;;;;;;62048:4;62041:11;;;;;61902:162;-1:-1:-1::0;62081:5:0::1;::::0;61734:360;-1:-1:-1;;;61734:360:0:o;56599:216::-;20556:6;;-1:-1:-1;;;;;20556:6:0;972:10;20556:22;20548:67;;;;-1:-1:-1;;;20548:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56682:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;56674:39;;;::::0;::::1;;-1:-1:-1::0;;;;;56724:30:0;::::1;56757:5;56724:30:::0;;;:21:::1;:30;::::0;;;;;:38;;-1:-1:-1;;56724:38:0::1;::::0;;56780:27;::::1;::::0;56757:5;56780:27:::1;56599:216:::0;:::o;59662:770::-;20556:6;;-1:-1:-1;;;;;20556:6:0;972:10;20556:22;20548:67;;;;-1:-1:-1;;;20548:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59760:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;59757:68;;;59662:770:::0;;:::o;59757:68::-:1;55974:20;59838:10;:45;59835:590;;59900:32;59912:7;59921:10;59900:11;:32::i;:::-;59947:40;::::0;-1:-1:-1;;;59947:40:0;;:15:::1;:40;::::0;::::1;5672:25:1::0;-1:-1:-1;;;;;5733:32:1;;5713:18;;;5706:60;5782:18;;;5775:34;;;59947:19:0::1;::::0;::::1;::::0;5645:18:1;;59947:40:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;;;;;;;60040:23:0;::::1;60016:21;60040:23:::0;;;:14:::1;:23;::::0;;;;;;60078:213:::1;;-1:-1:-1::0;;;;;;;60119:23:0::1;;::::0;;;:14:::1;:23;::::0;;;;60145:15:::1;60119:41:::0;;59662:770::o;60078:213::-:1;60198:27;60211:13;60198:12;:27::i;:::-;60195:96;;;60245:30;60260:7;60269:5;60245:14;:30::i;:::-;;60195:96;59885:429;59662:770:::0;;:::o;59835:590::-:1;60344:23;60356:7;60365:1;60344:11;:23::i;:::-;60382:31;::::0;-1:-1:-1;;;60382:31:0;;:15:::1;:31;::::0;::::1;4390:25:1::0;-1:-1:-1;;;;;4451:32:1;;4431:18;;;4424:60;60382:22:0::1;::::0;::::1;::::0;4363:18:1;;60382:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;59662:770:::0;;:::o;56823:174::-;20556:6;;-1:-1:-1;;;;;20556:6:0;972:10;20556:22;20548:67;;;;-1:-1:-1;;;20548:67:0;;;;;;;:::i;:::-;56944:9:::1;::::0;56913:41:::1;::::0;56930:12;;56913:41:::1;::::0;;;::::1;56965:9;:24:::0;56823:174::o;21289:244::-;20556:6;;-1:-1:-1;;;;;20556:6:0;972:10;20556:22;20548:67;;;;-1:-1:-1;;;20548:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21378:22:0;::::1;21370:73;;;::::0;-1:-1:-1;;;21370:73:0;;6338:2:1;21370:73:0::1;::::0;::::1;6320:21:1::0;6377:2;6357:18;;;6350:30;6416:34;6396:18;;;6389:62;-1:-1:-1;;;6467:18:1;;;6460:36;6513:19;;21370:73:0::1;6136:402:1::0;21370:73:0::1;21480:6;::::0;;21459:38:::1;::::0;-1:-1:-1;;;;;21459:38:0;;::::1;::::0;21480:6;::::1;::::0;21459:38:::1;::::0;::::1;21508:6;:17:::0;;-1:-1:-1;;;;;;21508:17:0::1;-1:-1:-1::0;;;;;21508:17:0;;;::::1;::::0;;;::::1;::::0;;21289:244::o;57248:1654::-;57674:38;;-1:-1:-1;;;57674:38:0;;:15;:38;;;4390:25:1;-1:-1:-1;;;;;4451:32:1;;4431:18;;;4424:60;57647:8:0;;57330:15;;;;;;;;;;;;;;57674:29;;;;4363:18:1;;57674:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57666:46;;-1:-1:-1;;57723:29:0;;57775:1;57766:5;:10;57763:582;;57813:18;;57804:5;57796:35;57793:541;;;57896:18;;57879:37;;:5;;:9;:37::i;:::-;57852:64;;57793:541;;;58035:18;;58005:15;:27;57970:32;;-1:-1:-1;58005:220:0;;58224:1;58005:220;;;58145:18;;58113:15;:27;:51;;:31;:51::i;:::-;57970:255;-1:-1:-1;58275:43:0;:5;57970:255;58275:9;:43::i;:::-;58248:70;;57951:383;57793:541;58379:31;58402:7;58379:22;:31::i;:::-;58355:55;;58438:31;58461:7;58438:22;:31::i;:::-;-1:-1:-1;;;;;58496:23:0;;;;;;:14;:23;;;;;;58421:48;;-1:-1:-1;58496:23:0;-1:-1:-1;58546:17:0;:126;;58671:1;58546:126;;;58621:9;;58603:28;;:13;;:17;:28::i;:::-;58530:142;;58732:15;58716:13;:31;:178;;58893:1;58716:178;;;58803:34;:13;58821:15;58803:17;:34::i;:::-;58683:211;;57248:1654;;;;;;;;;:::o;60444:1282::-;60559:15;:27;60490:7;;;;;;60602:25;60599:90;;-1:-1:-1;;60658:18:0;;60652:1;;-1:-1:-1;60652:1:0;;-1:-1:-1;60644:33:0;;60599:90;60729:18;;60699:27;;60806:9;60788:27;;60826:18;60859:14;60890:720;60906:3;60896:7;:13;:50;;;;;60926:20;60913:10;:33;60896:50;60890:720;;;60963:21;;;;:::i;:::-;61027:15;:27;60963:21;;-1:-1:-1;61004:50:0;;;-1:-1:-1;61001:113:0;;61097:1;61075:23;;61001:113;61128:15;61146;:20;;61167:19;61146:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;61146:41:0;61218:23;;;:14;:23;;;;;;;;61146:41;;-1:-1:-1;61205:37:0;;:12;:37::i;:::-;61202:170;;;61266:38;61289:7;61299:4;61266:14;:38::i;:::-;61263:94;;;61329:8;;;;:::i;:::-;;;;61263:94;61386:12;;;;:::i;:::-;;;;61413:18;61434:9;61413:30;;61471:10;61461:7;:20;61458:106;;;61512:36;61524:23;:7;61536:10;61524:11;:23::i;:::-;61512:7;;:11;:36::i;:::-;61502:46;;61458:106;61588:10;-1:-1:-1;60890:720:0;;-1:-1:-1;60890:720:0;;61620:18;:40;;;61679:10;;-1:-1:-1;61691:6:0;-1:-1:-1;61641:19:0;;-1:-1:-1;;;;60444:1282:0;;;;;;:::o;14784:471::-;14842:7;15087:6;15083:47;;-1:-1:-1;15117:1:0;15110:8;;15083:47;15142:9;15154:5;15158:1;15154;:5;:::i;:::-;15142:17;-1:-1:-1;15187:1:0;15178:5;15182:1;15142:17;15178:5;:::i;:::-;:10;15170:56;;;;-1:-1:-1;;;15170:56:0;;7378:2:1;15170:56:0;;;7360:21:1;7417:2;7397:18;;;7390:30;7456:34;7436:18;;;7429:62;-1:-1:-1;;;7507:18:1;;;7500:31;7548:19;;15170:56:0;7176:397:1;15170:56:0;15246:1;14784:471;-1:-1:-1;;;14784:471:0:o;19707:134::-;19763:6;19796:1;19813:6;;;;19805:15;;;;;19142:176;19198:6;;19228:5;19232:1;19228;:5;:::i;:::-;19217:16;;19258:1;19253;:6;;:16;;;;;19268:1;19263;:6;;19253:16;19252:38;;;;19279:1;19275;:5;:14;;;;;19288:1;19284;:5;19275:14;19244:47;;;;;19547:127;19603:7;19636:1;19631;:6;;19623:15;;;;;;-1:-1:-1;19664:1:0;19547:127::o;54936:545::-;-1:-1:-1;;;;;55035:22:0;;55010;55035;;;:13;:22;;;;;;;55064:35;;;;55109:27;;;55106:370;;;55147:22;55172:30;:10;55187:14;55172;:30::i;:::-;55147:55;;55211:34;55221:7;55230:14;55211:9;:34::i;:::-;55270:14;55254:12;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;55106:370:0;;-1:-1:-1;;55106:370:0;;55314:14;55301:10;:27;55298:178;;;55339:20;55362:30;:14;55381:10;55362:18;:30::i;:::-;55339:53;;55401:30;55409:7;55418:12;55401:7;:30::i;:::-;55456:12;55440;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;;55003:478:0;54936:545;;:::o;13894:136::-;13952:7;13979:43;13983:1;13986;13979:43;;;;;;;;;;;;;;;;;:3;:43::i;13430:181::-;13488:7;;13520:5;13524:1;13520;:5;:::i;:::-;13508:17;;13549:1;13544;:6;;13536:46;;;;-1:-1:-1;;;13536:46:0;;8313:2:1;13536:46:0;;;8295:21:1;8352:2;8332:18;;;8325:30;8391:29;8371:18;;;8364:57;8438:18;;13536:46:0;8111:351:1;51584:617:0;51657:7;51673:29;51705:28;51728:4;51705:22;:28::i;:::-;51673:60;-1:-1:-1;51744:25:0;;51740:441;;-1:-1:-1;;;;;51807:24:0;;;;;;:18;:24;;;;;;:51;;51836:21;51807:28;:51::i;:::-;-1:-1:-1;;;;;51780:24:0;;;;;;:18;:24;;;;;;;:78;;;;51872:46;;;;;;51896:21;160:25:1;;148:2;133:18;;14:177;51872:46:0;;;;;;;;51942:51;;-1:-1:-1;;;51942:51:0;;-1:-1:-1;;;;;8667:32:1;;51942:51:0;;;8649::1;8716:18;;;8709:34;;;51927:12:0;;48631:42;;51942:22;;8622:18:1;;51942:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51927:66;;52008:7;52004:131;;-1:-1:-1;;;;;52055:24:0;;;;;;:18;:24;;;;;;:51;;52084:21;52055:28;:51::i;:::-;-1:-1:-1;;;;;52028:24:0;;;;;;;:18;:24;;;;;:78;;;;-1:-1:-1;52028:24:0;;51584:617;-1:-1:-1;;51584:617:0:o;52004:131::-;-1:-1:-1;52152:21:0;51584:617;-1:-1:-1;;51584:617:0:o;51740:441::-;-1:-1:-1;52194:1:0;;51584:617;-1:-1:-1;;51584:617:0:o;59422:232::-;59489:4;59525:15;59509:13;:31;59506:76;;;-1:-1:-1;59565:5:0;;59422:232;-1:-1:-1;59422:232:0:o;59506:76::-;59637:9;;59599:34;:15;59619:13;59599:19;:34::i;:::-;:47;;;59422:232;-1:-1:-1;;59422:232:0:o;18878:176::-;18934:6;;18964:5;18968:1;18964;:5;:::i;:::-;18953:16;;18994:1;18989;:6;;:16;;;;;19004:1;18999;:6;;18989:16;18988:38;;;;19015:1;19011;:5;:14;;;;;19024:1;19020;:5;18980:47;;;;;54217:219;54324:106;54375:53;54376:36;54406:5;54376:25;;:29;;:36;;;;:::i;54375:53::-;-1:-1:-1;;;;;54324:37:0;;;;;;:28;:37;;;;;;;:49;:106::i;:::-;-1:-1:-1;;;;;54284:37:0;;;;;;;:28;:37;;;;;:146;;;;-1:-1:-1;54217:219:0:o;54713:217::-;54818:106;54869:53;54870:36;54900:5;54870:25;;:29;;:36;;;;:::i;54869:53::-;-1:-1:-1;;;;;54818:37:0;;;;;;:28;:37;;;;;;;:49;:106::i;14333:192::-;14419:7;14455:12;14447:6;;;;14439:29;;;;-1:-1:-1;;;14439:29:0;;;;;;;;:::i;:::-;-1:-1:-1;14479:9:0;14491:5;14495:1;14491;:5;:::i;:::-;14479:17;14333:192;-1:-1:-1;;;;;14333:192:0:o;196:131:1:-;-1:-1:-1;;;;;271:31:1;;261:42;;251:70;;317:1;314;307:12;332:247;391:6;444:2;432:9;423:7;419:23;415:32;412:52;;;460:1;457;450:12;412:52;499:9;486:23;518:31;543:5;518:31;:::i;776:180::-;835:6;888:2;876:9;867:7;863:23;859:32;856:52;;;904:1;901;894:12;856:52;-1:-1:-1;927:23:1;;776:180;-1:-1:-1;776:180:1:o;1875:118::-;1961:5;1954:13;1947:21;1940:5;1937:32;1927:60;;1983:1;1980;1973:12;1998:390;2071:6;2079;2132:2;2120:9;2111:7;2107:23;2103:32;2100:52;;;2148:1;2145;2138:12;2100:52;2187:9;2174:23;2206:31;2231:5;2206:31;:::i;:::-;2256:5;-1:-1:-1;2313:2:1;2298:18;;2285:32;2326:30;2285:32;2326:30;:::i;:::-;2375:7;2365:17;;;1998:390;;;;;:::o;2393:323::-;2469:6;2477;2530:2;2518:9;2509:7;2505:23;2501:32;2498:52;;;2546:1;2543;2536:12;2498:52;2585:9;2572:23;2604:31;2629:5;2604:31;:::i;:::-;2654:5;2706:2;2691:18;;;;2678:32;;-1:-1:-1;;;2393:323:1:o;3472:127::-;3533:10;3528:3;3524:20;3521:1;3514:31;3564:4;3561:1;3554:15;3588:4;3585:1;3578:15;3604:217;3644:1;3670;3660:132;;3714:10;3709:3;3705:20;3702:1;3695:31;3749:4;3746:1;3739:15;3777:4;3774:1;3767:15;3660:132;-1:-1:-1;3806:9:1;;3604:217::o;3826:356::-;4028:2;4010:21;;;4047:18;;;4040:30;4106:34;4101:2;4086:18;;4079:62;4173:2;4158:18;;3826:356::o;4706:184::-;4776:6;4829:2;4817:9;4808:7;4804:23;4800:32;4797:52;;;4845:1;4842;4835:12;4797:52;-1:-1:-1;4868:16:1;;4706:184;-1:-1:-1;4706:184:1:o;5177:251::-;5247:6;5300:2;5288:9;5279:7;5275:23;5271:32;5268:52;;;5316:1;5313;5306:12;5268:52;5348:9;5342:16;5367:31;5392:5;5367:31;:::i;6731:135::-;6770:3;-1:-1:-1;;6791:17:1;;6788:43;;;6811:18;;:::i;:::-;-1:-1:-1;6858:1:1;6847:13;;6731:135::o;6871:127::-;6932:10;6927:3;6923:20;6920:1;6913:31;6963:4;6960:1;6953:15;6987:4;6984:1;6977:15;7003:168;7043:7;7109:1;7105;7101:6;7097:14;7094:1;7091:21;7086:1;7079:9;7072:17;7068:45;7065:71;;;7116:18;;:::i;:::-;-1:-1:-1;7156:9:1;;7003:168::o;7578:265::-;7617:3;7645:9;;;7670:10;;-1:-1:-1;;;;;7689:27:1;;;7682:35;;7666:52;7663:78;;;7721:18;;:::i;:::-;-1:-1:-1;;;7768:19:1;;;7761:27;;7753:36;;7750:62;;;7792:18;;:::i;:::-;-1:-1:-1;;7828:9:1;;7578:265::o;7848:128::-;7888:3;7919:1;7915:6;7912:1;7909:13;7906:39;;;7925:18;;:::i;:::-;-1:-1:-1;7961:9:1;;7848:128::o;7981:125::-;8021:4;8049:1;8046;8043:8;8040:34;;;8054:18;;:::i;:::-;-1:-1:-1;8091:9:1;;7981:125::o;8754:245::-;8821:6;8874:2;8862:9;8853:7;8849:23;8845:32;8842:52;;;8890:1;8887;8880:12;8842:52;8922:9;8916:16;8941:28;8963:5;8941:28;:::i;9004:267::-;9043:4;9072:9;;;9097:10;;-1:-1:-1;;;9116:19:1;;9109:27;;9093:44;9090:70;;;9140:18;;:::i;:::-;-1:-1:-1;;;;;9187:27:1;;9180:35;;9172:44;;9169:70;;;9219:18;;:::i;:::-;-1:-1:-1;;9256:9:1;;9004:267::o;9276:597::-;9388:4;9417:2;9446;9435:9;9428:21;9478:6;9472:13;9521:6;9516:2;9505:9;9501:18;9494:34;9546:1;9556:140;9570:6;9567:1;9564:13;9556:140;;;9665:14;;;9661:23;;9655:30;9631:17;;;9650:2;9627:26;9620:66;9585:10;;9556:140;;;9714:6;9711:1;9708:13;9705:91;;;9784:1;9779:2;9770:6;9759:9;9755:22;9751:31;9744:42;9705:91;-1:-1:-1;9857:2:1;9836:15;-1:-1:-1;;9832:29:1;9817:45;;;;9864:2;9813:54;;9276:597;-1:-1:-1;;;9276:597:1:o
Swarm Source
ipfs://2c2fca69716ec5f39a6f1e09781bb4fef228733e5e906cc78d2f201a1f879fd7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $3,477.28 | 0.6202 | $2,156.65 |
Loading...
Loading
[ 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.