ETH Price: $3,442.95 (-0.40%)

Contract

0x3864b787e498BF89eDFf0ED6258393D4CF462855
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim All214099152024-12-15 19:10:475 days ago1734289847IN
0x3864b787...4CF462855
0 ETH0.0005821911.18280961
Approve213958682024-12-13 20:05:597 days ago1734120359IN
0x3864b787...4CF462855
0 ETH0.0003655115.02624
Claim All213468242024-12-06 23:45:5913 days ago1733528759IN
0x3864b787...4CF462855
0 ETH0.0011040316.23486805
Claim All213064442024-12-01 8:23:5919 days ago1733041439IN
0x3864b787...4CF462855
0 ETH0.000395518.97197603
Unstake Wulfz By...212172892024-11-18 21:27:4732 days ago1731965267IN
0x3864b787...4CF462855
0 ETH0.0124310919.03721297
Unstake Wulfz By...212172862024-11-18 21:27:1132 days ago1731965231IN
0x3864b787...4CF462855
0 ETH0.0123901618.93151283
Claim All211698472024-11-12 6:35:2338 days ago1731393323IN
0x3864b787...4CF462855
0 ETH0.0012270227.83445258
Unstake All211032092024-11-02 23:23:1147 days ago1730589791IN
0x3864b787...4CF462855
0 ETH0.000540434.01804547
Approve208401532024-09-27 6:25:3584 days ago1727418335IN
0x3864b787...4CF462855
0 ETH0.0002922712.01530065
Unstake Wulfz By...207363492024-09-12 18:33:4799 days ago1726166027IN
0x3864b787...4CF462855
0 ETH0.004113598.77855953
Unstake Wulfz By...207286712024-09-11 16:50:35100 days ago1726073435IN
0x3864b787...4CF462855
0 ETH0.00034943.3
Unstake Wulfz By...207236332024-09-10 23:56:47100 days ago1726012607IN
0x3864b787...4CF462855
0 ETH0.000908532.4493466
Unstake All206439192024-08-30 20:55:59112 days ago1725051359IN
0x3864b787...4CF462855
0 ETH0.000155761.39317117
Claim All206439112024-08-30 20:54:23112 days ago1725051263IN
0x3864b787...4CF462855
0 ETH0.000061951.40548866
Claim All206215532024-08-27 17:56:11115 days ago1724781371IN
0x3864b787...4CF462855
0 ETH0.00008631.43781178
Claim All206200532024-08-27 12:54:47115 days ago1724763287IN
0x3864b787...4CF462855
0 ETH0.000075121.44296485
Unstake Wulfz By...203903912024-07-26 11:21:35147 days ago1721992895IN
0x3864b787...4CF462855
0 ETH0.000177261.76770822
Unstake Wulfz By...203903852024-07-26 11:20:23147 days ago1721992823IN
0x3864b787...4CF462855
0 ETH0.000578892.00112475
Claim All203903792024-07-26 11:19:11147 days ago1721992751IN
0x3864b787...4CF462855
0 ETH0.000177921.91217083
Approve202662972024-07-09 3:36:47164 days ago1720496207IN
0x3864b787...4CF462855
0 ETH0.000057032.34475278
Claim All202451922024-07-06 4:49:47167 days ago1720241387IN
0x3864b787...4CF462855
0 ETH0.000118791.97810323
Unstake Wulfz By...201185602024-06-18 12:11:59185 days ago1718712719IN
0x3864b787...4CF462855
0 ETH0.000827188.247848
Unstake Wulfz By...201185562024-06-18 12:11:11185 days ago1718712671IN
0x3864b787...4CF462855
0 ETH0.002422318.30668047
Claim All201185512024-06-18 12:10:11185 days ago1718712611IN
0x3864b787...4CF462855
0 ETH0.00063838.39595284
Unstake Wulfz By...201185482024-06-18 12:09:35185 days ago1718712575IN
0x3864b787...4CF462855
0 ETH0.003687678.24630904
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AWOO

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-12
*/

// File: @openzeppelin/contracts/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;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.0;


/**
 * @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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol



pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol



pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol



pragma solidity ^0.8.0;




/**
 * @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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _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;
        }
        _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 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 {}
}

// File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol



pragma solidity ^0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

// File: contracts/wulfzstaking.sol


pragma solidity ^0.8.4;



interface IWulfzNFT {
    function transferFrom(address _from, address _to, uint256 _tokenId) external;
}

contract AWOO is ERC20Burnable, Ownable {
    uint256 public constant MAX_SUPPLY = 200000000 * 1 ether;
    uint256 public constant ALPHA_EMISSION_RATE = 50; // 50 per day
    uint256 public constant WULFZ_EMISSION_RATE = 10; // 10 per day
    uint256 public constant PUPZ_EMISSION_RATE = 5; // 5 per day
    address public constant WULFZ_ADDRESS = 0x9712228cEeDA1E2dDdE52Cd5100B88986d1Cb49c;
    bool public live = false;

    mapping(uint256 => uint256) internal wulfzTimeStaked;
    mapping(uint256 => address) internal wulfzStaker;
    mapping(address => uint256[]) internal stakerToWulfz;
        
    IWulfzNFT private constant _wulfzContract = IWulfzNFT(WULFZ_ADDRESS);

    constructor() ERC20("AWOO", "AWOO") {
        _mint(msg.sender, 2100 * 1 ether);
    }

    modifier stakingEnabled {
        require(live, "NOT_LIVE");
        _;
    }

    function getStakedWulfz(address staker) public view returns (uint256[] memory) {
        return stakerToWulfz[staker];
    }
    
    function getStakedAmount(address staker) public view returns (uint256) {
        return stakerToWulfz[staker].length;
    }

    function getStaker(uint256 tokenId) public view returns (address) {
        return wulfzStaker[tokenId];
    }

    function getAllRewards(address staker) public view returns (uint256) {
        uint256 totalRewards = 0;

        uint256[] memory wulfzTokens = stakerToWulfz[staker];
        for (uint256 i = 0; i < wulfzTokens.length; i++) {
            totalRewards += getReward(wulfzTokens[i]);
        }

        return totalRewards;
    }

    function stakeWulfzById(uint256[] calldata tokenIds) external stakingEnabled {
        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 id = tokenIds[i];
            _wulfzContract.transferFrom(msg.sender, address(this), id);

            stakerToWulfz[msg.sender].push(id);
            wulfzTimeStaked[id] = block.timestamp;
            wulfzStaker[id] = msg.sender;
        }
    }

    function unstakeWulfzByIds(uint256[] calldata tokenIds) external {
        uint256 totalRewards = 0;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 id = tokenIds[i];
            require(wulfzStaker[id] == msg.sender, "NEEDS_TO_BE_OWNER");

            _wulfzContract.transferFrom(address(this), msg.sender, id);
            totalRewards += getReward(id);

            removeTokenIdFromArray(stakerToWulfz[msg.sender], id);
            wulfzStaker[id] = address(0);
        }

        uint256 remaining = MAX_SUPPLY - totalSupply();
        _mint(msg.sender, totalRewards > remaining ? remaining : totalRewards);
    }

    function unstakeAll() external {
        require(getStakedAmount(msg.sender) > 0, "NONE_STAKED");
        uint256 totalRewards = 0;

        for (uint256 i = stakerToWulfz[msg.sender].length; i > 0; i--) {
            uint256 id = stakerToWulfz[msg.sender][i - 1];

            _wulfzContract.transferFrom(address(this), msg.sender, id);
            totalRewards += getReward(id);

            stakerToWulfz[msg.sender].pop();
            wulfzStaker[id] = address(0);
        }

        uint256 remaining = MAX_SUPPLY - totalSupply();
        _mint(msg.sender, totalRewards > remaining ? remaining : totalRewards);
    }

    function claimAll() external {
        uint256 totalRewards = 0;

        uint256[] memory wulfzTokens = stakerToWulfz[msg.sender];
        for (uint256 i = 0; i < wulfzTokens.length; i++) {
            uint256 id = wulfzTokens[i];

            totalRewards += getReward(id);
            wulfzTimeStaked[id] = block.timestamp;
        }

        uint256 remaining = MAX_SUPPLY - totalSupply();
        _mint(msg.sender, totalRewards > remaining ? remaining : totalRewards);
    }

    function burn(address from, uint256 amount) external {
        require(msg.sender == WULFZ_ADDRESS, "NOT_AUTHORIZED");

        _burn(from, amount);
    }
    
    function toggle() external onlyOwner {
        live = !live;
    }

    function getReward(uint256 tokenId) internal view returns(uint256) {
        uint256 EMISSION_RATE;
        if (tokenId < 5601) {
            EMISSION_RATE = WULFZ_EMISSION_RATE;
        } else if (tokenId < 6001) {
            EMISSION_RATE = ALPHA_EMISSION_RATE;
        } else {
            EMISSION_RATE = PUPZ_EMISSION_RATE;
        }

        return (block.timestamp - wulfzTimeStaked[tokenId]) * EMISSION_RATE / 86400 * 1 ether;
    }

    function removeTokenIdFromArray(uint256[] storage array, uint256 tokenId) internal {
        uint256 length = array.length;
        for (uint256 i = 0; i < length; i++) {
            if (array[i] == tokenId) {
                length--;
                if (i < length) {
                    array[i] = array[length];
                }
                array.pop();
                break;
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"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":"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":"ALPHA_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUPZ_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WULFZ_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WULFZ_EMISSION_RATE","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","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":"address","name":"staker","type":"address"}],"name":"getAllRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getStakedWulfz","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getStaker","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"live","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stakeWulfzById","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":[],"name":"unstakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeWulfzByIds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526005805460ff60a01b191690553480156200001e57600080fd5b5060408051808201825260048082526341574f4f60e01b6020808401828152855180870190965292855284015281519192916200005e91600391620001ea565b50805162000074906004906020840190620001ea565b505050620000916200008b620000ac60201b60201c565b620000b0565b620000a6336871d75ab9b92050000062000102565b620002f2565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200015d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000171919062000290565b90915550506001600160a01b03821660009081526020819052604081208054839290620001a090849062000290565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001f890620002b5565b90600052602060002090601f0160209004810192826200021c576000855562000267565b82601f106200023757805160ff191683800117855562000267565b8280016001018555821562000267579182015b82811115620002675782518255916020019190600101906200024a565b506200027592915062000279565b5090565b5b808211156200027557600081556001016200027a565b60008219821115620002b057634e487b7160e01b81526011600452602481fd5b500190565b600181811c90821680620002ca57607f821691505b60208210811415620002ec57634e487b7160e01b600052602260045260246000fd5b50919050565b611a2b80620003026000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063a457c2d7116100a2578063dd62ed3e11610071578063dd62ed3e1461042f578063e3c998fe14610468578063e574439a14610491578063f2fde38b1461049957600080fd5b8063a457c2d7146103f9578063a9059cbb1461040c578063c9ecc9dd1461041f578063d1058e591461042757600080fd5b80639325f7d8116100de5780639325f7d8146103aa578063957aa58c146103ca57806395d89b41146103de5780639dc29fac146103e657600080fd5b806370a0823114610355578063715018a61461037e57806379cc6790146103865780638da5cb5b1461039957600080fd5b806333ced87a116101875780633c6c2eaa116101565780633c6c2eaa146102fe57806340a3d2461461031157806342966c68146103195780634da6a5561461032c57600080fd5b806333ced87a1461029d57806335322f37146102d0578063362a3fad146102d857806339509351146102eb57600080fd5b806323b872dd116101c357806323b872dd1461025457806328d3d88214610267578063313ce5671461027c57806332cb6b0c1461028b57600080fd5b806306fdde03146101f5578063095ea7b31461021357806315b972f91461023657806318160ddd1461024c575b600080fd5b6101fd6104ac565b60405161020a919061187c565b60405180910390f35b610226610221366004611787565b61053e565b604051901515815260200161020a565b61023e600a81565b60405190815260200161020a565b60025461023e565b61022661026236600461174c565b610554565b61027a6102753660046117b0565b610603565b005b6040516012815260200161020a565b61023e6aa56fa5b99019a5c800000081565b6102b8739712228ceeda1e2ddde52cd5100b88986d1cb49c81565b6040516001600160a01b03909116815260200161020a565b61027a610755565b61023e6102e6366004611700565b610937565b6102266102f9366004611787565b610a03565b61027a61030c3660046117b0565b610a3f565b61027a610bde565b61027a610327366004611820565b610c29565b61023e61033a366004611700565b6001600160a01b031660009081526008602052604090205490565b61023e610363366004611700565b6001600160a01b031660009081526020819052604090205490565b61027a610c36565b61027a610394366004611787565b610c6c565b6005546001600160a01b03166102b8565b6103bd6103b8366004611700565b610ced565b60405161020a9190611838565b60055461022690600160a01b900460ff1681565b6101fd610d59565b61027a6103f4366004611787565b610d68565b610226610407366004611787565b610dc6565b61022661041a366004611787565b610e5f565b61023e603281565b61027a610e6c565b61023e61043d36600461171a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102b8610476366004611820565b6000908152600760205260409020546001600160a01b031690565b61023e600581565b61027a6104a7366004611700565b610f6c565b6060600380546104bb90611989565b80601f01602080910402602001604051908101604052809291908181526020018280546104e790611989565b80156105345780601f1061050957610100808354040283529160200191610534565b820191906000526020600020905b81548152906001019060200180831161051757829003601f168201915b5050505050905090565b600061054b338484611004565b50600192915050565b6000610561848484611128565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105eb5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105f88533858403611004565b506001949350505050565b600554600160a01b900460ff166106475760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b60448201526064016105e2565b60005b8181101561075057600083838381811061067457634e487b7160e01b600052603260045260246000fd5b6040516323b872dd60e01b815233600482015230602482015260209091029290920135604483018190529250739712228ceeda1e2ddde52cd5100b88986d1cb49c916323b872dd9150606401600060405180830381600087803b1580156106da57600080fd5b505af11580156106ee573d6000803e3d6000fd5b505033600081815260086020908152604080832080546001810182559084528284200187905595825260068152858220429055600790529390932080546001600160a01b03191690931790925550819050610748816119c4565b91505061064a565b505050565b33600090815260086020526040812054116107a05760405162461bcd60e51b815260206004820152600b60248201526a1393d39157d4d51052d15160aa1b60448201526064016105e2565b336000908152600860205260408120545b80156108f9573360009081526008602052604081206107d160018461195b565b815481106107ef57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516323b872dd60e01b815230600482015233602482015260448101829052909150739712228ceeda1e2ddde52cd5100b88986d1cb49c906323b872dd90606401600060405180830381600087803b15801561085757600080fd5b505af115801561086b573d6000803e3d6000fd5b50505050610878816112f6565b6108829084611904565b336000908152600860205260409020805491945090806108b257634e487b7160e01b600052603160045260246000fd5b60008281526020808220830160001990810183905590920190925591815260079091526040902080546001600160a01b0319169055806108f181611972565b9150506107b1565b50600061090560025490565b61091a906aa56fa5b99019a5c800000061195b565b90506109333382841161092d578361136e565b8261136e565b5050565b6001600160a01b038116600090815260086020908152604080832080548251818502810185019093528083528493849392919083018282801561099957602002820191906000526020600020905b815481526020019060010190808311610985575b5050505050905060005b81518110156109fa576109dc8282815181106109cf57634e487b7160e01b600052603260045260246000fd5b60200260200101516112f6565b6109e69084611904565b9250806109f2816119c4565b9150506109a3565b50909392505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161054b918590610a3a908690611904565b611004565b6000805b82811015610ba4576000848483818110610a6d57634e487b7160e01b600052603260045260246000fd5b6020908102929092013560008181526007909352604090922054919250506001600160a01b03163314610ad65760405162461bcd60e51b81526020600482015260116024820152702722a2a229afaa27afa122afa7aba722a960791b60448201526064016105e2565b6040516323b872dd60e01b815230600482015233602482015260448101829052739712228ceeda1e2ddde52cd5100b88986d1cb49c906323b872dd90606401600060405180830381600087803b158015610b2f57600080fd5b505af1158015610b43573d6000803e3d6000fd5b50505050610b50816112f6565b610b5a9084611904565b336000908152600860205260409020909350610b76908261144d565b600090815260076020526040902080546001600160a01b031916905580610b9c816119c4565b915050610a43565b506000610bb060025490565b610bc5906aa56fa5b99019a5c800000061195b565b9050610bd83382841161092d578361136e565b50505050565b6005546001600160a01b03163314610c085760405162461bcd60e51b81526004016105e2906118cf565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610c333382611544565b50565b6005546001600160a01b03163314610c605760405162461bcd60e51b81526004016105e2906118cf565b610c6a6000611692565b565b6000610c78833361043d565b905081811015610cd65760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105e2565b610ce38333848403611004565b6107508383611544565b6001600160a01b038116600090815260086020908152604091829020805483518184028101840190945280845260609392830182828015610d4d57602002820191906000526020600020905b815481526020019060010190808311610d39575b50505050509050919050565b6060600480546104bb90611989565b33739712228ceeda1e2ddde52cd5100b88986d1cb49c14610dbc5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105e2565b6109338282611544565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e485760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105e2565b610e553385858403611004565b5060019392505050565b600061054b338484611128565b33600090815260086020908152604080832080548251818502810185019093528083528493830182828015610ec057602002820191906000526020600020905b815481526020019060010190808311610eac575b5050505050905060005b8151811015610f38576000828281518110610ef557634e487b7160e01b600052603260045260246000fd5b60200260200101519050610f08816112f6565b610f129085611904565b600091825260066020526040909120429055925080610f30816119c4565b915050610eca565b506000610f4460025490565b610f59906aa56fa5b99019a5c800000061195b565b90506107503382851161092d578461136e565b6005546001600160a01b03163314610f965760405162461bcd60e51b81526004016105e2906118cf565b6001600160a01b038116610ffb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e2565b610c3381611692565b6001600160a01b0383166110665760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e2565b6001600160a01b0382166110c75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661118c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e2565b6001600160a01b0382166111ee5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e2565b6001600160a01b038316600090815260208190526040902054818110156112665760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105e2565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061129d908490611904565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112e991815260200190565b60405180910390a3610bd8565b6000806115e183101561130b5750600a611321565b61177183101561131d57506032611321565b5060055b60008381526006602052604090205462015180908290611341904261195b565b61134b919061193c565b611355919061191c565b61136790670de0b6b3a764000061193c565b9392505050565b6001600160a01b0382166113c45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105e2565b80600260008282546113d69190611904565b90915550506001600160a01b03821660009081526020819052604081208054839290611403908490611904565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b815460005b81811015610bd8578284828154811061147b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001541415611532578161149681611972565b925050818110156114f9578382815481106114c157634e487b7160e01b600052603260045260246000fd5b90600052602060002001548482815481106114ec57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555b8380548061151757634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055610bd8565b8061153c816119c4565b915050611452565b6001600160a01b0382166115a45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105e2565b6001600160a01b038216600090815260208190526040902054818110156116185760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105e2565b6001600160a01b038316600090815260208190526040812083830390556002805484929061164790849061195b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b03811681146116fb57600080fd5b919050565b600060208284031215611711578081fd5b611367826116e4565b6000806040838503121561172c578081fd5b611735836116e4565b9150611743602084016116e4565b90509250929050565b600080600060608486031215611760578081fd5b611769846116e4565b9250611777602085016116e4565b9150604084013590509250925092565b60008060408385031215611799578182fd5b6117a2836116e4565b946020939093013593505050565b600080602083850312156117c2578182fd5b823567ffffffffffffffff808211156117d9578384fd5b818501915085601f8301126117ec578384fd5b8135818111156117fa578485fd5b8660208260051b850101111561180e578485fd5b60209290920196919550909350505050565b600060208284031215611831578081fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b8181101561187057835183529284019291840191600101611854565b50909695505050505050565b6000602080835283518082850152825b818110156118a85785810183015185820160400152820161188c565b818111156118b95783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611917576119176119df565b500190565b60008261193757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611956576119566119df565b500290565b60008282101561196d5761196d6119df565b500390565b600081611981576119816119df565b506000190190565b600181811c9082168061199d57607f821691505b602082108114156119be57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119d8576119d86119df565b5060010190565b634e487b7160e01b600052601160045260246000fdfea264697066735822122030a181277b161a83c2b3395b6097bc9f1e14d0261e93601c200d8da4c97a63ae64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063a457c2d7116100a2578063dd62ed3e11610071578063dd62ed3e1461042f578063e3c998fe14610468578063e574439a14610491578063f2fde38b1461049957600080fd5b8063a457c2d7146103f9578063a9059cbb1461040c578063c9ecc9dd1461041f578063d1058e591461042757600080fd5b80639325f7d8116100de5780639325f7d8146103aa578063957aa58c146103ca57806395d89b41146103de5780639dc29fac146103e657600080fd5b806370a0823114610355578063715018a61461037e57806379cc6790146103865780638da5cb5b1461039957600080fd5b806333ced87a116101875780633c6c2eaa116101565780633c6c2eaa146102fe57806340a3d2461461031157806342966c68146103195780634da6a5561461032c57600080fd5b806333ced87a1461029d57806335322f37146102d0578063362a3fad146102d857806339509351146102eb57600080fd5b806323b872dd116101c357806323b872dd1461025457806328d3d88214610267578063313ce5671461027c57806332cb6b0c1461028b57600080fd5b806306fdde03146101f5578063095ea7b31461021357806315b972f91461023657806318160ddd1461024c575b600080fd5b6101fd6104ac565b60405161020a919061187c565b60405180910390f35b610226610221366004611787565b61053e565b604051901515815260200161020a565b61023e600a81565b60405190815260200161020a565b60025461023e565b61022661026236600461174c565b610554565b61027a6102753660046117b0565b610603565b005b6040516012815260200161020a565b61023e6aa56fa5b99019a5c800000081565b6102b8739712228ceeda1e2ddde52cd5100b88986d1cb49c81565b6040516001600160a01b03909116815260200161020a565b61027a610755565b61023e6102e6366004611700565b610937565b6102266102f9366004611787565b610a03565b61027a61030c3660046117b0565b610a3f565b61027a610bde565b61027a610327366004611820565b610c29565b61023e61033a366004611700565b6001600160a01b031660009081526008602052604090205490565b61023e610363366004611700565b6001600160a01b031660009081526020819052604090205490565b61027a610c36565b61027a610394366004611787565b610c6c565b6005546001600160a01b03166102b8565b6103bd6103b8366004611700565b610ced565b60405161020a9190611838565b60055461022690600160a01b900460ff1681565b6101fd610d59565b61027a6103f4366004611787565b610d68565b610226610407366004611787565b610dc6565b61022661041a366004611787565b610e5f565b61023e603281565b61027a610e6c565b61023e61043d36600461171a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102b8610476366004611820565b6000908152600760205260409020546001600160a01b031690565b61023e600581565b61027a6104a7366004611700565b610f6c565b6060600380546104bb90611989565b80601f01602080910402602001604051908101604052809291908181526020018280546104e790611989565b80156105345780601f1061050957610100808354040283529160200191610534565b820191906000526020600020905b81548152906001019060200180831161051757829003601f168201915b5050505050905090565b600061054b338484611004565b50600192915050565b6000610561848484611128565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105eb5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105f88533858403611004565b506001949350505050565b600554600160a01b900460ff166106475760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b60448201526064016105e2565b60005b8181101561075057600083838381811061067457634e487b7160e01b600052603260045260246000fd5b6040516323b872dd60e01b815233600482015230602482015260209091029290920135604483018190529250739712228ceeda1e2ddde52cd5100b88986d1cb49c916323b872dd9150606401600060405180830381600087803b1580156106da57600080fd5b505af11580156106ee573d6000803e3d6000fd5b505033600081815260086020908152604080832080546001810182559084528284200187905595825260068152858220429055600790529390932080546001600160a01b03191690931790925550819050610748816119c4565b91505061064a565b505050565b33600090815260086020526040812054116107a05760405162461bcd60e51b815260206004820152600b60248201526a1393d39157d4d51052d15160aa1b60448201526064016105e2565b336000908152600860205260408120545b80156108f9573360009081526008602052604081206107d160018461195b565b815481106107ef57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516323b872dd60e01b815230600482015233602482015260448101829052909150739712228ceeda1e2ddde52cd5100b88986d1cb49c906323b872dd90606401600060405180830381600087803b15801561085757600080fd5b505af115801561086b573d6000803e3d6000fd5b50505050610878816112f6565b6108829084611904565b336000908152600860205260409020805491945090806108b257634e487b7160e01b600052603160045260246000fd5b60008281526020808220830160001990810183905590920190925591815260079091526040902080546001600160a01b0319169055806108f181611972565b9150506107b1565b50600061090560025490565b61091a906aa56fa5b99019a5c800000061195b565b90506109333382841161092d578361136e565b8261136e565b5050565b6001600160a01b038116600090815260086020908152604080832080548251818502810185019093528083528493849392919083018282801561099957602002820191906000526020600020905b815481526020019060010190808311610985575b5050505050905060005b81518110156109fa576109dc8282815181106109cf57634e487b7160e01b600052603260045260246000fd5b60200260200101516112f6565b6109e69084611904565b9250806109f2816119c4565b9150506109a3565b50909392505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161054b918590610a3a908690611904565b611004565b6000805b82811015610ba4576000848483818110610a6d57634e487b7160e01b600052603260045260246000fd5b6020908102929092013560008181526007909352604090922054919250506001600160a01b03163314610ad65760405162461bcd60e51b81526020600482015260116024820152702722a2a229afaa27afa122afa7aba722a960791b60448201526064016105e2565b6040516323b872dd60e01b815230600482015233602482015260448101829052739712228ceeda1e2ddde52cd5100b88986d1cb49c906323b872dd90606401600060405180830381600087803b158015610b2f57600080fd5b505af1158015610b43573d6000803e3d6000fd5b50505050610b50816112f6565b610b5a9084611904565b336000908152600860205260409020909350610b76908261144d565b600090815260076020526040902080546001600160a01b031916905580610b9c816119c4565b915050610a43565b506000610bb060025490565b610bc5906aa56fa5b99019a5c800000061195b565b9050610bd83382841161092d578361136e565b50505050565b6005546001600160a01b03163314610c085760405162461bcd60e51b81526004016105e2906118cf565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610c333382611544565b50565b6005546001600160a01b03163314610c605760405162461bcd60e51b81526004016105e2906118cf565b610c6a6000611692565b565b6000610c78833361043d565b905081811015610cd65760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105e2565b610ce38333848403611004565b6107508383611544565b6001600160a01b038116600090815260086020908152604091829020805483518184028101840190945280845260609392830182828015610d4d57602002820191906000526020600020905b815481526020019060010190808311610d39575b50505050509050919050565b6060600480546104bb90611989565b33739712228ceeda1e2ddde52cd5100b88986d1cb49c14610dbc5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105e2565b6109338282611544565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e485760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105e2565b610e553385858403611004565b5060019392505050565b600061054b338484611128565b33600090815260086020908152604080832080548251818502810185019093528083528493830182828015610ec057602002820191906000526020600020905b815481526020019060010190808311610eac575b5050505050905060005b8151811015610f38576000828281518110610ef557634e487b7160e01b600052603260045260246000fd5b60200260200101519050610f08816112f6565b610f129085611904565b600091825260066020526040909120429055925080610f30816119c4565b915050610eca565b506000610f4460025490565b610f59906aa56fa5b99019a5c800000061195b565b90506107503382851161092d578461136e565b6005546001600160a01b03163314610f965760405162461bcd60e51b81526004016105e2906118cf565b6001600160a01b038116610ffb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e2565b610c3381611692565b6001600160a01b0383166110665760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e2565b6001600160a01b0382166110c75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661118c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e2565b6001600160a01b0382166111ee5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e2565b6001600160a01b038316600090815260208190526040902054818110156112665760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105e2565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061129d908490611904565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112e991815260200190565b60405180910390a3610bd8565b6000806115e183101561130b5750600a611321565b61177183101561131d57506032611321565b5060055b60008381526006602052604090205462015180908290611341904261195b565b61134b919061193c565b611355919061191c565b61136790670de0b6b3a764000061193c565b9392505050565b6001600160a01b0382166113c45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105e2565b80600260008282546113d69190611904565b90915550506001600160a01b03821660009081526020819052604081208054839290611403908490611904565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b815460005b81811015610bd8578284828154811061147b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001541415611532578161149681611972565b925050818110156114f9578382815481106114c157634e487b7160e01b600052603260045260246000fd5b90600052602060002001548482815481106114ec57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555b8380548061151757634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055610bd8565b8061153c816119c4565b915050611452565b6001600160a01b0382166115a45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105e2565b6001600160a01b038216600090815260208190526040902054818110156116185760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105e2565b6001600160a01b038316600090815260208190526040812083830390556002805484929061164790849061195b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b03811681146116fb57600080fd5b919050565b600060208284031215611711578081fd5b611367826116e4565b6000806040838503121561172c578081fd5b611735836116e4565b9150611743602084016116e4565b90509250929050565b600080600060608486031215611760578081fd5b611769846116e4565b9250611777602085016116e4565b9150604084013590509250925092565b60008060408385031215611799578182fd5b6117a2836116e4565b946020939093013593505050565b600080602083850312156117c2578182fd5b823567ffffffffffffffff808211156117d9578384fd5b818501915085601f8301126117ec578384fd5b8135818111156117fa578485fd5b8660208260051b850101111561180e578485fd5b60209290920196919550909350505050565b600060208284031215611831578081fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b8181101561187057835183529284019291840191600101611854565b50909695505050505050565b6000602080835283518082850152825b818110156118a85785810183015185820160400152820161188c565b818111156118b95783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611917576119176119df565b500190565b60008261193757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611956576119566119df565b500290565b60008282101561196d5761196d6119df565b500390565b600081611981576119816119df565b506000190190565b600181811c9082168061199d57607f821691505b602082108114156119be57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119d8576119d86119df565b5060010190565b634e487b7160e01b600052601160045260246000fdfea264697066735822122030a181277b161a83c2b3395b6097bc9f1e14d0261e93601c200d8da4c97a63ae64736f6c63430008040033

Deployed Bytecode Sourcemap

20104:4986:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8684:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10851:169;;;;;;:::i;:::-;;:::i;:::-;;;3538:14:1;;3531:22;3513:41;;3501:2;3486:18;10851:169:0;3468:92:1;20283:48:0;;20329:2;20283:48;;;;;10862:25:1;;;10850:2;10835:18;20283:48:0;10817:76:1;9804:108:0;9892:12;;9804:108;;11502:492;;;;;;:::i;:::-;;:::i;21719:411::-;;;;;;:::i;:::-;;:::i;:::-;;9646:93;;;9729:2;11040:36:1;;11028:2;11013:18;9646:93:0;10995:87:1;20151:56:0;;20188:19;20151:56;;20418:82;;20458:42;20418:82;;;;;-1:-1:-1;;;;;2309:32:1;;;2291:51;;2279:2;2264:18;20418:82:0;2246:102:1;22809:637:0;;;:::i;21375:336::-;;;;;;:::i;:::-;;:::i;12403:215::-;;;;;;:::i;:::-;;:::i;22138:663::-;;;;;;:::i;:::-;;:::i;24124:68::-;;;:::i;19136:91::-;;;;;;:::i;:::-;;:::i;21122:125::-;;;;;;:::i;:::-;-1:-1:-1;;;;;21211:21:0;21184:7;21211:21;;;:13;:21;;;;;:28;;21122:125;9975:127;;;;;;:::i;:::-;-1:-1:-1;;;;;10076:18:0;10049:7;10076:18;;;;;;;;;;;;9975:127;2488:94;;;:::i;19546:368::-;;;;;;:::i;:::-;;:::i;1837:87::-;1910:6;;-1:-1:-1;;;;;1910:6:0;1837:87;;20984:126;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20507:24::-;;;;;-1:-1:-1;;;20507:24:0;;;;;;8903:104;;;:::i;23954:158::-;;;;;;:::i;:::-;;:::i;13121:413::-;;;;;;:::i;:::-;;:::i;10315:175::-;;;;;;:::i;:::-;;:::i;20214:48::-;;20260:2;20214:48;;23454:492;;;:::i;10553:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;10669:18:0;;;10642:7;10669:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10553:151;21255:112;;;;;;:::i;:::-;21312:7;21339:20;;;:11;:20;;;;;;-1:-1:-1;;;;;21339:20:0;;21255:112;20352:46;;20397:1;20352:46;;2737:192;;;;;;:::i;:::-;;:::i;8684:100::-;8738:13;8771:5;8764:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8684:100;:::o;10851:169::-;10934:4;10951:39;705:10;10974:7;10983:6;10951:8;:39::i;:::-;-1:-1:-1;11008:4:0;10851:169;;;;:::o;11502:492::-;11642:4;11659:36;11669:6;11677:9;11688:6;11659:9;:36::i;:::-;-1:-1:-1;;;;;11735:19:0;;11708:24;11735:19;;;:11;:19;;;;;;;;705:10;11735:33;;;;;;;;11787:26;;;;11779:79;;;;-1:-1:-1;;;11779:79:0;;6745:2:1;11779:79:0;;;6727:21:1;6784:2;6764:18;;;6757:30;6823:34;6803:18;;;6796:62;-1:-1:-1;;;6874:18:1;;;6867:38;6922:19;;11779:79:0;;;;;;;;;11894:57;11903:6;705:10;11944:6;11925:16;:25;11894:8;:57::i;:::-;-1:-1:-1;11982:4:0;;11502:492;-1:-1:-1;;;;11502:492:0:o;21719:411::-;20939:4;;-1:-1:-1;;;20939:4:0;;;;20931:25;;;;-1:-1:-1;;;20931:25:0;;9816:2:1;20931:25:0;;;9798:21:1;9855:1;9835:18;;;9828:29;-1:-1:-1;;;9873:18:1;;;9866:38;9921:18;;20931:25:0;9788:157:1;20931:25:0;21812:9:::1;21807:316;21827:19:::0;;::::1;21807:316;;;21868:10;21881:8;;21890:1;21881:11;;;;;-1:-1:-1::0;;;21881:11:0::1;;;;;;;;;21907:58;::::0;-1:-1:-1;;;21907:58:0;;21935:10:::1;21907:58;::::0;::::1;2593:34:1::0;21955:4:0::1;2643:18:1::0;;;2636:43;21881:11:0::1;::::0;;::::1;::::0;;;::::1;;2695:18:1::0;;;2688:34;;;21881:11:0;-1:-1:-1;20458:42:0::1;::::0;21907:27:::1;::::0;-1:-1:-1;2528:18:1;;21907:58:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;21996:10:0::1;21982:25;::::0;;;:13:::1;:25;::::0;;;;;;;:34;;::::1;::::0;::::1;::::0;;;;;;;;::::1;::::0;;;22031:19;;;:15:::1;:19:::0;;;;;22053:15:::1;22031:37:::0;;22083:11:::1;:15:::0;;;;;;:28;;-1:-1:-1;;;;;;22083:28:0::1;::::0;;::::1;::::0;;;-1:-1:-1;21848:3:0;;-1:-1:-1;21848:3:0::1;::::0;::::1;:::i;:::-;;;;21807:316;;;;21719:411:::0;;:::o;22809:637::-;22875:10;22889:1;21211:21;;;:13;:21;;;;;:28;22859:31;22851:55;;;;-1:-1:-1;;;22851:55:0;;9133:2:1;22851:55:0;;;9115:21:1;9172:2;9152:18;;;9145:30;-1:-1:-1;;;9191:18:1;;;9184:41;9242:18;;22851:55:0;9105:161:1;22851:55:0;22985:10;22917:20;22971:25;;;:13;:25;;;;;:32;22954:345;23005:5;;22954:345;;23059:10;23032;23045:25;;;:13;:25;;;;;23071:5;23075:1;23071;:5;:::i;:::-;23045:32;;;;;;-1:-1:-1;;;23045:32:0;;;;;;;;;;;;;;;;;;;23094:58;;-1:-1:-1;;;23094:58:0;;23130:4;23094:58;;;2593:34:1;23137:10:0;2643:18:1;;;2636:43;2695:18;;;2688:34;;;23045:32:0;;-1:-1:-1;20458:42:0;;23094:27;;2528:18:1;;23094:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23183:13;23193:2;23183:9;:13::i;:::-;23167:29;;;;:::i;:::-;23227:10;23213:25;;;;:13;:25;;;;;:31;;23167:29;;-1:-1:-1;23213:25:0;:31;;;-1:-1:-1;;;23213:31:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23213:31:0;;;;;;;;;;;;23259:15;;;:11;:15;;;;;;:28;;-1:-1:-1;;;;;;23259:28:0;;;23012:3;;;;:::i;:::-;;;;22954:345;;;;23311:17;23344:13;9892:12;;;9804:108;23344:13;23331:26;;20188:19;23331:26;:::i;:::-;23311:46;;23368:70;23374:10;23401:9;23386:12;:24;:51;;23425:12;23368:5;:70::i;23386:51::-;23413:9;23368:5;:70::i;:::-;22809:637;;:::o;21375:336::-;-1:-1:-1;;;;;21523:21:0;;21435:7;21523:21;;;:13;:21;;;;;;;;21492:52;;;;;;;;;;;;;;;;;21435:7;;;;21492:52;21523:21;21492:52;;;21523:21;21492:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21560:9;21555:117;21579:11;:18;21575:1;:22;21555:117;;;21635:25;21645:11;21657:1;21645:14;;;;;;-1:-1:-1;;;21645:14:0;;;;;;;;;;;;;;;21635:9;:25::i;:::-;21619:41;;;;:::i;:::-;;-1:-1:-1;21599:3:0;;;;:::i;:::-;;;;21555:117;;;-1:-1:-1;21691:12:0;;21375:336;-1:-1:-1;;;21375:336:0:o;12403:215::-;705:10;12491:4;12540:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12540:34:0;;;;;;;;;;12491:4;;12508:80;;12531:7;;12540:47;;12577:10;;12540:47;:::i;:::-;12508:8;:80::i;22138:663::-;22214:20;22256:9;22251:403;22271:19;;;22251:403;;;22312:10;22325:8;;22334:1;22325:11;;;;;-1:-1:-1;;;22325:11:0;;;;;;;;;;;;;;;;;;22359:15;;;;:11;:15;;;;;;;;22325:11;;-1:-1:-1;;;;;;;22359:15:0;22378:10;22359:29;22351:59;;;;-1:-1:-1;;;22351:59:0;;6399:2:1;22351:59:0;;;6381:21:1;6438:2;6418:18;;;6411:30;-1:-1:-1;;;6457:18:1;;;6450:47;6514:18;;22351:59:0;6371:167:1;22351:59:0;22427:58;;-1:-1:-1;;;22427:58:0;;22463:4;22427:58;;;2593:34:1;22470:10:0;2643:18:1;;;2636:43;2695:18;;;2688:34;;;20458:42:0;;22427:27;;2528:18:1;;22427:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22516:13;22526:2;22516:9;:13::i;:::-;22500:29;;;;:::i;:::-;22583:10;22569:25;;;;:13;:25;;;;;22500:29;;-1:-1:-1;22546:53:0;;22596:2;22546:22;:53::i;:::-;22640:1;22614:15;;;:11;:15;;;;;:28;;-1:-1:-1;;;;;;22614:28:0;;;22292:3;;;;:::i;:::-;;;;22251:403;;;;22666:17;22699:13;9892:12;;;9804:108;22699:13;22686:26;;20188:19;22686:26;:::i;:::-;22666:46;;22723:70;22729:10;22756:9;22741:12;:24;:51;;22780:12;23368:5;:70::i;22723:::-;22138:663;;;;:::o;24124:68::-;1910:6;;-1:-1:-1;;;;;1910:6:0;705:10;2057:23;2049:68;;;;-1:-1:-1;;;2049:68:0;;;;;;;:::i;:::-;24180:4:::1;::::0;;-1:-1:-1;;;;24172:12:0;::::1;-1:-1:-1::0;;;24180:4:0;;;::::1;;;24179:5;24172:12:::0;;::::1;;::::0;;24124:68::o;19136:91::-;19192:27;705:10;19212:6;19192:5;:27::i;:::-;19136:91;:::o;2488:94::-;1910:6;;-1:-1:-1;;;;;1910:6:0;705:10;2057:23;2049:68;;;;-1:-1:-1;;;2049:68:0;;;;;;;:::i;:::-;2553:21:::1;2571:1;2553:9;:21::i;:::-;2488:94::o:0;19546:368::-;19623:24;19650:32;19660:7;705:10;10553:151;:::i;19650:32::-;19623:59;;19721:6;19701:16;:26;;19693:75;;;;-1:-1:-1;;;19693:75:0;;7515:2:1;19693:75:0;;;7497:21:1;7554:2;7534:18;;;7527:30;7593:34;7573:18;;;7566:62;-1:-1:-1;;;7644:18:1;;;7637:34;7688:19;;19693:75:0;7487:226:1;19693:75:0;19804:58;19813:7;705:10;19855:6;19836:16;:25;19804:8;:58::i;:::-;19884:22;19890:7;19899:6;19884:5;:22::i;20984:126::-;-1:-1:-1;;;;;21081:21:0;;;;;;:13;:21;;;;;;;;;21074:28;;;;;;;;;;;;;;;;;21045:16;;21074:28;;;21081:21;21074:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20984:126;;;:::o;8903:104::-;8959:13;8992:7;8985:14;;;;;:::i;23954:158::-;24026:10;20458:42;24026:27;24018:54;;;;-1:-1:-1;;;24018:54:0;;9473:2:1;24018:54:0;;;9455:21:1;9512:2;9492:18;;;9485:30;-1:-1:-1;;;9531:18:1;;;9524:44;9585:18;;24018:54:0;9445:164:1;24018:54:0;24085:19;24091:4;24097:6;24085:5;:19::i;13121:413::-;705:10;13214:4;13258:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13258:34:0;;;;;;;;;;13311:35;;;;13303:85;;;;-1:-1:-1;;;13303:85:0;;10152:2:1;13303:85:0;;;10134:21:1;10191:2;10171:18;;;10164:30;10230:34;10210:18;;;10203:62;-1:-1:-1;;;10281:18:1;;;10274:35;10326:19;;13303:85:0;10124:227:1;13303:85:0;13424:67;705:10;13447:7;13475:15;13456:16;:34;13424:8;:67::i;:::-;-1:-1:-1;13522:4:0;;13121:413;-1:-1:-1;;;13121:413:0:o;10315:175::-;10401:4;10418:42;705:10;10442:9;10453:6;10418:9;:42::i;23454:492::-;23576:10;23494:20;23562:25;;;:13;:25;;;;;;;;23531:56;;;;;;;;;;;;;;;;;23494:20;;23531:56;;23562:25;23531:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23603:9;23598:201;23622:11;:18;23618:1;:22;23598:201;;;23662:10;23675:11;23687:1;23675:14;;;;;;-1:-1:-1;;;23675:14:0;;;;;;;;;;;;;;;23662:27;;23722:13;23732:2;23722:9;:13::i;:::-;23706:29;;;;:::i;:::-;23750:19;;;;:15;:19;;;;;;23772:15;23750:37;;23706:29;-1:-1:-1;23642:3:0;;;;:::i;:::-;;;;23598:201;;;;23811:17;23844:13;9892:12;;;9804:108;23844:13;23831:26;;20188:19;23831:26;:::i;:::-;23811:46;;23868:70;23874:10;23901:9;23886:12;:24;:51;;23925:12;23368:5;:70::i;2737:192::-;1910:6;;-1:-1:-1;;;;;1910:6:0;705:10;2057:23;2049:68;;;;-1:-1:-1;;;2049:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2826:22:0;::::1;2818:73;;;::::0;-1:-1:-1;;;2818:73:0;;5182:2:1;2818:73:0::1;::::0;::::1;5164:21:1::0;5221:2;5201:18;;;5194:30;5260:34;5240:18;;;5233:62;-1:-1:-1;;;5311:18:1;;;5304:36;5357:19;;2818:73:0::1;5154:228:1::0;2818:73:0::1;2902:19;2912:8;2902:9;:19::i;16805:380::-:0;-1:-1:-1;;;;;16941:19:0;;16933:68;;;;-1:-1:-1;;;16933:68:0;;8728:2:1;16933:68:0;;;8710:21:1;8767:2;8747:18;;;8740:30;8806:34;8786:18;;;8779:62;-1:-1:-1;;;8857:18:1;;;8850:34;8901:19;;16933:68:0;8700:226:1;16933:68:0;-1:-1:-1;;;;;17020:21:0;;17012:68;;;;-1:-1:-1;;;17012:68:0;;5589:2:1;17012:68:0;;;5571:21:1;5628:2;5608:18;;;5601:30;5667:34;5647:18;;;5640:62;-1:-1:-1;;;5718:18:1;;;5711:32;5760:19;;17012:68:0;5561:224:1;17012:68:0;-1:-1:-1;;;;;17093:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;17145:32;;10862:25:1;;;17145:32:0;;10835:18:1;17145:32:0;;;;;;;16805:380;;;:::o;14024:733::-;-1:-1:-1;;;;;14164:20:0;;14156:70;;;;-1:-1:-1;;;14156:70:0;;8322:2:1;14156:70:0;;;8304:21:1;8361:2;8341:18;;;8334:30;8400:34;8380:18;;;8373:62;-1:-1:-1;;;8451:18:1;;;8444:35;8496:19;;14156:70:0;8294:227:1;14156:70:0;-1:-1:-1;;;;;14245:23:0;;14237:71;;;;-1:-1:-1;;;14237:71:0;;4375:2:1;14237:71:0;;;4357:21:1;4414:2;4394:18;;;4387:30;4453:34;4433:18;;;4426:62;-1:-1:-1;;;4504:18:1;;;4497:33;4547:19;;14237:71:0;4347:225:1;14237:71:0;-1:-1:-1;;;;;14405:17:0;;14381:21;14405:17;;;;;;;;;;;14441:23;;;;14433:74;;;;-1:-1:-1;;;14433:74:0;;5992:2:1;14433:74:0;;;5974:21:1;6031:2;6011:18;;;6004:30;6070:34;6050:18;;;6043:62;-1:-1:-1;;;6121:18:1;;;6114:36;6167:19;;14433:74:0;5964:228:1;14433:74:0;-1:-1:-1;;;;;14543:17:0;;;:9;:17;;;;;;;;;;;14563:22;;;14543:42;;14607:20;;;;;;;;:30;;14579:6;;14543:9;14607:30;;14579:6;;14607:30;:::i;:::-;;;;;;;;14672:9;-1:-1:-1;;;;;14655:35:0;14664:6;-1:-1:-1;;;;;14655:35:0;;14683:6;14655:35;;;;10862:25:1;;10850:2;10835:18;;10817:76;14655:35:0;;;;;;;;14703:46;21719:411;24200:452;24258:7;24278:21;24324:4;24314:7;:14;24310:237;;;-1:-1:-1;20329:2:0;24310:237;;;24412:4;24402:7;:14;24398:149;;;-1:-1:-1;20260:2:0;24398:149;;;-1:-1:-1;20397:1:0;24398:149;24585:24;;;;:15;:24;;;;;;24629:5;;24613:13;;24567:42;;:15;:42;:::i;:::-;24566:60;;;;:::i;:::-;:68;;;;:::i;:::-;:78;;24637:7;24566:78;:::i;:::-;24559:85;24200:452;-1:-1:-1;;;24200:452:0:o;15044:399::-;-1:-1:-1;;;;;15128:21:0;;15120:65;;;;-1:-1:-1;;;15120:65:0;;10558:2:1;15120:65:0;;;10540:21:1;10597:2;10577:18;;;10570:30;10636:33;10616:18;;;10609:61;10687:18;;15120:65:0;10530:181:1;15120:65:0;15276:6;15260:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;15293:18:0;;:9;:18;;;;;;;;;;:28;;15315:6;;15293:9;:28;;15315:6;;15293:28;:::i;:::-;;;;-1:-1:-1;;15337:37:0;;10862:25:1;;;-1:-1:-1;;;;;15337:37:0;;;15354:1;;15337:37;;10850:2:1;10835:18;15337:37:0;;;;;;;22809:637;;:::o;24660:427::-;24771:12;;24754:14;24794:286;24818:6;24814:1;:10;24794:286;;;24862:7;24850:5;24856:1;24850:8;;;;;;-1:-1:-1;;;24850:8:0;;;;;;;;;;;;;;;;;:19;24846:223;;;24890:8;;;;:::i;:::-;;;;24925:6;24921:1;:10;24917:83;;;24967:5;24973:6;24967:13;;;;;;-1:-1:-1;;;24967:13:0;;;;;;;;;;;;;;;;;24956:5;24962:1;24956:8;;;;;;-1:-1:-1;;;24956:8:0;;;;;;;;;;;;;;;;;;:24;24917:83;25018:5;:11;;;;;-1:-1:-1;;;25018:11:0;;;;;;;;;;;;;;;;;;;;;;;;;;25048:5;;24846:223;24826:3;;;;:::i;:::-;;;;24794:286;;15776:591;-1:-1:-1;;;;;15860:21:0;;15852:67;;;;-1:-1:-1;;;15852:67:0;;7920:2:1;15852:67:0;;;7902:21:1;7959:2;7939:18;;;7932:30;7998:34;7978:18;;;7971:62;-1:-1:-1;;;8049:18:1;;;8042:31;8090:19;;15852:67:0;7892:223:1;15852:67:0;-1:-1:-1;;;;;16019:18:0;;15994:22;16019:18;;;;;;;;;;;16056:24;;;;16048:71;;;;-1:-1:-1;;;16048:71:0;;4779:2:1;16048:71:0;;;4761:21:1;4818:2;4798:18;;;4791:30;4857:34;4837:18;;;4830:62;-1:-1:-1;;;4908:18:1;;;4901:32;4950:19;;16048:71:0;4751:224:1;16048:71:0;-1:-1:-1;;;;;16155:18:0;;:9;:18;;;;;;;;;;16176:23;;;16155:44;;16221:12;:22;;16193:6;;16155:9;16221:22;;16193:6;;16221:22;:::i;:::-;;;;-1:-1:-1;;16261:37:0;;10862:25:1;;;16287:1:0;;-1:-1:-1;;;;;16261:37:0;;;;;10850:2:1;10835:18;16261:37:0;;;;;;;21807:316:::1;21719:411:::0;;:::o;2937:173::-;3012:6;;;-1:-1:-1;;;;;3029:17:0;;;-1:-1:-1;;;;;;3029:17:0;;;;;;;3062:40;;3012:6;;;3029:17;3012:6;;3062:40;;2993:16;;3062:40;2937:173;;:::o;14::1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:665::-;1366:6;1374;1427:2;1415:9;1406:7;1402:23;1398:32;1395:2;;;1448:6;1440;1433:22;1395:2;1493:9;1480:23;1522:18;1563:2;1555:6;1552:14;1549:2;;;1584:6;1576;1569:22;1549:2;1627:6;1616:9;1612:22;1602:32;;1672:7;1665:4;1661:2;1657:13;1653:27;1643:2;;1699:6;1691;1684:22;1643:2;1744;1731:16;1770:2;1762:6;1759:14;1756:2;;;1791:6;1783;1776:22;1756:2;1849:7;1844:2;1834:6;1831:1;1827:14;1823:2;1819:23;1815:32;1812:45;1809:2;;;1875:6;1867;1860:22;1809:2;1911;1903:11;;;;;1933:6;;-1:-1:-1;1385:560:1;;-1:-1:-1;;;;1385:560:1:o;1950:190::-;2009:6;2062:2;2050:9;2041:7;2037:23;2033:32;2030:2;;;2083:6;2075;2068:22;2030:2;-1:-1:-1;2111:23:1;;2020:120;-1:-1:-1;2020:120:1:o;2733:635::-;2904:2;2956:21;;;3026:13;;2929:18;;;3048:22;;;2875:4;;2904:2;3127:15;;;;3101:2;3086:18;;;2875:4;3173:169;3187:6;3184:1;3181:13;3173:169;;;3248:13;;3236:26;;3317:15;;;;3282:12;;;;3209:1;3202:9;3173:169;;;-1:-1:-1;3359:3:1;;2884:484;-1:-1:-1;;;;;;2884:484:1:o;3565:603::-;3677:4;3706:2;3735;3724:9;3717:21;3767:6;3761:13;3810:6;3805:2;3794:9;3790:18;3783:34;3835:4;3848:140;3862:6;3859:1;3856:13;3848:140;;;3957:14;;;3953:23;;3947:30;3923:17;;;3942:2;3919:26;3912:66;3877:10;;3848:140;;;4006:6;4003:1;4000:13;3997:2;;;4076:4;4071:2;4062:6;4051:9;4047:22;4043:31;4036:45;3997:2;-1:-1:-1;4152:2:1;4131:15;-1:-1:-1;;4127:29:1;4112:45;;;;4159:2;4108:54;;3686:482;-1:-1:-1;;;3686:482:1:o;6952:356::-;7154:2;7136:21;;;7173:18;;;7166:30;7232:34;7227:2;7212:18;;7205:62;7299:2;7284:18;;7126:182::o;11087:128::-;11127:3;11158:1;11154:6;11151:1;11148:13;11145:2;;;11164:18;;:::i;:::-;-1:-1:-1;11200:9:1;;11135:80::o;11220:217::-;11260:1;11286;11276:2;;-1:-1:-1;;;11311:31:1;;11365:4;11362:1;11355:15;11393:4;11318:1;11383:15;11276:2;-1:-1:-1;11422:9:1;;11266:171::o;11442:168::-;11482:7;11548:1;11544;11540:6;11536:14;11533:1;11530:21;11525:1;11518:9;11511:17;11507:45;11504:2;;;11555:18;;:::i;:::-;-1:-1:-1;11595:9:1;;11494:116::o;11615:125::-;11655:4;11683:1;11680;11677:8;11674:2;;;11688:18;;:::i;:::-;-1:-1:-1;11725:9:1;;11664:76::o;11745:136::-;11784:3;11812:5;11802:2;;11821:18;;:::i;:::-;-1:-1:-1;;;11857:18:1;;11792:89::o;11886:380::-;11965:1;11961:12;;;;12008;;;12029:2;;12083:4;12075:6;12071:17;12061:27;;12029:2;12136;12128:6;12125:14;12105:18;12102:38;12099:2;;;12182:10;12177:3;12173:20;12170:1;12163:31;12217:4;12214:1;12207:15;12245:4;12242:1;12235:15;12099:2;;11941:325;;;:::o;12271:135::-;12310:3;-1:-1:-1;;12331:17:1;;12328:2;;;12351:18;;:::i;:::-;-1:-1:-1;12398:1:1;12387:13;;12318:88::o;12411:127::-;12472:10;12467:3;12463:20;12460:1;12453:31;12503:4;12500:1;12493:15;12527:4;12524:1;12517:15

Swarm Source

ipfs://30a181277b161a83c2b3395b6097bc9f1e14d0261e93601c200d8da4c97a63ae

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  ]

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.