ETH Price: $1,479.74 (-3.36%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Rewards141372662022-02-04 4:11:011160 days ago1643947861IN
0x957Cb5B1...016231ccE
0 ETH0.0068396472.01069867
Claim Rewards140179792022-01-16 17:43:381178 days ago1642355018IN
0x957Cb5B1...016231ccE
0 ETH0.00673251192.5777362
Claim Rewards140174292022-01-16 15:43:061178 days ago1642347786IN
0x957Cb5B1...016231ccE
0 ETH0.0116386194.01899081
Claim Rewards140139622022-01-16 3:00:511179 days ago1642302051IN
0x957Cb5B1...016231ccE
0 ETH0.00470956120.8449556
Claim Rewards140139622022-01-16 3:00:511179 days ago1642302051IN
0x957Cb5B1...016231ccE
0 ETH0.01147797120.8449556
Claim Rewards140104982022-01-15 14:16:491180 days ago1642256209IN
0x957Cb5B1...016231ccE
0 ETH0.0075288179.26656073
Transfer140067642022-01-15 0:13:161180 days ago1642205596IN
0x957Cb5B1...016231ccE
0 ETH0.00793901168.97629996
Claim Rewards140067072022-01-14 23:59:041180 days ago1642204744IN
0x957Cb5B1...016231ccE
0 ETH0.06085164171.76338706
Claim Rewards140036192022-01-14 12:29:451181 days ago1642163385IN
0x957Cb5B1...016231ccE
0 ETH0.02963984124
Claim Rewards140025362022-01-14 8:19:461181 days ago1642148386IN
0x957Cb5B1...016231ccE
0 ETH0.01221809128.63723331
Claim Rewards140017062022-01-14 5:12:451181 days ago1642137165IN
0x957Cb5B1...016231ccE
0 ETH0.01529127123.52596463
Claim Rewards140006752022-01-14 1:32:591181 days ago1642123979IN
0x957Cb5B1...016231ccE
0 ETH0.01085166310.40241468
Claim Rewards139992922022-01-13 20:24:001181 days ago1642105440IN
0x957Cb5B1...016231ccE
0 ETH0.00530362151.70545874
Claim Rewards139987122022-01-13 18:15:301181 days ago1642097730IN
0x957Cb5B1...016231ccE
0 ETH0.00643557184.08395032
Claim Rewards139982872022-01-13 16:33:481181 days ago1642091628IN
0x957Cb5B1...016231ccE
0 ETH0.02435205180.23476344
Claim Rewards139978192022-01-13 14:49:541182 days ago1642085394IN
0x957Cb5B1...016231ccE
0 ETH0.0149894157.81475841
Claim Rewards139972902022-01-13 13:01:541182 days ago1642078914IN
0x957Cb5B1...016231ccE
0 ETH0.01295224136.36670101
Claim Rewards139967402022-01-13 10:55:421182 days ago1642071342IN
0x957Cb5B1...016231ccE
0 ETH0.03294546137.82925213
Claim Rewards139961622022-01-13 8:45:261182 days ago1642063526IN
0x957Cb5B1...016231ccE
0 ETH0.01445569116.77593591
Claim Rewards139953882022-01-13 5:50:031182 days ago1642053003IN
0x957Cb5B1...016231ccE
0 ETH0.01242401130.80525656
Claim Rewards139935252022-01-12 22:51:391182 days ago1642027899IN
0x957Cb5B1...016231ccE
0 ETH0.0166502148.86323642
Claim Rewards139929012022-01-12 20:29:561182 days ago1642019396IN
0x957Cb5B1...016231ccE
0 ETH0.00751533214.96945474
Claim Rewards139915792022-01-12 15:45:151182 days ago1642002315IN
0x957Cb5B1...016231ccE
0 ETH0.01802691145.62500113
Claim Rewards139908092022-01-12 12:52:021183 days ago1641991922IN
0x957Cb5B1...016231ccE
0 ETH0.01313951106.14356597
Claim Rewards139901502022-01-12 10:23:061183 days ago1641982986IN
0x957Cb5B1...016231ccE
0 ETH0.0152455999.90560843
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:
Chum

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-12-07
*/

// 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: contracts/chum.sol


pragma solidity ^0.8.0;



//By: @RockyFantana
//With inspiration from CryptoHoots + @White_Oak_Kong

interface IMarineMarauderz {
    function balanceOf(address _user) external view returns(uint256);
    function ownerOf(uint256 _tokenId) external view returns(address);
    function amountMinted() external view returns (uint256);
}

contract Chum is ERC20("Chum", "CHUM"), Ownable {
    struct ContractSettings {
        uint256 baseRate;
        uint256 initIssuance;
        uint256 start;
        uint256 end;
    }

    mapping(address => ContractSettings) public contractSettings;
    mapping(address => bool) public trustedContracts;

    uint256 constant public MAX_BASE_RATE = 10 ether;
    uint256 constant public MAX_INITIAL_ISSUANCE = 200 ether;

    // Prevents new contracts from being added or changes to disbursement if permanently locked
    bool public isLocked = false;
    mapping(bytes32 => uint256) public lastClaim;
    
    event RewardPaid(address indexed user, uint256 reward);

    constructor() {}

    /**
        - needs onlyOwner flag
        - needs to check that the baseRate and initIssuance are not greater than the max settings
        - require that contract isn't locked
     */
    function addContract(address _contractAddress, uint256 _baseRate, uint256 _initIssuance) public onlyOwner {
        require(_baseRate <= MAX_BASE_RATE && _initIssuance <= MAX_INITIAL_ISSUANCE, "baseRate or initIssuance exceeds max value.");
        require(!isLocked, "Cannot add any more contracts.");

        // add to trustedContracts
        trustedContracts[_contractAddress] = true;

        // initialize contractSettings
        contractSettings[_contractAddress] = ContractSettings({ 
            baseRate: _baseRate,
            initIssuance: _initIssuance,
            start: block.timestamp,
            end: type(uint256).max
        });
    }

    /**
        - sets an end date for when rewards officially end
     */
    function setEndDateForContract(address _contractAddress, uint256 _endTime) public onlyOwner {
        require(!isLocked, "Cannot modify end dates after lock");
        require(trustedContracts[_contractAddress], "Not a trusted contract");
        
        contractSettings[_contractAddress].end = _endTime;
    }

    function claimReward(address _contractAddress, uint256 _tokenId) public returns (uint256) {
        require(trustedContracts[_contractAddress], "Not a trusted contract.");
        require(contractSettings[_contractAddress].end > block.timestamp, "Time for claiming on that contract has expired.");
        require(IMarineMarauderz(_contractAddress).ownerOf(_tokenId) == msg.sender, "Caller does not own the token being claimed for.");

        // compute chum to be claimed
        uint256 unclaimedReward = computeUnclaimedReward(_contractAddress, _tokenId);

        // update the lastClaim date for tokenId and contractAddress
        bytes32 lastClaimKey = keccak256(abi.encode(_contractAddress, _tokenId));
        lastClaim[lastClaimKey] = block.timestamp;

        // mint the tokens and distribute to msg.sender
        _mint(msg.sender, unclaimedReward);
        emit RewardPaid(msg.sender, unclaimedReward);

        return unclaimedReward;
    }

    function claimRewards(address _contractAddress, uint256[] calldata _tokenIds) public returns (uint256) {
        require(trustedContracts[_contractAddress], "Not a trusted contract.");
        require(contractSettings[_contractAddress].end > block.timestamp, "Time for claiming has expired");

        uint256 totalUnclaimedRewards = 0;

        for(uint256 i = 0; i < _tokenIds.length; i++) {
            uint256 _tokenId = _tokenIds[i];

            require(IMarineMarauderz(_contractAddress).ownerOf(_tokenId) == msg.sender, "Caller does not own the token being claimed for.");

            // compute chum to be claimed
            uint256 unclaimedReward = computeUnclaimedReward(_contractAddress, _tokenId);
            totalUnclaimedRewards = totalUnclaimedRewards + unclaimedReward;

            // update the lastClaim date for tokenId and contractAddress
            bytes32 lastClaimKey = keccak256(abi.encode(_contractAddress, _tokenId));
            lastClaim[lastClaimKey] = block.timestamp;
        }

        // mint the tokens and distribute to msg.sender
        _mint(msg.sender, totalUnclaimedRewards);
        emit RewardPaid(msg.sender, totalUnclaimedRewards);

        return totalUnclaimedRewards;
    }

    function permanentlyLock() public onlyOwner {
        isLocked = true;
    }

    function getUnclaimedRewardAmount(address _contractAddress, uint256 _tokenId) public view returns (uint256) {
        require(trustedContracts[_contractAddress], "Not a trusted contract");

        uint256 unclaimedReward  = computeUnclaimedReward(_contractAddress, _tokenId);
        return unclaimedReward;
    }

    function getUnclaimedRewardsAmount(address _contractAddress, uint256[] calldata _tokenIds) public view returns (uint256) {
        require(trustedContracts[_contractAddress], "Not a trusted contract");

        uint256 totalUnclaimedRewards = 0;

        for(uint256 i = 0; i < _tokenIds.length; i++) {
            totalUnclaimedRewards += computeUnclaimedReward(_contractAddress, _tokenIds[i]);
        
        }
        return totalUnclaimedRewards;
    }

    function getTotalUnclaimedRewardsForContract(address _contractAddress) public view returns (uint256) {
        require(trustedContracts[_contractAddress], "Not a trusted contract");

        uint256 totalUnclaimedRewards = 0;
        uint256 amountMinted = IMarineMarauderz(_contractAddress).amountMinted();

        for(uint256 i = 0; i < amountMinted; i++) {
            totalUnclaimedRewards += computeUnclaimedReward(_contractAddress, i);
        }

        return totalUnclaimedRewards;
    }

    function getLastClaimedTime(address _contractAddress, uint256 _tokenId) public view returns (uint256) {
        require(trustedContracts[_contractAddress], "Not a trusted contract");

        bytes32 lastClaimKey = keccak256(abi.encode(_contractAddress, _tokenId));

        return lastClaim[lastClaimKey];
    }

    function computeAccumulatedReward(uint256 _lastClaimDate, uint256 _baseRate, uint256 currentTime) internal pure returns (uint256) {
        require(currentTime > _lastClaimDate, "Last claim date must be smaller than block timestamp");

        uint256 secondsElapsed = currentTime - _lastClaimDate;
        uint256 accumulatedReward = secondsElapsed * _baseRate / 1 days;

        return accumulatedReward;
    }

    function computeUnclaimedReward(address _contractAddress, uint256 _tokenId) internal view returns (uint256) {
        require(trustedContracts[_contractAddress], "Not a trusted contract");
        
        // Will revert if tokenId does not exist
        IMarineMarauderz(_contractAddress).ownerOf(_tokenId);

        // build the hash for lastClaim based on contractAddress and tokenId
        bytes32 lastClaimKey = keccak256(abi.encode(_contractAddress, _tokenId));
        uint256 lastClaimDate = lastClaim[lastClaimKey];
        uint256 baseRate = contractSettings[_contractAddress].baseRate;

        // if there has been a lastClaim, compute the value since lastClaim
        if (lastClaimDate != uint256(0)) {
            return computeAccumulatedReward(lastClaimDate, baseRate, block.timestamp);
        } 
        else {
            // if there has not been a lastClaim, add the initIssuance + computed value since contract startDate
            uint256 totalReward = computeAccumulatedReward(contractSettings[_contractAddress].start, baseRate, block.timestamp) + contractSettings[_contractAddress].initIssuance;

            return totalReward;
        }
    }
}

Contract Security Audit

Contract ABI

API
[{"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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","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":"MAX_BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_INITIAL_ISSUANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_baseRate","type":"uint256"},{"internalType":"uint256","name":"_initIssuance","type":"uint256"}],"name":"addContract","outputs":[],"stateMutability":"nonpayable","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":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"claimReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claimRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contractSettings","outputs":[{"internalType":"uint256","name":"baseRate","type":"uint256"},{"internalType":"uint256","name":"initIssuance","type":"uint256"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getLastClaimedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"getTotalUnclaimedRewardsForContract","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getUnclaimedRewardAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"getUnclaimedRewardsAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"lastClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permanentlyLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"setEndDateForContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"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":[{"internalType":"address","name":"","type":"address"}],"name":"trustedContracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040526008805460ff191690553480156200001b57600080fd5b50604051806040016040528060048152602001634368756d60e01b815250604051806040016040528060048152602001634348554d60e01b81525081600390805190602001906200006e929190620000fd565b50805162000084906004906020840190620000fd565b505050620000a16200009b620000a760201b60201c565b620000ab565b620001e0565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010b90620001a3565b90600052602060002090601f0160209004810192826200012f57600085556200017a565b82601f106200014a57805160ff19168380011785556200017a565b828001600101855582156200017a579182015b828111156200017a5782518255916020019190600101906200015d565b50620001889291506200018c565b5090565b5b808211156200018857600081556001016200018d565b600281046001821680620001b857607f821691505b60208210811415620001da57634e487b7160e01b600052602260045260246000fd5b50919050565b611d2c80620001f06000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a082311161010457806395fbf7ea116100a2578063b817cc6011610071578063b817cc601461039d578063dd62ed3e146103b0578063e5919a4f146103c3578063f2fde38b146103d6576101cf565b806395fbf7ea1461034c578063a457c2d71461036f578063a4e2d63414610382578063a9059cbb1461038a576101cf565b80638da5cb5b116100de5780638da5cb5b146103095780638f33221e1461031e57806390689c361461033157806395d89b4114610344576101cf565b806370a08231146102e6578063715018a6146102f95780637bf9601414610301576101cf565b80632a07e1bb116101715780633af7c6781161014b5780633af7c678146102b0578063511a9267146102b8578063543e0d16146102c05780636bac8de2146102d3576101cf565b80632a07e1bb14610275578063313ce56714610288578063395093511461029d576101cf565b8063174e31c4116101ad578063174e31c41461023257806318160ddd14610245578063220eecfb1461024d57806323b872dd14610262576101cf565b806305231dea146101d457806306fdde03146101fd578063095ea7b314610212575b600080fd5b6101e76101e2366004611551565b6103e9565b6040516101f49190611bd5565b60405180910390f35b610205610608565b6040516101f4919061169a565b6102256102203660046115d3565b61069a565b6040516101f4919061168f565b6101e76102403660046115d3565b6106b8565b6101e761086d565b61026061025b3660046115d3565b610873565b005b610225610270366004611511565b61092c565b6101e761028336600461149a565b6109bc565b610290610aa6565b6040516101f49190611bf9565b6102256102ab3660046115d3565b610aab565b6101e7610aff565b610260610b0c565b6101e76102ce366004611551565b610b5a565b6101e76102e1366004611632565b610bf5565b6101e76102f436600461149a565b610c07565b610260610c22565b6101e7610c6d565b610311610c79565b6040516101f49190611662565b61026061032c3660046115fe565b610c88565b6101e761033f3660046115d3565b610d98565b610205610e12565b61035f61035a36600461149a565b610e21565b6040516101f49493929190611bde565b61022561037d3660046115d3565b610e48565b610225610ec1565b6102256103983660046115d3565b610eca565b6101e76103ab3660046115d3565b610ede565b6101e76103be3660046114d9565b610f2a565b6102256103d136600461149a565b610f55565b6102606103e436600461149a565b610f6a565b6001600160a01b03831660009081526007602052604081205460ff1661042a5760405162461bcd60e51b815260040161042190611915565b60405180910390fd5b6001600160a01b03841660009081526006602052604090206003015442106104645760405162461bcd60e51b81526004016104219061194c565b6000805b838110156105b457600085858381811061049257634e487b7160e01b600052603260045260246000fd5b905060200201359050336001600160a01b0316876001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016104d19190611bd5565b60206040518083038186803b1580156104e957600080fd5b505afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052191906114bd565b6001600160a01b0316146105475760405162461bcd60e51b815260040161042190611983565b60006105538883610fdb565b905061055f8185611c07565b935060008883604051602001610576929190611676565b60408051601f198184030181529181528151602092830120600090815260099092529020429055508291506105ac905081611cb0565b915050610468565b506105bf3382611142565b336001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516105f89190611bd5565b60405180910390a2949350505050565b60606003805461061790611c75565b80601f016020809104026020016040519081016040528092919081815260200182805461064390611c75565b80156106905780601f1061066557610100808354040283529160200191610690565b820191906000526020600020905b81548152906001019060200180831161067357829003601f168201915b5050505050905090565b60006106ae6106a761120e565b8484611212565b5060015b92915050565b6001600160a01b03821660009081526007602052604081205460ff166106f05760405162461bcd60e51b815260040161042190611915565b6001600160a01b038316600090815260066020526040902060030154421061072a5760405162461bcd60e51b8152600401610421906117fe565b6040516331a9108f60e11b815233906001600160a01b03851690636352211e90610758908690600401611bd5565b60206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a891906114bd565b6001600160a01b0316146107ce5760405162461bcd60e51b815260040161042190611983565b60006107da8484610fdb565b9050600084846040516020016107f1929190611676565b60408051601f19818403018152918152815160209283012060008181526009909352912042905590506108243383611142565b336001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868360405161085d9190611bd5565b60405180910390a2509392505050565b60025490565b61087b61120e565b6001600160a01b031661088c610c79565b6001600160a01b0316146108b25760405162461bcd60e51b8152600401610421906118e0565b60085460ff16156108d55760405162461bcd60e51b815260040161042190611a18565b6001600160a01b03821660009081526007602052604090205460ff1661090d5760405162461bcd60e51b815260040161042190611af2565b6001600160a01b03909116600090815260066020526040902060030155565b60006109398484846112c6565b6001600160a01b03841660009081526001602052604081208161095a61120e565b6001600160a01b03166001600160a01b031681526020019081526020016000205490508281101561099d5760405162461bcd60e51b815260040161042190611898565b6109b1856109a961120e565b858403611212565b506001949350505050565b6001600160a01b03811660009081526007602052604081205460ff166109f45760405162461bcd60e51b815260040161042190611af2565b600080836001600160a01b0316637af284d56040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3057600080fd5b505afa158015610a44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a68919061164a565b905060005b81811015610a9d57610a7f8582610fdb565b610a899084611c07565b925080610a9581611cb0565b915050610a6d565b50909392505050565b601290565b60006106ae610ab861120e565b848460016000610ac661120e565b6001600160a01b03908116825260208083019390935260409182016000908120918b1681529252902054610afa9190611c07565b611212565b680ad78ebc5ac620000081565b610b1461120e565b6001600160a01b0316610b25610c79565b6001600160a01b031614610b4b5760405162461bcd60e51b8152600401610421906118e0565b6008805460ff19166001179055565b6001600160a01b03831660009081526007602052604081205460ff16610b925760405162461bcd60e51b815260040161042190611af2565b6000805b83811015610bec57610bce86868684818110610bc257634e487b7160e01b600052603260045260246000fd5b90506020020135610fdb565b610bd89083611c07565b915080610be481611cb0565b915050610b96565b50949350505050565b60096020526000908152604090205481565b6001600160a01b031660009081526020819052604090205490565b610c2a61120e565b6001600160a01b0316610c3b610c79565b6001600160a01b031614610c615760405162461bcd60e51b8152600401610421906118e0565b610c6b60006113f0565b565b678ac7230489e8000081565b6005546001600160a01b031690565b610c9061120e565b6001600160a01b0316610ca1610c79565b6001600160a01b031614610cc75760405162461bcd60e51b8152600401610421906118e0565b678ac7230489e800008211158015610ce85750680ad78ebc5ac62000008111155b610d045760405162461bcd60e51b81526004016104219061184d565b60085460ff1615610d275760405162461bcd60e51b815260040161042190611b22565b6001600160a01b039092166000818152600760209081526040808320805460ff19166001908117909155815160808101835295865285830196875242868301908152600019606088019081529585526006909352922093518455935190830155915160028201559051600390910155565b6001600160a01b03821660009081526007602052604081205460ff16610dd05760405162461bcd60e51b815260040161042190611af2565b60008383604051602001610de5929190611676565b60408051808303601f19018152918152815160209283012060009081526009909252902054949350505050565b60606004805461061790611c75565b60066020526000908152604090208054600182015460028301546003909301549192909184565b60008060016000610e5761120e565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610ea35760405162461bcd60e51b815260040161042190611b59565b610eb7610eae61120e565b85858403611212565b5060019392505050565b60085460ff1681565b60006106ae610ed761120e565b84846112c6565b6001600160a01b03821660009081526007602052604081205460ff16610f165760405162461bcd60e51b815260040161042190611af2565b6000610f228484610fdb565b949350505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60076020526000908152604090205460ff1681565b610f7261120e565b6001600160a01b0316610f83610c79565b6001600160a01b031614610fa95760405162461bcd60e51b8152600401610421906118e0565b6001600160a01b038116610fcf5760405162461bcd60e51b815260040161042190611730565b610fd8816113f0565b50565b6001600160a01b03821660009081526007602052604081205460ff166110135760405162461bcd60e51b815260040161042190611af2565b6040516331a9108f60e11b81526001600160a01b03841690636352211e9061103f908590600401611bd5565b60206040518083038186803b15801561105757600080fd5b505afa15801561106b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108f91906114bd565b50600083836040516020016110a5929190611676565b60408051601f198184030181529181528151602092830120600081815260098452828120546001600160a01b03891682526006909452919091205490925081156110fe576110f4828242611442565b93505050506106b2565b6001600160a01b0386166000908152600660205260408120600181015460029091015461112c908442611442565b6111369190611c07565b94506106b29350505050565b6001600160a01b0382166111685760405162461bcd60e51b815260040161042190611b9e565b61117460008383611495565b80600260008282546111869190611c07565b90915550506001600160a01b038216600090815260208190526040812080548392906111b3908490611c07565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111f6908590611bd5565b60405180910390a361120a60008383611495565b5050565b3390565b6001600160a01b0383166112385760405162461bcd60e51b815260040161042190611a5a565b6001600160a01b03821661125e5760405162461bcd60e51b815260040161042190611776565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906112b9908590611bd5565b60405180910390a3505050565b6001600160a01b0383166112ec5760405162461bcd60e51b8152600401610421906119d3565b6001600160a01b0382166113125760405162461bcd60e51b8152600401610421906116ed565b61131d838383611495565b6001600160a01b038316600090815260208190526040902054818110156113565760405162461bcd60e51b8152600401610421906117b8565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061138d908490611c07565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113d79190611bd5565b60405180910390a36113ea848484611495565b50505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008382116114635760405162461bcd60e51b815260040161042190611a9e565b600061146f8584611c5e565b90506000620151806114818684611c3f565b61148b9190611c1f565b9695505050505050565b505050565b6000602082840312156114ab578081fd5b81356114b681611ce1565b9392505050565b6000602082840312156114ce578081fd5b81516114b681611ce1565b600080604083850312156114eb578081fd5b82356114f681611ce1565b9150602083013561150681611ce1565b809150509250929050565b600080600060608486031215611525578081fd5b833561153081611ce1565b9250602084013561154081611ce1565b929592945050506040919091013590565b600080600060408486031215611565578283fd5b833561157081611ce1565b9250602084013567ffffffffffffffff8082111561158c578384fd5b818601915086601f83011261159f578384fd5b8135818111156115ad578485fd5b87602080830285010111156115c0578485fd5b6020830194508093505050509250925092565b600080604083850312156115e5578182fd5b82356115f081611ce1565b946020939093013593505050565b600080600060608486031215611612578283fd5b833561161d81611ce1565b95602085013595506040909401359392505050565b600060208284031215611643578081fd5b5035919050565b60006020828403121561165b578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b818110156116c6578581018301518582016040015282016116aa565b818111156116d75783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252602f908201527f54696d6520666f7220636c61696d696e67206f6e207468617420636f6e74726160408201526e31ba103430b99032bc3834b932b21760891b606082015260800190565b6020808252602b908201527f6261736552617465206f7220696e697449737375616e6365206578636565647360408201526a1036b0bc103b30b63ab29760a91b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f4e6f742061207472757374656420636f6e74726163742e000000000000000000604082015260600190565b6020808252601d908201527f54696d6520666f7220636c61696d696e67206861732065787069726564000000604082015260600190565b60208082526030908201527f43616c6c657220646f6573206e6f74206f776e2074686520746f6b656e20626560408201526f34b7339031b630b4b6b2b2103337b91760811b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526022908201527f43616e6e6f74206d6f6469667920656e64206461746573206166746572206c6f604082015261636b60f01b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526034908201527f4c61737420636c61696d2064617465206d75737420626520736d616c6c65722060408201527307468616e20626c6f636b2074696d657374616d760641b606082015260800190565b602080825260169082015275139bdd0818481d1c9d5cdd19590818dbdb9d1c9858dd60521b604082015260600190565b6020808252601e908201527f43616e6e6f742061646420616e79206d6f726520636f6e7472616374732e0000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60008219821115611c1a57611c1a611ccb565b500190565b600082611c3a57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611c5957611c59611ccb565b500290565b600082821015611c7057611c70611ccb565b500390565b600281046001821680611c8957607f821691505b60208210811415611caa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cc457611cc4611ccb565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610fd857600080fdfea2646970667358221220981b52c46d936ab28210b02486c910cc3c11eae3012c18ccd809f72fc839bdd964736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a082311161010457806395fbf7ea116100a2578063b817cc6011610071578063b817cc601461039d578063dd62ed3e146103b0578063e5919a4f146103c3578063f2fde38b146103d6576101cf565b806395fbf7ea1461034c578063a457c2d71461036f578063a4e2d63414610382578063a9059cbb1461038a576101cf565b80638da5cb5b116100de5780638da5cb5b146103095780638f33221e1461031e57806390689c361461033157806395d89b4114610344576101cf565b806370a08231146102e6578063715018a6146102f95780637bf9601414610301576101cf565b80632a07e1bb116101715780633af7c6781161014b5780633af7c678146102b0578063511a9267146102b8578063543e0d16146102c05780636bac8de2146102d3576101cf565b80632a07e1bb14610275578063313ce56714610288578063395093511461029d576101cf565b8063174e31c4116101ad578063174e31c41461023257806318160ddd14610245578063220eecfb1461024d57806323b872dd14610262576101cf565b806305231dea146101d457806306fdde03146101fd578063095ea7b314610212575b600080fd5b6101e76101e2366004611551565b6103e9565b6040516101f49190611bd5565b60405180910390f35b610205610608565b6040516101f4919061169a565b6102256102203660046115d3565b61069a565b6040516101f4919061168f565b6101e76102403660046115d3565b6106b8565b6101e761086d565b61026061025b3660046115d3565b610873565b005b610225610270366004611511565b61092c565b6101e761028336600461149a565b6109bc565b610290610aa6565b6040516101f49190611bf9565b6102256102ab3660046115d3565b610aab565b6101e7610aff565b610260610b0c565b6101e76102ce366004611551565b610b5a565b6101e76102e1366004611632565b610bf5565b6101e76102f436600461149a565b610c07565b610260610c22565b6101e7610c6d565b610311610c79565b6040516101f49190611662565b61026061032c3660046115fe565b610c88565b6101e761033f3660046115d3565b610d98565b610205610e12565b61035f61035a36600461149a565b610e21565b6040516101f49493929190611bde565b61022561037d3660046115d3565b610e48565b610225610ec1565b6102256103983660046115d3565b610eca565b6101e76103ab3660046115d3565b610ede565b6101e76103be3660046114d9565b610f2a565b6102256103d136600461149a565b610f55565b6102606103e436600461149a565b610f6a565b6001600160a01b03831660009081526007602052604081205460ff1661042a5760405162461bcd60e51b815260040161042190611915565b60405180910390fd5b6001600160a01b03841660009081526006602052604090206003015442106104645760405162461bcd60e51b81526004016104219061194c565b6000805b838110156105b457600085858381811061049257634e487b7160e01b600052603260045260246000fd5b905060200201359050336001600160a01b0316876001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016104d19190611bd5565b60206040518083038186803b1580156104e957600080fd5b505afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052191906114bd565b6001600160a01b0316146105475760405162461bcd60e51b815260040161042190611983565b60006105538883610fdb565b905061055f8185611c07565b935060008883604051602001610576929190611676565b60408051601f198184030181529181528151602092830120600090815260099092529020429055508291506105ac905081611cb0565b915050610468565b506105bf3382611142565b336001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516105f89190611bd5565b60405180910390a2949350505050565b60606003805461061790611c75565b80601f016020809104026020016040519081016040528092919081815260200182805461064390611c75565b80156106905780601f1061066557610100808354040283529160200191610690565b820191906000526020600020905b81548152906001019060200180831161067357829003601f168201915b5050505050905090565b60006106ae6106a761120e565b8484611212565b5060015b92915050565b6001600160a01b03821660009081526007602052604081205460ff166106f05760405162461bcd60e51b815260040161042190611915565b6001600160a01b038316600090815260066020526040902060030154421061072a5760405162461bcd60e51b8152600401610421906117fe565b6040516331a9108f60e11b815233906001600160a01b03851690636352211e90610758908690600401611bd5565b60206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a891906114bd565b6001600160a01b0316146107ce5760405162461bcd60e51b815260040161042190611983565b60006107da8484610fdb565b9050600084846040516020016107f1929190611676565b60408051601f19818403018152918152815160209283012060008181526009909352912042905590506108243383611142565b336001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868360405161085d9190611bd5565b60405180910390a2509392505050565b60025490565b61087b61120e565b6001600160a01b031661088c610c79565b6001600160a01b0316146108b25760405162461bcd60e51b8152600401610421906118e0565b60085460ff16156108d55760405162461bcd60e51b815260040161042190611a18565b6001600160a01b03821660009081526007602052604090205460ff1661090d5760405162461bcd60e51b815260040161042190611af2565b6001600160a01b03909116600090815260066020526040902060030155565b60006109398484846112c6565b6001600160a01b03841660009081526001602052604081208161095a61120e565b6001600160a01b03166001600160a01b031681526020019081526020016000205490508281101561099d5760405162461bcd60e51b815260040161042190611898565b6109b1856109a961120e565b858403611212565b506001949350505050565b6001600160a01b03811660009081526007602052604081205460ff166109f45760405162461bcd60e51b815260040161042190611af2565b600080836001600160a01b0316637af284d56040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3057600080fd5b505afa158015610a44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a68919061164a565b905060005b81811015610a9d57610a7f8582610fdb565b610a899084611c07565b925080610a9581611cb0565b915050610a6d565b50909392505050565b601290565b60006106ae610ab861120e565b848460016000610ac661120e565b6001600160a01b03908116825260208083019390935260409182016000908120918b1681529252902054610afa9190611c07565b611212565b680ad78ebc5ac620000081565b610b1461120e565b6001600160a01b0316610b25610c79565b6001600160a01b031614610b4b5760405162461bcd60e51b8152600401610421906118e0565b6008805460ff19166001179055565b6001600160a01b03831660009081526007602052604081205460ff16610b925760405162461bcd60e51b815260040161042190611af2565b6000805b83811015610bec57610bce86868684818110610bc257634e487b7160e01b600052603260045260246000fd5b90506020020135610fdb565b610bd89083611c07565b915080610be481611cb0565b915050610b96565b50949350505050565b60096020526000908152604090205481565b6001600160a01b031660009081526020819052604090205490565b610c2a61120e565b6001600160a01b0316610c3b610c79565b6001600160a01b031614610c615760405162461bcd60e51b8152600401610421906118e0565b610c6b60006113f0565b565b678ac7230489e8000081565b6005546001600160a01b031690565b610c9061120e565b6001600160a01b0316610ca1610c79565b6001600160a01b031614610cc75760405162461bcd60e51b8152600401610421906118e0565b678ac7230489e800008211158015610ce85750680ad78ebc5ac62000008111155b610d045760405162461bcd60e51b81526004016104219061184d565b60085460ff1615610d275760405162461bcd60e51b815260040161042190611b22565b6001600160a01b039092166000818152600760209081526040808320805460ff19166001908117909155815160808101835295865285830196875242868301908152600019606088019081529585526006909352922093518455935190830155915160028201559051600390910155565b6001600160a01b03821660009081526007602052604081205460ff16610dd05760405162461bcd60e51b815260040161042190611af2565b60008383604051602001610de5929190611676565b60408051808303601f19018152918152815160209283012060009081526009909252902054949350505050565b60606004805461061790611c75565b60066020526000908152604090208054600182015460028301546003909301549192909184565b60008060016000610e5761120e565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610ea35760405162461bcd60e51b815260040161042190611b59565b610eb7610eae61120e565b85858403611212565b5060019392505050565b60085460ff1681565b60006106ae610ed761120e565b84846112c6565b6001600160a01b03821660009081526007602052604081205460ff16610f165760405162461bcd60e51b815260040161042190611af2565b6000610f228484610fdb565b949350505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60076020526000908152604090205460ff1681565b610f7261120e565b6001600160a01b0316610f83610c79565b6001600160a01b031614610fa95760405162461bcd60e51b8152600401610421906118e0565b6001600160a01b038116610fcf5760405162461bcd60e51b815260040161042190611730565b610fd8816113f0565b50565b6001600160a01b03821660009081526007602052604081205460ff166110135760405162461bcd60e51b815260040161042190611af2565b6040516331a9108f60e11b81526001600160a01b03841690636352211e9061103f908590600401611bd5565b60206040518083038186803b15801561105757600080fd5b505afa15801561106b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108f91906114bd565b50600083836040516020016110a5929190611676565b60408051601f198184030181529181528151602092830120600081815260098452828120546001600160a01b03891682526006909452919091205490925081156110fe576110f4828242611442565b93505050506106b2565b6001600160a01b0386166000908152600660205260408120600181015460029091015461112c908442611442565b6111369190611c07565b94506106b29350505050565b6001600160a01b0382166111685760405162461bcd60e51b815260040161042190611b9e565b61117460008383611495565b80600260008282546111869190611c07565b90915550506001600160a01b038216600090815260208190526040812080548392906111b3908490611c07565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111f6908590611bd5565b60405180910390a361120a60008383611495565b5050565b3390565b6001600160a01b0383166112385760405162461bcd60e51b815260040161042190611a5a565b6001600160a01b03821661125e5760405162461bcd60e51b815260040161042190611776565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906112b9908590611bd5565b60405180910390a3505050565b6001600160a01b0383166112ec5760405162461bcd60e51b8152600401610421906119d3565b6001600160a01b0382166113125760405162461bcd60e51b8152600401610421906116ed565b61131d838383611495565b6001600160a01b038316600090815260208190526040902054818110156113565760405162461bcd60e51b8152600401610421906117b8565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061138d908490611c07565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113d79190611bd5565b60405180910390a36113ea848484611495565b50505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008382116114635760405162461bcd60e51b815260040161042190611a9e565b600061146f8584611c5e565b90506000620151806114818684611c3f565b61148b9190611c1f565b9695505050505050565b505050565b6000602082840312156114ab578081fd5b81356114b681611ce1565b9392505050565b6000602082840312156114ce578081fd5b81516114b681611ce1565b600080604083850312156114eb578081fd5b82356114f681611ce1565b9150602083013561150681611ce1565b809150509250929050565b600080600060608486031215611525578081fd5b833561153081611ce1565b9250602084013561154081611ce1565b929592945050506040919091013590565b600080600060408486031215611565578283fd5b833561157081611ce1565b9250602084013567ffffffffffffffff8082111561158c578384fd5b818601915086601f83011261159f578384fd5b8135818111156115ad578485fd5b87602080830285010111156115c0578485fd5b6020830194508093505050509250925092565b600080604083850312156115e5578182fd5b82356115f081611ce1565b946020939093013593505050565b600080600060608486031215611612578283fd5b833561161d81611ce1565b95602085013595506040909401359392505050565b600060208284031215611643578081fd5b5035919050565b60006020828403121561165b578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b818110156116c6578581018301518582016040015282016116aa565b818111156116d75783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252602f908201527f54696d6520666f7220636c61696d696e67206f6e207468617420636f6e74726160408201526e31ba103430b99032bc3834b932b21760891b606082015260800190565b6020808252602b908201527f6261736552617465206f7220696e697449737375616e6365206578636565647360408201526a1036b0bc103b30b63ab29760a91b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f4e6f742061207472757374656420636f6e74726163742e000000000000000000604082015260600190565b6020808252601d908201527f54696d6520666f7220636c61696d696e67206861732065787069726564000000604082015260600190565b60208082526030908201527f43616c6c657220646f6573206e6f74206f776e2074686520746f6b656e20626560408201526f34b7339031b630b4b6b2b2103337b91760811b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526022908201527f43616e6e6f74206d6f6469667920656e64206461746573206166746572206c6f604082015261636b60f01b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526034908201527f4c61737420636c61696d2064617465206d75737420626520736d616c6c65722060408201527307468616e20626c6f636b2074696d657374616d760641b606082015260800190565b602080825260169082015275139bdd0818481d1c9d5cdd19590818dbdb9d1c9858dd60521b604082015260600190565b6020808252601e908201527f43616e6e6f742061646420616e79206d6f726520636f6e7472616374732e0000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60008219821115611c1a57611c1a611ccb565b500190565b600082611c3a57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611c5957611c59611ccb565b500290565b600082821015611c7057611c70611ccb565b500390565b600281046001821680611c8957607f821691505b60208210811415611caa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cc457611cc4611ccb565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610fd857600080fdfea2646970667358221220981b52c46d936ab28210b02486c910cc3c11eae3012c18ccd809f72fc839bdd964736f6c63430008000033

Deployed Bytecode Sourcemap

19027:7590:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22004:1252;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8684:100;;;:::i;:::-;;;;;;;:::i;10851:169::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;21023:973::-;;;;;;:::i;:::-;;:::i;9804:108::-;;;:::i;20698:317::-;;;;;;:::i;:::-;;:::i;:::-;;11502:492;;;;;;:::i;:::-;;:::i;24153:508::-;;;;;;:::i;:::-;;:::i;9646:93::-;;;:::i;:::-;;;;;;;:::i;12403:215::-;;;;;;:::i;:::-;;:::i;19405:56::-;;;:::i;23264:78::-;;;:::i;23677:468::-;;;;;;:::i;:::-;;:::i;19602:44::-;;;;;;:::i;:::-;;:::i;9975:127::-;;;;;;:::i;:::-;;:::i;2488:94::-;;;:::i;19350:48::-;;;:::i;1837:87::-;;;:::i;:::-;;;;;;;:::i;19941:671::-;;;;;;:::i;:::-;;:::i;24669:318::-;;;;;;:::i;:::-;;:::i;8903:104::-;;;:::i;19226:60::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;13121:413::-;;;;;;:::i;:::-;;:::i;19567:28::-;;;:::i;10315:175::-;;;;;;:::i;:::-;;:::i;23350:319::-;;;;;;:::i;:::-;;:::i;10553:151::-;;;;;;:::i;:::-;;:::i;19293:48::-;;;;;;:::i;:::-;;:::i;2737:192::-;;;;;;:::i;:::-;;:::i;22004:1252::-;-1:-1:-1;;;;;22126:34:0;;22098:7;22126:34;;;:16;:34;;;;;;;;22118:70;;;;-1:-1:-1;;;22118:70:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;22207:34:0;;;;;;:16;:34;;;;;:38;;;22248:15;-1:-1:-1;22199:98:0;;;;-1:-1:-1;;;22199:98:0;;;;;;;:::i;:::-;22310:29;22360:9;22356:681;22375:20;;;22356:681;;;22417:16;22436:9;;22446:1;22436:12;;;;;-1:-1:-1;;;22436:12:0;;;;;;;;;;;;;;;22417:31;;22529:10;-1:-1:-1;;;;;22473:66:0;22490:16;-1:-1:-1;;;;;22473:42:0;;22516:8;22473:52;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;22473:66:0;;22465:127;;;;-1:-1:-1;;;22465:127:0;;;;;;;:::i;:::-;22652:23;22678:50;22701:16;22719:8;22678:22;:50::i;:::-;22652:76;-1:-1:-1;22767:39:0;22652:76;22767:21;:39;:::i;:::-;22743:63;;22897:20;22941:16;22959:8;22930:38;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;22930:38:0;;;;;;;;;22920:49;;22930:38;22920:49;;;;22984:23;;;;:9;:23;;;;;23010:15;22984:41;;-1:-1:-1;22397:3:0;;-1:-1:-1;22397:3:0;;-1:-1:-1;22397:3:0;;:::i;:::-;;;;22356:681;;;;23106:40;23112:10;23124:21;23106:5;:40::i;:::-;23173:10;-1:-1:-1;;;;;23162:45:0;;23185:21;23162:45;;;;;;:::i;:::-;;;;;;;;23227:21;22004:1252;-1:-1:-1;;;;22004:1252:0:o;8684:100::-;8738:13;8771:5;8764:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8684:100;:::o;10851:169::-;10934:4;10951:39;10960:12;:10;:12::i;:::-;10974:7;10983:6;10951:8;:39::i;:::-;-1:-1:-1;11008:4:0;10851:169;;;;;:::o;21023:973::-;-1:-1:-1;;;;;21132:34:0;;21104:7;21132:34;;;:16;:34;;;;;;;;21124:70;;;;-1:-1:-1;;;21124:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21213:34:0;;;;;;:16;:34;;;;;:38;;;21254:15;-1:-1:-1;21205:116:0;;;;-1:-1:-1;;;21205:116:0;;;;;;;:::i;:::-;21340:52;;-1:-1:-1;;;21340:52:0;;21396:10;;-1:-1:-1;;;;;21340:42:0;;;;;:52;;21383:8;;21340:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;21340:66:0;;21332:127;;;;-1:-1:-1;;;21332:127:0;;;;;;;:::i;:::-;21511:23;21537:50;21560:16;21578:8;21537:22;:50::i;:::-;21511:76;;21670:20;21714:16;21732:8;21703:38;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;21703:38:0;;;;;;;;;21693:49;;21703:38;21693:49;;;;21753:23;;;;:9;:23;;;;;21779:15;21753:41;;21693:49;-1:-1:-1;21864:34:0;21870:10;21882:15;21864:5;:34::i;:::-;21925:10;-1:-1:-1;;;;;21914:39:0;;21937:15;21914:39;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;21973:15:0;21023:973;-1:-1:-1;;;21023:973:0:o;9804:108::-;9892:12;;9804:108;:::o;20698:317::-;2068:12;:10;:12::i;:::-;-1:-1:-1;;;;;2057:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2057:23:0;;2049:68;;;;-1:-1:-1;;;2049:68:0;;;;;;;:::i;:::-;20810:8:::1;::::0;::::1;;20809:9;20801:56;;;;-1:-1:-1::0;;;20801:56:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;20876:34:0;::::1;;::::0;;;:16:::1;:34;::::0;;;;;::::1;;20868:69;;;;-1:-1:-1::0;;;20868:69:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;20958:34:0;;::::1;;::::0;;;:16:::1;:34;::::0;;;;:38:::1;;:49:::0;20698:317::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;;;;;11708:24;11755:12;:10;:12::i;:::-;-1:-1:-1;;;;;11735:33:0;-1:-1:-1;;;;;11735:33:0;;;;;;;;;;;;;11708:60;;11807:6;11787:16;:26;;11779:79;;;;-1:-1:-1;;;11779:79:0;;;;;;;:::i;:::-;11894:57;11903:6;11911:12;:10;:12::i;:::-;11944:6;11925:16;:25;11894:8;:57::i;:::-;-1:-1:-1;11982:4:0;;11502:492;-1:-1:-1;;;;11502:492:0:o;24153:508::-;-1:-1:-1;;;;;24273:34:0;;24245:7;24273:34;;;:16;:34;;;;;;;;24265:69;;;;-1:-1:-1;;;24265:69:0;;;;;;;:::i;:::-;24347:29;24391:20;24431:16;-1:-1:-1;;;;;24414:47:0;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;24391:72;;24480:9;24476:137;24499:12;24495:1;:16;24476:137;;;24558:43;24581:16;24599:1;24558:22;:43::i;:::-;24533:68;;;;:::i;:::-;;-1:-1:-1;24513:3:0;;;;:::i;:::-;;;;24476:137;;;-1:-1:-1;24632:21:0;;24153:508;-1:-1:-1;;;24153:508:0:o;9646:93::-;9729:2;9646:93;:::o;12403:215::-;12491:4;12508:80;12517:12;:10;:12::i;:::-;12531:7;12577:10;12540:11;:25;12552:12;:10;:12::i;:::-;-1:-1:-1;;;;;12540:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;12540:25:0;;;:34;;;;;;;;;;:47;;;;:::i;:::-;12508:8;:80::i;19405:56::-;19452:9;19405:56;:::o;23264:78::-;2068:12;:10;:12::i;:::-;-1:-1:-1;;;;;2057:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2057:23:0;;2049:68;;;;-1:-1:-1;;;2049:68:0;;;;;;;:::i;:::-;23319:8:::1;:15:::0;;-1:-1:-1;;23319:15:0::1;23330:4;23319:15;::::0;;23264:78::o;23677:468::-;-1:-1:-1;;;;;23817:34:0;;23789:7;23817:34;;;:16;:34;;;;;;;;23809:69;;;;-1:-1:-1;;;23809:69:0;;;;;;;:::i;:::-;23891:29;23941:9;23937:162;23956:20;;;23937:162;;;24023:54;24046:16;24064:9;;24074:1;24064:12;;;;;-1:-1:-1;;;24064:12:0;;;;;;;;;;;;;;;24023:22;:54::i;:::-;23998:79;;;;:::i;:::-;;-1:-1:-1;23978:3:0;;;;:::i;:::-;;;;23937:162;;;-1:-1:-1;24116:21:0;23677:468;-1:-1:-1;;;;23677:468:0:o;19602:44::-;;;;;;;;;;;;;:::o;9975:127::-;-1:-1:-1;;;;;10076:18:0;10049:7;10076:18;;;;;;;;;;;;9975:127::o;2488:94::-;2068:12;:10;:12::i;:::-;-1:-1:-1;;;;;2057:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2057:23:0;;2049:68;;;;-1:-1:-1;;;2049:68:0;;;;;;;:::i;:::-;2553:21:::1;2571:1;2553:9;:21::i;:::-;2488:94::o:0;19350:48::-;19390:8;19350:48;:::o;1837:87::-;1910:6;;-1:-1:-1;;;;;1910:6:0;1837:87;:::o;19941:671::-;2068:12;:10;:12::i;:::-;-1:-1:-1;;;;;2057:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2057:23:0;;2049:68;;;;-1:-1:-1;;;2049:68:0;;;;;;;:::i;:::-;19390:8:::1;20066:9;:26;;:67;;;;;19452:9;20096:13;:37;;20066:67;20058:123;;;;-1:-1:-1::0;;;20058:123:0::1;;;;;;;:::i;:::-;20201:8;::::0;::::1;;20200:9;20192:52;;;;-1:-1:-1::0;;;20192:52:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;20293:34:0;;::::1;;::::0;;;:16:::1;:34;::::0;;;;;;;:41;;-1:-1:-1;;20293:41:0::1;20330:4;20293:41:::0;;::::1;::::0;;;20424:180;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;20540:15:::1;20424:180:::0;;;;;;-1:-1:-1;;20424:180:0;;;;;;20387:34;;;:16:::1;:34:::0;;;;;:217;;;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;19941:671::o;24669:318::-;-1:-1:-1;;;;;24790:34:0;;24762:7;24790:34;;;:16;:34;;;;;;;;24782:69;;;;-1:-1:-1;;;24782:69:0;;;;;;;:::i;:::-;24864:20;24908:16;24926:8;24897:38;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;24897:38:0;;;;;;24887:49;;24897:38;24887:49;;;;24956:23;;;;:9;:23;;;;;;;24669:318;-1:-1:-1;;;;24669:318:0:o;8903:104::-;8959:13;8992:7;8985:14;;;;;:::i;19226:60::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;13121:413::-;13214:4;13231:24;13258:11;:25;13270:12;:10;:12::i;:::-;-1:-1:-1;;;;;13258:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;13258:25:0;;;:34;;;;;;;;;;;-1:-1:-1;13311:35:0;;;;13303:85;;;;-1:-1:-1;;;13303:85:0;;;;;;;:::i;:::-;13424:67;13433:12;:10;:12::i;:::-;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;19567:28::-;;;;;;:::o;10315:175::-;10401:4;10418:42;10428:12;:10;:12::i;:::-;10442:9;10453:6;10418:9;:42::i;23350:319::-;-1:-1:-1;;;;;23477:34:0;;23449:7;23477:34;;;:16;:34;;;;;;;;23469:69;;;;-1:-1:-1;;;23469:69:0;;;;;;;:::i;:::-;23551:23;23578:50;23601:16;23619:8;23578:22;:50::i;:::-;23551:77;23350:319;-1:-1:-1;;;;23350:319:0:o;10553:151::-;-1:-1:-1;;;;;10669:18:0;;;10642:7;10669:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10553:151::o;19293:48::-;;;;;;;;;;;;;;;:::o;2737:192::-;2068:12;:10;:12::i;:::-;-1:-1:-1;;;;;2057:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2057:23:0;;2049:68;;;;-1:-1:-1;;;2049:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2826:22:0;::::1;2818:73;;;;-1:-1:-1::0;;;2818:73:0::1;;;;;;;:::i;:::-;2902:19;2912:8;2902:9;:19::i;:::-;2737:192:::0;:::o;25422:1192::-;-1:-1:-1;;;;;25549:34:0;;25521:7;25549:34;;;:16;:34;;;;;;;;25541:69;;;;-1:-1:-1;;;25541:69:0;;;;;;;:::i;:::-;25681:52;;-1:-1:-1;;;25681:52:0;;-1:-1:-1;;;;;25681:42:0;;;;;:52;;25724:8;;25681:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25824:20;25868:16;25886:8;25857:38;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25857:38:0;;;;;;;;;25847:49;;25857:38;25847:49;;;;25907:21;25931:23;;;:9;:23;;;;;;-1:-1:-1;;;;;25984:34:0;;;;:16;:34;;;;;;;:43;25847:49;;-1:-1:-1;26121:27:0;;26117:490;;26172:66;26197:13;26212:8;26222:15;26172:24;:66::i;:::-;26165:73;;;;;;;26117:490;-1:-1:-1;;;;;26513:34:0;;26395:19;26513:34;;;:16;:34;;;;;:47;;;;26442:40;;;;;26417:93;;26484:8;26494:15;26417:24;:93::i;:::-;:143;;;;:::i;:::-;26395:165;-1:-1:-1;26577:18:0;;-1:-1:-1;;;;26577:18:0;15044:399;-1:-1:-1;;;;;15128:21:0;;15120:65;;;;-1:-1:-1;;;15120:65:0;;;;;;;:::i;:::-;15198:49;15227:1;15231:7;15240:6;15198:20;:49::i;:::-;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;;-1:-1:-1;;;;;15337:37:0;;;15354:1;;15337:37;;;;15367:6;;15337:37;:::i;:::-;;;;;;;;15387:48;15415:1;15419:7;15428:6;15387:19;:48::i;:::-;15044:399;;:::o;625:98::-;705:10;625:98;:::o;16805:380::-;-1:-1:-1;;;;;16941:19:0;;16933:68;;;;-1:-1:-1;;;16933:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17020:21:0;;17012:68;;;;-1:-1:-1;;;17012:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17093:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;17145:32;;;;;17123:6;;17145:32;:::i;:::-;;;;;;;;16805:380;;;:::o;14024:733::-;-1:-1:-1;;;;;14164:20:0;;14156:70;;;;-1:-1:-1;;;14156:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14245:23:0;;14237:71;;;;-1:-1:-1;;;14237:71:0;;;;;;;:::i;:::-;14321:47;14342:6;14350:9;14361:6;14321:20;:47::i;:::-;-1:-1:-1;;;;;14405:17:0;;14381:21;14405:17;;;;;;;;;;;14441:23;;;;14433:74;;;;-1:-1:-1;;;14433:74:0;;;;;;;:::i;:::-;-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;;;;;;:::i;:::-;;;;;;;;14703:46;14723:6;14731:9;14742:6;14703:19;:46::i;:::-;14024:733;;;;:::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;24995:419::-;25116:7;25158:14;25144:11;:28;25136:93;;;;-1:-1:-1;;;25136:93:0;;;;;;;:::i;:::-;25242:22;25267:28;25281:14;25267:11;:28;:::i;:::-;25242:53;-1:-1:-1;25306:25:0;25363:6;25334:26;25351:9;25242:53;25334:26;:::i;:::-;:35;;;;:::i;:::-;25306:63;24995:419;-1:-1:-1;;;;;;24995:419:0:o;17785:125::-;;;;:::o;14:259:1:-;;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:33;237:5;210:33;:::i;:::-;262:5;84:189;-1:-1:-1;;;84:189:1:o;278:263::-;;401:2;389:9;380:7;376:23;372:32;369:2;;;422:6;414;407:22;369:2;459:9;453:16;478:33;505:5;478:33;:::i;546:402::-;;;675:2;663:9;654:7;650:23;646:32;643:2;;;696:6;688;681:22;643:2;740:9;727:23;759:33;786:5;759:33;:::i;:::-;811:5;-1:-1:-1;868:2:1;853:18;;840:32;881:35;840:32;881:35;:::i;:::-;935:7;925:17;;;633:315;;;;;:::o;953:470::-;;;;1099:2;1087:9;1078:7;1074:23;1070:32;1067:2;;;1120:6;1112;1105:22;1067:2;1164:9;1151:23;1183:33;1210:5;1183:33;:::i;:::-;1235:5;-1:-1:-1;1292:2:1;1277:18;;1264:32;1305:35;1264:32;1305:35;:::i;:::-;1057:366;;1359:7;;-1:-1:-1;;;1413:2:1;1398:18;;;;1385:32;;1057:366::o;1428:803::-;;;;1592:2;1580:9;1571:7;1567:23;1563:32;1560:2;;;1613:6;1605;1598:22;1560:2;1657:9;1644:23;1676:33;1703:5;1676:33;:::i;:::-;1728:5;-1:-1:-1;1784:2:1;1769:18;;1756:32;1807:18;1837:14;;;1834:2;;;1869:6;1861;1854:22;1834:2;1912:6;1901:9;1897:22;1887:32;;1957:7;1950:4;1946:2;1942:13;1938:27;1928:2;;1984:6;1976;1969:22;1928:2;2029;2016:16;2055:2;2047:6;2044:14;2041:2;;;2076:6;2068;2061:22;2041:2;2135:7;2130:2;2124;2116:6;2112:15;2108:2;2104:24;2100:33;2097:46;2094:2;;;2161:6;2153;2146:22;2094:2;2197;2193;2189:11;2179:21;;2219:6;2209:16;;;;;1550:681;;;;;:::o;2236:327::-;;;2365:2;2353:9;2344:7;2340:23;2336:32;2333:2;;;2386:6;2378;2371:22;2333:2;2430:9;2417:23;2449:33;2476:5;2449:33;:::i;:::-;2501:5;2553:2;2538:18;;;;2525:32;;-1:-1:-1;;;2323:240:1:o;2568:395::-;;;;2714:2;2702:9;2693:7;2689:23;2685:32;2682:2;;;2735:6;2727;2720:22;2682:2;2779:9;2766:23;2798:33;2825:5;2798:33;:::i;:::-;2850:5;2902:2;2887:18;;2874:32;;-1:-1:-1;2953:2:1;2938:18;;;2925:32;;2672:291;-1:-1:-1;;;2672:291:1:o;2968:190::-;;3080:2;3068:9;3059:7;3055:23;3051:32;3048:2;;;3101:6;3093;3086:22;3048:2;-1:-1:-1;3129:23:1;;3038:120;-1:-1:-1;3038:120:1:o;3163:194::-;;3286:2;3274:9;3265:7;3261:23;3257:32;3254:2;;;3307:6;3299;3292:22;3254:2;-1:-1:-1;3335:16:1;;3244:113;-1:-1:-1;3244:113:1:o;3362:203::-;-1:-1:-1;;;;;3526:32:1;;;;3508:51;;3496:2;3481:18;;3463:102::o;3570:274::-;-1:-1:-1;;;;;3762:32:1;;;;3744:51;;3826:2;3811:18;;3804:34;3732:2;3717:18;;3699:145::o;3849:187::-;4014:14;;4007:22;3989:41;;3977:2;3962:18;;3944:92::o;4041:603::-;;4182:2;4211;4200:9;4193:21;4243:6;4237:13;4286:6;4281:2;4270:9;4266:18;4259:34;4311:4;4324:140;4338:6;4335:1;4332:13;4324:140;;;4433:14;;;4429:23;;4423:30;4399:17;;;4418:2;4395:26;4388:66;4353:10;;4324:140;;;4482:6;4479:1;4476:13;4473:2;;;4552:4;4547:2;4538:6;4527:9;4523:22;4519:31;4512:45;4473:2;-1:-1:-1;4628:2:1;4607:15;-1:-1:-1;;4603:29:1;4588:45;;;;4635:2;4584:54;;4162:482;-1:-1:-1;;;4162:482:1:o;4649:399::-;4851:2;4833:21;;;4890:2;4870:18;;;4863:30;4929:34;4924:2;4909:18;;4902:62;-1:-1:-1;;;4995:2:1;4980:18;;4973:33;5038:3;5023:19;;4823:225::o;5053:402::-;5255:2;5237:21;;;5294:2;5274:18;;;5267:30;5333:34;5328:2;5313:18;;5306:62;-1:-1:-1;;;5399:2:1;5384:18;;5377:36;5445:3;5430:19;;5227:228::o;5460:398::-;5662:2;5644:21;;;5701:2;5681:18;;;5674:30;5740:34;5735:2;5720:18;;5713:62;-1:-1:-1;;;5806:2:1;5791:18;;5784:32;5848:3;5833:19;;5634:224::o;5863:402::-;6065:2;6047:21;;;6104:2;6084:18;;;6077:30;6143:34;6138:2;6123:18;;6116:62;-1:-1:-1;;;6209:2:1;6194:18;;6187:36;6255:3;6240:19;;6037:228::o;6270:411::-;6472:2;6454:21;;;6511:2;6491:18;;;6484:30;6550:34;6545:2;6530:18;;6523:62;-1:-1:-1;;;6616:2:1;6601:18;;6594:45;6671:3;6656:19;;6444:237::o;6686:407::-;6888:2;6870:21;;;6927:2;6907:18;;;6900:30;6966:34;6961:2;6946:18;;6939:62;-1:-1:-1;;;7032:2:1;7017:18;;7010:41;7083:3;7068:19;;6860:233::o;7098:404::-;7300:2;7282:21;;;7339:2;7319:18;;;7312:30;7378:34;7373:2;7358:18;;7351:62;-1:-1:-1;;;7444:2:1;7429:18;;7422:38;7492:3;7477:19;;7272:230::o;7507:356::-;7709:2;7691:21;;;7728:18;;;7721:30;7787:34;7782:2;7767:18;;7760:62;7854:2;7839:18;;7681:182::o;7868:347::-;8070:2;8052:21;;;8109:2;8089:18;;;8082:30;8148:25;8143:2;8128:18;;8121:53;8206:2;8191:18;;8042:173::o;8220:353::-;8422:2;8404:21;;;8461:2;8441:18;;;8434:30;8500:31;8495:2;8480:18;;8473:59;8564:2;8549:18;;8394:179::o;8578:412::-;8780:2;8762:21;;;8819:2;8799:18;;;8792:30;8858:34;8853:2;8838:18;;8831:62;-1:-1:-1;;;8924:2:1;8909:18;;8902:46;8980:3;8965:19;;8752:238::o;8995:401::-;9197:2;9179:21;;;9236:2;9216:18;;;9209:30;9275:34;9270:2;9255:18;;9248:62;-1:-1:-1;;;9341:2:1;9326:18;;9319:35;9386:3;9371:19;;9169:227::o;9401:398::-;9603:2;9585:21;;;9642:2;9622:18;;;9615:30;9681:34;9676:2;9661:18;;9654:62;-1:-1:-1;;;9747:2:1;9732:18;;9725:32;9789:3;9774:19;;9575:224::o;9804:400::-;10006:2;9988:21;;;10045:2;10025:18;;;10018:30;10084:34;10079:2;10064:18;;10057:62;-1:-1:-1;;;10150:2:1;10135:18;;10128:34;10194:3;10179:19;;9978:226::o;10209:416::-;10411:2;10393:21;;;10450:2;10430:18;;;10423:30;10489:34;10484:2;10469:18;;10462:62;-1:-1:-1;;;10555:2:1;10540:18;;10533:50;10615:3;10600:19;;10383:242::o;10630:346::-;10832:2;10814:21;;;10871:2;10851:18;;;10844:30;-1:-1:-1;;;10905:2:1;10890:18;;10883:52;10967:2;10952:18;;10804:172::o;10981:354::-;11183:2;11165:21;;;11222:2;11202:18;;;11195:30;11261:32;11256:2;11241:18;;11234:60;11326:2;11311:18;;11155:180::o;11340:401::-;11542:2;11524:21;;;11581:2;11561:18;;;11554:30;11620:34;11615:2;11600:18;;11593:62;-1:-1:-1;;;11686:2:1;11671:18;;11664:35;11731:3;11716:19;;11514:227::o;11746:355::-;11948:2;11930:21;;;11987:2;11967:18;;;11960:30;12026:33;12021:2;12006:18;;11999:61;12092:2;12077:18;;11920:181::o;12106:177::-;12252:25;;;12240:2;12225:18;;12207:76::o;12288:391::-;12519:25;;;12575:2;12560:18;;12553:34;;;;12618:2;12603:18;;12596:34;12661:2;12646:18;;12639:34;12506:3;12491:19;;12473:206::o;12684:184::-;12856:4;12844:17;;;;12826:36;;12814:2;12799:18;;12781:87::o;12873:128::-;;12944:1;12940:6;12937:1;12934:13;12931:2;;;12950:18;;:::i;:::-;-1:-1:-1;12986:9:1;;12921:80::o;13006:217::-;;13072:1;13062:2;;-1:-1:-1;;;13097:31:1;;13151:4;13148:1;13141:15;13179:4;13104:1;13169:15;13062:2;-1:-1:-1;13208:9:1;;13052:171::o;13228:168::-;;13334:1;13330;13326:6;13322:14;13319:1;13316:21;13311:1;13304:9;13297:17;13293:45;13290:2;;;13341:18;;:::i;:::-;-1:-1:-1;13381:9:1;;13280:116::o;13401:125::-;;13469:1;13466;13463:8;13460:2;;;13474:18;;:::i;:::-;-1:-1:-1;13511:9:1;;13450:76::o;13531:380::-;13616:1;13606:12;;13663:1;13653:12;;;13674:2;;13728:4;13720:6;13716:17;13706:27;;13674:2;13781;13773:6;13770:14;13750:18;13747:38;13744:2;;;13827:10;13822:3;13818:20;13815:1;13808:31;13862:4;13859:1;13852:15;13890:4;13887:1;13880:15;13744:2;;13586:325;;;:::o;13916:135::-;;-1:-1:-1;;13976:17:1;;13973:2;;;13996:18;;:::i;:::-;-1:-1:-1;14043:1:1;14032:13;;13963:88::o;14056:127::-;14117:10;14112:3;14108:20;14105:1;14098:31;14148:4;14145:1;14138:15;14172:4;14169:1;14162:15;14188:133;-1:-1:-1;;;;;14265:31:1;;14255:42;;14245:2;;14311:1;14308;14301:12

Swarm Source

ipfs://981b52c46d936ab28210b02486c910cc3c11eae3012c18ccd809f72fc839bdd9

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.