More Info
Private Name Tags
ContractCreator
Latest 8 from a total of 8 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 18228572 | 422 days ago | IN | 0.28 ETH | 0.00105518 | ||||
Transfer | 18228569 | 422 days ago | IN | 0.28 ETH | 0.00106188 | ||||
Transfer | 18078338 | 444 days ago | IN | 1 ETH | 0.00099108 | ||||
Transfer | 18063141 | 446 days ago | IN | 1 ETH | 0.00038969 | ||||
Transfer | 18036680 | 449 days ago | IN | 1 ETH | 0.00127472 | ||||
Transfer | 18019929 | 452 days ago | IN | 1 ETH | 0.00074331 | ||||
Transfer | 18000237 | 454 days ago | IN | 1 ETH | 0.00063712 | ||||
Transfer | 17984350 | 457 days ago | IN | 1 ETH | 0.00081556 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
20564355 | 95 days ago | 0.01611744 ETH | ||||
20564355 | 95 days ago | 0.00097002 ETH | ||||
20494259 | 105 days ago | 0.00686678 ETH | ||||
20447466 | 112 days ago | 0.00006297 ETH | ||||
20447466 | 112 days ago | 0.00090331 ETH | ||||
20354201 | 125 days ago | 0.02342215 ETH | ||||
20307583 | 131 days ago | 0.00170254 ETH | ||||
20292958 | 133 days ago | 0.02448017 ETH | ||||
20256219 | 138 days ago | 0.00128229 ETH | ||||
20256219 | 138 days ago | 0.00134504 ETH | ||||
20153699 | 153 days ago | 0.00584897 ETH | ||||
20153280 | 153 days ago | 0.002166 ETH | ||||
19942876 | 182 days ago | 0.0035456 ETH | ||||
19902908 | 188 days ago | 0.01423607 ETH | ||||
19821665 | 199 days ago | 0.00005101 ETH | ||||
19796259 | 203 days ago | 0.0085151 ETH | ||||
19755816 | 208 days ago | 0.00187006 ETH | ||||
19755816 | 208 days ago | 0.00084802 ETH | ||||
19637685 | 225 days ago | 0.0001023 ETH | ||||
19591822 | 231 days ago | 0.00049952 ETH | ||||
19582458 | 233 days ago | 0.00776376 ETH | ||||
19582458 | 233 days ago | 0.00210215 ETH | ||||
19538461 | 239 days ago | 0.00113161 ETH | ||||
19538452 | 239 days ago | 0.00113161 ETH | ||||
19511976 | 243 days ago | 0.00003848 ETH |
Loading...
Loading
Contract Name:
DividendTracker
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-08-21 */ pragma solidity 0.8.20; // SPDX-License-Identifier: MIT /** Transformative tools to help hunting alpha on-chain and online Telegram: https://t.me/nexusproportal Website: https://nexuspro.ai/ Docs: https://nexuspro.gitbook.io/twitter-eye/ Twitter: https://twitter.com/NexusProBot **/ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20{ /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() external virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library Address { function isContract(address account) internal view returns (bool) { return account.code.length > 0; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } library SafeERC20 { using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function _callOptionalReturn(IERC20 token, bytes memory data) private { bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } } interface ILpPair { function sync() external; } interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IDexFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, 'SafeMath: addition overflow'); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, 'SafeMath: subtraction overflow'); } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, 'SafeMath: multiplication overflow'); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, 'SafeMath: division by zero'); } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, 'SafeMath: modulo by zero'); } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } function min(uint256 x, uint256 y) internal pure returns (uint256 z) { z = x < y ? x : y; } function sqrt(uint256 y) internal pure returns (uint256 z) { if (y > 3) { z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } interface DividendPayingContractOptionalInterface { function withdrawableDividendOf(address _owner) external view returns(uint256); function withdrawnDividendOf(address _owner) external view returns(uint256); function accumulativeDividendOf(address _owner) external view returns(uint256); } interface DividendPayingContractInterface { function dividendOf(address _owner) external view returns(uint256); function distributeDividends() external payable; function withdrawDividend() external; event DividendsDistributed( address indexed from, uint256 weiAmount ); event DividendWithdrawn( address indexed to, uint256 weiAmount ); } contract DividendPayingContract is DividendPayingContractInterface, DividendPayingContractOptionalInterface, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; mapping (address => uint256) public holderBalance; uint256 public totalBalance; uint256 public totalDividendsDistributed; receive() external payable { distributeDividends(); } function distributeDividends() public override payable { if(totalBalance > 0 && msg.value > 0){ magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalBalance ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } function withdrawDividend() external virtual override { _withdrawDividendOfUser(payable(msg.sender)); } function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); (bool success,) = user.call{value: _withdrawableDividend}(""); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } function withdrawDividendOfUserForCompound(address payable user) external onlyOwner returns (uint256 _withdrawableDividend) { _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user] + _withdrawableDividend; emit DividendWithdrawn(user, _withdrawableDividend); } (bool success,) = owner().call{value: _withdrawableDividend}(""); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } } function dividendOf(address _owner) external view override returns(uint256) { return withdrawableDividendOf(_owner); } function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } function withdrawnDividendOf(address _owner) external view override returns(uint256) { return withdrawnDividends[_owner]; } function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(holderBalance[_owner]).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } function _increase(address account, uint256 value) internal { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _reduce(address account, uint256 value) internal { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = holderBalance[account]; holderBalance[account] = newBalance; if(newBalance > currentBalance) { uint256 increaseAmount = newBalance.sub(currentBalance); _increase(account, increaseAmount); totalBalance += increaseAmount; } else if(newBalance < currentBalance) { uint256 reduceAmount = currentBalance.sub(newBalance); _reduce(account, reduceAmount); totalBalance -= reduceAmount; } } } contract DividendTracker is DividendPayingContract { event Claim(address indexed account, uint256 amount, bool indexed automatic); mapping (address => bool) public excludedFromDividends; constructor() {} function getAccount(address _account) public view returns ( address account, uint256 withdrawableDividends, uint256 totalDividends, uint256 balance) { account = _account; withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); balance = holderBalance[account]; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } _setBalance(account, newBalance); processAccount(account, true); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if(amount > 0) { emit Claim(account, amount, automatic); return true; } return false; } function getTotalDividendsDistributed() external view returns (uint256) { return totalDividendsDistributed; } function dividendTokenBalanceOf(address account) public view returns (uint256) { return holderBalance[account]; } function getNumberOfDividends() external view returns(uint256) { return totalBalance; } function excludeFromDividends(address account) external onlyOwner { excludedFromDividends[account] = true; _setBalance(account, 0); } function includeInDividends(address account) external onlyOwner { require(excludedFromDividends[account]); excludedFromDividends[account] = false; _setBalance(account, IERC20(owner()).balanceOf(account)); // sets balance back to token balance } } contract NexusPro is ERC20, Ownable { mapping (address => bool) public exemptFromFees; mapping (address => bool) public exemptFromLimits; bool public tradingAllowed; mapping (address => bool) public isAMMPair; address public marketingAddress; address public devAddress; DividendTracker public dividendTracker; Taxes public buyTax; Taxes public sellTax; TokensForTax public tokensForTax; mapping(address => uint256) private _holderLastTransferBlock; // MEV protection bool public antiMevEnabled = true; bool public limited = true; uint256 public swapTokensAtAmt; address public lpPair; IDexRouter public dexRouter; address public immutable WETH; TxLimits public txLimits; uint64 public constant FEE_DIVISOR = 10000; // structs struct TxLimits { uint128 transactionLimit; uint128 walletLimit; } struct Taxes { uint48 marketingTax; uint48 devTax; uint48 liquidityTax; uint48 revShareTax; uint48 totalTax; } struct TokensForTax { uint64 tokensForMarketing; uint64 tokensForLiquidity; uint64 tokensForDev; uint64 tokensForRevShare; bool gasSaver; } // events event UpdatedTransactionLimit(uint newMax); event UpdatedWalletLimit(uint newMax); event SetExemptFromFees(address _address, bool _isExempt); event SetExemptFromLimits(address _address, bool _isExempt); event RemovedLimits(); event UpdatedBuyTax(uint newAmt); event UpdatedSellTax(uint newAmt); // constructor constructor() ERC20("Nexus Pro", "NEXUS") { _mint(msg.sender, 100_000_000 * 1e18); address _v2Router; // @dev assumes WETH pair if(block.chainid == 1){ _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; } else if(block.chainid == 5){ _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; } else { revert("Chain not configured"); } dividendTracker = new DividendTracker(); dexRouter = IDexRouter(_v2Router); txLimits.transactionLimit = uint128(totalSupply() * 20 / 1000); txLimits.walletLimit = uint128(totalSupply() * 2 / 100); swapTokensAtAmt = totalSupply() * 25 / 100000; marketingAddress = 0x2Ad8787f1EdBe8A0F81F130Ce7846390E2a7715E; // update devAddress = 0xBAE8B6b5D60BC1E1e4d10144149dA1458B7460DD; // update buyTax.marketingTax = 600; buyTax.liquidityTax = 300; buyTax.devTax = 300; buyTax.revShareTax = 300; buyTax.totalTax = buyTax.marketingTax + buyTax.liquidityTax + buyTax.devTax + buyTax.revShareTax; sellTax.marketingTax = 600; sellTax.liquidityTax = 300; sellTax.devTax = 300; sellTax.revShareTax = 300; sellTax.totalTax = sellTax.marketingTax + sellTax.liquidityTax + sellTax.devTax + buyTax.revShareTax + sellTax.revShareTax; tokensForTax.gasSaver = true; WETH = dexRouter.WETH(); lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), WETH); isAMMPair[lpPair] = true; exemptFromLimits[lpPair] = true; exemptFromLimits[msg.sender] = true; exemptFromLimits[address(this)] = true; exemptFromFees[msg.sender] = true; exemptFromFees[address(this)] = true; dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(address(lpPair)); _approve(address(this), address(dexRouter), type(uint256).max); _approve(address(msg.sender), address(dexRouter), totalSupply()); } function _transfer( address from, address to, uint256 amount ) internal virtual override { if(!exemptFromFees[from] && !exemptFromFees[to]){ require(tradingAllowed, "Trading not active"); checkLimits(from, to, amount); amount -= handleTax(from, to, amount); } super._transfer(from,to,amount); dividendTracker.setBalance(payable(to), balanceOf(to)); dividendTracker.setBalance(payable(from), balanceOf(from)); } function checkLimits(address from, address to, uint256 amount) internal { if(limited){ bool exFromLimitsTo = exemptFromLimits[to]; uint256 balanceOfTo = balanceOf(to); TxLimits memory _txLimits = txLimits; // buy if (isAMMPair[from] && !exFromLimitsTo) { require(amount <= _txLimits.transactionLimit, "Max Txn"); require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet"); } // sell else if (isAMMPair[to] && !exemptFromLimits[from]) { require(amount <= _txLimits.transactionLimit, "Max Txn"); } else if(!exFromLimitsTo) { require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet"); } } if (antiMevEnabled){ if(isAMMPair[to]){ require(_holderLastTransferBlock[from] < block.number, "Anti MEV"); } else { _holderLastTransferBlock[to] = block.number; _holderLastTransferBlock[tx.origin] = block.number; } } } function handleTax(address from, address to, uint256 amount) internal returns (uint256){ if(balanceOf(address(this)) >= swapTokensAtAmt && !isAMMPair[from]) { convertTaxes(); } uint128 tax = 0; Taxes memory taxes; if (isAMMPair[to]){ taxes = sellTax; } else if(isAMMPair[from]){ taxes = buyTax; } if(taxes.totalTax > 0){ TokensForTax memory tokensForTaxUpdate = tokensForTax; tax = uint128(amount * taxes.totalTax / FEE_DIVISOR); tokensForTaxUpdate.tokensForLiquidity += uint64(tax * taxes.liquidityTax / taxes.totalTax / 1e9); tokensForTaxUpdate.tokensForMarketing += uint64(tax * taxes.marketingTax / taxes.totalTax / 1e9); tokensForTaxUpdate.tokensForDev += uint64(tax * taxes.devTax / taxes.totalTax / 1e9); tokensForTaxUpdate.tokensForRevShare += uint64(tax * taxes.revShareTax / taxes.totalTax / 1e9); tokensForTax = tokensForTaxUpdate; super._transfer(from, address(this), tax); } return tax; } function swapTokensForETH(uint256 tokenAmt) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmt, 0, path, address(this), block.timestamp ); } function convertTaxes() private { uint256 contractBalance = balanceOf(address(this)); TokensForTax memory tokensForTaxMem = tokensForTax; uint256 totalTokensToSwap = tokensForTaxMem.tokensForLiquidity + tokensForTaxMem.tokensForMarketing + tokensForTaxMem.tokensForDev + tokensForTaxMem.tokensForRevShare; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} if(contractBalance > swapTokensAtAmt * 20){ contractBalance = swapTokensAtAmt * 20; } if(tokensForTaxMem.tokensForLiquidity > 0){ uint256 liquidityTokens = contractBalance * tokensForTaxMem.tokensForLiquidity / totalTokensToSwap; super._transfer(address(this), lpPair, liquidityTokens); try ILpPair(lpPair).sync(){} catch {} contractBalance -= liquidityTokens; totalTokensToSwap -= tokensForTaxMem.tokensForLiquidity; } if(contractBalance > 0){ swapTokensForETH(contractBalance); uint256 ethBalance = address(this).balance; bool success; if(tokensForTaxMem.tokensForDev > 0){ (success,) = devAddress.call{value: ethBalance * tokensForTaxMem.tokensForDev / totalTokensToSwap}(""); } if(tokensForTaxMem.tokensForRevShare > 0){ (success,) = address(dividendTracker).call{value: ethBalance * tokensForTaxMem.tokensForRevShare/ totalTokensToSwap}(""); } ethBalance = address(this).balance; if(ethBalance > 0){ (success,) = marketingAddress.call{value: ethBalance}(""); } } tokensForTaxMem.tokensForLiquidity = 0; tokensForTaxMem.tokensForMarketing = 0; tokensForTaxMem.tokensForDev = 0; tokensForTaxMem.tokensForRevShare = 0; tokensForTax = tokensForTaxMem; } // owner functions function setExemptFromFee(address _address, bool _isExempt) external onlyOwner { require(_address != address(0), "Zero Address"); require(_address != address(this), "Cannot unexempt contract"); exemptFromFees[_address] = _isExempt; emit SetExemptFromFees(_address, _isExempt); } function setExemptFromLimit(address _address, bool _isExempt) external onlyOwner { require(_address != address(0), "Zero Address"); if(!_isExempt){ require(_address != lpPair, "Cannot remove pair"); } exemptFromLimits[_address] = _isExempt; emit SetExemptFromLimits(_address, _isExempt); } function updateTransactionLimit(uint128 newNumInTokens) external onlyOwner { require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low"); txLimits.transactionLimit = uint128(newNumInTokens * (10**decimals())); emit UpdatedTransactionLimit(txLimits.transactionLimit); } function updateWalletLimit(uint128 newNumInTokens) external onlyOwner { require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low"); txLimits.walletLimit = uint128(newNumInTokens * (10**decimals())); emit UpdatedWalletLimit(txLimits.walletLimit); } function updateSwapTokensAmt(uint256 newAmount) external onlyOwner { require(newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply."); require(newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply."); swapTokensAtAmt = newAmount; } function updateBuyTax(uint48 _marketingTax, uint48 _liquidityTax, uint48 _devTax, uint48 _revShareTax) external onlyOwner { Taxes memory taxes; taxes.marketingTax = _marketingTax; taxes.liquidityTax = _liquidityTax; taxes.devTax = _devTax; taxes.revShareTax = _revShareTax; taxes.totalTax = _marketingTax + _liquidityTax + _devTax + _revShareTax; require(taxes.totalTax <= 1000, "Keep tax below 10%"); emit UpdatedBuyTax(taxes.totalTax); buyTax = taxes; } function updateSellTax(uint48 _marketingTax, uint48 _liquidityTax, uint48 _devTax, uint48 _revShareTax) external onlyOwner { Taxes memory taxes; taxes.marketingTax = _marketingTax; taxes.liquidityTax = _liquidityTax; taxes.devTax = _devTax; taxes.revShareTax = _revShareTax; taxes.totalTax = _marketingTax + _liquidityTax + _devTax + _revShareTax; require(taxes.totalTax <= 1000, "Keep tax below 10%"); emit UpdatedSellTax(taxes.totalTax); sellTax = taxes; } function enableTrading() external onlyOwner { require(!tradingAllowed, "Trading already live"); tradingAllowed = true; } function removeLimits() external onlyOwner { limited = false; TxLimits memory _txLimits; uint256 supply = totalSupply(); _txLimits.transactionLimit = uint128(supply); _txLimits.walletLimit = uint128(supply); txLimits = _txLimits; emit RemovedLimits(); } function updateMevBlockerEnabled(bool _enabled) external onlyOwner { antiMevEnabled = _enabled; } function airdropToWallets(address[] calldata wallets, uint256[] calldata amountsInWei) external onlyOwner { require(wallets.length == amountsInWei.length, "arrays length mismatch"); for(uint256 i = 0; i < wallets.length; i++){ super._transfer(msg.sender, wallets[i], amountsInWei[i]); } } function rescueTokens(address _token, address _to) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); SafeERC20.safeTransfer(IERC20(_token),_to, _contractBalance); } function updateMarketingAddress(address _address) external onlyOwner { require(_address != address(0), "zero address"); marketingAddress = _address; } function updateDevAddress(address _address) external onlyOwner { require(_address != address(0), "zero address"); devAddress = _address; } receive() payable external {} // dividend functions function claim() external { dividendTracker.processAccount(payable(msg.sender), false); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.holderBalance(account); } function getAccountDividendsInfo(address account) external view returns ( address, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function getNumberOfDividends() external view returns(uint256) { return dividendTracker.totalBalance(); } function excludeFromDividends(address _wallet) external onlyOwner { dividendTracker.excludeFromDividends(_wallet); } function includeInDividends(address _wallet) external onlyOwner { dividendTracker.includeInDividends(_wallet); } function compound(uint256 minOutput) external { uint256 amountEthForCompound = dividendTracker.withdrawDividendOfUserForCompound(payable(msg.sender)); if(amountEthForCompound > 0){ buyBackTokens(amountEthForCompound, minOutput, msg.sender); } else { revert("No rewards"); } } function buyBackTokens(uint256 ethAmountInWei, uint256 minOut, address to) internal { // generate the uniswap pair path of weth -> eth address[] memory path = new address[](2); path[0] = dexRouter.WETH(); path[1] = address(this); // make the swap dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmountInWei}( minOut, path, address(to), block.timestamp ); } // helper views function getExpectedCompoundOutputByEthAmount(uint256 rewardAmount) external view returns(uint256) { address[] memory path = new address[](2); path[0] = dexRouter.WETH(); path[1] = address(this); uint256[] memory amounts = dexRouter.getAmountsOut(rewardAmount, path); return amounts[1] - (amounts[1] * (buyTax.totalTax + 50) / FEE_DIVISOR); } function getExpectedCompoundOutputByWallet(address wallet) external view returns(uint256) { uint256 rewardAmount = withdrawableDividendOf(wallet); address[] memory path = new address[](2); path[0] = dexRouter.WETH(); path[1] = address(this); uint256[] memory amounts = dexRouter.getAmountsOut(rewardAmount, path); return amounts[1] - (amounts[1] * (buyTax.totalTax + 50) / FEE_DIVISOR); } }
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":"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","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":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"withdrawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"user","type":"address"}],"name":"withdrawDividendOfUserForCompound","outputs":[{"internalType":"uint256","name":"_withdrawableDividend","type":"uint256"}],"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
608060405234801561000f575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506110ef8061005d5f395ff3fe608060405260043610610134575f3560e01c806391b89fba116100a8578063bc4c4b371161006d578063bc4c4b371461034f578063c0f306ef1461036e578063dcb95ed91461038d578063e30443bc146103ac578063f2fde38b146103cb578063fbcbc0f1146103ea575f80fd5b806391b89fba1461029d578063a8b9d240146102bc578063aafd847a146102db578063ab6ddfa81461030f578063ad7a672f1461033a575f80fd5b80636843cd84116100f95780636843cd84146101f25780636a47400214610226578063715018a61461023a57806371778e7d1461024e57806385a6b3ae146102625780638da5cb5b14610277575f80fd5b806303c833021461014757806327ce01471461014f57806330bb4cff1461018157806331e79db0146101955780634e7b827f146101b4575f80fd5b3661014357610141610433565b005b5f80fd5b610141610433565b34801561015a575f80fd5b5061016e610169366004610eec565b6104bb565b6040519081526020015b60405180910390f35b34801561018c575f80fd5b5060065461016e565b3480156101a0575f80fd5b506101416101af366004610eec565b61051d565b3480156101bf575f80fd5b506101e26101ce366004610eec565b60076020525f908152604090205460ff1681565b6040519015158152602001610178565b3480156101fd575f80fd5b5061016e61020c366004610eec565b6001600160a01b03165f9081526004602052604090205490565b348015610231575f80fd5b5061014161057f565b348015610245575f80fd5b50610141610588565b348015610259575f80fd5b5060055461016e565b34801561026d575f80fd5b5061016e60065481565b348015610282575f80fd5b505f546040516001600160a01b039091168152602001610178565b3480156102a8575f80fd5b5061016e6102b7366004610eec565b6105f9565b3480156102c7575f80fd5b5061016e6102d6366004610eec565b6105ff565b3480156102e6575f80fd5b5061016e6102f5366004610eec565b6001600160a01b03165f9081526003602052604090205490565b34801561031a575f80fd5b5061016e610329366004610eec565b60046020525f908152604090205481565b348015610345575f80fd5b5061016e60055481565b34801561035a575f80fd5b506101e2610369366004610f07565b61062a565b348015610379575f80fd5b50610141610388366004610eec565b6106bf565b348015610398575f80fd5b5061016e6103a7366004610eec565b6107ae565b3480156103b7575f80fd5b506101416103c6366004610f42565b610908565b3480156103d6575f80fd5b506101416103e5366004610eec565b61096b565b3480156103f5575f80fd5b50610409610404366004610eec565b610a52565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610178565b5f60055411801561044357505f34115b156104b9576005546104709061045d34600160801b610a8e565b6104679190610f80565b60015490610b13565b60015560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26006546104b59034610b13565b6006555b565b6001600160a01b0381165f908152600260209081526040808320546004909252822054600154600160801b9261050d9261050892610502916104fd9190610a8e565b610b71565b90610b7f565b610bb9565b6105179190610f80565b92915050565b5f546001600160a01b0316331461054f5760405162461bcd60e51b815260040161054690610f9f565b60405180910390fd5b6001600160a01b0381165f908152600760205260408120805460ff1916600117905561057c908290610bca565b50565b61057c33610c5e565b5f546001600160a01b031633146105b15760405162461bcd60e51b815260040161054690610f9f565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f610517825b6001600160a01b0381165f9081526003602052604081205461051790610624846104bb565b90610d95565b5f80546001600160a01b031633146106545760405162461bcd60e51b815260040161054690610f9f565b5f61065e84610c5e565b905080156106b657821515846001600160a01b03167fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092836040516106a491815260200190565b60405180910390a36001915050610517565b505f9392505050565b5f546001600160a01b031633146106e85760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0381165f9081526007602052604090205460ff1661070b575f80fd5b6001600160a01b0381165f908152600760205260409020805460ff1916905561057c8161073f5f546001600160a01b031690565b6040516370a0823160e01b81526001600160a01b03858116600483015291909116906370a0823190602401602060405180830381865afa158015610785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a99190610fd4565b610bca565b5f80546001600160a01b031633146107d85760405162461bcd60e51b815260040161054690610f9f565b6107e1826105ff565b90508015610863576001600160a01b0382165f9081526003602052604090205461080c908290610feb565b6001600160a01b0383165f81815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061085a9084815260200190565b60405180910390a25b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f81146108ad576040519150601f19603f3d011682016040523d82523d5f602084013e6108b2565b606091505b5050905080610901576001600160a01b0383165f908152600360205260409020546108dd9083610d95565b6001600160a01b0384165f9081526003602052604081209190915591506109039050565b505b919050565b5f546001600160a01b031633146109315760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0382165f9081526007602052604090205460ff166109675761095a8282610bca565b61096582600161062a565b505b5050565b5f546001600160a01b031633146109945760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0381166109f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610546565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b805f8080610a5f846105ff565b9250610a6a846104bb565b6001600160a01b0385165f9081526004602052604090205494969395509392915050565b5f825f03610a9d57505f610517565b5f610aa88385610ffe565b905082610ab58583610f80565b14610b0c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610546565b9392505050565b5f80610b1f8385610feb565b905083811015610b0c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610546565b5f8181811215610517575f80fd5b5f80610b8b8385611015565b90505f8312158015610b9d5750838112155b80610bb157505f83128015610bb157508381125b610b0c575f80fd5b5f80821215610bc6575f80fd5b5090565b6001600160a01b0382165f90815260046020526040902080549082905580821115610c23575f610bfa8383610d95565b9050610c068482610dd6565b8060055f828254610c179190610feb565b90915550610965915050565b80821015610965575f610c368284610d95565b9050610c428482610e2e565b8060055f828254610c53919061103c565b909155505050505050565b5f80610c69836105ff565b90508015610d8d576001600160a01b0383165f90815260036020526040902054610c939082610b13565b6001600160a01b0384165f81815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90610ce19084815260200190565b60405180910390a25f836001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610d32576040519150601f19603f3d011682016040523d82523d5f602084013e610d37565b606091505b5050905080610d86576001600160a01b0384165f90815260036020526040902054610d629083610d95565b6001600160a01b039094165f90815260036020526040812094909455509192915050565b5092915050565b505f92915050565b5f610b0c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e67565b610e0f610df16104fd83600154610a8e90919063ffffffff16565b6001600160a01b0384165f9081526002602052604090205490610e9f565b6001600160a01b039092165f9081526002602052604090209190915550565b610e0f610e496104fd83600154610a8e90919063ffffffff16565b6001600160a01b0384165f9081526002602052604090205490610b7f565b5f8184841115610e8a5760405162461bcd60e51b8152600401610546919061104f565b505f610e96848661103c565b95945050505050565b5f80610eab838561109a565b90505f8312158015610ebd5750838113155b80610bb157505f83128015610bb15750838113610b0c575f80fd5b6001600160a01b038116811461057c575f80fd5b5f60208284031215610efc575f80fd5b8135610b0c81610ed8565b5f8060408385031215610f18575f80fd5b8235610f2381610ed8565b915060208301358015158114610f37575f80fd5b809150509250929050565b5f8060408385031215610f53575f80fd5b8235610f5e81610ed8565b946020939093013593505050565b634e487b7160e01b5f52601160045260245ffd5b5f82610f9a57634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610fe4575f80fd5b5051919050565b8082018082111561051757610517610f6c565b808202811582820484141761051757610517610f6c565b8082018281125f83128015821682158216171561103457611034610f6c565b505092915050565b8181038181111561051757610517610f6c565b5f6020808352835180828501525f5b8181101561107a5785810183015185820160400152820161105e565b505f604082860101526040601f19601f8301168501019250505092915050565b8181035f831280158383131683831282161715610d8657610d86610f6c56fea26469706673582212208476926497af553a5075897afd3e010cf4e423ff60b0f7d4ecef237e5c10ca1c64736f6c63430008140033
Deployed Bytecode
0x608060405260043610610134575f3560e01c806391b89fba116100a8578063bc4c4b371161006d578063bc4c4b371461034f578063c0f306ef1461036e578063dcb95ed91461038d578063e30443bc146103ac578063f2fde38b146103cb578063fbcbc0f1146103ea575f80fd5b806391b89fba1461029d578063a8b9d240146102bc578063aafd847a146102db578063ab6ddfa81461030f578063ad7a672f1461033a575f80fd5b80636843cd84116100f95780636843cd84146101f25780636a47400214610226578063715018a61461023a57806371778e7d1461024e57806385a6b3ae146102625780638da5cb5b14610277575f80fd5b806303c833021461014757806327ce01471461014f57806330bb4cff1461018157806331e79db0146101955780634e7b827f146101b4575f80fd5b3661014357610141610433565b005b5f80fd5b610141610433565b34801561015a575f80fd5b5061016e610169366004610eec565b6104bb565b6040519081526020015b60405180910390f35b34801561018c575f80fd5b5060065461016e565b3480156101a0575f80fd5b506101416101af366004610eec565b61051d565b3480156101bf575f80fd5b506101e26101ce366004610eec565b60076020525f908152604090205460ff1681565b6040519015158152602001610178565b3480156101fd575f80fd5b5061016e61020c366004610eec565b6001600160a01b03165f9081526004602052604090205490565b348015610231575f80fd5b5061014161057f565b348015610245575f80fd5b50610141610588565b348015610259575f80fd5b5060055461016e565b34801561026d575f80fd5b5061016e60065481565b348015610282575f80fd5b505f546040516001600160a01b039091168152602001610178565b3480156102a8575f80fd5b5061016e6102b7366004610eec565b6105f9565b3480156102c7575f80fd5b5061016e6102d6366004610eec565b6105ff565b3480156102e6575f80fd5b5061016e6102f5366004610eec565b6001600160a01b03165f9081526003602052604090205490565b34801561031a575f80fd5b5061016e610329366004610eec565b60046020525f908152604090205481565b348015610345575f80fd5b5061016e60055481565b34801561035a575f80fd5b506101e2610369366004610f07565b61062a565b348015610379575f80fd5b50610141610388366004610eec565b6106bf565b348015610398575f80fd5b5061016e6103a7366004610eec565b6107ae565b3480156103b7575f80fd5b506101416103c6366004610f42565b610908565b3480156103d6575f80fd5b506101416103e5366004610eec565b61096b565b3480156103f5575f80fd5b50610409610404366004610eec565b610a52565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610178565b5f60055411801561044357505f34115b156104b9576005546104709061045d34600160801b610a8e565b6104679190610f80565b60015490610b13565b60015560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26006546104b59034610b13565b6006555b565b6001600160a01b0381165f908152600260209081526040808320546004909252822054600154600160801b9261050d9261050892610502916104fd9190610a8e565b610b71565b90610b7f565b610bb9565b6105179190610f80565b92915050565b5f546001600160a01b0316331461054f5760405162461bcd60e51b815260040161054690610f9f565b60405180910390fd5b6001600160a01b0381165f908152600760205260408120805460ff1916600117905561057c908290610bca565b50565b61057c33610c5e565b5f546001600160a01b031633146105b15760405162461bcd60e51b815260040161054690610f9f565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f610517825b6001600160a01b0381165f9081526003602052604081205461051790610624846104bb565b90610d95565b5f80546001600160a01b031633146106545760405162461bcd60e51b815260040161054690610f9f565b5f61065e84610c5e565b905080156106b657821515846001600160a01b03167fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092836040516106a491815260200190565b60405180910390a36001915050610517565b505f9392505050565b5f546001600160a01b031633146106e85760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0381165f9081526007602052604090205460ff1661070b575f80fd5b6001600160a01b0381165f908152600760205260409020805460ff1916905561057c8161073f5f546001600160a01b031690565b6040516370a0823160e01b81526001600160a01b03858116600483015291909116906370a0823190602401602060405180830381865afa158015610785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a99190610fd4565b610bca565b5f80546001600160a01b031633146107d85760405162461bcd60e51b815260040161054690610f9f565b6107e1826105ff565b90508015610863576001600160a01b0382165f9081526003602052604090205461080c908290610feb565b6001600160a01b0383165f81815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061085a9084815260200190565b60405180910390a25b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f81146108ad576040519150601f19603f3d011682016040523d82523d5f602084013e6108b2565b606091505b5050905080610901576001600160a01b0383165f908152600360205260409020546108dd9083610d95565b6001600160a01b0384165f9081526003602052604081209190915591506109039050565b505b919050565b5f546001600160a01b031633146109315760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0382165f9081526007602052604090205460ff166109675761095a8282610bca565b61096582600161062a565b505b5050565b5f546001600160a01b031633146109945760405162461bcd60e51b815260040161054690610f9f565b6001600160a01b0381166109f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610546565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b805f8080610a5f846105ff565b9250610a6a846104bb565b6001600160a01b0385165f9081526004602052604090205494969395509392915050565b5f825f03610a9d57505f610517565b5f610aa88385610ffe565b905082610ab58583610f80565b14610b0c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610546565b9392505050565b5f80610b1f8385610feb565b905083811015610b0c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610546565b5f8181811215610517575f80fd5b5f80610b8b8385611015565b90505f8312158015610b9d5750838112155b80610bb157505f83128015610bb157508381125b610b0c575f80fd5b5f80821215610bc6575f80fd5b5090565b6001600160a01b0382165f90815260046020526040902080549082905580821115610c23575f610bfa8383610d95565b9050610c068482610dd6565b8060055f828254610c179190610feb565b90915550610965915050565b80821015610965575f610c368284610d95565b9050610c428482610e2e565b8060055f828254610c53919061103c565b909155505050505050565b5f80610c69836105ff565b90508015610d8d576001600160a01b0383165f90815260036020526040902054610c939082610b13565b6001600160a01b0384165f81815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90610ce19084815260200190565b60405180910390a25f836001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610d32576040519150601f19603f3d011682016040523d82523d5f602084013e610d37565b606091505b5050905080610d86576001600160a01b0384165f90815260036020526040902054610d629083610d95565b6001600160a01b039094165f90815260036020526040812094909455509192915050565b5092915050565b505f92915050565b5f610b0c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e67565b610e0f610df16104fd83600154610a8e90919063ffffffff16565b6001600160a01b0384165f9081526002602052604090205490610e9f565b6001600160a01b039092165f9081526002602052604090209190915550565b610e0f610e496104fd83600154610a8e90919063ffffffff16565b6001600160a01b0384165f9081526002602052604090205490610b7f565b5f8184841115610e8a5760405162461bcd60e51b8152600401610546919061104f565b505f610e96848661103c565b95945050505050565b5f80610eab838561109a565b90505f8312158015610ebd5750838113155b80610bb157505f83128015610bb15750838113610b0c575f80fd5b6001600160a01b038116811461057c575f80fd5b5f60208284031215610efc575f80fd5b8135610b0c81610ed8565b5f8060408385031215610f18575f80fd5b8235610f2381610ed8565b915060208301358015158114610f37575f80fd5b809150509250929050565b5f8060408385031215610f53575f80fd5b8235610f5e81610ed8565b946020939093013593505050565b634e487b7160e01b5f52601160045260245ffd5b5f82610f9a57634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610fe4575f80fd5b5051919050565b8082018082111561051757610517610f6c565b808202811582820484141761051757610517610f6c565b8082018281125f83128015821682158216171561103457611034610f6c565b505092915050565b8181038181111561051757610517610f6c565b5f6020808352835180828501525f5b8181101561107a5785810183015185820160400152820161105e565b505f604082860101526040601f19601f8301168501019250505092915050565b8181035f831280158383131683831282161715610d8657610d86610f6c56fea26469706673582212208476926497af553a5075897afd3e010cf4e423ff60b0f7d4ecef237e5c10ca1c64736f6c63430008140033
Deployed Bytecode Sourcemap
31511:2011:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27834:21;:19;:21::i;:::-;31511:2011;;;;;27871:417;;;:::i;30188:259::-;;;;;;;;;;-1:-1:-1;30188:259:0;;;;;:::i;:::-;;:::i;:::-;;;548:25:1;;;536:2;521:18;30188:259:0;;;;;;;;32726:123;;;;;;;;;;-1:-1:-1;32816:25:0;;32726:123;;33089:152;;;;;;;;;;-1:-1:-1;33089:152:0;;;;;:::i;:::-;;:::i;31656:54::-;;;;;;;;;;-1:-1:-1;31656:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;749:14:1;;742:22;724:41;;712:2;697:18;31656:54:0;584:187:1;32854:118:0;;;;;;;;;;-1:-1:-1;32854:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;32945:22:0;32924:7;32945:22;;;:13;:22;;;;;;;32854:118;28296:117;;;;;;;;;;;;;:::i;13347:150::-;;;;;;;;;;;;;:::i;32980:101::-;;;;;;;;;;-1:-1:-1;33061:12:0;;32980:101;;27747:40;;;;;;;;;;;;;;;;13133:79;;;;;;;;;;-1:-1:-1;13171:7:0;13198:6;13133:79;;-1:-1:-1;;;;;13198:6:0;;;922:51:1;;910:2;895:18;13133:79:0;776:203:1;29721:132:0;;;;;;;;;;-1:-1:-1;29721:132:0;;;;;:::i;:::-;;:::i;29861:174::-;;;;;;;;;;-1:-1:-1;29861:174:0;;;;;:::i;:::-;;:::i;30043:137::-;;;;;;;;;;-1:-1:-1;30043:137:0;;;;;:::i;:::-;-1:-1:-1;;;;;30146:26:0;30119:7;30146:26;;;:18;:26;;;;;;;30043:137;27655:49;;;;;;;;;;-1:-1:-1;27655:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;27711:27;;;;;;;;;;;;;;;;32425:293;;;;;;;;;;-1:-1:-1;32425:293:0;;;;;:::i;:::-;;:::i;33249:270::-;;;;;;;;;;-1:-1:-1;33249:270:0;;;;;:::i;:::-;;:::i;29083:630::-;;;;;;;;;;-1:-1:-1;29083:630:0;;;;;:::i;:::-;;:::i;32168:245::-;;;;;;;;;;-1:-1:-1;32168:245:0;;;;;:::i;:::-;;:::i;13505:244::-;;;;;;;;;;-1:-1:-1;13505:244:0;;;;;:::i;:::-;;:::i;31743:419::-;;;;;;;;;;-1:-1:-1;31743:419:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;2250:32:1;;;2232:51;;2314:2;2299:18;;2292:34;;;;2342:18;;;2335:34;2400:2;2385:18;;2378:34;2219:3;2204:19;31743:419:0;2001:417:1;27871::0;27955:1;27940:12;;:16;:33;;;;;27972:1;27960:9;:13;27940:33;27937:344;;;28094:12;;28017:104;;28065:26;28066:9;-1:-1:-1;;;28065:15:0;:26::i;:::-;:41;;;;:::i;:::-;28017:25;;;:29;:104::i;:::-;27989:25;:132;28141:43;;28174:9;548:25:1;;28162:10:0;;28141:43;;536:2:1;521:18;28141:43:0;;;;;;;28229:25;;:40;;28259:9;28229:29;:40::i;:::-;28201:25;:68;27937:344;27871:417::o;30188:259::-;-1:-1:-1;;;;;30374:36:0;;30265:7;30374:36;;;:28;:36;;;;;;;;;30322:13;:21;;;;;;30292:25;;-1:-1:-1;;;27374:6:0;30292:135;;:119;;:67;;:52;;:25;:29;:52::i;:::-;:65;:67::i;:::-;:81;;:119::i;:::-;:133;:135::i;:::-;:147;;;;:::i;:::-;30285:154;30188:259;-1:-1:-1;;30188:259:0:o;33089:152::-;13260:6;;-1:-1:-1;;;;;13260:6:0;419:10;13260:22;13252:67;;;;-1:-1:-1;;;13252:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;33163:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;33163:37:0::1;33196:4;33163:37;::::0;;33210:23:::1;::::0;33185:7;;33210:11:::1;:23::i;:::-;33089:152:::0;:::o;28296:117::-;28361:44;28393:10;28361:23;:44::i;13347:150::-;13260:6;;-1:-1:-1;;;;;13260:6:0;419:10;13260:22;13252:67;;;;-1:-1:-1;;;13252:67:0;;;;;;;:::i;:::-;13456:1:::1;13440:6:::0;;13419:40:::1;::::0;-1:-1:-1;;;;;13440:6:0;;::::1;::::0;13419:40:::1;::::0;13456:1;;13419:40:::1;13487:1;13470:19:::0;;-1:-1:-1;;;;;;13470:19:0::1;::::0;;13347:150::o;29721:132::-;29788:7;29815:30;29838:6;29861:174;-1:-1:-1;;;;;30000:26:0;;29938:7;30000:26;;;:18;:26;;;;;;29965:62;;:30;30019:6;29965:22;:30::i;:::-;:34;;:62::i;32425:293::-;32516:4;13260:6;;-1:-1:-1;;;;;13260:6:0;419:10;13260:22;13252:67;;;;-1:-1:-1;;;13252:67:0;;;;;;;:::i;:::-;32533:14:::1;32550:32;32574:7;32550:23;:32::i;:::-;32533:49:::0;-1:-1:-1;32595:10:0;;32592:97:::1;;32650:9;32627:33;;32633:7;-1:-1:-1::0;;;;;32627:33:0::1;;32642:6;32627:33;;;;548:25:1::0;;536:2;521:18;;402:177;32627:33:0::1;;;;;;;;32676:4;32669:11;;;;;32592:97;-1:-1:-1::0;32705:5:0::1;::::0;32425:293;-1:-1:-1;;;32425:293:0:o;33249:270::-;13260:6;;-1:-1:-1;;;;;13260:6:0;419:10;13260:22;13252:67;;;;-1:-1:-1;;;13252:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;33329:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;33321:39;;;::::0;::::1;;-1:-1:-1::0;;;;;33368:30:0;::::1;33401:5;33368:30:::0;;;:21:::1;:30;::::0;;;;:38;;-1:-1:-1;;33368:38:0::1;::::0;;33417:56:::1;33390:7:::0;33445::::1;13171::::0;13198:6;-1:-1:-1;;;;;13198:6:0;;13133:79;33445:7:::1;33438:34;::::0;-1:-1:-1;;;33438:34:0;;-1:-1:-1;;;;;940:32:1;;;33438:34:0::1;::::0;::::1;922:51:1::0;33438:25:0;;;::::1;::::0;::::1;::::0;895:18:1;;33438:34:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33417:11;:56::i;29083:630::-:0;29176:29;13260:6;;-1:-1:-1;;;;;13260:6:0;419:10;13260:22;13252:67;;;;-1:-1:-1;;;13252:67:0;;;;;;;:::i;:::-;29242:28:::1;29265:4;29242:22;:28::i;:::-;29218:52:::0;-1:-1:-1;29285:25:0;;29281:199:::1;;-1:-1:-1::0;;;;;29354:24:0;::::1;;::::0;;;:18:::1;:24;::::0;;;;;:48:::1;::::0;29381:21;;29354:48:::1;:::i;:::-;-1:-1:-1::0;;;;;29327:24:0;::::1;;::::0;;;:18:::1;:24;::::0;;;;;;:75;;;;29422:46;;::::1;::::0;::::1;::::0;29446:21;548:25:1;;536:2;521:18;;402:177;29422:46:0::1;;;;;;;;29281:199;29491:12;13198:6:::0;;29508:46:::1;::::0;-1:-1:-1;;;;;13198:6:0;;;;29528:21;;29491:12;29508:46;29491:12;29508:46;29528:21;13198:6;29508:46:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29490:64;;;29569:7;29565:141;;-1:-1:-1::0;;;;;29620:24:0;::::1;;::::0;;;:18:::1;:24;::::0;;;;;:51:::1;::::0;29649:21;29620:28:::1;:51::i;:::-;-1:-1:-1::0;;;;;29593:24:0;::::1;;::::0;;;:18:::1;:24;::::0;;;;:78;;;;:24;-1:-1:-1;29686:8:0::1;::::0;-1:-1:-1;29686:8:0::1;29565:141;29207:506;13330:1;29083:630:::0;;;:::o;32168:245::-;13260:6;;-1:-1:-1;;;;;13260:6:0;419:10;13260:22;13252:67;;;;-1:-1:-1;;;13252:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32266:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;32307:7;32263:59;32334:32;32346:7;32355:10;32334:11;:32::i;:::-;32376:29;32391:7;32400:4;32376:14;:29::i;:::-;;13330:1;32168:245:::0;;:::o;13505:244::-;13260:6;;-1:-1:-1;;;;;13260:6:0;419:10;13260:22;13252:67;;;;-1:-1:-1;;;13252:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;13594:22:0;::::1;13586:73;;;::::0;-1:-1:-1;;;13586:73:0;;3869:2:1;13586:73:0::1;::::0;::::1;3851:21:1::0;3908:2;3888:18;;;3881:30;3947:34;3927:18;;;3920:62;-1:-1:-1;;;3998:18:1;;;3991:36;4044:19;;13586:73:0::1;3667:402:1::0;13586:73:0::1;13696:6;::::0;;13675:38:::1;::::0;-1:-1:-1;;;;;13675:38:0;;::::1;::::0;13696:6;::::1;::::0;13675:38:::1;::::0;::::1;13724:6;:17:::0;;-1:-1:-1;;;;;;13724:17:0::1;-1:-1:-1::0;;;;;13724:17:0;;;::::1;::::0;;;::::1;::::0;;13505:244::o;31743:419::-;31974:8;31825:15;;;32019:31;31974:8;32019:22;:31::i;:::-;31995:55;;32078:31;32101:7;32078:22;:31::i;:::-;-1:-1:-1;;;;;32132:22:0;;;;;;:13;:22;;;;;;32146:7;;31743:419;;-1:-1:-1;32061:48:0;32132:22;31743:419;-1:-1:-1;;31743:419:0:o;22743:471::-;22801:7;23046:1;23051;23046:6;23042:47;;-1:-1:-1;23076:1:0;23069:8;;23042:47;23101:9;23113:5;23117:1;23113;:5;:::i;:::-;23101:17;-1:-1:-1;23146:1:0;23137:5;23141:1;23101:17;23137:5;:::i;:::-;:10;23129:56;;;;-1:-1:-1;;;23129:56:0;;4449:2:1;23129:56:0;;;4431:21:1;4488:2;4468:18;;;4461:30;4527:34;4507:18;;;4500:62;-1:-1:-1;;;4578:18:1;;;4571:31;4619:19;;23129:56:0;4247:397:1;23129:56:0;23205:1;22743:471;-1:-1:-1;;;22743:471:0:o;22176:181::-;22234:7;;22266:5;22270:1;22266;:5;:::i;:::-;22254:17;;22295:1;22290;:6;;22282:46;;;;-1:-1:-1;;;22282:46:0;;4851:2:1;22282:46:0;;;4833:21:1;4890:2;4870:18;;;4863:30;4929:29;4909:18;;;4902:57;4976:18;;22282:46:0;4649:351:1;26277:134:0;26333:6;26366:1;26383:6;;;;26375:15;;;;;25712:176;25768:6;;25798:5;25802:1;25798;:5;:::i;:::-;25787:16;;25828:1;25823;:6;;:16;;;;;25838:1;25833;:6;;25823:16;25822:38;;;;25849:1;25845;:5;:14;;;;;25858:1;25854;:5;25845:14;25814:47;;;;;26117:127;26173:7;26206:1;26201;:6;;26193:15;;;;;;-1:-1:-1;26234:1:0;26117:127::o;30923:579::-;-1:-1:-1;;;;;31026:22:0;;31001;31026;;;:13;:22;;;;;;;31059:35;;;;31108:27;;;31105:390;;;31148:22;31173:30;:10;31188:14;31173;:30::i;:::-;31148:55;;31214:34;31224:7;31233:14;31214:9;:34::i;:::-;31275:14;31259:12;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;31105:390:0;;-1:-1:-1;;31105:390:0;;31323:14;31310:10;:27;31307:188;;;31350:20;31373:30;:14;31392:10;31373:18;:30::i;:::-;31350:53;;31414:30;31422:7;31431:12;31414:7;:30::i;:::-;31471:12;31455;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;;30990:512:0;30923:579;;:::o;28421:654::-;28494:7;28514:29;28546:28;28569:4;28546:22;:28::i;:::-;28514:60;-1:-1:-1;28589:25:0;;28585:462;;-1:-1:-1;;;;;28654:24:0;;;;;;:18;:24;;;;;;:51;;28683:21;28654:28;:51::i;:::-;-1:-1:-1;;;;;28627:24:0;;;;;;:18;:24;;;;;;;:78;;;;28723:46;;;;;;28747:21;548:25:1;;536:2;521:18;;402:177;28723:46:0;;;;;;;;28781:12;28798:4;-1:-1:-1;;;;;28798:9:0;28815:21;28798:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28780:61;;;28858:7;28854:141;;-1:-1:-1;;;;;28909:24:0;;;;;;:18;:24;;;;;;:51;;28938:21;28909:28;:51::i;:::-;-1:-1:-1;;;;;28882:24:0;;;;;;;:18;:24;;;;;:78;;;;-1:-1:-1;28882:24:0;;28421:654;-1:-1:-1;;28421:654:0:o;28854:141::-;-1:-1:-1;29014:21:0;28421:654;-1:-1:-1;;28421:654:0:o;28585:462::-;-1:-1:-1;29066:1:0;;28421:654;-1:-1:-1;;28421:654:0:o;22365:136::-;22423:7;22450:43;22454:1;22457;22450:43;;;;;;;;;;;;;;;;;:3;:43::i;30455:227::-;30566:108;30619:53;30620:36;30650:5;30620:25;;:29;;:36;;;;:::i;30619:53::-;-1:-1:-1;;;;;30566:37:0;;;;;;:28;:37;;;;;;;:51;:108::i;:::-;-1:-1:-1;;;;;30526:37:0;;;;;;;:28;:37;;;;;:148;;;;-1:-1:-1;30455:227:0:o;30690:225::-;30799:108;30852:53;30853:36;30883:5;30853:25;;:29;;:36;;;;:::i;30852:53::-;-1:-1:-1;;;;;30799:37:0;;;;;;:28;:37;;;;;;;:51;:108::i;22509:226::-;22629:7;22665:12;22657:6;;;;22649:29;;;;-1:-1:-1;;;22649:29:0;;;;;;;;:::i;:::-;-1:-1:-1;22689:9:0;22701:5;22705:1;22701;:5;:::i;:::-;22689:17;22509:226;-1:-1:-1;;;;;22509:226:0:o;25448:176::-;25504:6;;25534:5;25538:1;25534;:5;:::i;:::-;25523:16;;25564:1;25559;:6;;:16;;;;;25574:1;25569;:6;;25559:16;25558:38;;;;25585:1;25581;:5;:14;;;;;25594:1;25590;:5;25550:47;;;;;14:131:1;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:247;209:6;262:2;250:9;241:7;237:23;233:32;230:52;;;278:1;275;268:12;230:52;317:9;304:23;336:31;361:5;336:31;:::i;984:424::-;1057:6;1065;1118:2;1106:9;1097:7;1093:23;1089:32;1086:52;;;1134:1;1131;1124:12;1086:52;1173:9;1160:23;1192:31;1217:5;1192:31;:::i;:::-;1242:5;-1:-1:-1;1299:2:1;1284:18;;1271:32;1341:15;;1334:23;1322:36;;1312:64;;1372:1;1369;1362:12;1312:64;1395:7;1385:17;;;984:424;;;;;:::o;1673:323::-;1749:6;1757;1810:2;1798:9;1789:7;1785:23;1781:32;1778:52;;;1826:1;1823;1816:12;1778:52;1865:9;1852:23;1884:31;1909:5;1884:31;:::i;:::-;1934:5;1986:2;1971:18;;;;1958:32;;-1:-1:-1;;;1673:323:1:o;2423:127::-;2484:10;2479:3;2475:20;2472:1;2465:31;2515:4;2512:1;2505:15;2539:4;2536:1;2529:15;2555:217;2595:1;2621;2611:132;;2665:10;2660:3;2656:20;2653:1;2646:31;2700:4;2697:1;2690:15;2728:4;2725:1;2718:15;2611:132;-1:-1:-1;2757:9:1;;2555:217::o;2777:356::-;2979:2;2961:21;;;2998:18;;;2991:30;3057:34;3052:2;3037:18;;3030:62;3124:2;3109:18;;2777:356::o;3138:184::-;3208:6;3261:2;3249:9;3240:7;3236:23;3232:32;3229:52;;;3277:1;3274;3267:12;3229:52;-1:-1:-1;3300:16:1;;3138:184;-1:-1:-1;3138:184:1:o;3327:125::-;3392:9;;;3413:10;;;3410:36;;;3426:18;;:::i;4074:168::-;4147:9;;;4178;;4195:15;;;4189:22;;4175:37;4165:71;;4216:18;;:::i;5005:216::-;5069:9;;;5097:11;;;5044:3;5127:9;;5155:10;;5151:19;;5180:10;;5172:19;;5148:44;5145:70;;;5195:18;;:::i;:::-;5145:70;;5005:216;;;;:::o;5226:128::-;5293:9;;;5314:11;;;5311:37;;;5328:18;;:::i;5359:548::-;5471:4;5500:2;5529;5518:9;5511:21;5561:6;5555:13;5604:6;5599:2;5588:9;5584:18;5577:34;5629:1;5639:140;5653:6;5650:1;5647:13;5639:140;;;5748:14;;;5744:23;;5738:30;5714:17;;;5733:2;5710:26;5703:66;5668:10;;5639:140;;;5643:3;5828:1;5823:2;5814:6;5803:9;5799:22;5795:31;5788:42;5898:2;5891;5887:7;5882:2;5874:6;5870:15;5866:29;5855:9;5851:45;5847:54;5839:62;;;;5359:548;;;;:::o;5912:200::-;5978:9;;;5951:4;6006:9;;6034:10;;6046:12;;;6030:29;6069:12;;;6061:21;;6027:56;6024:82;;;6086:18;;:::i
Swarm Source
ipfs://8476926497af553a5075897afd3e010cf4e423ff60b0f7d4ecef237e5c10ca1c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,458.01 | 1.5691 | $5,425.82 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.