ETH Price: $3,177.25 (+2.95%)

Contract

0xcc849d225B0bb74aA7E4B953469f2a2315370cd7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Winnings186440882023-11-24 20:56:47359 days ago1700859407IN
0xcc849d22...315370cd7
0 ETH0.0072163431.86671621
Claim Winnings186440712023-11-24 20:53:11359 days ago1700859191IN
0xcc849d22...315370cd7
0 ETH0.0008650530.26776659
Claim Winnings186073352023-11-19 17:26:23364 days ago1700414783IN
0xcc849d22...315370cd7
0 ETH0.0041570326.02031385
Set Outcome186073212023-11-19 17:23:35364 days ago1700414615IN
0xcc849d22...315370cd7
0 ETH0.0023745823.41126938
Claim Winnings184892912023-11-03 4:55:47381 days ago1698987347IN
0xcc849d22...315370cd7
0 ETH0.0027293510.26769168
Claim Winnings184831272023-11-02 8:10:47382 days ago1698912647IN
0xcc849d22...315370cd7
0 ETH0.0034623519.3379053
Claim Winnings184814322023-11-02 2:28:47382 days ago1698892127IN
0xcc849d22...315370cd7
0 ETH0.0007054924.68497281
Claim Winnings184802742023-11-01 22:35:47382 days ago1698878147IN
0xcc849d22...315370cd7
0 ETH0.0084391943.0252815
Set Outcome184743232023-11-01 2:37:11383 days ago1698806231IN
0xcc849d22...315370cd7
0 ETH0.0014916214.05718936
Place Bet184387242023-10-27 3:00:35388 days ago1698375635IN
0xcc849d22...315370cd7
0 ETH0.0055935115.76491551
Place Bet184333852023-10-26 9:04:47389 days ago1698311087IN
0xcc849d22...315370cd7
0 ETH0.0060543420.71625672
Claim Winnings184164052023-10-23 23:59:47391 days ago1698105587IN
0xcc849d22...315370cd7
0 ETH0.0009034931.6261423
Place Bet184144232023-10-23 17:21:35391 days ago1698081695IN
0xcc849d22...315370cd7
0 ETH0.0160845641.75034211
Update Deadline184142252023-10-23 16:41:11391 days ago1698079271IN
0xcc849d22...315370cd7
0 ETH0.0010659832.5680119
Claim Winnings184078002023-10-22 19:05:23392 days ago1698001523IN
0xcc849d22...315370cd7
0 ETH0.0004784618.20239016
Claim Winnings184077942023-10-22 19:04:11392 days ago1698001451IN
0xcc849d22...315370cd7
0 ETH0.0003983213.93714899
Place Bet184077842023-10-22 19:01:59392 days ago1698001319IN
0xcc849d22...315370cd7
0 ETH0.0046330713.69249104
Claim Winnings184006962023-10-21 19:13:47393 days ago1697915627IN
0xcc849d22...315370cd7
0 ETH0.0003712412.99506047
Claim Winnings183975242023-10-21 8:34:23394 days ago1697877263IN
0xcc849d22...315370cd7
0 ETH0.00022037.71174045
Claim Winnings183930852023-10-20 17:40:59394 days ago1697823659IN
0xcc849d22...315370cd7
0 ETH0.0003966213.8776681
Place Bet183908322023-10-20 10:06:23395 days ago1697796383IN
0xcc849d22...315370cd7
0 ETH0.0032344910.20501706
Create Pool183846702023-10-19 13:27:59396 days ago1697722079IN
0xcc849d22...315370cd7
0 ETH0.0015900613.29600284
Place Bet183846362023-10-19 13:21:11396 days ago1697721671IN
0xcc849d22...315370cd7
0 ETH0.0041517112.09794559
Place Bet183711572023-10-17 16:02:23398 days ago1697558543IN
0xcc849d22...315370cd7
0 ETH0.0067945321.59792534
Claim Winnings183665522023-10-17 0:34:47398 days ago1697502887IN
0xcc849d22...315370cd7
0 ETH0.001510496.80375049
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:
BetETFPools

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-10-09
*/

// bet.etf.live

pragma solidity 0.8.21;

// SPDX-License-Identifier: Unlicensed

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }
}

library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value)
        private
        view
        returns (bool)
    {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index)
        private
        view
        returns (bytes32)
    {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value)
        internal
        returns (bool)
    {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index)
        internal
        view
        returns (bytes32)
    {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set)
        internal
        view
        returns (bytes32[] memory)
    {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index)
        internal
        view
        returns (address)
    {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set)
        internal
        view
        returns (address[] memory)
    {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index)
        internal
        view
        returns (uint256)
    {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set)
        internal
        view
        returns (uint256[] memory)
    {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

interface IERC20 {
    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    function decimals() external view returns (uint8);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

abstract contract ReentrancyGuard {
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;
    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    modifier nonReentrant() {
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
        _status = _ENTERED;
        _;
        _status = _NOT_ENTERED;
    }
}

contract Ownable is Context {
    address private _owner;

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

    constructor() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() external virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

contract BetETFPools is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableSet for EnumerableSet.Bytes32Set;
    using EnumerableSet for EnumerableSet.AddressSet;

    address public betToken; // $ETF to be used for betting
    address public bonusToken; // bonus rewards token (ETH/ETF LP)

    EnumerableSet.UintSet private activeBets;
    EnumerableSet.UintSet private settledBets;
    mapping(address => uint256) public amountWonByAccount;
    mapping(address => EnumerableSet.UintSet) private accountBetsPending;
    mapping(uint256 => BetInfo) private betInformation;

    address public feeReceiver;
    uint256 public feePercent = 420; // accounting for 4.2% transfer tax, to be removed at later date

    uint256 public totalPaidOut;

    struct Player {
        uint256 outcomeSelected;
        uint256 amountBet;
    }

    struct BetInfo {
        string description;
        uint256 deadline;
        uint256 outcomeABets;
        uint256 outcomeBBets;
        mapping(address => Player) players;
        uint256 totalPayout;
        uint256 outcome;
        bool active;
    }

    event BetCreated(
        uint256 indexed betId,
        uint256 indexed deadline
    );

    event PlayerBet(
        uint256 indexed betId,
        address indexed walletAddress,
        uint256 indexed outcome,
        uint256 amount
    );

    event DeadlineUpdated(
        uint256 indexed betID,
        uint256 indexed deadline
    );

    event BetSettled(
        uint256 indexed betId,
        uint256 indexed outcome
    );

    event PaidOutTokens(address token, address indexed player, uint256 amount);

    constructor() {
        feeReceiver = msg.sender;
    }

    function setFeeReceiver(address _feeReceiver) external onlyOwner {
        feeReceiver = _feeReceiver;
    }
    
    function setBetToken(address _betToken) external onlyOwner {
        betToken = _betToken;
    }
    function setBonusToken(address _bonusToken) external onlyOwner {
        bonusToken = _bonusToken;
    }

    function setFee(uint256 newFee) external onlyOwner {
        require(newFee < 1000, "Cannot be more than 10%");
        feePercent = newFee;
    }

    function placeBet(uint256 betId, uint256 outcomeSelection, uint256 amount) external nonReentrant {
        require(msg.sender == tx.origin, "Contracts cannot play");
        require(IERC20(betToken).balanceOf(msg.sender) >= amount, "You don't have enough tokens");
        BetInfo storage betInfo = betInformation[betId];
        require(amount >= 0 ether, "Cannot bet 0");
        require(
            betInfo.deadline > block.timestamp,
            "betting closed"
        );
        Player storage player = betInfo.players[msg.sender];
        require(
            player.outcomeSelected == 0,
            "Can only bet once per pool"
        );
        require(
            outcomeSelection <= 2 && outcomeSelection != 0,
            "Can only select outcome 1 or 2"
        );
 
        uint256 amountForBet = amount;

        // handle fees
        if (feePercent > 0) {
            uint256 amountForFee = (amount * feePercent) / 10000;
            IERC20(betToken).transferFrom(msg.sender, feeReceiver, amountForFee);
            amountForBet -= amountForFee;
        }

        IERC20(betToken).transferFrom(msg.sender, address(this), amountForBet);

        player.outcomeSelected = outcomeSelection;
        player.amountBet = amountForBet;
        accountBetsPending[msg.sender].add(betId);
        betInfo.totalPayout += amountForBet;

        if (outcomeSelection == 1) {
            betInfo.outcomeABets += amountForBet;
        } else if (outcomeSelection == 2) {
            betInfo.outcomeBBets += amountForBet;
        }
        emit PlayerBet(betId, msg.sender, outcomeSelection, amountForBet);
    }

    function createPool(
        uint256 betId, 
        uint256 deadline
        ) external onlyOwner {
        require(!activeBets.contains(betId), "pool already created");
        require(deadline > block.timestamp, "deadline must be in future");
        activeBets.add(betId);
        BetInfo storage betInfo = betInformation[betId];
        betInfo.active = true;
        betInfo.deadline = deadline;
        emit BetCreated(betId, deadline);
    }

    function updateDeadline(uint256 betId, uint256 newDeadline) external onlyOwner {
        require(activeBets.contains(betId), "not an active pool");
        require(newDeadline > block.timestamp, "deadline must be in future");       
        BetInfo storage betInfo = betInformation[betId];

        betInfo.deadline = newDeadline;
        emit DeadlineUpdated(betId, newDeadline);
    }

    function setOutcome(uint256 betId, uint256 outcome) external onlyOwner {
        BetInfo storage betInfo = betInformation[betId];
        require(activeBets.contains(betId), "outcome already set");
        require(
            outcome <= 3 && outcome != 0,
            "Can only select outcome A or B, or cancelled"
        );

        betInfo.outcome = outcome;

        uint256 shares;
        if (betInfo.outcome == 1) {
            shares = betInfo.outcomeABets;
        } else if (betInfo.outcome == 2) {
            shares = betInfo.outcomeBBets;
        } else if (betInfo.outcome == 3) {
            shares = betInfo.totalPayout;
        }

        activeBets.remove(betId);
        settledBets.add(betId);
        betInfo.active = false;
        emit BetSettled(betId, outcome);
    }

    function claimWinnings(uint256 betId) external nonReentrant {
        require(msg.sender == tx.origin, "Contracts cannot play");
        BetInfo storage betInfo = betInformation[betId];
        Player storage player = betInfo.players[msg.sender];
        if (
            settledBets.contains(betId) &&
            accountBetsPending[msg.sender].contains(betId)
        ) {
            accountBetsPending[msg.sender].remove(betId);

            if (player.outcomeSelected == betInfo.outcome) {
                uint256 shares;
                if (betInfo.outcome == 1) {
                    shares = betInfo.outcomeABets;
                } else if (betInfo.outcome == 2) {
                    shares = betInfo.outcomeBBets;
                } 
                uint256 amountForPayout = (player.amountBet *
                    betInfo.totalPayout) / shares;
                
                if (amountForPayout > 0) {
                    IERC20(betToken).transfer(msg.sender, amountForPayout);
                    amountWonByAccount[msg.sender] += amountForPayout;
                    totalPaidOut = totalPaidOut.add(amountForPayout);
                    emit PaidOutTokens(betToken, msg.sender, amountForPayout);
                    uint256 bonusRewardsBalance = IERC20(bonusToken).balanceOf(address(this));
                    if (bonusRewardsBalance > 0) {
                        uint256 bonusShares = (amountForPayout * bonusRewardsBalance) / betInfo.totalPayout;
                        IERC20(bonusToken).transfer(msg.sender, bonusShares);
                    }
                }

            } else if (betInfo.outcome == 3 && player.amountBet > 0) {
                IERC20(betToken).transfer(msg.sender, player.amountBet);
                amountWonByAccount[msg.sender] += player.amountBet;
            }
        }   
    }

    function getAmountClaimableByBetId(uint256 betId, address account) public view returns (uint256) {
        BetInfo storage betInfo = betInformation[betId];
        Player storage player = betInfo.players[account];
        uint256 amountForPayout;
        if (
            settledBets.contains(betId) &&
            accountBetsPending[account].contains(betId)
        ) {
            uint256 shares;

            if (player.outcomeSelected == betInfo.outcome) {

                if (betInfo.outcome == 1) {
                    shares = betInfo.outcomeABets;
                } else if (betInfo.outcome == 2) {
                    shares = betInfo.outcomeBBets;
                amountForPayout = (player.amountBet *
                    betInfo.totalPayout) / shares;
                }
            } else if (betInfo.outcome == 3) {
                amountForPayout = player.amountBet;
            }
        }
        return amountForPayout;
    }

    function getAmountTotalClaimable(address account) public view returns (uint256) {
        uint256[] memory betIds = accountBetsPending[account].values();
        uint256 amountForPayout;
        for (uint256 i = 0; i < betIds.length; i++) {
            BetInfo storage betInfo = betInformation[betIds[i]];
            Player storage player = betInfo.players[account];
            if (
                settledBets.contains(betIds[i]) &&
                accountBetsPending[account].contains(betIds[i])
            ) {
                uint256 shares;

                if (betInfo.outcome == 1) {
                    shares = betInfo.outcomeABets;
                } else if (betInfo.outcome == 2) {
                    shares = betInfo.outcomeBBets;
                } 
                if (player.outcomeSelected == betInfo.outcome) {
                    amountForPayout +=
                        (player.amountBet * betInfo.totalPayout) /
                        shares;
                } else if (betInfo.outcome == 3) {
                    amountForPayout += player.amountBet;
                }
            }
        }
        return amountForPayout;
    }

    function getBetInfo(uint256 betId)
        external
        view
        returns (
            uint256 deadline,
            uint256 outcomeA,
            uint256 outcomeB,
            uint256 totalPayout,
            bool active,
            uint256 outcome
        )
    {
        BetInfo storage betInfo = betInformation[betId];

        deadline = betInfo.deadline;
        outcomeA = betInfo.outcomeABets;
        outcomeB = betInfo.outcomeBBets;
        totalPayout = betInfo.totalPayout;
        active = betInfo.active;
        outcome = betInfo.outcome;
    }

    function getPlayerInfoByBetId(uint256 betId, address account)
        external
        view
        returns (uint256 amountBet, uint256 outcomeSelected)
    {
        BetInfo storage betInfo = betInformation[betId];
        Player storage player = betInfo.players[account];
        amountBet = player.amountBet;
        outcomeSelected = player.outcomeSelected;
    }

    function getActiveBets() external view returns (uint256[] memory) {
        return activeBets.values();
    }

    function getInactiveBets() external view returns (uint256[] memory) {
        return settledBets.values();
    }

    function getAccountBetsPending(address account)
        external
        view
        returns (uint256[] memory)
    {
        return accountBetsPending[account].values();
    }

    function withdrawStuckTokens(uint256 amountToWithdraw, address tokenAddress) external onlyOwner {
        IERC20(tokenAddress).transfer(msg.sender, amountToWithdraw);
    }

    function withdrawEth() external onlyOwner {
        uint256 ethBalance = address(this).balance;
        if (ethBalance > 0) {
        payable(msg.sender).transfer(ethBalance);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"betId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"BetCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"betId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"outcome","type":"uint256"}],"name":"BetSettled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"betID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"DeadlineUpdated","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":false,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaidOutTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"betId","type":"uint256"},{"indexed":true,"internalType":"address","name":"walletAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"outcome","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PlayerBet","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountWonByAccount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"betToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"betId","type":"uint256"}],"name":"claimWinnings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"betId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"createPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountBetsPending","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActiveBets","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"betId","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"getAmountClaimableByBetId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAmountTotalClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"betId","type":"uint256"}],"name":"getBetInfo","outputs":[{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"outcomeA","type":"uint256"},{"internalType":"uint256","name":"outcomeB","type":"uint256"},{"internalType":"uint256","name":"totalPayout","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"outcome","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInactiveBets","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"betId","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"getPlayerInfoByBetId","outputs":[{"internalType":"uint256","name":"amountBet","type":"uint256"},{"internalType":"uint256","name":"outcomeSelected","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"betId","type":"uint256"},{"internalType":"uint256","name":"outcomeSelection","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"placeBet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_betToken","type":"address"}],"name":"setBetToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bonusToken","type":"address"}],"name":"setBonusToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeReceiver","type":"address"}],"name":"setFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"betId","type":"uint256"},{"internalType":"uint256","name":"outcome","type":"uint256"}],"name":"setOutcome","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalPaidOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"betId","type":"uint256"},{"internalType":"uint256","name":"newDeadline","type":"uint256"}],"name":"updateDeadline","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToWithdraw","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526101a4600c55348015610015575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600b80546001600160a01b03191633179055611b90806100795f395ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80638da5cb5b116100f3578063b3f0067411610093578063dd9656521161006e578063dd96565214610404578063e71c969714610417578063efdcd9741461042a578063f2fde38b1461043d575f80fd5b8063b3f00674146103ca578063be83851b146103dd578063d62219df146103fc575f80fd5b8063a5fcce9e116100ce578063a5fcce9e1461037c578063ada730201461038f578063b19968f3146103a4578063b2eaeaaa146103b7575f80fd5b80638da5cb5b1461035157806390fae54e14610361578063a0ef91df14610374575f80fd5b806374a110c21161015e5780637fd6f15c116101395780637fd6f15c1461030f578063843ddc0b14610318578063899b184f1461032b5780638d23ea8c1461033e575f80fd5b806374a110c21461027057806378691f161461028357806379141f8014610296575f80fd5b80630f2996a3146101a55780631357e1dc146101fe57806341d4a1ab14610215578063677bd9ff1461024057806369fe0e2d14610255578063715018a614610268575b5f80fd5b6101e46101b3366004611959565b5f918252600a602090815260408084206001600160a01b039093168452600490920190529020600181015490549091565b604080519283526020830191909152015b60405180910390f35b610207600d5481565b6040519081526020016101f5565b600354610228906001600160a01b031681565b6040516001600160a01b0390911681526020016101f5565b61025361024e366004611983565b610450565b005b610253610263366004611983565b610878565b6102536108f7565b61025361027e36600461199a565b610968565b600254610228906001600160a01b031681565b6102e06102a4366004611983565b5f908152600a6020526040902060018101546002820154600383015460058401546007850154600690950154939592949193909260ff90921691565b6040805196875260208701959095529385019290925260608401521515608083015260a082015260c0016101f5565b610207600c5481565b6102536103263660046119ba565b610a90565b61025361033936600461199a565b610adb565b61025361034c36600461199a565b610be4565b5f546001600160a01b0316610228565b61020761036f366004611959565b610d74565b610253610e52565b61020761038a3660046119ba565b610eb1565b610397611061565b6040516101f591906119d3565b6103976103b23660046119ba565b611072565b6102536103c53660046119ba565b611095565b600b54610228906001600160a01b031681565b6102076103eb3660046119ba565b60086020525f908152604090205481565b6103976110e0565b610253610412366004611959565b6110ec565b610253610425366004611a16565b611188565b6102536104383660046119ba565b6115ea565b61025361044b3660046119ba565b611635565b6002600154036104a75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001553332146104f35760405162461bcd60e51b8152602060048201526015602482015274436f6e7472616374732063616e6e6f7420706c617960581b604482015260640161049e565b5f818152600a602090815260408083203384526004810190925290912061051b60068461171c565b801561053a5750335f90815260096020526040902061053a908461171c565b1561086f57335f9081526009602052604090206105579084611736565b5060068201548154036107b1575f826006015460010361057c5750600282015461058f565b826006015460020361058f575060038201545b5f81846005015484600101546105a59190611a53565b6105af9190611a6a565b905080156107aa5760025460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303815f875af1158015610605573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106299190611a89565b50335f9081526008602052604081208054839290610648908490611aa8565b9091555050600d5461065a9082611741565b600d55600254604080516001600160a01b0390921682526020820183905233917f0ad9c11177790fc422adc9a9b14e3fec72e6c13784eda25bfa59678067216de8910160405180910390a26003546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa1580156106eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070f9190611abb565b905080156107a85760058501545f906107288385611a53565b6107329190611a6a565b60035460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303815f875af1158015610781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190611a89565b50505b505b505061086f565b816006015460031480156107c857505f8160010154115b1561086f57600254600182015460405163a9059cbb60e01b815233600482015260248101919091526001600160a01b039091169063a9059cbb906044016020604051808303815f875af1158015610821573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108459190611a89565b506001810154335f9081526008602052604081208054909190610869908490611aa8565b90915550505b50506001805550565b5f546001600160a01b031633146108a15760405162461bcd60e51b815260040161049e90611ad2565b6103e881106108f25760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206265206d6f7265207468616e20313025000000000000000000604482015260640161049e565b600c55565b5f546001600160a01b031633146109205760405162461bcd60e51b815260040161049e90611ad2565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146109915760405162461bcd60e51b815260040161049e90611ad2565b61099c60048361171c565b156109e05760405162461bcd60e51b81526020600482015260146024820152731c1bdbdb08185b1c9958591e4818dc99585d195960621b604482015260640161049e565b428111610a2f5760405162461bcd60e51b815260206004820152601a60248201527f646561646c696e65206d75737420626520696e20667574757265000000000000604482015260640161049e565b610a3a60048361179f565b505f828152600a602052604080822060078101805460ff19166001908117909155810184905590519091839185917fda3c2e966e34a0c131de5c0e7543c1af457a450d2b7bf7fd63a44b4ea7814acf91a3505050565b5f546001600160a01b03163314610ab95760405162461bcd60e51b815260040161049e90611ad2565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314610b045760405162461bcd60e51b815260040161049e90611ad2565b610b0f60048361171c565b610b505760405162461bcd60e51b81526020600482015260126024820152711b9bdd08185b881858dd1a5d99481c1bdbdb60721b604482015260640161049e565b428111610b9f5760405162461bcd60e51b815260206004820152601a60248201527f646561646c696e65206d75737420626520696e20667574757265000000000000604482015260640161049e565b5f828152600a60205260408082206001810184905590519091839185917fbfb1e20570acd6db936dc28292a9db9de145f981e96fcc1d2687595396f30f3d91a3505050565b5f546001600160a01b03163314610c0d5760405162461bcd60e51b815260040161049e90611ad2565b5f828152600a60205260409020610c2560048461171c565b610c675760405162461bcd60e51b81526020600482015260136024820152721bdd5d18dbdb5948185b1c9958591e481cd95d606a1b604482015260640161049e565b60038211158015610c7757508115155b610cd85760405162461bcd60e51b815260206004820152602c60248201527f43616e206f6e6c792073656c656374206f7574636f6d652041206f7220422c2060448201526b1bdc8818d85b98d95b1b195960a21b606482015260840161049e565b600681018290555f6001839003610cf457506002810154610d1e565b8160060154600203610d0b57506003810154610d1e565b8160060154600303610d1e575060058101545b610d29600485611736565b50610d3560068561179f565b5060078201805460ff19169055604051839085907f209446440b3bc7b90cab90b2b8095e5f368dbec807cfbc01354237a11b45c636905f90a350505050565b5f828152600a602090815260408083206001600160a01b038516845260048101909252822082610da560068761171c565b8015610dcd57506001600160a01b0385165f908152600960205260409020610dcd908761171c565b15610e47575f8360060154835f015403610e31578360060154600103610df857506002830154610e45565b8360060154600203610e2c57506003830154600584015460018401548291610e1f91611a53565b610e299190611a6a565b91505b610e45565b8360060154600303610e4557826001015491505b505b925050505b92915050565b5f546001600160a01b03163314610e7b5760405162461bcd60e51b815260040161049e90611ad2565b478015610eae57604051339082156108fc029083905f818181858888f19350505050158015610eac573d5f803e3d5ffd5b505b50565b6001600160a01b0381165f9081526009602052604081208190610ed3906117aa565b90505f805b8251811015611059575f600a5f858481518110610ef757610ef7611b07565b602002602001015181526020019081526020015f2090505f816004015f886001600160a01b03166001600160a01b031681526020019081526020015f209050610f63858481518110610f4b57610f4b611b07565b6020026020010151600661171c90919063ffffffff16565b8015610fb85750610fb8858481518110610f7f57610f7f611b07565b602002602001015160095f8a6001600160a01b03166001600160a01b031681526020019081526020015f2061171c90919063ffffffff16565b15611044575f8260060154600103610fd557506002820154610fe8565b8260060154600203610fe8575060038201545b60068301548254036110245780836005015483600101546110099190611a53565b6110139190611a6a565b61101d9086611aa8565b9450611042565b826006015460030361104257600182015461103f9086611aa8565b94505b505b5050808061105190611b1b565b915050610ed8565b509392505050565b606061106d60046117aa565b905090565b6001600160a01b0381165f908152600960205260409020606090610e4c906117aa565b5f546001600160a01b031633146110be5760405162461bcd60e51b815260040161049e90611ad2565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b606061106d60066117aa565b5f546001600160a01b031633146111155760405162461bcd60e51b815260040161049e90611ad2565b60405163a9059cbb60e01b8152336004820152602481018390526001600160a01b0382169063a9059cbb906044016020604051808303815f875af115801561115f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111839190611a89565b505050565b6002600154036111da5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161049e565b60026001553332146112265760405162461bcd60e51b8152602060048201526015602482015274436f6e7472616374732063616e6e6f7420706c617960581b604482015260640161049e565b6002546040516370a0823160e01b815233600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa15801561126c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112909190611abb565b10156112de5760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f75676820746f6b656e7300000000604482015260640161049e565b5f838152600a602052604090204281600101541161132f5760405162461bcd60e51b815260206004820152600e60248201526d18995d1d1a5b99c818db1bdcd95960921b604482015260640161049e565b335f908152600482016020526040902080541561138e5760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c7920626574206f6e63652070657220706f6f6c000000000000604482015260640161049e565b6002841115801561139e57508315155b6113ea5760405162461bcd60e51b815260206004820152601e60248201527f43616e206f6e6c792073656c656374206f7574636f6d652031206f7220320000604482015260640161049e565b600c5483901561149d575f612710600c54866114069190611a53565b6114109190611a6a565b600254600b546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905292935016906323b872dd906064016020604051808303815f875af115801561146a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148e9190611a89565b506114998183611b33565b9150505b6002546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303815f875af11580156114f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115159190611a89565b5084825560018201819055335f908152600960205260409020611538908761179f565b5080836005015f82825461154c9190611aa8565b909155505060018590036115785780836002015f82825461156d9190611aa8565b909155506115999050565b846002036115995780836003015f8282546115939190611aa8565b90915550505b84336001600160a01b0316877fa3487f3cd2981d0c0f9fabd3df366534761f72ecdbcbce1fbbe20c61b0d3b4f6846040516115d691815260200190565b60405180910390a450506001805550505050565b5f546001600160a01b031633146116135760405162461bcd60e51b815260040161049e90611ad2565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b0316331461165e5760405162461bcd60e51b815260040161049e90611ad2565b6001600160a01b0381166116c35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161049e565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f81815260018301602052604081205415155b9392505050565b5f61172f83836117b6565b5f8061174d8385611aa8565b90508381101561172f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161049e565b5f61172f8383611899565b60605f61172f836118e5565b5f8181526001830160205260408120548015611890575f6117d8600183611b33565b85549091505f906117eb90600190611b33565b905081811461184a575f865f01828154811061180957611809611b07565b905f5260205f200154905080875f01848154811061182957611829611b07565b5f918252602080832090910192909255918252600188019052604090208390555b855486908061185b5761185b611b46565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610e4c565b5f915050610e4c565b5f8181526001830160205260408120546118de57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610e4c565b505f610e4c565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561193257602002820191905f5260205f20905b81548152602001906001019080831161191e575b50505050509050919050565b80356001600160a01b0381168114611954575f80fd5b919050565b5f806040838503121561196a575f80fd5b8235915061197a6020840161193e565b90509250929050565b5f60208284031215611993575f80fd5b5035919050565b5f80604083850312156119ab575f80fd5b50508035926020909101359150565b5f602082840312156119ca575f80fd5b61172f8261193e565b602080825282518282018190525f9190848201906040850190845b81811015611a0a578351835292840192918401916001016119ee565b50909695505050505050565b5f805f60608486031215611a28575f80fd5b505081359360208301359350604090920135919050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610e4c57610e4c611a3f565b5f82611a8457634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215611a99575f80fd5b8151801515811461172f575f80fd5b80820180821115610e4c57610e4c611a3f565b5f60208284031215611acb575f80fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611b2c57611b2c611a3f565b5060010190565b81810381811115610e4c57610e4c611a3f565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220464645bc9f5798a25ed5cd467370a5d89774e81552b2e04c7604a17e294654e464736f6c63430008150033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80638da5cb5b116100f3578063b3f0067411610093578063dd9656521161006e578063dd96565214610404578063e71c969714610417578063efdcd9741461042a578063f2fde38b1461043d575f80fd5b8063b3f00674146103ca578063be83851b146103dd578063d62219df146103fc575f80fd5b8063a5fcce9e116100ce578063a5fcce9e1461037c578063ada730201461038f578063b19968f3146103a4578063b2eaeaaa146103b7575f80fd5b80638da5cb5b1461035157806390fae54e14610361578063a0ef91df14610374575f80fd5b806374a110c21161015e5780637fd6f15c116101395780637fd6f15c1461030f578063843ddc0b14610318578063899b184f1461032b5780638d23ea8c1461033e575f80fd5b806374a110c21461027057806378691f161461028357806379141f8014610296575f80fd5b80630f2996a3146101a55780631357e1dc146101fe57806341d4a1ab14610215578063677bd9ff1461024057806369fe0e2d14610255578063715018a614610268575b5f80fd5b6101e46101b3366004611959565b5f918252600a602090815260408084206001600160a01b039093168452600490920190529020600181015490549091565b604080519283526020830191909152015b60405180910390f35b610207600d5481565b6040519081526020016101f5565b600354610228906001600160a01b031681565b6040516001600160a01b0390911681526020016101f5565b61025361024e366004611983565b610450565b005b610253610263366004611983565b610878565b6102536108f7565b61025361027e36600461199a565b610968565b600254610228906001600160a01b031681565b6102e06102a4366004611983565b5f908152600a6020526040902060018101546002820154600383015460058401546007850154600690950154939592949193909260ff90921691565b6040805196875260208701959095529385019290925260608401521515608083015260a082015260c0016101f5565b610207600c5481565b6102536103263660046119ba565b610a90565b61025361033936600461199a565b610adb565b61025361034c36600461199a565b610be4565b5f546001600160a01b0316610228565b61020761036f366004611959565b610d74565b610253610e52565b61020761038a3660046119ba565b610eb1565b610397611061565b6040516101f591906119d3565b6103976103b23660046119ba565b611072565b6102536103c53660046119ba565b611095565b600b54610228906001600160a01b031681565b6102076103eb3660046119ba565b60086020525f908152604090205481565b6103976110e0565b610253610412366004611959565b6110ec565b610253610425366004611a16565b611188565b6102536104383660046119ba565b6115ea565b61025361044b3660046119ba565b611635565b6002600154036104a75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001553332146104f35760405162461bcd60e51b8152602060048201526015602482015274436f6e7472616374732063616e6e6f7420706c617960581b604482015260640161049e565b5f818152600a602090815260408083203384526004810190925290912061051b60068461171c565b801561053a5750335f90815260096020526040902061053a908461171c565b1561086f57335f9081526009602052604090206105579084611736565b5060068201548154036107b1575f826006015460010361057c5750600282015461058f565b826006015460020361058f575060038201545b5f81846005015484600101546105a59190611a53565b6105af9190611a6a565b905080156107aa5760025460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303815f875af1158015610605573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106299190611a89565b50335f9081526008602052604081208054839290610648908490611aa8565b9091555050600d5461065a9082611741565b600d55600254604080516001600160a01b0390921682526020820183905233917f0ad9c11177790fc422adc9a9b14e3fec72e6c13784eda25bfa59678067216de8910160405180910390a26003546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa1580156106eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070f9190611abb565b905080156107a85760058501545f906107288385611a53565b6107329190611a6a565b60035460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303815f875af1158015610781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190611a89565b50505b505b505061086f565b816006015460031480156107c857505f8160010154115b1561086f57600254600182015460405163a9059cbb60e01b815233600482015260248101919091526001600160a01b039091169063a9059cbb906044016020604051808303815f875af1158015610821573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108459190611a89565b506001810154335f9081526008602052604081208054909190610869908490611aa8565b90915550505b50506001805550565b5f546001600160a01b031633146108a15760405162461bcd60e51b815260040161049e90611ad2565b6103e881106108f25760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206265206d6f7265207468616e20313025000000000000000000604482015260640161049e565b600c55565b5f546001600160a01b031633146109205760405162461bcd60e51b815260040161049e90611ad2565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146109915760405162461bcd60e51b815260040161049e90611ad2565b61099c60048361171c565b156109e05760405162461bcd60e51b81526020600482015260146024820152731c1bdbdb08185b1c9958591e4818dc99585d195960621b604482015260640161049e565b428111610a2f5760405162461bcd60e51b815260206004820152601a60248201527f646561646c696e65206d75737420626520696e20667574757265000000000000604482015260640161049e565b610a3a60048361179f565b505f828152600a602052604080822060078101805460ff19166001908117909155810184905590519091839185917fda3c2e966e34a0c131de5c0e7543c1af457a450d2b7bf7fd63a44b4ea7814acf91a3505050565b5f546001600160a01b03163314610ab95760405162461bcd60e51b815260040161049e90611ad2565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314610b045760405162461bcd60e51b815260040161049e90611ad2565b610b0f60048361171c565b610b505760405162461bcd60e51b81526020600482015260126024820152711b9bdd08185b881858dd1a5d99481c1bdbdb60721b604482015260640161049e565b428111610b9f5760405162461bcd60e51b815260206004820152601a60248201527f646561646c696e65206d75737420626520696e20667574757265000000000000604482015260640161049e565b5f828152600a60205260408082206001810184905590519091839185917fbfb1e20570acd6db936dc28292a9db9de145f981e96fcc1d2687595396f30f3d91a3505050565b5f546001600160a01b03163314610c0d5760405162461bcd60e51b815260040161049e90611ad2565b5f828152600a60205260409020610c2560048461171c565b610c675760405162461bcd60e51b81526020600482015260136024820152721bdd5d18dbdb5948185b1c9958591e481cd95d606a1b604482015260640161049e565b60038211158015610c7757508115155b610cd85760405162461bcd60e51b815260206004820152602c60248201527f43616e206f6e6c792073656c656374206f7574636f6d652041206f7220422c2060448201526b1bdc8818d85b98d95b1b195960a21b606482015260840161049e565b600681018290555f6001839003610cf457506002810154610d1e565b8160060154600203610d0b57506003810154610d1e565b8160060154600303610d1e575060058101545b610d29600485611736565b50610d3560068561179f565b5060078201805460ff19169055604051839085907f209446440b3bc7b90cab90b2b8095e5f368dbec807cfbc01354237a11b45c636905f90a350505050565b5f828152600a602090815260408083206001600160a01b038516845260048101909252822082610da560068761171c565b8015610dcd57506001600160a01b0385165f908152600960205260409020610dcd908761171c565b15610e47575f8360060154835f015403610e31578360060154600103610df857506002830154610e45565b8360060154600203610e2c57506003830154600584015460018401548291610e1f91611a53565b610e299190611a6a565b91505b610e45565b8360060154600303610e4557826001015491505b505b925050505b92915050565b5f546001600160a01b03163314610e7b5760405162461bcd60e51b815260040161049e90611ad2565b478015610eae57604051339082156108fc029083905f818181858888f19350505050158015610eac573d5f803e3d5ffd5b505b50565b6001600160a01b0381165f9081526009602052604081208190610ed3906117aa565b90505f805b8251811015611059575f600a5f858481518110610ef757610ef7611b07565b602002602001015181526020019081526020015f2090505f816004015f886001600160a01b03166001600160a01b031681526020019081526020015f209050610f63858481518110610f4b57610f4b611b07565b6020026020010151600661171c90919063ffffffff16565b8015610fb85750610fb8858481518110610f7f57610f7f611b07565b602002602001015160095f8a6001600160a01b03166001600160a01b031681526020019081526020015f2061171c90919063ffffffff16565b15611044575f8260060154600103610fd557506002820154610fe8565b8260060154600203610fe8575060038201545b60068301548254036110245780836005015483600101546110099190611a53565b6110139190611a6a565b61101d9086611aa8565b9450611042565b826006015460030361104257600182015461103f9086611aa8565b94505b505b5050808061105190611b1b565b915050610ed8565b509392505050565b606061106d60046117aa565b905090565b6001600160a01b0381165f908152600960205260409020606090610e4c906117aa565b5f546001600160a01b031633146110be5760405162461bcd60e51b815260040161049e90611ad2565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b606061106d60066117aa565b5f546001600160a01b031633146111155760405162461bcd60e51b815260040161049e90611ad2565b60405163a9059cbb60e01b8152336004820152602481018390526001600160a01b0382169063a9059cbb906044016020604051808303815f875af115801561115f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111839190611a89565b505050565b6002600154036111da5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161049e565b60026001553332146112265760405162461bcd60e51b8152602060048201526015602482015274436f6e7472616374732063616e6e6f7420706c617960581b604482015260640161049e565b6002546040516370a0823160e01b815233600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa15801561126c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112909190611abb565b10156112de5760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f75676820746f6b656e7300000000604482015260640161049e565b5f838152600a602052604090204281600101541161132f5760405162461bcd60e51b815260206004820152600e60248201526d18995d1d1a5b99c818db1bdcd95960921b604482015260640161049e565b335f908152600482016020526040902080541561138e5760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c7920626574206f6e63652070657220706f6f6c000000000000604482015260640161049e565b6002841115801561139e57508315155b6113ea5760405162461bcd60e51b815260206004820152601e60248201527f43616e206f6e6c792073656c656374206f7574636f6d652031206f7220320000604482015260640161049e565b600c5483901561149d575f612710600c54866114069190611a53565b6114109190611a6a565b600254600b546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905292935016906323b872dd906064016020604051808303815f875af115801561146a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148e9190611a89565b506114998183611b33565b9150505b6002546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303815f875af11580156114f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115159190611a89565b5084825560018201819055335f908152600960205260409020611538908761179f565b5080836005015f82825461154c9190611aa8565b909155505060018590036115785780836002015f82825461156d9190611aa8565b909155506115999050565b846002036115995780836003015f8282546115939190611aa8565b90915550505b84336001600160a01b0316877fa3487f3cd2981d0c0f9fabd3df366534761f72ecdbcbce1fbbe20c61b0d3b4f6846040516115d691815260200190565b60405180910390a450506001805550505050565b5f546001600160a01b031633146116135760405162461bcd60e51b815260040161049e90611ad2565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b0316331461165e5760405162461bcd60e51b815260040161049e90611ad2565b6001600160a01b0381166116c35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161049e565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f81815260018301602052604081205415155b9392505050565b5f61172f83836117b6565b5f8061174d8385611aa8565b90508381101561172f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161049e565b5f61172f8383611899565b60605f61172f836118e5565b5f8181526001830160205260408120548015611890575f6117d8600183611b33565b85549091505f906117eb90600190611b33565b905081811461184a575f865f01828154811061180957611809611b07565b905f5260205f200154905080875f01848154811061182957611829611b07565b5f918252602080832090910192909255918252600188019052604090208390555b855486908061185b5761185b611b46565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610e4c565b5f915050610e4c565b5f8181526001830160205260408120546118de57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610e4c565b505f610e4c565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561193257602002820191905f5260205f20905b81548152602001906001019080831161191e575b50505050509050919050565b80356001600160a01b0381168114611954575f80fd5b919050565b5f806040838503121561196a575f80fd5b8235915061197a6020840161193e565b90509250929050565b5f60208284031215611993575f80fd5b5035919050565b5f80604083850312156119ab575f80fd5b50508035926020909101359150565b5f602082840312156119ca575f80fd5b61172f8261193e565b602080825282518282018190525f9190848201906040850190845b81811015611a0a578351835292840192918401916001016119ee565b50909695505050505050565b5f805f60608486031215611a28575f80fd5b505081359360208301359350604090920135919050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610e4c57610e4c611a3f565b5f82611a8457634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215611a99575f80fd5b8151801515811461172f575f80fd5b80820180821115610e4c57610e4c611a3f565b5f60208284031215611acb575f80fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611b2c57611b2c611a3f565b5060010190565b81810381811115610e4c57610e4c611a3f565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220464645bc9f5798a25ed5cd467370a5d89774e81552b2e04c7604a17e294654e464736f6c63430008150033

Deployed Bytecode Sourcemap

16222:11512:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26537:376;;;;;;:::i;:::-;26649:17;26735:21;;;:14;:21;;;;;;;;-1:-1:-1;;;;;26791:24:0;;;;;:15;;;;:24;;;;26838:16;;;;26883:22;;26838:16;;26537:376;;;;;625:25:1;;;681:2;666:18;;659:34;;;;598:18;26537:376:0;;;;;;;;17033:27;;;;;;;;;850:25:1;;;838:2;823:18;17033:27:0;704:177:1;16536:25:0;;;;;-1:-1:-1;;;;;16536:25:0;;;;;;-1:-1:-1;;;;;1050:32:1;;;1032:51;;1020:2;1005:18;16536:25:0;886:203:1;21903:1866:0;;;;;;:::i;:::-;;:::i;:::-;;18384:149;;;;;;:::i;:::-;;:::i;15776:150::-;;;:::i;20210:460::-;;;;;;:::i;:::-;;:::i;16475:23::-;;;;;-1:-1:-1;;;;;16475:23:0;;;25941:588;;;;;;:::i;:::-;26040:16;26262:21;;;:14;:21;;;;;26307:16;;;;26345:20;;;;26387;;;;26432:19;;;;26471:14;;;;26506:15;;;;;26307:16;;26345:20;;26387;;26432:19;;26471:14;;;;;25941:588;;;;;1813:25:1;;;1869:2;1854:18;;1847:34;;;;1897:18;;;1890:34;;;;1955:2;1940:18;;1933:34;2011:14;2004:22;1998:3;1983:19;;1976:51;2058:3;2043:19;;2036:35;1800:3;1785:19;25941:588:0;1532:545:1;16928:31:0;;;;;;18166:98;;;;;;:::i;:::-;;:::i;20678:393::-;;;;;;:::i;:::-;;:::i;21079:816::-;;;;;;:::i;:::-;;:::i;15562:79::-;15600:7;15627:6;-1:-1:-1;;;;;15627:6:0;15562:79;;23777:966;;;;;;:::i;:::-;;:::i;27535:196::-;;;:::i;24751:1182::-;;;;;;:::i;:::-;;:::i;26921:111::-;;;:::i;:::-;;;;;;;:::i;27162:183::-;;;;;;:::i;:::-;;:::i;18270:106::-;;;;;;:::i;:::-;;:::i;16895:26::-;;;;;-1:-1:-1;;;;;16895:26:0;;;16701:53;;;;;;:::i;:::-;;;;;;;;;;;;;;27040:114;;;:::i;27353:174::-;;;;;;:::i;:::-;;:::i;18541:1661::-;;;;;;:::i;:::-;;:::i;18044:110::-;;;;;;:::i;:::-;;:::i;15934:281::-;;;;;;:::i;:::-;;:::i;21903:1866::-;14928:1;15074:7;;:19;15066:63;;;;-1:-1:-1;;;15066:63:0;;3433:2:1;15066:63:0;;;3415:21:1;3472:2;3452:18;;;3445:30;3511:33;3491:18;;;3484:61;3562:18;;15066:63:0;;;;;;;;;14928:1;15140:7;:18;21982:10:::1;21996:9;21982:23;21974:57;;;::::0;-1:-1:-1;;;21974:57:0;;3793:2:1;21974:57:0::1;::::0;::::1;3775:21:1::0;3832:2;3812:18;;;3805:30;-1:-1:-1;;;3851:18:1;;;3844:51;3912:18;;21974:57:0::1;3591:345:1::0;21974:57:0::1;22042:23;22068:21:::0;;;:14:::1;:21;::::0;;;;;;;22140:10:::1;22124:27:::0;;:15:::1;::::0;::::1;:27:::0;;;;;;22180::::1;:11;22083:5:::0;22180:20:::1;:27::i;:::-;:90;;;;-1:-1:-1::0;22243:10:0::1;22224:30;::::0;;;:18:::1;:30;::::0;;;;:46:::1;::::0;22264:5;22224:39:::1;:46::i;:::-;22162:1597;;;22316:10;22297:30;::::0;;;:18:::1;:30;::::0;;;;:44:::1;::::0;22335:5;22297:37:::1;:44::i;:::-;-1:-1:-1::0;22388:15:0::1;::::0;::::1;::::0;22362:22;;:41;22358:1390:::1;;22424:14;22461:7;:15;;;22480:1;22461:20:::0;22457:202:::1;;-1:-1:-1::0;22515:20:0::1;::::0;::::1;::::0;22457:202:::1;;;22565:7;:15;;;22584:1;22565:20:::0;22561:98:::1;;-1:-1:-1::0;22619:20:0::1;::::0;::::1;::::0;22561:98:::1;22678:23;22768:6;22745:7;:19;;;22705:6;:16;;;:59;;;;:::i;:::-;22704:70;;;;:::i;:::-;22678:96:::0;-1:-1:-1;22815:19:0;;22811:705:::1;;22866:8;::::0;22859:54:::1;::::0;-1:-1:-1;;;22859:54:0;;22885:10:::1;22859:54;::::0;::::1;4642:51:1::0;4709:18;;;4702:34;;;-1:-1:-1;;;;;22866:8:0;;::::1;::::0;22859:25:::1;::::0;4615:18:1;;22859:54:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;22955:10:0::1;22936:30;::::0;;;:18:::1;:30;::::0;;;;:49;;22970:15;;22936:30;:49:::1;::::0;22970:15;;22936:49:::1;:::i;:::-;::::0;;;-1:-1:-1;;23023:12:0::1;::::0;:33:::1;::::0;23040:15;23023:16:::1;:33::i;:::-;23008:12;:48:::0;23098:8:::1;::::0;23084:52:::1;::::0;;-1:-1:-1;;;;;23098:8:0;;::::1;4642:51:1::0;;4724:2;4709:18;;4702:34;;;23108:10:0::1;::::0;23084:52:::1;::::0;4615:18:1;23084:52:0::1;;;;;;;23196:10;::::0;23189:43:::1;::::0;-1:-1:-1;;;23189:43:0;;23226:4:::1;23189:43;::::0;::::1;1032:51:1::0;23159:27:0::1;::::0;-1:-1:-1;;;;;23196:10:0::1;::::0;23189:28:::1;::::0;1005:18:1;;23189:43:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23159:73:::0;-1:-1:-1;23259:23:0;;23255:242:::1;;23375:19;::::0;::::1;::::0;23311::::1;::::0;23334:37:::1;23352:19:::0;23334:15;:37:::1;:::i;:::-;23333:61;;;;:::i;:::-;23428:10;::::0;23421:52:::1;::::0;-1:-1:-1;;;23421:52:0;;23449:10:::1;23421:52;::::0;::::1;4642:51:1::0;4709:18;;;4702:34;;;23311:83:0;;-1:-1:-1;;;;;;23428:10:0::1;::::0;23421:27:::1;::::0;4615:18:1;;23421:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23284:213;23255:242;22836:680;22811:705;22405:1128;;22358:1390;;;23543:7;:15;;;23562:1;23543:20;:44;;;;;23586:1;23567:6;:16;;;:20;23543:44;23539:209;;;23615:8;::::0;;23646:16;::::1;::::0;23608:55:::1;::::0;-1:-1:-1;;;23608:55:0;;23634:10:::1;23608:55;::::0;::::1;4642:51:1::0;4709:18;;;4702:34;;;;-1:-1:-1;;;;;23615:8:0;;::::1;::::0;23608:25:::1;::::0;4615:18:1;;23608:55:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;23716:16:0::1;::::0;::::1;::::0;23701:10:::1;23682:30;::::0;;;:18:::1;:30;::::0;;;;:50;;:30;;;:50:::1;::::0;23716:16;;23682:50:::1;:::i;:::-;::::0;;;-1:-1:-1;;23539:209:0::1;-1:-1:-1::0;;14884:1:0;15181:22;;-1:-1:-1;21903:1866:0:o;18384:149::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;18463:4:::1;18454:6;:13;18446:49;;;::::0;-1:-1:-1;;;18446:49:0;;5911:2:1;18446:49:0::1;::::0;::::1;5893:21:1::0;5950:2;5930:18;;;5923:30;5989:25;5969:18;;;5962:53;6032:18;;18446:49:0::1;5709:347:1::0;18446:49:0::1;18506:10;:19:::0;18384:149::o;15776:150::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;15885:1:::1;15869:6:::0;;15848:40:::1;::::0;-1:-1:-1;;;;;15869:6:0;;::::1;::::0;15848:40:::1;::::0;15885:1;;15848:40:::1;15916:1;15899:19:::0;;-1:-1:-1;;;;;;15899:19:0::1;::::0;;15776:150::o;20210:460::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;20332:26:::1;:10;20352:5:::0;20332:19:::1;:26::i;:::-;20331:27;20323:60;;;::::0;-1:-1:-1;;;20323:60:0;;6263:2:1;20323:60:0::1;::::0;::::1;6245:21:1::0;6302:2;6282:18;;;6275:30;-1:-1:-1;;;6321:18:1;;;6314:50;6381:18;;20323:60:0::1;6061:344:1::0;20323:60:0::1;20413:15;20402:8;:26;20394:65;;;::::0;-1:-1:-1;;;20394:65:0;;6612:2:1;20394:65:0::1;::::0;::::1;6594:21:1::0;6651:2;6631:18;;;6624:30;6690:28;6670:18;;;6663:56;6736:18;;20394:65:0::1;6410:350:1::0;20394:65:0::1;20470:21;:10;20485:5:::0;20470:14:::1;:21::i;:::-;-1:-1:-1::0;20502:23:0::1;20528:21:::0;;;:14:::1;:21;::::0;;;;;20560:14:::1;::::0;::::1;:21:::0;;-1:-1:-1;;20560:21:0::1;20577:4;20560:21:::0;;::::1;::::0;;;20592:16;::::1;:27:::0;;;20635;;20528:21;;20611:8;;20543:5;;20635:27:::1;::::0;::::1;20312:358;20210:460:::0;;:::o;18166:98::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;18236:8:::1;:20:::0;;-1:-1:-1;;;;;;18236:20:0::1;-1:-1:-1::0;;;;;18236:20:0;;;::::1;::::0;;;::::1;::::0;;18166:98::o;20678:393::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;20776:26:::1;:10;20796:5:::0;20776:19:::1;:26::i;:::-;20768:57;;;::::0;-1:-1:-1;;;20768:57:0;;6967:2:1;20768:57:0::1;::::0;::::1;6949:21:1::0;7006:2;6986:18;;;6979:30;-1:-1:-1;;;7025:18:1;;;7018:48;7083:18;;20768:57:0::1;6765:342:1::0;20768:57:0::1;20858:15;20844:11;:29;20836:68;;;::::0;-1:-1:-1;;;20836:68:0;;6612:2:1;20836:68:0::1;::::0;::::1;6594:21:1::0;6651:2;6631:18;;;6624:30;6690:28;6670:18;;;6663:56;6736:18;;20836:68:0::1;6410:350:1::0;20836:68:0::1;20922:23;20948:21:::0;;;:14:::1;:21;::::0;;;;;20982:16:::1;::::0;::::1;:30:::0;;;21028:35;;20948:21;;21001:11;;20963:5;;21028:35:::1;::::0;::::1;20757:314;20678:393:::0;;:::o;21079:816::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;21161:23:::1;21187:21:::0;;;:14:::1;:21;::::0;;;;21227:26:::1;:10;21202:5:::0;21227:19:::1;:26::i;:::-;21219:58;;;::::0;-1:-1:-1;;;21219:58:0;;7314:2:1;21219:58:0::1;::::0;::::1;7296:21:1::0;7353:2;7333:18;;;7326:30;-1:-1:-1;;;7372:18:1;;;7365:49;7431:18;;21219:58:0::1;7112:343:1::0;21219:58:0::1;21321:1;21310:7;:12;;:28;;;;-1:-1:-1::0;21326:12:0;;::::1;21310:28;21288:122;;;::::0;-1:-1:-1;;;21288:122:0;;7662:2:1;21288:122:0::1;::::0;::::1;7644:21:1::0;7701:2;7681:18;;;7674:30;7740:34;7720:18;;;7713:62;-1:-1:-1;;;7791:18:1;;;7784:42;7843:19;;21288:122:0::1;7460:408:1::0;21288:122:0::1;21423:15;::::0;::::1;:25:::0;;;21461:14:::1;21509:1;21490:20:::0;;;21486:257:::1;;-1:-1:-1::0;21536:20:0::1;::::0;::::1;::::0;21486:257:::1;;;21578:7;:15;;;21597:1;21578:20:::0;21574:169:::1;;-1:-1:-1::0;21624:20:0::1;::::0;::::1;::::0;21574:169:::1;;;21666:7;:15;;;21685:1;21666:20:::0;21662:81:::1;;-1:-1:-1::0;21712:19:0::1;::::0;::::1;::::0;21662:81:::1;21755:24;:10;21773:5:::0;21755:17:::1;:24::i;:::-;-1:-1:-1::0;21790:22:0::1;:11;21806:5:::0;21790:15:::1;:22::i;:::-;-1:-1:-1::0;21823:14:0::1;::::0;::::1;:22:::0;;-1:-1:-1;;21823:22:0::1;::::0;;21861:26:::1;::::0;21879:7;;21872:5;;21861:26:::1;::::0;21840:5:::1;::::0;21861:26:::1;21150:745;;21079:816:::0;;:::o;23777:966::-;23865:7;23911:21;;;:14;:21;;;;;;;;-1:-1:-1;;;;;23967:24:0;;;;:15;;;:24;;;;;23865:7;24054:27;:11;23926:5;24054:20;:27::i;:::-;:87;;;;-1:-1:-1;;;;;;24098:27:0;;;;;;:18;:27;;;;;:43;;24135:5;24098:36;:43::i;:::-;24036:667;;;24168:14;24229:7;:15;;;24203:6;:22;;;:41;24199:493;;24271:7;:15;;;24290:1;24271:20;24267:309;;-1:-1:-1;24325:20:0;;;;24199:493;;24267:309;24375:7;:15;;;24394:1;24375:20;24371:205;;-1:-1:-1;24429:20:0;;;;24527:19;;;;24487:16;;;;24429:20;;24487:59;;;:::i;:::-;24486:70;;;;:::i;:::-;24468:88;;24371:205;24199:493;;;24601:7;:15;;;24620:1;24601:20;24597:95;;24660:6;:16;;;24642:34;;24597:95;24153:550;24036:667;24720:15;-1:-1:-1;;;23777:966:0;;;;;:::o;27535:196::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;27609:21:::1;27645:14:::0;;27641:83:::1;;27672:40;::::0;27680:10:::1;::::0;27672:40;::::1;;;::::0;27701:10;;27672:40:::1;::::0;;;27701:10;27680;27672:40;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;27641:83;27577:154;27535:196::o:0;24751:1182::-;-1:-1:-1;;;;;24868:27:0;;24822:7;24868:27;;;:18;:27;;;;;24822:7;;24868:36;;:34;:36::i;:::-;24842:62;-1:-1:-1;24915:23:0;;24949:944;24973:6;:13;24969:1;:17;24949:944;;;25008:23;25034:14;:25;25049:6;25056:1;25049:9;;;;;;;;:::i;:::-;;;;;;;25034:25;;;;;;;;;;;25008:51;;25074:21;25098:7;:15;;:24;25114:7;-1:-1:-1;;;;;25098:24:0;-1:-1:-1;;;;;25098:24:0;;;;;;;;;;;;25074:48;;25159:31;25180:6;25187:1;25180:9;;;;;;;;:::i;:::-;;;;;;;25159:11;:20;;:31;;;;:::i;:::-;:99;;;;;25211:47;25248:6;25255:1;25248:9;;;;;;;;:::i;:::-;;;;;;;25211:18;:27;25230:7;-1:-1:-1;;;;;25211:27:0;-1:-1:-1;;;;;25211:27:0;;;;;;;;;;;;:36;;:47;;;;:::i;:::-;25137:745;;;25293:14;25332:7;:15;;;25351:1;25332:20;25328:202;;-1:-1:-1;25386:20:0;;;;25328:202;;;25436:7;:15;;;25455:1;25436:20;25432:98;;-1:-1:-1;25490:20:0;;;;25432:98;25579:15;;;;25553:22;;:41;25549:318;;25731:6;25683:7;:19;;;25664:6;:16;;;:38;;;;:::i;:::-;25663:74;;;;:::i;:::-;25619:118;;;;:::i;:::-;;;25549:318;;;25767:7;:15;;;25786:1;25767:20;25763:104;;25831:16;;;;25812:35;;;;:::i;:::-;;;25763:104;25274:608;25137:745;24993:900;;24988:3;;;;;:::i;:::-;;;;24949:944;;;-1:-1:-1;25910:15:0;24751:1182;-1:-1:-1;;;24751:1182:0:o;26921:111::-;26969:16;27005:19;:10;:17;:19::i;:::-;26998:26;;26921:111;:::o;27162:183::-;-1:-1:-1;;;;;27301:27:0;;;;;;:18;:27;;;;;27260:16;;27301:36;;:34;:36::i;18270:106::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;18344:10:::1;:24:::0;;-1:-1:-1;;;;;;18344:24:0::1;-1:-1:-1::0;;;;;18344:24:0;;;::::1;::::0;;;::::1;::::0;;18270:106::o;27040:114::-;27090:16;27126:20;:11;:18;:20::i;27353:174::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;27460:59:::1;::::0;-1:-1:-1;;;27460:59:0;;27490:10:::1;27460:59;::::0;::::1;4642:51:1::0;4709:18;;;4702:34;;;-1:-1:-1;;;;;27460:29:0;::::1;::::0;::::1;::::0;4615:18:1;;27460:59:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27353:174:::0;;:::o;18541:1661::-;14928:1;15074:7;;:19;15066:63;;;;-1:-1:-1;;;15066:63:0;;3433:2:1;15066:63:0;;;3415:21:1;3472:2;3452:18;;;3445:30;3511:33;3491:18;;;3484:61;3562:18;;15066:63:0;3231:355:1;15066:63:0;14928:1;15140:7;:18;18657:10:::1;18671:9;18657:23;18649:57;;;::::0;-1:-1:-1;;;18649:57:0;;3793:2:1;18649:57:0::1;::::0;::::1;3775:21:1::0;3832:2;3812:18;;;3805:30;-1:-1:-1;;;3851:18:1;;;3844:51;3912:18;;18649:57:0::1;3591:345:1::0;18649:57:0::1;18732:8;::::0;18725:38:::1;::::0;-1:-1:-1;;;18725:38:0;;18752:10:::1;18725:38;::::0;::::1;1032:51:1::0;18767:6:0;;-1:-1:-1;;;;;18732:8:0::1;::::0;18725:26:::1;::::0;1005:18:1;;18725:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;18717:89;;;::::0;-1:-1:-1;;;18717:89:0;;8347:2:1;18717:89:0::1;::::0;::::1;8329:21:1::0;8386:2;8366:18;;;8359:30;8425;8405:18;;;8398:58;8473:18;;18717:89:0::1;8145:352:1::0;18717:89:0::1;18817:23;18843:21:::0;;;:14:::1;:21;::::0;;;;18969:15:::1;18950:7;:16;;;:34;18928:98;;;::::0;-1:-1:-1;;;18928:98:0;;9045:2:1;18928:98:0::1;::::0;::::1;9027:21:1::0;9084:2;9064:18;;;9057:30;-1:-1:-1;;;9103:18:1;;;9096:44;9157:18;;18928:98:0::1;8843:338:1::0;18928:98:0::1;19077:10;19037:21;19061:27:::0;;;:15:::1;::::0;::::1;:27;::::0;;;;19121:22;;:27;19099:103:::1;;;::::0;-1:-1:-1;;;19099:103:0;;9388:2:1;19099:103:0::1;::::0;::::1;9370:21:1::0;9427:2;9407:18;;;9400:30;9466:28;9446:18;;;9439:56;9512:18;;19099:103:0::1;9186:350:1::0;19099:103:0::1;19255:1;19235:16;:21;;:46;;;;-1:-1:-1::0;19260:21:0;;::::1;19235:46;19213:126;;;::::0;-1:-1:-1;;;19213:126:0;;9743:2:1;19213:126:0::1;::::0;::::1;9725:21:1::0;9782:2;9762:18;;;9755:30;9821:32;9801:18;;;9794:60;9871:18;;19213:126:0::1;9541:354:1::0;19213:126:0::1;19423:10;::::0;19376:6;;19423:14;19419:225:::1;;19454:20;19501:5;19487:10;;19478:6;:19;;;;:::i;:::-;19477:29;;;;:::i;:::-;19528:8;::::0;19563:11:::1;::::0;19521:68:::1;::::0;-1:-1:-1;;;19521:68:0;;19551:10:::1;19521:68;::::0;::::1;10140:34:1::0;-1:-1:-1;;;;;19563:11:0;;::::1;10190:18:1::0;;;10183:43;10242:18;;;10235:34;;;19454:52:0;;-1:-1:-1;19528:8:0::1;::::0;19521:29:::1;::::0;10075:18:1;;19521:68:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;19604:28:0::1;19620:12:::0;19604:28;::::1;:::i;:::-;;;19439:205;19419:225;19663:8;::::0;19656:70:::1;::::0;-1:-1:-1;;;19656:70:0;;19686:10:::1;19656:70;::::0;::::1;10140:34:1::0;19706:4:0::1;10190:18:1::0;;;10183:43;10242:18;;;10235:34;;;-1:-1:-1;;;;;19663:8:0;;::::1;::::0;19656:29:::1;::::0;10075:18:1;;19656:70:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;19739:41:0;;;19791:16:::1;::::0;::::1;:31:::0;;;19852:10:::1;19739:22;19833:30:::0;;;:18:::1;:30;::::0;;;;:41:::1;::::0;19868:5;19833:34:::1;:41::i;:::-;;19908:12;19885:7;:19;;;:35;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;19957:1:0::1;19937:21:::0;;;19933:186:::1;;19999:12;19975:7;:20;;;:36;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;19933:186:0::1;::::0;-1:-1:-1;19933:186:0::1;;20033:16;20053:1;20033:21:::0;20029:90:::1;;20095:12;20071:7;:20;;;:36;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;20029:90:0::1;20163:16;20151:10;-1:-1:-1::0;;;;;20134:60:0::1;20144:5;20134:60;20181:12;20134:60;;;;850:25:1::0;;838:2;823:18;;704:177;20134:60:0::1;;;;;;;;-1:-1:-1::0;;14884:1:0;15181:22;;-1:-1:-1;;;;18541:1661:0:o;18044:110::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;18120:11:::1;:26:::0;;-1:-1:-1;;;;;;18120:26:0::1;-1:-1:-1::0;;;;;18120:26:0;;;::::1;::::0;;;::::1;::::0;;18044:110::o;15934:281::-;15689:6;;-1:-1:-1;;;;;15689:6:0;13936:10;15689:22;15681:67;;;;-1:-1:-1;;;15681:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16037:22:0;::::1;16015:110;;;::::0;-1:-1:-1;;;16015:110:0;;10615:2:1;16015:110:0::1;::::0;::::1;10597:21:1::0;10654:2;10634:18;;;10627:30;10693:34;10673:18;;;10666:62;-1:-1:-1;;;10744:18:1;;;10737:36;10790:19;;16015:110:0::1;10413:402:1::0;16015:110:0::1;16162:6;::::0;;16141:38:::1;::::0;-1:-1:-1;;;;;16141:38:0;;::::1;::::0;16162:6;::::1;::::0;16141:38:::1;::::0;::::1;16190:6;:17:::0;;-1:-1:-1;;;;;;16190:17:0::1;-1:-1:-1::0;;;;;16190:17:0;;;::::1;::::0;;;::::1;::::0;;15934:281::o;12026:178::-;12130:4;4519:19;;;:12;;;:19;;;;;;:24;;12159:37;12152:44;12026:178;-1:-1:-1;;;12026:178:0:o;11780:160::-;11868:4;11897:35;11905:3;11925:5;11897:7;:35::i;112:181::-;170:7;;202:5;206:1;202;:5;:::i;:::-;190:17;;231:1;226;:6;;218:46;;;;-1:-1:-1;;;218:46:0;;11022:2:1;218:46:0;;;11004:21:1;11061:2;11041:18;;;11034:30;11100:29;11080:18;;;11073:57;11147:18;;218:46:0;10820:351:1;11473:131:0;11540:4;11564:32;11569:3;11589:5;11564:4;:32::i;13477:339::-;13564:16;13598:22;13623:19;13631:3;13623:7;:19::i;2884:1420::-;2950:4;3089:19;;;:12;;;:19;;;;;;3125:15;;3121:1176;;3500:21;3524:14;3537:1;3524:10;:14;:::i;:::-;3573:18;;3500:38;;-1:-1:-1;3553:17:0;;3573:22;;3594:1;;3573:22;:::i;:::-;3553:42;;3629:13;3616:9;:26;3612:405;;3663:17;3683:3;:11;;3695:9;3683:22;;;;;;;;:::i;:::-;;;;;;;;;3663:42;;3837:9;3808:3;:11;;3820:13;3808:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3922:23;;;:12;;;:23;;;;;:36;;;3612:405;4098:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4193:3;:12;;:19;4206:5;4193:19;;;;;;;;;;;4186:26;;;4236:4;4229:11;;;;;;;3121:1176;4280:5;4273:12;;;;;2294:414;2357:4;4519:19;;;:12;;;:19;;;;;;2374:327;;-1:-1:-1;2417:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;2600:18;;2578:19;;;:12;;;:19;;;;;;:40;;;;2633:11;;2374:327;-1:-1:-1;2684:5:0;2677:12;;5802:111;5858:16;5894:3;:11;;5887:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5802:111;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:254::-;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;373:9;360:23;350:33;;402:38;436:2;425:9;421:18;402:38;:::i;:::-;392:48;;192:254;;;;;:::o;1094:180::-;1153:6;1206:2;1194:9;1185:7;1181:23;1177:32;1174:52;;;1222:1;1219;1212:12;1174:52;-1:-1:-1;1245:23:1;;1094:180;-1:-1:-1;1094:180:1:o;1279:248::-;1347:6;1355;1408:2;1396:9;1387:7;1383:23;1379:32;1376:52;;;1424:1;1421;1414:12;1376:52;-1:-1:-1;;1447:23:1;;;1517:2;1502:18;;;1489:32;;-1:-1:-1;1279:248:1:o;2082:186::-;2141:6;2194:2;2182:9;2173:7;2169:23;2165:32;2162:52;;;2210:1;2207;2200:12;2162:52;2233:29;2252:9;2233:29;:::i;2273:632::-;2444:2;2496:21;;;2566:13;;2469:18;;;2588:22;;;2415:4;;2444:2;2667:15;;;;2641:2;2626:18;;;2415:4;2710:169;2724:6;2721:1;2718:13;2710:169;;;2785:13;;2773:26;;2854:15;;;;2819:12;;;;2746:1;2739:9;2710:169;;;-1:-1:-1;2896:3:1;;2273:632;-1:-1:-1;;;;;;2273:632:1:o;2910:316::-;2987:6;2995;3003;3056:2;3044:9;3035:7;3031:23;3027:32;3024:52;;;3072:1;3069;3062:12;3024:52;-1:-1:-1;;3095:23:1;;;3165:2;3150:18;;3137:32;;-1:-1:-1;3216:2:1;3201:18;;;3188:32;;2910:316;-1:-1:-1;2910:316:1:o;3941:127::-;4002:10;3997:3;3993:20;3990:1;3983:31;4033:4;4030:1;4023:15;4057:4;4054:1;4047:15;4073:168;4146:9;;;4177;;4194:15;;;4188:22;;4174:37;4164:71;;4215:18;;:::i;4246:217::-;4286:1;4312;4302:132;;4356:10;4351:3;4347:20;4344:1;4337:31;4391:4;4388:1;4381:15;4419:4;4416:1;4409:15;4302:132;-1:-1:-1;4448:9:1;;4246:217::o;4747:277::-;4814:6;4867:2;4855:9;4846:7;4842:23;4838:32;4835:52;;;4883:1;4880;4873:12;4835:52;4915:9;4909:16;4968:5;4961:13;4954:21;4947:5;4944:32;4934:60;;4990:1;4987;4980:12;5029:125;5094:9;;;5115:10;;;5112:36;;;5128:18;;:::i;5159:184::-;5229:6;5282:2;5270:9;5261:7;5257:23;5253:32;5250:52;;;5298:1;5295;5288:12;5250:52;-1:-1:-1;5321:16:1;;5159:184;-1:-1:-1;5159:184:1:o;5348:356::-;5550:2;5532:21;;;5569:18;;;5562:30;5628:34;5623:2;5608:18;;5601:62;5695:2;5680:18;;5348:356::o;7873:127::-;7934:10;7929:3;7925:20;7922:1;7915:31;7965:4;7962:1;7955:15;7989:4;7986:1;7979:15;8005:135;8044:3;8065:17;;;8062:43;;8085:18;;:::i;:::-;-1:-1:-1;8132:1:1;8121:13;;8005:135::o;10280:128::-;10347:9;;;10368:11;;;10365:37;;;10382:18;;:::i;11176:127::-;11237:10;11232:3;11228:20;11225:1;11218:31;11268:4;11265:1;11258:15;11292:4;11289:1;11282:15

Swarm Source

ipfs://464645bc9f5798a25ed5cd467370a5d89774e81552b2e04c7604a17e294654e4

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.