ERC-20
Overview
Max Total Supply
77,239,284.368326441292865544 LPS_Dividend
Holders
201
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DividendTracker
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "./Math.sol"; import "./IDividendTracker.sol"; interface IPair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function token0() external view returns (address); } interface IFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); function getPair( address tokenA, address tokenB ) external view returns (address pair); } interface IUniswapRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract DividendPayingToken is ERC20, DividendPayingTokenInterface, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; address public LP_Token; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 internal constant magnitude = 2 ** 128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; uint256 public totalDividendsDistributed; uint256 public totalDividendsWithdrawn; constructor( string memory _name, string memory _symbol ) ERC20(_name, _symbol) {} function _distributeLPDividends(uint256 amount) internal virtual { require(totalSupply() > 0); if (amount > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (amount).mul(magnitude) / totalSupply() ); 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 withdrawDividend() public virtual override { _withdrawDividendOfUser(payable(msg.sender)); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser( address payable user ) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add( _withdrawableDividend ); totalDividendsWithdrawn += _withdrawableDividend; emit DividendWithdrawn(user, _withdrawableDividend); bool success = IERC20(LP_Token).transfer( user, _withdrawableDividend ); if (!success) { withdrawnDividends[user] = withdrawnDividends[user].sub( _withdrawableDividend ); totalDividendsWithdrawn -= _withdrawableDividend; return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns (uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf( address _owner ) public view override returns (uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf( address _owner ) public view override returns (uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf( address _owner ) public view override returns (uint256) { return magnifiedDividendPerShare .mul(balanceOf(_owner)) .toInt256Safe() .add(magnifiedDividendCorrections[_owner]) .toUint256Safe() / magnitude; } /// @dev Internal function that transfer tokens from one address to another. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param from The address to transfer from. /// @param to The address to transfer to. /// @param value The amount to be transferred. function _transfer( address from, address to, uint256 value ) internal virtual override { require(false); int256 _magCorrection = magnifiedDividendPerShare .mul(value) .toInt256Safe(); magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from] .add(_magCorrection); magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub( _magCorrection ); } /// @dev Internal function that mints tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[ account ].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe()); } /// @dev Internal function that burns an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[ account ].add((magnifiedDividendPerShare.mul(value)).toInt256Safe()); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if (newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if (newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } } contract DividendTracker is Ownable, DividendPayingToken { struct AccountInfo { address account; uint256 withdrawableDividends; uint256 totalDividends; uint256 lastClaimTime; } mapping(address => bool) public excludedFromDividends; mapping(address => uint256) public lastClaimTimes; event ExcludeFromDividends(address indexed account, bool value); event Claim(address indexed account, uint256 amount); constructor() DividendPayingToken("LPS Dividend", "LPS_Dividend") {} function trackerRescueETH20Tokens( address recipient, address tokenAddress ) external onlyOwner { IERC20(tokenAddress).transfer( recipient, IERC20(tokenAddress).balanceOf(address(this)) ); } function updateLP_Token(address _lpToken) external onlyOwner { LP_Token = _lpToken; } function _transfer(address, address, uint256) internal pure override { require(false, "Dividend_Tracker: No transfers allowed"); } function excludeFromDividends( address account, bool value ) external onlyOwner { require(excludedFromDividends[account] != value); excludedFromDividends[account] = value; if (value == true) { _setBalance(account, 0); } else { _setBalance(account, balanceOf(account)); } emit ExcludeFromDividends(account, value); } function getAccount( address account ) public view returns (address, uint256, uint256, uint256, uint256) { AccountInfo memory info; info.account = account; info.withdrawableDividends = withdrawableDividendOf(account); info.totalDividends = accumulativeDividendOf(account); info.lastClaimTime = lastClaimTimes[account]; return ( info.account, info.withdrawableDividends, info.totalDividends, info.lastClaimTime, totalDividendsWithdrawn ); } function setBalance( address account, uint256 newBalance ) external onlyOwner { if (excludedFromDividends[account]) { return; } _setBalance(account, newBalance); } function processAccount( address payable account ) external onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if (amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount); return true; } return false; } function distributeLPDividends(uint256 amount) public onlyOwner { _distributeLPDividends(amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract 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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { 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"); _beforeTokenTransfer(from, to, amount); 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); _afterTokenTransfer(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"); _beforeTokenTransfer(address(0), account, amount); _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); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(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 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); } } } /** * @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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; 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 Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @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); /// @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"ExcludeFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LP_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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distributeLPDividends","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"},{"internalType":"bool","name":"value","type":"bool"}],"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":"","type":"address"},{"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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"trackerRescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lpToken","type":"address"}],"name":"updateLP_Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","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"}]
Contract Creation Code
608060405234801562000010575f80fd5b506040518060400160405280600c81526020017f4c5053204469766964656e6400000000000000000000000000000000000000008152506040518060400160405280600c81526020017f4c50535f4469766964656e64000000000000000000000000000000000000000081525081818160039081620000909190620003fb565b508060049081620000a29190620003fb565b505050620000c5620000b9620000cd60201b60201c565b620000d460201b60201c565b5050620004df565b5f33905090565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200021357607f821691505b602082108103620002295762000228620001ce565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200028d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000250565b62000299868362000250565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620002e3620002dd620002d784620002b1565b620002ba565b620002b1565b9050919050565b5f819050919050565b620002fe83620002c3565b620003166200030d82620002ea565b8484546200025c565b825550505050565b5f90565b6200032c6200031e565b62000339818484620002f3565b505050565b5b818110156200036057620003545f8262000322565b6001810190506200033f565b5050565b601f821115620003af5762000379816200022f565b620003848462000241565b8101602085101562000394578190505b620003ac620003a38562000241565b8301826200033e565b50505b505050565b5f82821c905092915050565b5f620003d15f1984600802620003b4565b1980831691505092915050565b5f620003eb8383620003c0565b9150826002028217905092915050565b620004068262000197565b67ffffffffffffffff811115620004225762000421620001a1565b5b6200042e8254620001fb565b6200043b82828562000364565b5f60209050601f83116001811462000471575f84156200045c578287015190505b620004688582620003de565b865550620004d7565b601f19841662000481866200022f565b5f5b82811015620004aa5784890151825560018201915060208501945060208101905062000483565b86831015620004ca5784890151620004c6601f891682620003c0565b8355505b6001600288020188555050505b505050505050565b612ce280620004ed5f395ff3fe608060405234801561000f575f80fd5b50600436106101e3575f3560e01c8063715018a61161010d578063a8b9d240116100a0578063e30443bc1161006f578063e30443bc146105df578063ede6ad9c146105fb578063f2fde38b14610617578063fbcbc0f114610633576101e3565b8063a8b9d2401461051f578063a9059cbb1461054f578063aafd847a1461057f578063dd62ed3e146105af576101e3565b806391b89fba116100dc57806391b89fba1461048357806395d89b41146104b35780639e1e0661146104d1578063a457c2d7146104ef576101e3565b8063715018a61461040d578063807ab4f71461041757806385a6b3ae146104475780638da5cb5b14610465576101e3565b806327ce014711610185578063497ec82311610154578063497ec823146103875780634e7b827f146103a35780636a474002146103d357806370a08231146103dd576101e3565b806327ce0147146102ed578063313ce5671461031d578063395093511461033b57806344b6bd9e1461036b576101e3565b80631162c4b6116101c15780631162c4b61461025157806318160ddd1461026f578063226cfa3d1461028d57806323b872dd146102bd576101e3565b80630483f7a0146101e757806306fdde0314610203578063095ea7b314610221575b5f80fd5b61020160048036038101906101fc9190611fbd565b610667565b005b61020b61079b565b6040516102189190612085565b60405180910390f35b61023b600480360381019061023691906120d8565b61082b565b6040516102489190612125565b60405180910390f35b61025961084d565b604051610266919061214d565b60405180910390f35b610277610872565b6040516102849190612175565b60405180910390f35b6102a760048036038101906102a2919061218e565b61087b565b6040516102b49190612175565b60405180910390f35b6102d760048036038101906102d291906121b9565b610890565b6040516102e49190612125565b60405180910390f35b6103076004803603810190610302919061218e565b6108be565b6040516103149190612175565b60405180910390f35b61032561095e565b6040516103329190612224565b60405180910390f35b610355600480360381019061035091906120d8565b610966565b6040516103629190612125565b60405180910390f35b6103856004803603810190610380919061218e565b61099c565b005b6103a1600480360381019061039c919061223d565b6109e7565b005b6103bd60048036038101906103b8919061218e565b610ae6565b6040516103ca9190612125565b60405180910390f35b6103db610b03565b005b6103f760048036038101906103f2919061218e565b610b0f565b6040516104049190612175565b60405180910390f35b610415610b54565b005b610431600480360381019061042c91906122b6565b610b67565b60405161043e9190612125565b60405180910390f35b61044f610c28565b60405161045c9190612175565b60405180910390f35b61046d610c2e565b60405161047a919061214d565b60405180910390f35b61049d6004803603810190610498919061218e565b610c56565b6040516104aa9190612175565b60405180910390f35b6104bb610c67565b6040516104c89190612085565b60405180910390f35b6104d9610cf7565b6040516104e69190612175565b60405180910390f35b610509600480360381019061050491906120d8565b610cfd565b6040516105169190612125565b60405180910390f35b6105396004803603810190610534919061218e565b610d72565b6040516105469190612175565b60405180910390f35b610569600480360381019061056491906120d8565b610dd2565b6040516105769190612125565b60405180910390f35b6105996004803603810190610594919061218e565b610df4565b6040516105a69190612175565b60405180910390f35b6105c960048036038101906105c4919061223d565b610e3a565b6040516105d69190612175565b60405180910390f35b6105f960048036038101906105f491906120d8565b610ebc565b005b610615600480360381019061061091906122e1565b610f21565b005b610631600480360381019061062c919061218e565b610f35565b005b61064d6004803603810190610648919061218e565b610fb7565b60405161065e95949392919061230c565b60405180910390f35b61066f611090565b801515600c5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161515036106c7575f80fd5b80600c5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600115158115150361073657610731825f61110e565b610749565b6107488261074384610b0f565b61110e565b5b8173ffffffffffffffffffffffffffffffffffffffff167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be8260405161078f9190612125565b60405180910390a25050565b6060600380546107aa9061238a565b80601f01602080910402602001604051908101604052809291908181526020018280546107d69061238a565b80156108215780601f106107f857610100808354040283529160200191610821565b820191905f5260205f20905b81548152906001019060200180831161080457829003601f168201915b5050505050905090565b5f80610835611178565b905061084281858561117f565b600191505092915050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600254905090565b600d602052805f5260405f205f915090505481565b5f8061089a611178565b90506108a7858285611342565b6108b28585856113cd565b60019150509392505050565b5f70010000000000000000000000000000000061094d61094860085f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461093a61093561092488610b0f565b60075461141290919063ffffffff16565b611489565b6114a390919063ffffffff16565b6114ea565b6109579190612414565b9050919050565b5f6012905090565b5f80610970611178565b90506109918185856109828589610e3a565b61098c9190612444565b61117f565b600191505092915050565b6109a4611090565b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6109ef611090565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb838373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a45919061214d565b602060405180830381865afa158015610a60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a84919061248b565b6040518363ffffffff1660e01b8152600401610aa19291906124b6565b6020604051808303815f875af1158015610abd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae191906124f1565b505050565b600c602052805f5260405f205f915054906101000a900460ff1681565b610b0c336114ff565b50565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610b5c611090565b610b655f611776565b565b5f610b70611090565b5f610b7a836114ff565b90505f811115610c1e5742600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610c0c9190612175565b60405180910390a26001915050610c23565b5f9150505b919050565b600a5481565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f610c6082610d72565b9050919050565b606060048054610c769061238a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca29061238a565b8015610ced5780601f10610cc457610100808354040283529160200191610ced565b820191905f5260205f20905b815481529060010190602001808311610cd057829003601f168201915b5050505050905090565b600b5481565b5f80610d07611178565b90505f610d148286610e3a565b905083811015610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d509061258c565b60405180910390fd5b610d66828686840361117f565b60019250505092915050565b5f610dcb60095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610dbd846108be565b61183990919063ffffffff16565b9050919050565b5f80610ddc611178565b9050610de98185856113cd565b600191505092915050565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610ec4611090565b600c5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610f1d57610f1c828261110e565b5b5050565b610f29611090565b610f3281611882565b50565b610f3d611090565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa29061261a565b60405180910390fd5b610fb481611776565b50565b5f805f805f610fc4611ef0565b86815f019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061100487610d72565b816020018181525050611016876108be565b816040018181525050600d5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054816060018181525050805f0151816020015182604001518360600151600b54955095509550955095505091939590929450565b611098611178565b73ffffffffffffffffffffffffffffffffffffffff166110b6610c2e565b73ffffffffffffffffffffffffffffffffffffffff161461110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390612682565b60405180910390fd5b565b5f61111883610b0f565b905080821115611148575f611136828461183990919063ffffffff16565b90506111428482611959565b50611173565b80821015611172575f611164838361183990919063ffffffff16565b90506111708482611a14565b505b5b505050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e490612710565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361125b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112529061279e565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113359190612175565b60405180910390a3505050565b5f61134d8484610e3a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113c757818110156113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090612806565b60405180910390fd5b6113c6848484840361117f565b5b50505050565b5f61140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140490612894565b60405180910390fd5b505050565b5f808303611422575f9050611483565b5f828461142f91906128b2565b905082848261143e9190612414565b1461147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590612963565b60405180910390fd5b809150505b92915050565b5f808290505f81121561149a575f80fd5b80915050919050565b5f8082846114b1919061298a565b90505f83121580156114c35750838112155b806114d857505f831280156114d757508381125b5b6114e0575f80fd5b8091505092915050565b5f808212156114f7575f80fd5b819050919050565b5f8061150a83610d72565b90505f81111561176c576115648160095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611acf90919063ffffffff16565b60095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080600b5f8282546115b69190612444565b925050819055508273ffffffffffffffffffffffffffffffffffffffff167fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d826040516116039190612175565b60405180910390a25f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401611668929190612a26565b6020604051808303815f875af1158015611684573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a891906124f1565b905080611762576116ff8260095f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461183990919063ffffffff16565b60095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555081600b5f8282546117519190612a4d565b925050819055505f92505050611771565b8192505050611771565b5f9150505b919050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f61187a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b2c565b905092915050565b5f61188b610872565b11611894575f80fd5b5f811115611956576118e66118a7610872565b6118cb7001000000000000000000000000000000008461141290919063ffffffff16565b6118d59190612414565b600754611acf90919063ffffffff16565b6007819055503373ffffffffffffffffffffffffffffffffffffffff167fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511826040516119329190612175565b60405180910390a261194f81600a54611acf90919063ffffffff16565b600a819055505b50565b6119638282611b8e565b6119cf61198361197e8360075461141290919063ffffffff16565b611489565b60085f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611cdc90919063ffffffff16565b60085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505050565b611a1e8282611d23565b611a8a611a3e611a398360075461141290919063ffffffff16565b611489565b60085f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546114a390919063ffffffff16565b60085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505050565b5f808284611add9190612444565b905083811015611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990612aca565b60405180910390fd5b8091505092915050565b5f838311158290611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a9190612085565b60405180910390fd5b505f8385611b819190612a4d565b9050809150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf390612b32565b60405180910390fd5b611c075f8383611ee6565b8060025f828254611c189190612444565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611cc59190612175565b60405180910390a3611cd85f8383611eeb565b5050565b5f808284611cea9190612b50565b90505f8312158015611cfc5750838113155b80611d1157505f83128015611d1057508381135b5b611d19575f80fd5b8091505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8890612c00565b60405180910390fd5b611d9c825f83611ee6565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1690612c8e565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ece9190612175565b60405180910390a3611ee1835f84611eeb565b505050565b505050565b505050565b60405180608001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81526020015f81526020015f81525090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611f5782611f2e565b9050919050565b611f6781611f4d565b8114611f71575f80fd5b50565b5f81359050611f8281611f5e565b92915050565b5f8115159050919050565b611f9c81611f88565b8114611fa6575f80fd5b50565b5f81359050611fb781611f93565b92915050565b5f8060408385031215611fd357611fd2611f2a565b5b5f611fe085828601611f74565b9250506020611ff185828601611fa9565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612032578082015181840152602081019050612017565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61205782611ffb565b6120618185612005565b9350612071818560208601612015565b61207a8161203d565b840191505092915050565b5f6020820190508181035f83015261209d818461204d565b905092915050565b5f819050919050565b6120b7816120a5565b81146120c1575f80fd5b50565b5f813590506120d2816120ae565b92915050565b5f80604083850312156120ee576120ed611f2a565b5b5f6120fb85828601611f74565b925050602061210c858286016120c4565b9150509250929050565b61211f81611f88565b82525050565b5f6020820190506121385f830184612116565b92915050565b61214781611f4d565b82525050565b5f6020820190506121605f83018461213e565b92915050565b61216f816120a5565b82525050565b5f6020820190506121885f830184612166565b92915050565b5f602082840312156121a3576121a2611f2a565b5b5f6121b084828501611f74565b91505092915050565b5f805f606084860312156121d0576121cf611f2a565b5b5f6121dd86828701611f74565b93505060206121ee86828701611f74565b92505060406121ff868287016120c4565b9150509250925092565b5f60ff82169050919050565b61221e81612209565b82525050565b5f6020820190506122375f830184612215565b92915050565b5f806040838503121561225357612252611f2a565b5b5f61226085828601611f74565b925050602061227185828601611f74565b9150509250929050565b5f61228582611f2e565b9050919050565b6122958161227b565b811461229f575f80fd5b50565b5f813590506122b08161228c565b92915050565b5f602082840312156122cb576122ca611f2a565b5b5f6122d8848285016122a2565b91505092915050565b5f602082840312156122f6576122f5611f2a565b5b5f612303848285016120c4565b91505092915050565b5f60a08201905061231f5f83018861213e565b61232c6020830187612166565b6123396040830186612166565b6123466060830185612166565b6123536080830184612166565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806123a157607f821691505b6020821081036123b4576123b361235d565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61241e826120a5565b9150612429836120a5565b925082612439576124386123ba565b5b828204905092915050565b5f61244e826120a5565b9150612459836120a5565b9250828201905080821115612471576124706123e7565b5b92915050565b5f81519050612485816120ae565b92915050565b5f602082840312156124a05761249f611f2a565b5b5f6124ad84828501612477565b91505092915050565b5f6040820190506124c95f83018561213e565b6124d66020830184612166565b9392505050565b5f815190506124eb81611f93565b92915050565b5f6020828403121561250657612505611f2a565b5b5f612513848285016124dd565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612576602583612005565b91506125818261251c565b604082019050919050565b5f6020820190508181035f8301526125a38161256a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612604602683612005565b915061260f826125aa565b604082019050919050565b5f6020820190508181035f830152612631816125f8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61266c602083612005565b915061267782612638565b602082019050919050565b5f6020820190508181035f83015261269981612660565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6126fa602483612005565b9150612705826126a0565b604082019050919050565b5f6020820190508181035f830152612727816126ee565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612788602283612005565b91506127938261272e565b604082019050919050565b5f6020820190508181035f8301526127b58161277c565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6127f0601d83612005565b91506127fb826127bc565b602082019050919050565b5f6020820190508181035f83015261281d816127e4565b9050919050565b7f4469766964656e645f547261636b65723a204e6f207472616e736665727320615f8201527f6c6c6f7765640000000000000000000000000000000000000000000000000000602082015250565b5f61287e602683612005565b915061288982612824565b604082019050919050565b5f6020820190508181035f8301526128ab81612872565b9050919050565b5f6128bc826120a5565b91506128c7836120a5565b92508282026128d5816120a5565b915082820484148315176128ec576128eb6123e7565b5b5092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f61294d602183612005565b9150612958826128f3565b604082019050919050565b5f6020820190508181035f83015261297a81612941565b9050919050565b5f819050919050565b5f61299482612981565b915061299f83612981565b92508282019050828112155f8312168382125f8412151617156129c5576129c46123e7565b5b92915050565b5f819050919050565b5f6129ee6129e96129e484611f2e565b6129cb565b611f2e565b9050919050565b5f6129ff826129d4565b9050919050565b5f612a10826129f5565b9050919050565b612a2081612a06565b82525050565b5f604082019050612a395f830185612a17565b612a466020830184612166565b9392505050565b5f612a57826120a5565b9150612a62836120a5565b9250828203905081811115612a7a57612a796123e7565b5b92915050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f612ab4601b83612005565b9150612abf82612a80565b602082019050919050565b5f6020820190508181035f830152612ae181612aa8565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f612b1c601f83612005565b9150612b2782612ae8565b602082019050919050565b5f6020820190508181035f830152612b4981612b10565b9050919050565b5f612b5a82612981565b9150612b6583612981565b925082820390508181125f8412168282135f851215161715612b8a57612b896123e7565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f612bea602183612005565b9150612bf582612b90565b604082019050919050565b5f6020820190508181035f830152612c1781612bde565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f612c78602283612005565b9150612c8382612c1e565b604082019050919050565b5f6020820190508181035f830152612ca581612c6c565b905091905056fea2646970667358221220ac362667f218ab797249c95c638dbe34420989dcc481b506e3c46b088ae72eb664736f6c63430008150033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106101e3575f3560e01c8063715018a61161010d578063a8b9d240116100a0578063e30443bc1161006f578063e30443bc146105df578063ede6ad9c146105fb578063f2fde38b14610617578063fbcbc0f114610633576101e3565b8063a8b9d2401461051f578063a9059cbb1461054f578063aafd847a1461057f578063dd62ed3e146105af576101e3565b806391b89fba116100dc57806391b89fba1461048357806395d89b41146104b35780639e1e0661146104d1578063a457c2d7146104ef576101e3565b8063715018a61461040d578063807ab4f71461041757806385a6b3ae146104475780638da5cb5b14610465576101e3565b806327ce014711610185578063497ec82311610154578063497ec823146103875780634e7b827f146103a35780636a474002146103d357806370a08231146103dd576101e3565b806327ce0147146102ed578063313ce5671461031d578063395093511461033b57806344b6bd9e1461036b576101e3565b80631162c4b6116101c15780631162c4b61461025157806318160ddd1461026f578063226cfa3d1461028d57806323b872dd146102bd576101e3565b80630483f7a0146101e757806306fdde0314610203578063095ea7b314610221575b5f80fd5b61020160048036038101906101fc9190611fbd565b610667565b005b61020b61079b565b6040516102189190612085565b60405180910390f35b61023b600480360381019061023691906120d8565b61082b565b6040516102489190612125565b60405180910390f35b61025961084d565b604051610266919061214d565b60405180910390f35b610277610872565b6040516102849190612175565b60405180910390f35b6102a760048036038101906102a2919061218e565b61087b565b6040516102b49190612175565b60405180910390f35b6102d760048036038101906102d291906121b9565b610890565b6040516102e49190612125565b60405180910390f35b6103076004803603810190610302919061218e565b6108be565b6040516103149190612175565b60405180910390f35b61032561095e565b6040516103329190612224565b60405180910390f35b610355600480360381019061035091906120d8565b610966565b6040516103629190612125565b60405180910390f35b6103856004803603810190610380919061218e565b61099c565b005b6103a1600480360381019061039c919061223d565b6109e7565b005b6103bd60048036038101906103b8919061218e565b610ae6565b6040516103ca9190612125565b60405180910390f35b6103db610b03565b005b6103f760048036038101906103f2919061218e565b610b0f565b6040516104049190612175565b60405180910390f35b610415610b54565b005b610431600480360381019061042c91906122b6565b610b67565b60405161043e9190612125565b60405180910390f35b61044f610c28565b60405161045c9190612175565b60405180910390f35b61046d610c2e565b60405161047a919061214d565b60405180910390f35b61049d6004803603810190610498919061218e565b610c56565b6040516104aa9190612175565b60405180910390f35b6104bb610c67565b6040516104c89190612085565b60405180910390f35b6104d9610cf7565b6040516104e69190612175565b60405180910390f35b610509600480360381019061050491906120d8565b610cfd565b6040516105169190612125565b60405180910390f35b6105396004803603810190610534919061218e565b610d72565b6040516105469190612175565b60405180910390f35b610569600480360381019061056491906120d8565b610dd2565b6040516105769190612125565b60405180910390f35b6105996004803603810190610594919061218e565b610df4565b6040516105a69190612175565b60405180910390f35b6105c960048036038101906105c4919061223d565b610e3a565b6040516105d69190612175565b60405180910390f35b6105f960048036038101906105f491906120d8565b610ebc565b005b610615600480360381019061061091906122e1565b610f21565b005b610631600480360381019061062c919061218e565b610f35565b005b61064d6004803603810190610648919061218e565b610fb7565b60405161065e95949392919061230c565b60405180910390f35b61066f611090565b801515600c5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161515036106c7575f80fd5b80600c5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600115158115150361073657610731825f61110e565b610749565b6107488261074384610b0f565b61110e565b5b8173ffffffffffffffffffffffffffffffffffffffff167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be8260405161078f9190612125565b60405180910390a25050565b6060600380546107aa9061238a565b80601f01602080910402602001604051908101604052809291908181526020018280546107d69061238a565b80156108215780601f106107f857610100808354040283529160200191610821565b820191905f5260205f20905b81548152906001019060200180831161080457829003601f168201915b5050505050905090565b5f80610835611178565b905061084281858561117f565b600191505092915050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600254905090565b600d602052805f5260405f205f915090505481565b5f8061089a611178565b90506108a7858285611342565b6108b28585856113cd565b60019150509392505050565b5f70010000000000000000000000000000000061094d61094860085f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461093a61093561092488610b0f565b60075461141290919063ffffffff16565b611489565b6114a390919063ffffffff16565b6114ea565b6109579190612414565b9050919050565b5f6012905090565b5f80610970611178565b90506109918185856109828589610e3a565b61098c9190612444565b61117f565b600191505092915050565b6109a4611090565b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6109ef611090565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb838373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a45919061214d565b602060405180830381865afa158015610a60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a84919061248b565b6040518363ffffffff1660e01b8152600401610aa19291906124b6565b6020604051808303815f875af1158015610abd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae191906124f1565b505050565b600c602052805f5260405f205f915054906101000a900460ff1681565b610b0c336114ff565b50565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610b5c611090565b610b655f611776565b565b5f610b70611090565b5f610b7a836114ff565b90505f811115610c1e5742600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610c0c9190612175565b60405180910390a26001915050610c23565b5f9150505b919050565b600a5481565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f610c6082610d72565b9050919050565b606060048054610c769061238a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca29061238a565b8015610ced5780601f10610cc457610100808354040283529160200191610ced565b820191905f5260205f20905b815481529060010190602001808311610cd057829003601f168201915b5050505050905090565b600b5481565b5f80610d07611178565b90505f610d148286610e3a565b905083811015610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d509061258c565b60405180910390fd5b610d66828686840361117f565b60019250505092915050565b5f610dcb60095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610dbd846108be565b61183990919063ffffffff16565b9050919050565b5f80610ddc611178565b9050610de98185856113cd565b600191505092915050565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610ec4611090565b600c5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610f1d57610f1c828261110e565b5b5050565b610f29611090565b610f3281611882565b50565b610f3d611090565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa29061261a565b60405180910390fd5b610fb481611776565b50565b5f805f805f610fc4611ef0565b86815f019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061100487610d72565b816020018181525050611016876108be565b816040018181525050600d5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054816060018181525050805f0151816020015182604001518360600151600b54955095509550955095505091939590929450565b611098611178565b73ffffffffffffffffffffffffffffffffffffffff166110b6610c2e565b73ffffffffffffffffffffffffffffffffffffffff161461110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390612682565b60405180910390fd5b565b5f61111883610b0f565b905080821115611148575f611136828461183990919063ffffffff16565b90506111428482611959565b50611173565b80821015611172575f611164838361183990919063ffffffff16565b90506111708482611a14565b505b5b505050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e490612710565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361125b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112529061279e565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113359190612175565b60405180910390a3505050565b5f61134d8484610e3a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113c757818110156113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090612806565b60405180910390fd5b6113c6848484840361117f565b5b50505050565b5f61140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140490612894565b60405180910390fd5b505050565b5f808303611422575f9050611483565b5f828461142f91906128b2565b905082848261143e9190612414565b1461147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590612963565b60405180910390fd5b809150505b92915050565b5f808290505f81121561149a575f80fd5b80915050919050565b5f8082846114b1919061298a565b90505f83121580156114c35750838112155b806114d857505f831280156114d757508381125b5b6114e0575f80fd5b8091505092915050565b5f808212156114f7575f80fd5b819050919050565b5f8061150a83610d72565b90505f81111561176c576115648160095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611acf90919063ffffffff16565b60095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080600b5f8282546115b69190612444565b925050819055508273ffffffffffffffffffffffffffffffffffffffff167fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d826040516116039190612175565b60405180910390a25f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401611668929190612a26565b6020604051808303815f875af1158015611684573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a891906124f1565b905080611762576116ff8260095f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461183990919063ffffffff16565b60095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555081600b5f8282546117519190612a4d565b925050819055505f92505050611771565b8192505050611771565b5f9150505b919050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f61187a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b2c565b905092915050565b5f61188b610872565b11611894575f80fd5b5f811115611956576118e66118a7610872565b6118cb7001000000000000000000000000000000008461141290919063ffffffff16565b6118d59190612414565b600754611acf90919063ffffffff16565b6007819055503373ffffffffffffffffffffffffffffffffffffffff167fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511826040516119329190612175565b60405180910390a261194f81600a54611acf90919063ffffffff16565b600a819055505b50565b6119638282611b8e565b6119cf61198361197e8360075461141290919063ffffffff16565b611489565b60085f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611cdc90919063ffffffff16565b60085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505050565b611a1e8282611d23565b611a8a611a3e611a398360075461141290919063ffffffff16565b611489565b60085f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546114a390919063ffffffff16565b60085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505050565b5f808284611add9190612444565b905083811015611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990612aca565b60405180910390fd5b8091505092915050565b5f838311158290611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a9190612085565b60405180910390fd5b505f8385611b819190612a4d565b9050809150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf390612b32565b60405180910390fd5b611c075f8383611ee6565b8060025f828254611c189190612444565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611cc59190612175565b60405180910390a3611cd85f8383611eeb565b5050565b5f808284611cea9190612b50565b90505f8312158015611cfc5750838113155b80611d1157505f83128015611d1057508381135b5b611d19575f80fd5b8091505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8890612c00565b60405180910390fd5b611d9c825f83611ee6565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1690612c8e565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ece9190612175565b60405180910390a3611ee1835f84611eeb565b505050565b505050565b505050565b60405180608001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81526020015f81526020015f81525090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611f5782611f2e565b9050919050565b611f6781611f4d565b8114611f71575f80fd5b50565b5f81359050611f8281611f5e565b92915050565b5f8115159050919050565b611f9c81611f88565b8114611fa6575f80fd5b50565b5f81359050611fb781611f93565b92915050565b5f8060408385031215611fd357611fd2611f2a565b5b5f611fe085828601611f74565b9250506020611ff185828601611fa9565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612032578082015181840152602081019050612017565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61205782611ffb565b6120618185612005565b9350612071818560208601612015565b61207a8161203d565b840191505092915050565b5f6020820190508181035f83015261209d818461204d565b905092915050565b5f819050919050565b6120b7816120a5565b81146120c1575f80fd5b50565b5f813590506120d2816120ae565b92915050565b5f80604083850312156120ee576120ed611f2a565b5b5f6120fb85828601611f74565b925050602061210c858286016120c4565b9150509250929050565b61211f81611f88565b82525050565b5f6020820190506121385f830184612116565b92915050565b61214781611f4d565b82525050565b5f6020820190506121605f83018461213e565b92915050565b61216f816120a5565b82525050565b5f6020820190506121885f830184612166565b92915050565b5f602082840312156121a3576121a2611f2a565b5b5f6121b084828501611f74565b91505092915050565b5f805f606084860312156121d0576121cf611f2a565b5b5f6121dd86828701611f74565b93505060206121ee86828701611f74565b92505060406121ff868287016120c4565b9150509250925092565b5f60ff82169050919050565b61221e81612209565b82525050565b5f6020820190506122375f830184612215565b92915050565b5f806040838503121561225357612252611f2a565b5b5f61226085828601611f74565b925050602061227185828601611f74565b9150509250929050565b5f61228582611f2e565b9050919050565b6122958161227b565b811461229f575f80fd5b50565b5f813590506122b08161228c565b92915050565b5f602082840312156122cb576122ca611f2a565b5b5f6122d8848285016122a2565b91505092915050565b5f602082840312156122f6576122f5611f2a565b5b5f612303848285016120c4565b91505092915050565b5f60a08201905061231f5f83018861213e565b61232c6020830187612166565b6123396040830186612166565b6123466060830185612166565b6123536080830184612166565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806123a157607f821691505b6020821081036123b4576123b361235d565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61241e826120a5565b9150612429836120a5565b925082612439576124386123ba565b5b828204905092915050565b5f61244e826120a5565b9150612459836120a5565b9250828201905080821115612471576124706123e7565b5b92915050565b5f81519050612485816120ae565b92915050565b5f602082840312156124a05761249f611f2a565b5b5f6124ad84828501612477565b91505092915050565b5f6040820190506124c95f83018561213e565b6124d66020830184612166565b9392505050565b5f815190506124eb81611f93565b92915050565b5f6020828403121561250657612505611f2a565b5b5f612513848285016124dd565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612576602583612005565b91506125818261251c565b604082019050919050565b5f6020820190508181035f8301526125a38161256a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612604602683612005565b915061260f826125aa565b604082019050919050565b5f6020820190508181035f830152612631816125f8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61266c602083612005565b915061267782612638565b602082019050919050565b5f6020820190508181035f83015261269981612660565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6126fa602483612005565b9150612705826126a0565b604082019050919050565b5f6020820190508181035f830152612727816126ee565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612788602283612005565b91506127938261272e565b604082019050919050565b5f6020820190508181035f8301526127b58161277c565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6127f0601d83612005565b91506127fb826127bc565b602082019050919050565b5f6020820190508181035f83015261281d816127e4565b9050919050565b7f4469766964656e645f547261636b65723a204e6f207472616e736665727320615f8201527f6c6c6f7765640000000000000000000000000000000000000000000000000000602082015250565b5f61287e602683612005565b915061288982612824565b604082019050919050565b5f6020820190508181035f8301526128ab81612872565b9050919050565b5f6128bc826120a5565b91506128c7836120a5565b92508282026128d5816120a5565b915082820484148315176128ec576128eb6123e7565b5b5092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f61294d602183612005565b9150612958826128f3565b604082019050919050565b5f6020820190508181035f83015261297a81612941565b9050919050565b5f819050919050565b5f61299482612981565b915061299f83612981565b92508282019050828112155f8312168382125f8412151617156129c5576129c46123e7565b5b92915050565b5f819050919050565b5f6129ee6129e96129e484611f2e565b6129cb565b611f2e565b9050919050565b5f6129ff826129d4565b9050919050565b5f612a10826129f5565b9050919050565b612a2081612a06565b82525050565b5f604082019050612a395f830185612a17565b612a466020830184612166565b9392505050565b5f612a57826120a5565b9150612a62836120a5565b9250828203905081811115612a7a57612a796123e7565b5b92915050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f612ab4601b83612005565b9150612abf82612a80565b602082019050919050565b5f6020820190508181035f830152612ae181612aa8565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f612b1c601f83612005565b9150612b2782612ae8565b602082019050919050565b5f6020820190508181035f830152612b4981612b10565b9050919050565b5f612b5a82612981565b9150612b6583612981565b925082820390508181125f8412168282135f851215161715612b8a57612b896123e7565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f612bea602183612005565b9150612bf582612b90565b604082019050919050565b5f6020820190508181035f830152612c1781612bde565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f612c78602283612005565b9150612c8382612c1e565b604082019050919050565b5f6020820190508181035f830152612ca581612c6c565b905091905056fea2646970667358221220ac362667f218ab797249c95c638dbe34420989dcc481b506e3c46b088ae72eb664736f6c63430008150033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.