ETH Price: $3,390.75 (+1.36%)

Contract

0x6F295FC0bc9A7556E355f9cE5Fe708F89f3512bE
 

Overview

ETH Balance

2.69569500254098529 ETH

Eth Value

$9,140.43 (@ $3,390.75/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer196159882024-04-09 5:24:35263 days ago1712640275IN
0x6F295FC0...89f3512bE
0 ETH0.001633221.14536228
Approve195336762024-03-28 16:09:35275 days ago1711642175IN
0x6F295FC0...89f3512bE
0 ETH0.0024454352.69545069
Approve195330022024-03-28 13:47:47275 days ago1711633667IN
0x6F295FC0...89f3512bE
0 ETH0.0020357643.58579409

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
205522872024-08-18 1:40:47132 days ago1723945247
0x6F295FC0...89f3512bE
0.00003601 ETH
202954572024-07-13 5:20:11168 days ago1720848011
0x6F295FC0...89f3512bE
0.0000217 ETH
202066172024-06-30 19:33:23180 days ago1719776003
0x6F295FC0...89f3512bE
0.00019277 ETH
201058902024-06-16 17:37:35194 days ago1718559455
0x6F295FC0...89f3512bE
0.00009071 ETH
201058882024-06-16 17:37:11194 days ago1718559431
0x6F295FC0...89f3512bE
0.00006982 ETH
200529272024-06-09 7:58:47202 days ago1717919927
0x6F295FC0...89f3512bE
0.00403548 ETH
200434622024-06-08 0:14:47203 days ago1717805687
0x6F295FC0...89f3512bE
0.00000986 ETH
199810492024-05-30 7:03:23212 days ago1717052603
0x6F295FC0...89f3512bE
0.00029107 ETH
199732812024-05-29 4:57:59213 days ago1716958679
0x6F295FC0...89f3512bE
0.00004889 ETH
198257422024-05-08 13:49:11234 days ago1715176151
0x6F295FC0...89f3512bE
0.00007225 ETH
198103122024-05-06 10:01:23236 days ago1714989683
0x6F295FC0...89f3512bE
0.00034442 ETH
198053982024-05-05 17:31:59236 days ago1714930319
0x6F295FC0...89f3512bE
0.00005779 ETH
197664182024-04-30 6:44:47242 days ago1714459487
0x6F295FC0...89f3512bE
0.00037555 ETH
197472132024-04-27 14:18:23245 days ago1714227503
0x6F295FC0...89f3512bE
0.00020916 ETH
197440332024-04-27 3:36:23245 days ago1714188983
0x6F295FC0...89f3512bE
0.00022093 ETH
197369112024-04-26 3:39:35246 days ago1714102775
0x6F295FC0...89f3512bE
0.00008576 ETH
197171292024-04-23 9:13:47249 days ago1713863627
0x6F295FC0...89f3512bE
0.00002272 ETH
197013792024-04-21 4:25:23251 days ago1713673523
0x6F295FC0...89f3512bE
0.00004177 ETH
196946122024-04-20 5:42:11252 days ago1713591731
0x6F295FC0...89f3512bE
0.00004896 ETH
196833422024-04-18 15:49:35254 days ago1713455375
0x6F295FC0...89f3512bE
0.00038154 ETH
196830552024-04-18 14:51:35254 days ago1713451895
0x6F295FC0...89f3512bE
0.00004123 ETH
196808952024-04-18 7:36:35254 days ago1713425795
0x6F295FC0...89f3512bE
0.00011305 ETH
196782452024-04-17 22:43:11254 days ago1713393791
0x6F295FC0...89f3512bE
0.00007566 ETH
196776762024-04-17 20:47:47254 days ago1713386867
0x6F295FC0...89f3512bE
0.00001195 ETH
196738152024-04-17 7:51:23255 days ago1713340283
0x6F295FC0...89f3512bE
0.00001186 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC315LPToken

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 11 : ERC315LPToken.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.23;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import {DividendTracker} from "./DividendTracker.sol";

contract ERC315LPToken is DividendTracker, Ownable {
    event Claim(address indexed account, uint256 amount);

    struct AccountInfo {
        address account;
        uint256 withdrawableDividends;
        uint256 totalDividends;
        uint256 lastClaimTime;
    }

    constructor()
        DividendTracker("Liquidity Provide ERC315s", "LP-ERC315")
        Ownable(_msgSender())
    {}

    mapping(address => uint256) public lastClaimTimes;

    uint private unlocked = 1;

    modifier lock() {
        require(unlocked == 1, "LPToken: LOCKED");
        unlocked = 0;
        _;
        unlocked = 1;
    }

    function claimRewards() external {
        uint256 amount = _withdrawDividendOfUser(payable(_msgSender()));

        if (amount > 0) {
            lastClaimTimes[_msgSender()] = block.timestamp;
            emit Claim(_msgSender(), amount);
        }
    }

    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 mint(address to, uint256 amount) public override lock onlyOwner {
        super.mint(to, amount);
    }

    function burn(address from, uint256 amount) public override lock onlyOwner {
        super.burn(from, amount);
    }

    function burnLP(uint256 amount) public lock {
        super.burn(_msgSender(), amount);
    }

    receive() external payable {
        uint256 totalAmount = msg.value;
        if (totalSupply() > 0) {
            _distribute(totalAmount);
        }
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

File 3 of 11 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 5 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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);
}

File 6 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 7 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 8 of 11 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

File 9 of 11 : DividendTracker.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.23;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IDividendTracker} from "./interfaces/IDividendTracker.sol";
import {SafeMath, SafeMathUint, SafeMathInt} from "./libs/SafeMath.sol";

abstract contract DividendTracker is ERC20, IDividendTracker {
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;

    // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small.
    // For more discussion about choosing the value of `magnitude`,
    //  see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728
    uint256 internal constant magnitude = 2 ** 128;

    uint256 internal magnifiedDividendPerShare;

    // About dividendCorrection:
    // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user)`.
    // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens),
    //   `dividendOf(_user)` should not be changed,
    //   but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
    // To keep the `dividendOf(_user)` unchanged, we add a correction term:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
    //   where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
    //   `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
    // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
    mapping(address => int256) internal magnifiedDividendCorrections;
    mapping(address => uint256) internal withdrawnDividends;

    uint256 public totalDividendsDistributed;
    uint256 public totalDividendsWithdrawn;

    constructor(
        string memory _name,
        string memory _symbol
    ) ERC20(_name, _symbol) {}

    function _distribute(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 _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, ) = user.call{value: _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;
    }

    function transfer(
        address to,
        uint256 value
    ) public override returns (bool) {
        super.transfer(to, value);
        address from = _msgSender();
        int256 _magCorrection = magnifiedDividendPerShare
            .mul(value)
            .toInt256Safe();
        magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from]
            .add(_magCorrection);
        magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(
            _magCorrection
        );
        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) public override returns (bool) {
        super.transferFrom(from, to, value);
        int256 _magCorrection = magnifiedDividendPerShare
            .mul(value)
            .toInt256Safe();
        magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from]
            .add(_magCorrection);
        magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(
            _magCorrection
        );
        return true;
    }

    function mint(address account, uint256 value) public virtual {
        super._mint(account, value);
        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[
            account
        ].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe());
    }

    function burn(address account, uint256 value) public virtual {
        super._burn(account, value);
        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[
            account
        ].add((magnifiedDividendPerShare.mul(value)).toInt256Safe());
    }
}

File 10 of 11 : IDividendTracker.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.23;

interface IDividendTracker {
    /// @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 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);
}

File 11 of 11 : SafeMath.sol
// 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"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":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"renounceOwnership","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":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","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":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001600c553480156200001657600080fd5b50336040518060400160405280601981526020017f4c69717569646974792050726f76696465204552433331357300000000000000815250604051806040016040528060098152602001684c502d45524333313560b81b81525081818160039081620000839190620001d3565b506004620000928282620001d3565b5050506001600160a01b0383169150620000c8905057604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000d381620000da565b506200029f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015757607f821691505b6020821081036200017857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ce576000816000526020600020601f850160051c81016020861015620001a95750805b601f850160051c820191505b81811015620001ca57828155600101620001b5565b5050505b505050565b81516001600160401b03811115620001ef57620001ef6200012c565b620002078162000200845462000142565b846200017e565b602080601f8311600181146200023f5760008415620002265750858301515b600019600386901b1c1916600185901b178555620001ca565b600085815260208120601f198616915b8281101562000270578886015182559484019460019091019084016200024f565b50858210156200028f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6114d680620002af6000396000f3fe60806040526004361061014f5760003560e01c80638da5cb5b116100b6578063a9059cbb1161006f578063a9059cbb146103c2578063aafd847a146103e2578063c6ef206114610418578063dd62ed3e14610438578063f2fde38b1461047e578063fbcbc0f11461049e57600080fd5b80638da5cb5b1461030f57806391b89fba1461033757806395d89b41146103575780639dc29fac1461036c5780639e1e06611461038c578063a8b9d240146103a257600080fd5b8063313ce56711610108578063313ce5671461025d578063372500ab1461027957806340c10f191461028e57806370a08231146102ae578063715018a6146102e457806385a6b3ae146102f957600080fd5b806306fdde0314610176578063095ea7b3146101a157806318160ddd146101d1578063226cfa3d146101f057806323b872dd1461021d57806327ce01471461023d57600080fd5b366101715734600061016060025490565b111561016f5761016f816104f0565b005b600080fd5b34801561018257600080fd5b5061018b610584565b6040516101989190611248565b60405180910390f35b3480156101ad57600080fd5b506101c16101bc3660046112b3565b610616565b6040519015158152602001610198565b3480156101dd57600080fd5b506002545b604051908152602001610198565b3480156101fc57600080fd5b506101e261020b3660046112dd565b600b6020526000908152604090205481565b34801561022957600080fd5b506101c16102383660046112f8565b610630565b34801561024957600080fd5b506101e26102583660046112dd565b6106d7565b34801561026957600080fd5b5060405160128152602001610198565b34801561028557600080fd5b5061016f61072e565b34801561029a57600080fd5b5061016f6102a93660046112b3565b61078a565b3480156102ba57600080fd5b506101e26102c93660046112dd565b6001600160a01b031660009081526020819052604090205490565b3480156102f057600080fd5b5061016f6107d5565b34801561030557600080fd5b506101e260085481565b34801561031b57600080fd5b50600a546040516001600160a01b039091168152602001610198565b34801561034357600080fd5b506101e26103523660046112dd565b6107e9565b34801561036357600080fd5b5061018b6107f4565b34801561037857600080fd5b5061016f6103873660046112b3565b610803565b34801561039857600080fd5b506101e260095481565b3480156103ae57600080fd5b506101e26103bd3660046112dd565b61083c565b3480156103ce57600080fd5b506101c16103dd3660046112b3565b610868565b3480156103ee57600080fd5b506101e26103fd3660046112dd565b6001600160a01b031660009081526007602052604090205490565b34801561042457600080fd5b5061016f610433366004611334565b610905565b34801561044457600080fd5b506101e261045336600461134d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561048a57600080fd5b5061016f6104993660046112dd565b61093e565b3480156104aa57600080fd5b506104be6104b93660046112dd565b610979565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610198565b60006104fb60025490565b1161050557600080fd5b80156105815761053861051760025490565b61052583600160801b610a21565b61052f9190611396565b60055490610aaa565b60055560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a260085461057d9082610aaa565b6008555b50565b606060038054610593906113b8565b80601f01602080910402602001604051908101604052809291908181526020018280546105bf906113b8565b801561060c5780601f106105e15761010080835404028352916020019161060c565b820191906000526020600020905b8154815290600101906020018083116105ef57829003601f168201915b5050505050905090565b600033610624818585610b09565b60019150505b92915050565b600061063d848484610b1b565b50600061065d61065884600554610a2190919063ffffffff16565b610b3f565b6001600160a01b0386166000908152600660205260409020549091506106839082610b4f565b6001600160a01b0380871660009081526006602052604080822093909355908616815220546106b29082610b8d565b6001600160a01b03851660009081526006602052604090205550600190509392505050565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b926107249261071f92610719916106589190610a21565b90610b4f565b610bca565b61062a9190611396565b600061073933610bdd565b9050801561058157336000818152600b602090815260409182902042905590518381527f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4910160405180910390a250565b600c546001146107b55760405162461bcd60e51b81526004016107ac906113f2565b60405180910390fd5b6000600c556107c2610d50565b6107cc8282610d7d565b50506001600c55565b6107dd610d50565b6107e76000610de1565b565b600061062a8261083c565b606060048054610593906113b8565b600c546001146108255760405162461bcd60e51b81526004016107ac906113f2565b6000600c55610832610d50565b6107cc8282610e33565b6001600160a01b03811660009081526007602052604081205461062a90610862846106d7565b90610e77565b60006108748383610eb9565b50600554339060009061088b906106589086610a21565b6001600160a01b0383166000908152600660205260409020549091506108b19082610b4f565b6001600160a01b0380841660009081526006602052604080822093909355908716815220546108e09082610b8d565b6001600160a01b03861660009081526006602052604090205550600191505092915050565b600c546001146109275760405162461bcd60e51b81526004016107ac906113f2565b6000600c556109363382610e33565b506001600c55565b610946610d50565b6001600160a01b03811661097057604051631e4fbdf760e01b8152600060048201526024016107ac565b61058181610de1565b60008060008060006109b5604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b03871681526109ca8761083c565b60208201526109d8876106d7565b60408281019182526001600160a01b03989098166000908152600b6020908152989020546060830181905282519890920151905160095498999198909750919550909350915050565b600082600003610a335750600061062a565b6000610a3f838561141b565b905082610a4c8583611396565b14610aa35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107ac565b9392505050565b600080610ab78385611432565b905083811015610aa35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107ac565b610b168383836001610ec7565b505050565b600033610b29858285610f9d565b610b34858585611015565b506001949350505050565b6000818181121561062a57600080fd5b600080610b5c8385611445565b905060008312158015610b6f5750838112155b80610b845750600083128015610b8457508381125b610aa357600080fd5b600080610b9a838561146d565b905060008312158015610bad5750838113155b80610b845750600083128015610b845750838113610aa357600080fd5b600080821215610bd957600080fd5b5090565b600080610be98361083c565b90508015610d47576001600160a01b038316600090815260076020526040902054610c149082610aaa565b6001600160a01b03841660009081526007602052604081209190915560098054839290610c42908490611432565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26000836001600160a01b03168260405160006040518083038185875af1925050503d8060008114610cd2576040519150601f19603f3d011682016040523d82523d6000602084013e610cd7565b606091505b5050905080610d40576001600160a01b038416600090815260076020526040902054610d039083610e77565b6001600160a01b03851660009081526007602052604081209190915560098054849290610d3190849061148d565b90915550600095945050505050565b5092915050565b50600092915050565b600a546001600160a01b031633146107e75760405163118cdaa760e01b81523360048201526024016107ac565b610d878282611074565b610dc1610da261065883600554610a2190919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490610b8d565b6001600160a01b0390921660009081526006602052604090209190915550565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e3d82826110ae565b610dc1610e5861065883600554610a2190919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490610b4f565b6000610aa383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110e4565b600033610624818585611015565b6001600160a01b038416610ef15760405163e602df0560e01b8152600060048201526024016107ac565b6001600160a01b038316610f1b57604051634a1406b160e11b8152600060048201526024016107ac565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610f9757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f8e91815260200190565b60405180910390a35b50505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610f97578181101561100657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016107ac565b610f9784848484036000610ec7565b6001600160a01b03831661103f57604051634b637e8f60e11b8152600060048201526024016107ac565b6001600160a01b0382166110695760405163ec442f0560e01b8152600060048201526024016107ac565b610b1683838361111e565b6001600160a01b03821661109e5760405163ec442f0560e01b8152600060048201526024016107ac565b6110aa6000838361111e565b5050565b6001600160a01b0382166110d857604051634b637e8f60e11b8152600060048201526024016107ac565b6110aa8260008361111e565b600081848411156111085760405162461bcd60e51b81526004016107ac9190611248565b506000611115848661148d565b95945050505050565b6001600160a01b03831661114957806002600082825461113e9190611432565b909155506111bb9050565b6001600160a01b0383166000908152602081905260409020548181101561119c5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016107ac565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166111d7576002805482900390556111f6565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161123b91815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156112765785810183015185820160400152820161125a565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112ae57600080fd5b919050565b600080604083850312156112c657600080fd5b6112cf83611297565b946020939093013593505050565b6000602082840312156112ef57600080fd5b610aa382611297565b60008060006060848603121561130d57600080fd5b61131684611297565b925061132460208501611297565b9150604084013590509250925092565b60006020828403121561134657600080fd5b5035919050565b6000806040838503121561136057600080fd5b61136983611297565b915061137760208401611297565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b6000826113b357634e487b7160e01b600052601260045260246000fd5b500490565b600181811c908216806113cc57607f821691505b6020821081036113ec57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e1314151bdad95b8e881313d0d2d151608a1b604082015260600190565b808202811582820484141761062a5761062a611380565b8082018082111561062a5761062a611380565b808201828112600083128015821682158216171561146557611465611380565b505092915050565b8181036000831280158383131683831282161715610d4057610d40611380565b8181038181111561062a5761062a61138056fea26469706673582212206102936611c2f36b907d12d81356536aa1cb2ee7a62489783166b9126d69f2c464736f6c63430008170033

Deployed Bytecode

0x60806040526004361061014f5760003560e01c80638da5cb5b116100b6578063a9059cbb1161006f578063a9059cbb146103c2578063aafd847a146103e2578063c6ef206114610418578063dd62ed3e14610438578063f2fde38b1461047e578063fbcbc0f11461049e57600080fd5b80638da5cb5b1461030f57806391b89fba1461033757806395d89b41146103575780639dc29fac1461036c5780639e1e06611461038c578063a8b9d240146103a257600080fd5b8063313ce56711610108578063313ce5671461025d578063372500ab1461027957806340c10f191461028e57806370a08231146102ae578063715018a6146102e457806385a6b3ae146102f957600080fd5b806306fdde0314610176578063095ea7b3146101a157806318160ddd146101d1578063226cfa3d146101f057806323b872dd1461021d57806327ce01471461023d57600080fd5b366101715734600061016060025490565b111561016f5761016f816104f0565b005b600080fd5b34801561018257600080fd5b5061018b610584565b6040516101989190611248565b60405180910390f35b3480156101ad57600080fd5b506101c16101bc3660046112b3565b610616565b6040519015158152602001610198565b3480156101dd57600080fd5b506002545b604051908152602001610198565b3480156101fc57600080fd5b506101e261020b3660046112dd565b600b6020526000908152604090205481565b34801561022957600080fd5b506101c16102383660046112f8565b610630565b34801561024957600080fd5b506101e26102583660046112dd565b6106d7565b34801561026957600080fd5b5060405160128152602001610198565b34801561028557600080fd5b5061016f61072e565b34801561029a57600080fd5b5061016f6102a93660046112b3565b61078a565b3480156102ba57600080fd5b506101e26102c93660046112dd565b6001600160a01b031660009081526020819052604090205490565b3480156102f057600080fd5b5061016f6107d5565b34801561030557600080fd5b506101e260085481565b34801561031b57600080fd5b50600a546040516001600160a01b039091168152602001610198565b34801561034357600080fd5b506101e26103523660046112dd565b6107e9565b34801561036357600080fd5b5061018b6107f4565b34801561037857600080fd5b5061016f6103873660046112b3565b610803565b34801561039857600080fd5b506101e260095481565b3480156103ae57600080fd5b506101e26103bd3660046112dd565b61083c565b3480156103ce57600080fd5b506101c16103dd3660046112b3565b610868565b3480156103ee57600080fd5b506101e26103fd3660046112dd565b6001600160a01b031660009081526007602052604090205490565b34801561042457600080fd5b5061016f610433366004611334565b610905565b34801561044457600080fd5b506101e261045336600461134d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561048a57600080fd5b5061016f6104993660046112dd565b61093e565b3480156104aa57600080fd5b506104be6104b93660046112dd565b610979565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610198565b60006104fb60025490565b1161050557600080fd5b80156105815761053861051760025490565b61052583600160801b610a21565b61052f9190611396565b60055490610aaa565b60055560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a260085461057d9082610aaa565b6008555b50565b606060038054610593906113b8565b80601f01602080910402602001604051908101604052809291908181526020018280546105bf906113b8565b801561060c5780601f106105e15761010080835404028352916020019161060c565b820191906000526020600020905b8154815290600101906020018083116105ef57829003601f168201915b5050505050905090565b600033610624818585610b09565b60019150505b92915050565b600061063d848484610b1b565b50600061065d61065884600554610a2190919063ffffffff16565b610b3f565b6001600160a01b0386166000908152600660205260409020549091506106839082610b4f565b6001600160a01b0380871660009081526006602052604080822093909355908616815220546106b29082610b8d565b6001600160a01b03851660009081526006602052604090205550600190509392505050565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b926107249261071f92610719916106589190610a21565b90610b4f565b610bca565b61062a9190611396565b600061073933610bdd565b9050801561058157336000818152600b602090815260409182902042905590518381527f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4910160405180910390a250565b600c546001146107b55760405162461bcd60e51b81526004016107ac906113f2565b60405180910390fd5b6000600c556107c2610d50565b6107cc8282610d7d565b50506001600c55565b6107dd610d50565b6107e76000610de1565b565b600061062a8261083c565b606060048054610593906113b8565b600c546001146108255760405162461bcd60e51b81526004016107ac906113f2565b6000600c55610832610d50565b6107cc8282610e33565b6001600160a01b03811660009081526007602052604081205461062a90610862846106d7565b90610e77565b60006108748383610eb9565b50600554339060009061088b906106589086610a21565b6001600160a01b0383166000908152600660205260409020549091506108b19082610b4f565b6001600160a01b0380841660009081526006602052604080822093909355908716815220546108e09082610b8d565b6001600160a01b03861660009081526006602052604090205550600191505092915050565b600c546001146109275760405162461bcd60e51b81526004016107ac906113f2565b6000600c556109363382610e33565b506001600c55565b610946610d50565b6001600160a01b03811661097057604051631e4fbdf760e01b8152600060048201526024016107ac565b61058181610de1565b60008060008060006109b5604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b03871681526109ca8761083c565b60208201526109d8876106d7565b60408281019182526001600160a01b03989098166000908152600b6020908152989020546060830181905282519890920151905160095498999198909750919550909350915050565b600082600003610a335750600061062a565b6000610a3f838561141b565b905082610a4c8583611396565b14610aa35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107ac565b9392505050565b600080610ab78385611432565b905083811015610aa35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107ac565b610b168383836001610ec7565b505050565b600033610b29858285610f9d565b610b34858585611015565b506001949350505050565b6000818181121561062a57600080fd5b600080610b5c8385611445565b905060008312158015610b6f5750838112155b80610b845750600083128015610b8457508381125b610aa357600080fd5b600080610b9a838561146d565b905060008312158015610bad5750838113155b80610b845750600083128015610b845750838113610aa357600080fd5b600080821215610bd957600080fd5b5090565b600080610be98361083c565b90508015610d47576001600160a01b038316600090815260076020526040902054610c149082610aaa565b6001600160a01b03841660009081526007602052604081209190915560098054839290610c42908490611432565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26000836001600160a01b03168260405160006040518083038185875af1925050503d8060008114610cd2576040519150601f19603f3d011682016040523d82523d6000602084013e610cd7565b606091505b5050905080610d40576001600160a01b038416600090815260076020526040902054610d039083610e77565b6001600160a01b03851660009081526007602052604081209190915560098054849290610d3190849061148d565b90915550600095945050505050565b5092915050565b50600092915050565b600a546001600160a01b031633146107e75760405163118cdaa760e01b81523360048201526024016107ac565b610d878282611074565b610dc1610da261065883600554610a2190919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490610b8d565b6001600160a01b0390921660009081526006602052604090209190915550565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e3d82826110ae565b610dc1610e5861065883600554610a2190919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490610b4f565b6000610aa383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110e4565b600033610624818585611015565b6001600160a01b038416610ef15760405163e602df0560e01b8152600060048201526024016107ac565b6001600160a01b038316610f1b57604051634a1406b160e11b8152600060048201526024016107ac565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610f9757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f8e91815260200190565b60405180910390a35b50505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610f97578181101561100657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016107ac565b610f9784848484036000610ec7565b6001600160a01b03831661103f57604051634b637e8f60e11b8152600060048201526024016107ac565b6001600160a01b0382166110695760405163ec442f0560e01b8152600060048201526024016107ac565b610b1683838361111e565b6001600160a01b03821661109e5760405163ec442f0560e01b8152600060048201526024016107ac565b6110aa6000838361111e565b5050565b6001600160a01b0382166110d857604051634b637e8f60e11b8152600060048201526024016107ac565b6110aa8260008361111e565b600081848411156111085760405162461bcd60e51b81526004016107ac9190611248565b506000611115848661148d565b95945050505050565b6001600160a01b03831661114957806002600082825461113e9190611432565b909155506111bb9050565b6001600160a01b0383166000908152602081905260409020548181101561119c5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016107ac565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166111d7576002805482900390556111f6565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161123b91815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156112765785810183015185820160400152820161125a565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112ae57600080fd5b919050565b600080604083850312156112c657600080fd5b6112cf83611297565b946020939093013593505050565b6000602082840312156112ef57600080fd5b610aa382611297565b60008060006060848603121561130d57600080fd5b61131684611297565b925061132460208501611297565b9150604084013590509250925092565b60006020828403121561134657600080fd5b5035919050565b6000806040838503121561136057600080fd5b61136983611297565b915061137760208401611297565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b6000826113b357634e487b7160e01b600052601260045260246000fd5b500490565b600181811c908216806113cc57607f821691505b6020821081036113ec57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e1314151bdad95b8e881313d0d2d151608a1b604082015260600190565b808202811582820484141761062a5761062a611380565b8082018082111561062a5761062a611380565b808201828112600083128015821682158216171561146557611465611380565b505092915050565b8181036000831280158383131683831282161715610d4057610d40611380565b8181038181111561062a5761062a61138056fea26469706673582212206102936611c2f36b907d12d81356536aa1cb2ee7a62489783166b9126d69f2c464736f6c63430008170033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.