FTM Price: $0.40 (-0.61%)
Gas: 43 Gwei

Contract

0x09EEB24f8418fC839e03FE7aD84f70e0826fAE94
 

Sponsored

Transaction Hash
Method
Block
From
To
Value
Notify Reward Am...739727352024-01-09 14:30:5544 days 12 hrs ago1704810655IN
0x09EEB2...826fAE94
0 FTM0.0053396367
Notify Reward Am...735920172024-01-02 8:39:5351 days 18 hrs ago1704184793IN
0x09EEB2...826fAE94
0 FTM0.0042238853
Notify Reward Am...732346792023-12-26 16:04:3558 days 11 hrs ago1703606675IN
0x09EEB2...826fAE94
0 FTM0.0072523391
Notify Reward Am...727857692023-12-19 14:36:2565 days 12 hrs ago1702996585IN
0x09EEB2...826fAE94
0 FTM0.0029487537
Notify Reward Am...724360002023-12-12 14:13:2272 days 12 hrs ago1702390402IN
0x09EEB2...826fAE94
0 FTM0.0050208463
Notify Reward Am...719859062023-12-05 22:14:5279 days 4 hrs ago1701814492IN
0x09EEB2...826fAE94
0 FTM0.0052599366
Notify Reward Am...716450042023-11-28 13:19:4786 days 13 hrs ago1701177587IN
0x09EEB2...826fAE94
0 FTM0.0015939220
Notify Reward Am...709565182023-11-21 8:08:5093 days 19 hrs ago1700554130IN
0x09EEB2...826fAE94
0 FTM0.003984850
Notify Reward Am...706135442023-11-14 14:53:13100 days 12 hrs ago1699973593IN
0x09EEB2...826fAE94
0 FTM0.0029487537
Notify Reward Am...702675452023-11-06 17:42:19108 days 9 hrs ago1699292539IN
0x09EEB2...826fAE94
0 FTM0.0030284438
Notify Reward Am...700012662023-10-31 8:11:05114 days 18 hrs ago1698739865IN
0x09EEB2...826fAE94
0 FTM0.0029487537
Notify Reward Am...697767952023-10-25 20:09:42120 days 6 hrs ago1698264582IN
0x09EEB2...826fAE94
0 FTM0.0047817660
Notify Reward Am...693894792023-10-16 13:16:19129 days 13 hrs ago1697462179IN
0x09EEB2...826fAE94
0 FTM0.0023111829
Notify Reward Am...691809942023-10-10 8:30:41135 days 18 hrs ago1696926641IN
0x09EEB2...826fAE94
0 FTM0.0044629756
Notify Reward Am...689262172023-10-03 6:51:52142 days 20 hrs ago1696315912IN
0x09EEB2...826fAE94
0 FTM0.0027096634
Notify Reward Am...686002502023-09-25 18:38:39150 days 8 hrs ago1695667119IN
0x09EEB2...826fAE94
0 FTM0.0023908830
Notify Reward Am...683074082023-09-18 10:51:23157 days 16 hrs ago1695034283IN
0x09EEB2...826fAE94
0 FTM0.0021517927
Notify Reward Am...681180312023-09-12 17:34:40163 days 9 hrs ago1694540080IN
0x09EEB2...826fAE94
0 FTM0.01481179185.85367056
Notify Reward Am...678686942023-09-05 11:48:48170 days 15 hrs ago1693914528IN
0x09EEB2...826fAE94
0 FTM0.0029170336.60201133
Notify Reward Am...674048982023-08-25 11:51:44181 days 15 hrs ago1692964304IN
0x09EEB2...826fAE94
0 FTM0.0045866157.55143267
Notify Reward Am...671300452023-08-18 12:03:47188 days 15 hrs ago1692360227IN
0x09EEB2...826fAE94
0 FTM0.04808445603.34846139
Notify Reward Am...670475332023-08-16 12:43:41190 days 14 hrs ago1692189821IN
0x09EEB2...826fAE94
0 FTM0.0637568800
Notify Reward Am...647444172023-06-27 15:12:26240 days 11 hrs ago1687878746IN
0x09EEB2...826fAE94
0 FTM0.0048047260.28814241
Notify Reward Am...643079332023-06-18 20:26:17249 days 6 hrs ago1687119977IN
0x09EEB2...826fAE94
0 FTM0.09503471,192.4651869
Notify Reward Am...638910542023-06-10 15:37:08257 days 11 hrs ago1686411428IN
0x09EEB2...826fAE94
0 FTM0.0053277666.85106484
View all transactions

Latest 1 internal transaction

Parent Txn Hash Block From To Value
589053222023-04-02 8:59:13326 days 18 hrs ago1680425953  Contract Creation0 FTM
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x997F91...eC6E4738
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
UnifiedBribe

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2023-04-06
*/

/**
 *Submitted for verification at FtmScan.com on 2023-03-21
*/

/**v1.0.0
 *0x8868ae6De5e723e6840Cdc21370e415bF5123684
 *Submitted for verification at FtmScan.com on 2022-11-04
*/



/**
 *  EQUALIZER EXCHANGE
 *  The New Liquidity Hub of Fantom chain!
 *  https://equalizer.exchange  (Dapp)
 *  https://discord.gg/MaMhbgHMby   (Community)
 *
 *
 *  Version: 1.4.0
 *  - Remove the whole concept of Internal Bribes (Trade Fees Streamer), Unify.
 *  - Prevent breaking of rewards in earned() from reading 0-supply checkpoints
 *  - Voter.team() can siphon out unclaimed rewards.
 *    - This contract does not take or allow deposits of any user funds.
 *    - Only the Bribes can be rescue()'d.
 *
 *
 *  Contributors:
 *   -   Andre Cronje, Solidly.Exchange
 *   -   Team, Velodrome.finance
 *   -   @smartcoding51, Equalizer.exchange
 *   -   543#3017 (Sam), ftm.guru & Equalizer.exchange
 *
 *
 *	SPDX-License-Identifier: UNLICENSED
*/



// File: contracts/interfaces/IGauge.sol


pragma solidity 0.8.9;

interface IGauge {
    function notifyRewardAmount(address token, uint amount) external;
    function getReward(address account, address[] memory tokens) external;
    function claimFees() external returns (uint claimed0, uint claimed1);
    function left(address token) external view returns (uint);
    function isForPair() external view returns (bool);
}

// File: contracts/interfaces/IVotingEscrow.sol


pragma solidity 0.8.9;

interface IVotingEscrow {

    struct Point {
        int128 bias;
        int128 slope; // # -dweight / dt
        uint256 ts;
        uint256 blk; // block
    }

    function token() external view returns (address);
    function team() external returns (address);
    function epoch() external view returns (uint);
    function point_history(uint loc) external view returns (Point memory);
    function user_point_history(uint tokenId, uint loc) external view returns (Point memory);
    function user_point_epoch(uint tokenId) external view returns (uint);

    function ownerOf(uint) external view returns (address);
    function isApprovedOrOwner(address, uint) external view returns (bool);
    function transferFrom(address, address, uint) external;

    function voting(uint tokenId) external;
    function abstain(uint tokenId) external;
    function attach(uint tokenId) external;
    function detach(uint tokenId) external;

    function checkpoint() external;
    function deposit_for(uint tokenId, uint value) external;
    function create_lock_for(uint, uint, address) external returns (uint);

    function balanceOfNFT(uint) external view returns (uint);
    function totalSupply() external view returns (uint);
}

// File: contracts/interfaces/IVoter.sol


pragma solidity 0.8.9;

interface IVoter {
    function _ve() external view returns (address);
    function governor() external view returns (address);
    function emergencyCouncil() external view returns (address);
    function attachTokenToGauge(uint _tokenId, address account) external;
    function detachTokenFromGauge(uint _tokenId, address account) external;
    function emitDeposit(uint _tokenId, address account, uint amount) external;
    function emitWithdraw(uint _tokenId, address account, uint amount) external;
    function isWhitelisted(address token) external view returns (bool);
    function notifyRewardAmount(uint amount) external;
    function distribute(address _gauge) external;
}
// File: contracts/interfaces/IERC20.sol


pragma solidity 0.8.9;

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function transfer(address recipient, uint amount) external returns (bool);
    function decimals() external view returns (uint8);
    function symbol() external view returns (string memory);
    function balanceOf(address) external view returns (uint);
    function transferFrom(address sender, address recipient, uint amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint value);
    event Approval(address indexed owner, address indexed spender, uint value);
}

// File: contracts/libraries/Math.sol


pragma solidity 0.8.9;

library Math {
    function max(uint a, uint b) internal pure returns (uint) {
        return a >= b ? a : b;
    }
    function min(uint a, uint b) internal pure returns (uint) {
        return a < b ? a : b;
    }
    function sqrt(uint y) internal pure returns (uint z) {
        if (y > 3) {
            z = y;
            uint x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
    function cbrt(uint256 n) internal pure returns (uint256) { unchecked {
        uint256 x = 0;
        for (uint256 y = 1 << 255; y > 0; y >>= 3) {
            x <<= 1;
            uint256 z = 3 * x * (x + 1) + 1;
            if (n / y >= z) {
                n -= y * z;
                x += 1;
            }
        }
        return x;
    }}
}

// File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}

// File: contracts/Bribe.sol


pragma solidity 0.8.9;







/**
 * @notice Bribes pay out rewards for a given pool based on the votes that were received from the user
 * goes hand in hand with Voter.vote()
 */

contract UnifiedBribe is Initializable {

    /// @notice A checkpoint for marking balance
    struct Checkpoint {
        uint timestamp;
        uint balanceOf;
    }

    /// @notice A checkpoint for marking supply
    struct SupplyCheckpoint {
        uint timestamp;
        uint supply;
    }

    address public voter; // only voter can modify balances (since it only happens on vote())
    address public _ve;

    uint public constant DURATION = 7 days; // rewards are released over the voting period
    uint internal constant MAX_REWARD_TOKENS = 8;

    uint internal constant PRECISION = 10 ** 18;

    uint public totalSupply;
    mapping(uint => uint) public balanceOf;

    mapping(address => mapping(uint => uint)) public tokenRewardsPerEpoch;
    mapping(address => uint) public periodFinish;
    mapping(address => mapping(uint => uint)) public lastEarn;

    address[] public rewards;
    mapping(address => bool) public isReward;

    /// @notice A record of balance checkpoints for each account, by index
    mapping (uint => mapping (uint => Checkpoint)) public checkpoints;
    /// @notice The number of checkpoints for each account
    mapping (uint => uint) public numCheckpoints;
    /// @notice A record of balance checkpoints for each token, by index
    mapping (uint => SupplyCheckpoint) public supplyCheckpoints;
    /// @notice The number of checkpoints
    uint public supplyNumCheckpoints;
    /// @notice simple re-entrancy check
    bool internal _locked;

    /// Helper vars for analytics, read-only
    mapping(address => uint) public payouts;	/// token -> amountSinceGenesis
    mapping(address => uint) public payoutHistory;	/// token -> amountSinceGenesis
    mapping(address => mapping(address => uint)) public earnings;	/// user -> token -> amountSinceGenesis
    mapping(uint => mapping(address => uint)) public rewardHistory;	/// epoch -> token -> amountDuringThatEpoch



    event Deposit(address indexed voter, address indexed owner, uint indexed tokenId, uint amount);
    event Withdraw(address indexed voter, address indexed owner, uint indexed tokenId, uint amount);
    event NotifyReward(address indexed from, address indexed reward, uint indexed epoch, uint amount);
    event ClaimRewards(address indexed from, address indexed reward, uint indexed tokenId, uint amount);
    event ClaimRewardsForDelegate(address indexed owner, address indexed claimer, address indexed reward, uint tokenId, uint amount);

    modifier lock() {
        require(!_locked,  "No re-entrancy");
        _locked = true;
        _;
        _locked = false;
    }

    function initialize(address _voter, address[] memory _allowedRewardTokens) public initializer {
        voter = _voter;
        _ve = IVoter(_voter)._ve();

        for (uint i; i < _allowedRewardTokens.length; i++) {
            if (_allowedRewardTokens[i] != address(0)) {
                isReward[_allowedRewardTokens[i]] = true;
                rewards.push(_allowedRewardTokens[i]);
            }
        }
    }

    function _bribeStart(uint timestamp) internal pure returns (uint) {
        return timestamp - (timestamp % (7 days));
    }

    function getEpochStart(uint timestamp) public pure returns (uint) {
        uint bribeStart = _bribeStart(timestamp);
        uint bribeEnd = bribeStart + DURATION;
        return timestamp < bribeEnd ? bribeStart : bribeStart + 7 days;
    }

    /**
    * @notice Determine the prior balance for an account as of a block number
    * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
    * @param tokenId The token of the NFT to check
    * @param timestamp The timestamp to get the balance at
    * @return The balance the account had as of the given block
    */
    function getPriorBalanceIndex(uint tokenId, uint timestamp) public view returns (uint) {
        uint nCheckpoints = numCheckpoints[tokenId];
        if (nCheckpoints == 0) {
            return 0;
        }
        // First check most recent balance
        if (checkpoints[tokenId][nCheckpoints - 1].timestamp <= timestamp) {
            return (nCheckpoints - 1);
        }
        // Next check implicit zero balance
        if (checkpoints[tokenId][0].timestamp > timestamp) {
            return 0;
        }

        uint lower = 0;
        uint upper = nCheckpoints - 1;
        while (upper > lower) {
            uint center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[tokenId][center];
            if (cp.timestamp == timestamp) {
                return center;
            } else if (cp.timestamp < timestamp) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return lower;
    }

    function getPriorSupplyIndex(uint timestamp) public view returns (uint) {
        uint nCheckpoints = supplyNumCheckpoints;
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (supplyCheckpoints[nCheckpoints - 1].timestamp <= timestamp) {
            return (nCheckpoints - 1);
        }

        // Next check implicit zero balance
        if (supplyCheckpoints[0].timestamp > timestamp) {
            return 0;
        }

        uint lower = 0;
        uint upper = nCheckpoints - 1;
        while (upper > lower) {
            uint center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            SupplyCheckpoint memory cp = supplyCheckpoints[center];
            if (cp.timestamp == timestamp) {
                return center;
            } else if (cp.timestamp < timestamp) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return lower;
    }

    function _writeCheckpoint(uint tokenId, uint balance) internal {
        uint _timestamp = block.timestamp;
        uint _nCheckPoints = numCheckpoints[tokenId];
        if (_nCheckPoints > 0 && checkpoints[tokenId][_nCheckPoints - 1].timestamp == _timestamp) {
            checkpoints[tokenId][_nCheckPoints - 1].balanceOf = balance;
        } else {
            checkpoints[tokenId][_nCheckPoints] = Checkpoint(_timestamp, balance);
            numCheckpoints[tokenId] = _nCheckPoints + 1;
        }
    }

    function _writeSupplyCheckpoint() internal {
        uint _nCheckPoints = supplyNumCheckpoints;
        uint _timestamp = block.timestamp;

        if (_nCheckPoints > 0 && supplyCheckpoints[_nCheckPoints - 1].timestamp == _timestamp) {
            supplyCheckpoints[_nCheckPoints - 1].supply = totalSupply;
        } else {
            supplyCheckpoints[_nCheckPoints] = SupplyCheckpoint(_timestamp, totalSupply);
            supplyNumCheckpoints = _nCheckPoints + 1;
        }
    }

    function rewardsListLength() external view returns (uint) {
        return rewards.length;
    }

    // returns the last time the reward was modified or periodFinish if the reward has ended
    function lastTimeRewardApplicable(address token) public view returns (uint) {
        return Math.min(block.timestamp, periodFinish[token]);
    }

    // allows a user to claim rewards for a given token
    function getReward(uint tokenId, address[] memory tokens) external lock  {
        require(IVotingEscrow(_ve).isApprovedOrOwner(msg.sender, tokenId), "Neither approved nor owner");
        address _owner = IVotingEscrow(_ve).ownerOf(tokenId);
        for (uint i = 0; i < tokens.length; i++) {
            uint _reward = earned(tokens[i], tokenId);
            lastEarn[tokens[i]][tokenId] = block.timestamp;
            if (_reward > 0) _safeTransfer(tokens[i], msg.sender, _reward);

            emit ClaimRewards(_owner, tokens[i], tokenId, _reward);
            payouts[tokens[i]] += _reward;
            earnings[_owner][tokens[i]] += _reward;

            if(_owner != msg.sender) {
                emit ClaimRewardsForDelegate(_owner, msg.sender, tokens[i], tokenId, _reward);
            }
        }
    }

    // used by Voter to allow batched reward claims
    function getRewardForOwner(uint tokenId, address[] memory tokens) external lock  {
        require(msg.sender == voter, "Not voter");
        address _owner = IVotingEscrow(_ve).ownerOf(tokenId);
        for (uint i = 0; i < tokens.length; i++) {
            uint _reward = earned(tokens[i], tokenId);
            lastEarn[tokens[i]][tokenId] = block.timestamp;
            if (_reward > 0) _safeTransfer(tokens[i], _owner, _reward);

            emit ClaimRewards(_owner, tokens[i], tokenId, _reward);
            payouts[tokens[i]] += _reward;
            earnings[_owner][tokens[i]] += _reward;
        }
    }

    function earned(address token, uint tokenId) public view returns (uint) {
        if (numCheckpoints[tokenId] == 0) {
            return 0;
        }

        uint reward = 0;
        uint _ts = 0;
        uint _bal = 0;
        uint _supply = 1;
        uint _index = 0;
        uint _currTs = _bribeStart(lastEarn[token][tokenId]); // take epoch last claimed in as starting point

        _index = getPriorBalanceIndex(tokenId, _currTs);
        _ts = checkpoints[tokenId][_index].timestamp;
        _bal = checkpoints[tokenId][_index].balanceOf;
        // accounts for case where lastEarn is before first checkpoint
        _currTs = Math.max(_currTs, _bribeStart(_ts));

        // get epochs between current epoch and first checkpoint in same epoch as last claim
        uint numEpochs = (_bribeStart(block.timestamp) - _currTs) / DURATION;

        if (numEpochs > 0) {
            for (uint256 i = 0; i < numEpochs; i++) {
                // get index of last checkpoint in this epoch
                _index = getPriorBalanceIndex(tokenId, _currTs + DURATION);
                // get checkpoint in this epoch
                _ts = checkpoints[tokenId][_index].timestamp;
                _bal = checkpoints[tokenId][_index].balanceOf;
                // get supply of last checkpoint in this epoch
                _supply = supplyCheckpoints[getPriorSupplyIndex(_currTs + DURATION)].supply;
                /// Bribes but no voters? Let admin decide, via rescue.
                /// Previously this bricked claims for all (division by Zero)
                if (_supply > 0) {
                    reward += _bal * tokenRewardsPerEpoch[token][_currTs] / _supply;
                }
                _currTs += DURATION;
            }
        }

        return reward;
    }

    // This is an external function, but internal notation is used since it can only be called "internally" from Gauges
    function _deposit(uint amount, uint tokenId, address _vtr, address _onr) external {
        require(msg.sender == voter, "Not voter");
        require(amount > 0, "Zero amount");

        totalSupply += amount;
        balanceOf[tokenId] += amount;

        _writeCheckpoint(tokenId, balanceOf[tokenId]);
        _writeSupplyCheckpoint();

        emit Deposit(_vtr, _onr, tokenId, amount);
    }

    function _withdraw(uint amount, uint tokenId, address _vtr, address _onr) external {
        require(msg.sender == voter, "Not voter");

        totalSupply -= amount;
        balanceOf[tokenId] -= amount;

        _writeCheckpoint(tokenId, balanceOf[tokenId]);
        _writeSupplyCheckpoint();

        emit Withdraw(_vtr, _onr, tokenId, amount);
    }

    function left(address token) external view returns (uint) {
        uint adjustedTstamp = getEpochStart(block.timestamp);
        return tokenRewardsPerEpoch[token][adjustedTstamp];
    }

    function notifyRewardAmount(address token, uint amount) external lock {
        if (!isReward[token] && !(IVotingEscrow(_ve).team()==msg.sender)) {
          require(IVoter(voter).isWhitelisted(token), "bribe tokens must be whitelisted");
          require(rewards.length < MAX_REWARD_TOKENS, "too many rewards tokens");
        }
        // bribes kick in at the start of next bribe period
        uint adjustedTstamp = getEpochStart(block.timestamp);
        uint epochRewards = tokenRewardsPerEpoch[token][adjustedTstamp];

        uint rtbb = IERC20(token).balanceOf(address(this));
        _safeTransferFrom(token, msg.sender, address(this), amount);
        uint rtba = IERC20(token).balanceOf(address(this));
        amount = rtba - rtbb;
        require(amount > 0, "Amount must be greater than 0");

        tokenRewardsPerEpoch[token][adjustedTstamp] = epochRewards + amount;

        periodFinish[token] = adjustedTstamp + DURATION;

        if (!isReward[token]) {
            isReward[token] = true;
            rewards.push(token);
        }

        emit NotifyReward(msg.sender, token, adjustedTstamp, amount);
        rewardHistory[adjustedTstamp][token] += amount;
        payoutHistory[token] += amount;
    }

    function swapOutRewardToken(uint i, address oldToken, address newToken) external {
        require(msg.sender == IVotingEscrow(_ve).team(), "only team");
        require(rewards[i] == oldToken);
        isReward[oldToken] = false;
        isReward[newToken] = true;
        rewards[i] = newToken;
    }

    /// This can break claims of bribes! Useful during a platform-wide upgrade (optional)
    function rescue(uint _amt, address _token, address _to) external {
        require(msg.sender == IVotingEscrow(_ve).team(), "only team");
        IERC20(_token).transfer(_to, _amt);
    }

    function _safeTransfer(address token, address to, uint256 value) internal {
        require(token.code.length > 0, "Invalid token address");
        (bool success, bytes memory data) =
        token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), "UnifiedBribe: TransferFrom failed");
    }

    function _safeTransferFrom(address token, address from, address to, uint256 value) internal {
        require(token.code.length > 0, "Invalid token address");
        (bool success, bytes memory data) =
        token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), "UnifiedBribe: TransferFrom failed");
    }
}


// File: contracts/interfaces/IBribeFactory.sol


pragma solidity 0.8.9;

interface IBribeFactory {
    function createBribe(address[] memory) external returns (address);
}

// File: contracts/factories/BribeFactory.sol


pragma solidity 0.8.9;




contract BribeFactory is IBribeFactory {
    address public lastBribe;

    function createBribe(address[] memory _allowedRewards) external returns (address) {
        UnifiedBribe unifiedBribe = new UnifiedBribe();
        unifiedBribe.initialize(msg.sender, _allowedRewards);
        lastBribe = address(unifiedBribe);
        return address(unifiedBribe);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"reward","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":true,"internalType":"address","name":"reward","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimRewardsForDelegate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"voter","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"reward","type":"address"},{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NotifyReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"voter","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"_vtr","type":"address"},{"internalType":"address","name":"_onr","type":"address"}],"name":"_deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_ve","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"_vtr","type":"address"},{"internalType":"address","name":"_onr","type":"address"}],"name":"_withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"checkpoints","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"balanceOf","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"earnings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"getEpochStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"getPriorBalanceIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"getPriorSupplyIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"getRewardForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_voter","type":"address"},{"internalType":"address[]","name":"_allowedRewardTokens","type":"address[]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastEarn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"left","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"numCheckpoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"payoutHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"payouts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amt","type":"uint256"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"rewardHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsListLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyCheckpoints","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyNumCheckpoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"address","name":"oldToken","type":"address"},{"internalType":"address","name":"newToken","type":"address"}],"name":"swapOutRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenRewardsPerEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"voter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c806392777b291161011a578063da09d19d116100ad578063e9dbe94c1161007c578063e9dbe94c146104ef578063f25e55a51461050f578063f301af421461053a578063f5f8d3651461054d578063f7412baf1461056057600080fd5b8063da09d19d14610493578063dce2321c146104b3578063e6886396146104de578063e8111a12146104e657600080fd5b80639cc7f708116100e95780639cc7f7081461043a578063a28d4c9c1461045a578063a7852afa1461046d578063b66503cf1461048057600080fd5b806392777b29146103d65780639418f93914610401578063946d92041461041457806399bcc0521461042757600080fd5b80634d5ce038116101925780636768dc18116101615780636768dc181461038a57806376f4be361461039d5780638a501100146103b05780638dd598fb146103c357600080fd5b80634d5ce038146103045780635058979314610337578063638634ee1461035757806365bcfbe71461036a57600080fd5b806335da504d116101ce57806335da504d146102645780633e491d471461027957806346c96aac1461028c57806349dcc204146102bd57600080fd5b80630175e23b1461020057806318160ddd146102265780631be052891461022f5780632af2cecc14610239575b600080fd5b61021361020e366004612220565b610587565b6040519081526020015b60405180910390f35b61021360025481565b61021362093a8081565b610213610247366004612261565b601060209081526000928352604080842090915290825290205481565b61027761027236600461229a565b6105c9565b005b6102136102873660046122e4565b6106f0565b6000546102a5906201000090046001600160a01b031681565b6040516001600160a01b03909116815260200161021d565b6102ef6102cb366004612310565b60096020908152600092835260408084209091529082529020805460019091015482565b6040805192835260208301919091520161021d565b610327610312366004612332565b60086020526000908152604090205460ff1681565b604051901515815260200161021d565b610213610345366004612220565b600a6020526000908152604090205481565b610213610365366004612332565b6108a6565b610213610378366004612332565b600e6020526000908152604090205481565b61027761039836600461229a565b6108ca565b6102136103ab366004612220565b61099c565b6102776103be36600461234f565b610ace565b6001546102a5906001600160a01b031681565b6102136103e43660046122e4565b600460209081526000928352604080842090915290825290205481565b61027761040f36600461234f565b610c2a565b610277610422366004612449565b610dba565b610213610435366004612332565b611076565b610213610448366004612220565b60036020526000908152604090205481565b610213610468366004612310565b6110af565b61027761047b366004612499565b6111f2565b61027761048e3660046122e4565b6114c2565b6102136104a1366004612332565b60056020526000908152604090205481565b6102136104c13660046124ca565b601160209081526000928352604080842090915290825290205481565b600754610213565b610213600c5481565b6102136104fd366004612332565b600f6020526000908152604090205481565b61021361051d3660046122e4565b600660209081526000928352604080842090915290825290205481565b6102a5610548366004612220565b6119e1565b61027761055b366004612499565b611a0b565b6102ef61056e366004612220565b600b602052600090815260409020805460019091015482565b60008061059383611de2565b905060006105a462093a8083612505565b90508084106105bf576105ba8262093a80612505565b6105c1565b815b949350505050565b6000546201000090046001600160a01b031633146106025760405162461bcd60e51b81526004016105f99061251d565b60405180910390fd5b600084116106405760405162461bcd60e51b815260206004820152600b60248201526a16995c9bc8185b5bdd5b9d60aa1b60448201526064016105f9565b83600260008282546106529190612505565b909155505060008381526003602052604081208054869290610675908490612505565b9091555050600083815260036020526040902054610694908490611dfb565b61069c611ed3565b82816001600160a01b0316836001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7876040516106e291815260200190565b60405180910390a450505050565b6000818152600a602052604081205461070b575060006108a0565b6001600160a01b0383166000908152600660209081526040808320858452909152812054819081906001908290819061074390611de2565b905061074f88826110af565b600089815260096020908152604080832084845290915290208054600190910154909650945091506107898161078487611de2565b611f77565b9050600062093a808261079b42611de2565b6107a59190612540565b6107af919061256d565b905080156108965760005b81811015610894576107d38a61046862093a8086612505565b60008b8152600960209081526040808320848452909152812080546001909101549099509750909450600b9061080f6103ab62093a8087612505565b81526020019081526020016000206001015494506000851115610873576001600160a01b038b166000908152600460209081526040808320868452909152902054859061085c9088612581565b610866919061256d565b6108709089612505565b97505b61088062093a8084612505565b92508061088c816125a0565b9150506107ba565b505b5094955050505050505b92915050565b6001600160a01b0381166000908152600560205260408120546108a0904290611f8e565b6000546201000090046001600160a01b031633146108fa5760405162461bcd60e51b81526004016105f99061251d565b836002600082825461090c9190612540565b90915550506000838152600360205260408120805486929061092f908490612540565b909155505060008381526003602052604090205461094e908490611dfb565b610956611ed3565b82816001600160a01b0316836001600160a01b03167ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567876040516106e291815260200190565b600c54600090806109b05750600092915050565b82600b60006109c0600185612540565b815260200190815260200160002060000154116109e9576109e2600182612540565b9392505050565b60008052600b6020527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f7654831015610a245750600092915050565b600080610a32600184612540565b90505b81811115610ac65760006002610a4b8484612540565b610a55919061256d565b610a5f9083612540565b6000818152600b6020908152604091829020825180840190935280548084526001909101549183019190915291925090871415610aa0575095945050505050565b8051871115610ab157819350610abf565b610abc600183612540565b92505b5050610a35565b509392505050565b600160009054906101000a90046001600160a01b03166001600160a01b03166385f2aef26040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610b1e57600080fd5b505af1158015610b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5691906125bb565b6001600160a01b0316336001600160a01b031614610ba25760405162461bcd60e51b81526020600482015260096024820152686f6e6c79207465616d60b81b60448201526064016105f9565b60405163a9059cbb60e01b81526001600160a01b0382811660048301526024820185905283169063a9059cbb90604401602060405180830381600087803b158015610bec57600080fd5b505af1158015610c00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2491906125d8565b50505050565b600160009054906101000a90046001600160a01b03166001600160a01b03166385f2aef26040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610c7a57600080fd5b505af1158015610c8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb291906125bb565b6001600160a01b0316336001600160a01b031614610cfe5760405162461bcd60e51b81526020600482015260096024820152686f6e6c79207465616d60b81b60448201526064016105f9565b816001600160a01b031660078481548110610d1b57610d1b6125fa565b6000918252602090912001546001600160a01b031614610d3a57600080fd5b6001600160a01b03808316600090815260086020526040808220805460ff1990811690915592841682529020805490911660011790556007805482919085908110610d8757610d876125fa565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b600054610100900460ff1615808015610dda5750600054600160ff909116105b80610df45750303b158015610df4575060005460ff166001145b610e575760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016105f9565b6000805460ff191660011790558015610e7a576000805461ff0019166101001790555b82600060026101000a8154816001600160a01b0302191690836001600160a01b03160217905550826001600160a01b0316638dd598fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015610eda57600080fd5b505afa158015610eee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1291906125bb565b600180546001600160a01b0319166001600160a01b039290921691909117905560005b825181101561102a5760006001600160a01b0316838281518110610f5b57610f5b6125fa565b60200260200101516001600160a01b03161461101857600160086000858481518110610f8957610f896125fa565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055506007838281518110610fdc57610fdc6125fa565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b039092169190911790555b80611022816125a0565b915050610f35565b508015611071576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60008061108242610587565b6001600160a01b039093166000908152600460209081526040808320958352949052929092205492915050565b6000828152600a6020526040812054806110cd5760009150506108a0565b600084815260096020526040812084916110e8600185612540565b815260200190815260200160002060000154116111125761110a600182612540565b9150506108a0565b600084815260096020908152604080832083805290915290205483101561113d5760009150506108a0565b60008061114b600184612540565b90505b818111156111e957600060026111648484612540565b61116e919061256d565b6111789083612540565b60008881526009602090815260408083208484528252918290208251808401909352805480845260019091015491830191909152919250908714156111c3575093506108a092505050565b80518711156111d4578193506111e2565b6111df600183612540565b92505b505061114e565b50949350505050565b600d5460ff16156112155760405162461bcd60e51b81526004016105f990612610565b600d8054600160ff199091161790556000546201000090046001600160a01b031633146112545760405162461bcd60e51b81526004016105f99061251d565b6001546040516331a9108f60e11b8152600481018490526000916001600160a01b031690636352211e9060240160206040518083038186803b15801561129957600080fd5b505afa1580156112ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d191906125bb565b905060005b82518110156114b25760006113048483815181106112f6576112f66125fa565b6020026020010151866106f0565b9050426006600086858151811061131d5761131d6125fa565b6020908102919091018101516001600160a01b031682528181019290925260409081016000908120898252909252902055801561137857611378848381518110611369576113696125fa565b60200260200101518483611f9d565b8484838151811061138b5761138b6125fa565b60200260200101516001600160a01b0316846001600160a01b03167f5edbb4c958d6c6218724840db450599207c2f649c9879fbc8ae8f5992a90f115846040516113d791815260200190565b60405180910390a480600e60008685815181106113f6576113f66125fa565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082825461142d9190612505565b90915550506001600160a01b03831660009081526010602052604081208551839290879086908110611461576114616125fa565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114989190612505565b909155508291506114aa9050816125a0565b9150506112d6565b5050600d805460ff191690555050565b600d5460ff16156114e55760405162461bcd60e51b81526004016105f990612610565b600d805460ff191660011790556001600160a01b03821660009081526008602052604090205460ff161580156115a05750600154604080516342f9577960e11b8152905133926001600160a01b0316916385f2aef29160048083019260209291908290030181600087803b15801561155c57600080fd5b505af1158015611570573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159491906125bb565b6001600160a01b031614155b156116c757600054604051633af32abf60e01b81526001600160a01b0384811660048301526201000090920490911690633af32abf9060240160206040518083038186803b1580156115f157600080fd5b505afa158015611605573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162991906125d8565b6116755760405162461bcd60e51b815260206004820181905260248201527f627269626520746f6b656e73206d7573742062652077686974656c697374656460448201526064016105f9565b6007546008116116c75760405162461bcd60e51b815260206004820152601760248201527f746f6f206d616e79207265776172647320746f6b656e7300000000000000000060448201526064016105f9565b60006116d242610587565b6001600160a01b03841660008181526004602081815260408084208685529091528083205490516370a0823160e01b815230928101929092529394509091906370a082319060240160206040518083038186803b15801561173257600080fd5b505afa158015611746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176a9190612638565b9050611778853330876120da565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a082319060240160206040518083038186803b1580156117ba57600080fd5b505afa1580156117ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f29190612638565b90506117fe8282612540565b9450600085116118505760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016105f9565b61185a8584612505565b6001600160a01b038716600090815260046020908152604080832088845290915290205561188b62093a8085612505565b6001600160a01b03871660009081526005602090815260408083209390935560089052205460ff1661191d576001600160a01b0386166000818152600860205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b03191690911790555b83866001600160a01b0316336001600160a01b03167f52977ea98a2220a03ee9ba5cb003ada08d394ea10155483c95dc2dc77a7eb24b8860405161196391815260200190565b60405180910390a460008481526011602090815260408083206001600160a01b038a1684529091528120805487929061199d908490612505565b90915550506001600160a01b0386166000908152600f6020526040812080548792906119ca908490612505565b9091555050600d805460ff19169055505050505050565b600781815481106119f157600080fd5b6000918252602090912001546001600160a01b0316905081565b600d5460ff1615611a2e5760405162461bcd60e51b81526004016105f990612610565b600d805460ff191660019081179091555460405163430c208160e01b8152336004820152602481018490526001600160a01b039091169063430c20819060440160206040518083038186803b158015611a8657600080fd5b505afa158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abe91906125d8565b611b0a5760405162461bcd60e51b815260206004820152601a60248201527f4e65697468657220617070726f766564206e6f72206f776e657200000000000060448201526064016105f9565b6001546040516331a9108f60e11b8152600481018490526000916001600160a01b031690636352211e9060240160206040518083038186803b158015611b4f57600080fd5b505afa158015611b63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8791906125bb565b905060005b82518110156114b2576000611bac8483815181106112f6576112f66125fa565b90504260066000868581518110611bc557611bc56125fa565b6020908102919091018101516001600160a01b0316825281810192909252604090810160009081208982529092529020558015611c2057611c20848381518110611c1157611c116125fa565b60200260200101513383611f9d565b84848381518110611c3357611c336125fa565b60200260200101516001600160a01b0316846001600160a01b03167f5edbb4c958d6c6218724840db450599207c2f649c9879fbc8ae8f5992a90f11584604051611c7f91815260200190565b60405180910390a480600e6000868581518110611c9e57611c9e6125fa565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000828254611cd59190612505565b90915550506001600160a01b03831660009081526010602052604081208551839290879086908110611d0957611d096125fa565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000828254611d409190612505565b90915550506001600160a01b0383163314611dcf57838281518110611d6757611d676125fa565b60200260200101516001600160a01b0316336001600160a01b0316846001600160a01b03167f43be61a5ef13e8d87e40f389a9b02d8b61c87a06a1b9f0e33ad764a49b5f0b8e8885604051611dc6929190918252602082015260400190565b60405180910390a45b5080611dda816125a0565b915050611b8c565b6000611df162093a8083612651565b6108a09083612540565b6000828152600a602052604090205442908015801590611e45575060008481526009602052604081208391611e31600185612540565b815260200190815260200160002060000154145b15611e7e5760008481526009602052604081208491611e65600185612540565b8152602081019190915260400160002060010155610c24565b6040805180820182528381526020808201868152600088815260098352848120868252909252929020905181559051600191820155611ebe908290612505565b6000858152600a602052604090205550505050565b600c54428115801590611f05575080600b6000611ef1600186612540565b815260200190815260200160002060000154145b15611f3457600254600b6000611f1c600186612540565b81526020810191909152604001600020600101555050565b60408051808201825282815260025460208083019182526000868152600b90915292909220905181559051600191820155611f70908390612505565b600c555050565b600081831015611f8757816109e2565b5090919050565b6000818310611f8757816109e2565b6000836001600160a01b03163b11611fef5760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b60448201526064016105f9565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b179052915160009283929087169161204b9190612665565b6000604051808303816000865af19150503d8060008114612088576040519150601f19603f3d011682016040523d82523d6000602084013e61208d565b606091505b50915091508180156120b75750805115806120b75750808060200190518101906120b791906125d8565b6120d35760405162461bcd60e51b81526004016105f9906126a0565b5050505050565b6000846001600160a01b03163b1161212c5760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b60448201526064016105f9565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291516000928392908816916121909190612665565b6000604051808303816000865af19150503d80600081146121cd576040519150601f19603f3d011682016040523d82523d6000602084013e6121d2565b606091505b50915091508180156121fc5750805115806121fc5750808060200190518101906121fc91906125d8565b6122185760405162461bcd60e51b81526004016105f9906126a0565b505050505050565b60006020828403121561223257600080fd5b5035919050565b6001600160a01b038116811461224e57600080fd5b50565b803561225c81612239565b919050565b6000806040838503121561227457600080fd5b823561227f81612239565b9150602083013561228f81612239565b809150509250929050565b600080600080608085870312156122b057600080fd5b843593506020850135925060408501356122c981612239565b915060608501356122d981612239565b939692955090935050565b600080604083850312156122f757600080fd5b823561230281612239565b946020939093013593505050565b6000806040838503121561232357600080fd5b50508035926020909101359150565b60006020828403121561234457600080fd5b81356109e281612239565b60008060006060848603121561236457600080fd5b83359250602084013561237681612239565b9150604084013561238681612239565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126123b857600080fd5b8135602067ffffffffffffffff808311156123d5576123d5612391565b8260051b604051601f19603f830116810181811084821117156123fa576123fa612391565b60405293845285810183019383810192508785111561241857600080fd5b83870191505b8482101561243e5761242f82612251565b8352918301919083019061241e565b979650505050505050565b6000806040838503121561245c57600080fd5b823561246781612239565b9150602083013567ffffffffffffffff81111561248357600080fd5b61248f858286016123a7565b9150509250929050565b600080604083850312156124ac57600080fd5b82359150602083013567ffffffffffffffff81111561248357600080fd5b600080604083850312156124dd57600080fd5b82359150602083013561228f81612239565b634e487b7160e01b600052601160045260246000fd5b60008219821115612518576125186124ef565b500190565b6020808252600990820152682737ba103b37ba32b960b91b604082015260600190565b600082821015612552576125526124ef565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261257c5761257c612557565b500490565b600081600019048311821515161561259b5761259b6124ef565b500290565b60006000198214156125b4576125b46124ef565b5060010190565b6000602082840312156125cd57600080fd5b81516109e281612239565b6000602082840312156125ea57600080fd5b815180151581146109e257600080fd5b634e487b7160e01b600052603260045260246000fd5b6020808252600e908201526d4e6f2072652d656e7472616e637960901b604082015260600190565b60006020828403121561264a57600080fd5b5051919050565b60008261266057612660612557565b500690565b6000825160005b81811015612686576020818601810151858301520161266c565b81811115612695576000828501525b509190910192915050565b60208082526021908201527f556e696669656442726962653a205472616e7366657246726f6d206661696c656040820152601960fa1b60608201526080019056fea2646970667358221220643c595500640185e8ebe83353e512f969bd4a546bb08f814ada0462a8de9afc64736f6c63430008090033

Deployed Bytecode Sourcemap

18985:14552:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22220:246;;;;;;:::i;:::-;;:::i;:::-;;;345:25:1;;;333:2;318:18;22220:246:0;;;;;;;;19622:23;;;;;;19425:38;;19457:6;19425:38;;20733:60;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;29867:407;;;;;;:::i;:::-;;:::i;:::-;;27922:1816;;;;;;:::i;:::-;;:::i;19303:20::-;;;;;;;;-1:-1:-1;;;;;19303:20:0;;;;;;-1:-1:-1;;;;;2063:32:1;;;2045:51;;2033:2;2018:18;19303:20:0;1899:203:1;20048:65:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2534:25:1;;;2590:2;2575:18;;2568:34;;;;2507:18;20048:65:0;2360:248:1;19923:40:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3030:14:1;;3023:22;3005:41;;2993:2;2978:18;19923:40:0;2865:187:1;20180:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;26186:148;;;;;;:::i;:::-;;:::i;20571:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;30282:364;;;;;;:::i;:::-;;:::i;23918:1034::-;;;;;;:::i;:::-;;:::i;32522:190::-;;;;;;:::i;:::-;;:::i;19398:18::-;;;;;-1:-1:-1;;;;;19398:18:0;;;19699:69;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;32115:308;;;;;;:::i;:::-;;:::i;21651:427::-;;;;;;:::i;:::-;;:::i;30654:190::-;;;;;;:::i;:::-;;:::i;19652:38::-;;;;;;:::i;:::-;;;;;;;;;;;;;;22859:1051;;;;;;:::i;:::-;;:::i;27289:625::-;;;;;;:::i;:::-;;:::i;30852:1255::-;;;;;;:::i;:::-;;:::i;19775:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;20840:62;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;25986:98;26062:7;:14;25986:98;;20414:32;;;;;;20649:45;;;;;;:::i;:::-;;;;;;;;;;;;;;19826:57;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;19892:24;;;;;;:::i;:::-;;:::i;26399:829::-;;;;;;:::i;:::-;;:::i;20305:59::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;22220:246;22280:4;22297:15;22315:22;22327:9;22315:11;:22::i;:::-;22297:40;-1:-1:-1;22348:13:0;22364:21;19457:6;22297:40;22364:21;:::i;:::-;22348:37;;22415:8;22403:9;:20;:55;;22439:19;:10;22452:6;22439:19;:::i;:::-;22403:55;;;22426:10;22403:55;22396:62;22220:246;-1:-1:-1;;;;22220:246:0:o;29867:407::-;29982:5;;;;;-1:-1:-1;;;;;29982:5:0;29968:10;:19;29960:41;;;;-1:-1:-1;;;29960:41:0;;;;;;;:::i;:::-;;;;;;;;;30029:1;30020:6;:10;30012:34;;;;-1:-1:-1;;;30012:34:0;;6596:2:1;30012:34:0;;;6578:21:1;6635:2;6615:18;;;6608:30;-1:-1:-1;;;6654:18:1;;;6647:41;6705:18;;30012:34:0;6394:335:1;30012:34:0;30074:6;30059:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;30091:18:0;;;;:9;:18;;;;;:28;;30113:6;;30091:18;:28;;30113:6;;30091:28;:::i;:::-;;;;-1:-1:-1;;30158:18:0;;;;:9;:18;;;;;;30132:45;;30149:7;;30132:16;:45::i;:::-;30188:24;:22;:24::i;:::-;30250:7;30244:4;-1:-1:-1;;;;;30230:36:0;30238:4;-1:-1:-1;;;;;30230:36:0;;30259:6;30230:36;;;;345:25:1;;333:2;318:18;;199:177;30230:36:0;;;;;;;;29867:407;;;;:::o;27922:1816::-;27988:4;28009:23;;;:14;:23;;;;;;28005:69;;-1:-1:-1;28061:1:0;28054:8;;28005:69;-1:-1:-1;;;;;28239:15:0;;28086:11;28239:15;;;:8;:15;;;;;;;;:24;;;;;;;;;28086:11;;;;28174:1;;28086:11;;;;28227:37;;:11;:37::i;:::-;28212:52;;28334:38;28355:7;28364;28334:20;:38::i;:::-;28389:20;;;;:11;:20;;;;;;;;:28;;;;;;;;:38;;28445;;;;;28389;;-1:-1:-1;28445:38:0;-1:-1:-1;28389:28:0;-1:-1:-1;28576:35:0;28585:7;28594:16;28389:38;28594:11;:16::i;:::-;28576:8;:35::i;:::-;28566:45;;28718:14;19457:6;28767:7;28736:28;28748:15;28736:11;:28::i;:::-;:38;;;;:::i;:::-;28735:51;;;;:::i;:::-;28718:68;-1:-1:-1;28803:13:0;;28799:906;;28838:9;28833:861;28857:9;28853:1;:13;28833:861;;;28964:49;28985:7;28994:18;19457:6;28994:7;:18;:::i;28964:49::-;29087:20;;;;:11;:20;;;;;;;;:28;;;;;;;;:38;;29151;;;;;29087;;-1:-1:-1;29151:38:0;-1:-1:-1;29087:28:0;;-1:-1:-1;29282:17:0;;29300:39;29320:18;19457:6;29320:7;:18;:::i;29300:39::-;29282:58;;;;;;;;;;;:65;;;29272:75;;29532:1;29522:7;:11;29518:123;;;-1:-1:-1;;;;;29575:27:0;;;;;;:20;:27;;;;;;;;:36;;;;;;;;;29614:7;;29568:43;;:4;:43;:::i;:::-;:53;;;;:::i;:::-;29558:63;;;;:::i;:::-;;;29518:123;29659:19;19457:6;29659:19;;:::i;:::-;;-1:-1:-1;28868:3:0;;;;:::i;:::-;;;;28833:861;;;;28799:906;-1:-1:-1;29724:6:0;;-1:-1:-1;;;;;;27922:1816:0;;;;;:::o;26186:148::-;-1:-1:-1;;;;;26306:19:0;;26256:4;26306:19;;;:12;:19;;;;;;26280:46;;26289:15;;26280:8;:46::i;30282:364::-;30398:5;;;;;-1:-1:-1;;;;;30398:5:0;30384:10;:19;30376:41;;;;-1:-1:-1;;;30376:41:0;;;;;;;:::i;:::-;30445:6;30430:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;30462:18:0;;;;:9;:18;;;;;:28;;30484:6;;30462:18;:28;;30484:6;;30462:28;:::i;:::-;;;;-1:-1:-1;;30529:18:0;;;;:9;:18;;;;;;30503:45;;30520:7;;30503:16;:45::i;:::-;30559:24;:22;:24::i;:::-;30622:7;30616:4;-1:-1:-1;;;;;30601:37:0;30610:4;-1:-1:-1;;;;;30601:37:0;;30631:6;30601:37;;;;345:25:1;;333:2;318:18;;199:177;23918:1034:0;24021:20;;23984:4;;24056:17;24052:58;;-1:-1:-1;24097:1:0;;23918:1034;-1:-1:-1;;23918:1034:0:o;24052:58::-;24219:9;24170:17;:35;24188:16;24203:1;24188:12;:16;:::i;:::-;24170:35;;;;;;;;;;;:45;;;:58;24166:116;;24253:16;24268:1;24253:12;:16;:::i;:::-;24245:25;23918:1034;-1:-1:-1;;;23918:1034:0:o;24166:116::-;24343:20;;;:17;:20;;;:30;:42;-1:-1:-1;24339:83:0;;;-1:-1:-1;24409:1:0;;23918:1034;-1:-1:-1;;23918:1034:0:o;24339:83::-;24434:10;;24472:16;24487:1;24472:12;:16;:::i;:::-;24459:29;;24499:423;24514:5;24506;:13;24499:423;;;24536:11;24576:1;24559:13;24567:5;24559;:13;:::i;:::-;24558:19;;;;:::i;:::-;24550:27;;:5;:27;:::i;:::-;24619:26;24648:25;;;:17;:25;;;;;;;;;24619:54;;;;;;;;;;;;;;;;;;;;;;;;;24536:41;;-1:-1:-1;24619:54:0;24692:25;;24688:223;;;-1:-1:-1;24745:6:0;23918:1034;-1:-1:-1;;;;;23918:1034:0:o;24688:223::-;24777:12;;:24;-1:-1:-1;24773:138:0;;;24830:6;24822:14;;24773:138;;;24885:10;24894:1;24885:6;:10;:::i;:::-;24877:18;;24773:138;24521:401;;24499:423;;;-1:-1:-1;24939:5:0;23918:1034;-1:-1:-1;;;23918:1034:0:o;32522:190::-;32634:3;;;;;;;;;-1:-1:-1;;;;;32634:3:0;-1:-1:-1;;;;;32620:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;32606:39:0;:10;-1:-1:-1;;;;;32606:39:0;;32598:61;;;;-1:-1:-1;;;32598:61:0;;7892:2:1;32598:61:0;;;7874:21:1;7931:1;7911:18;;;7904:29;-1:-1:-1;;;7949:18:1;;;7942:39;7998:18;;32598:61:0;7690:332:1;32598:61:0;32670:34;;-1:-1:-1;;;32670:34:0;;-1:-1:-1;;;;;8219:32:1;;;32670:34:0;;;8201:51:1;8268:18;;;8261:34;;;32670:23:0;;;;;8174:18:1;;32670:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32522:190;;;:::o;32115:308::-;32243:3;;;;;;;;;-1:-1:-1;;;;;32243:3:0;-1:-1:-1;;;;;32229:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;32215:39:0;:10;-1:-1:-1;;;;;32215:39:0;;32207:61;;;;-1:-1:-1;;;32207:61:0;;7892:2:1;32207:61:0;;;7874:21:1;7931:1;7911:18;;;7904:29;-1:-1:-1;;;7949:18:1;;;7942:39;7998:18;;32207:61:0;7690:332:1;32207:61:0;32301:8;-1:-1:-1;;;;;32287:22:0;:7;32295:1;32287:10;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;32287:10:0;:22;32279:31;;;;;;-1:-1:-1;;;;;32321:18:0;;;32342:5;32321:18;;;:8;:18;;;;;;:26;;-1:-1:-1;;32321:26:0;;;;;;32358:18;;;;;;;:25;;;;;32321:26;32358:25;;;32394:7;:10;;32367:8;;32394:7;32402:1;;32394:10;;;;;;:::i;:::-;;;;;;;;;:21;;;;;-1:-1:-1;;;;;32394:21:0;;;;;-1:-1:-1;;;;;32394:21:0;;;;;;32115:308;;;:::o;21651:427::-;16136:19;16159:13;;;;;;16158:14;;16206:34;;;;-1:-1:-1;16224:12:0;;16239:1;16224:12;;;;:16;16206:34;16205:108;;;-1:-1:-1;16285:4:0;6898:19;:23;;;16246:66;;-1:-1:-1;16295:12:0;;;;;:17;16246:66;16183:204;;;;-1:-1:-1;;;16183:204:0;;8922:2:1;16183:204:0;;;8904:21:1;8961:2;8941:18;;;8934:30;9000:34;8980:18;;;8973:62;-1:-1:-1;;;9051:18:1;;;9044:44;9105:19;;16183:204:0;8720:410:1;16183:204:0;16398:12;:16;;-1:-1:-1;;16398:16:0;16413:1;16398:16;;;16425:67;;;;16460:13;:20;;-1:-1:-1;;16460:20:0;;;;;16425:67;21764:6:::1;21756:5;;:14;;;;;-1:-1:-1::0;;;;;21756:14:0::1;;;;;-1:-1:-1::0;;;;;21756:14:0::1;;;;;;21794:6;-1:-1:-1::0;;;;;21787:18:0::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21781:3;:26:::0;;-1:-1:-1;;;;;;21781:26:0::1;-1:-1:-1::0;;;;;21781:26:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;21820:251:0::1;21837:20;:27;21833:1;:31;21820:251;;;21925:1;-1:-1:-1::0;;;;;21890:37:0::1;:20;21911:1;21890:23;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;21890:37:0::1;;21886:174;;21984:4;21948:8;:33;21957:20;21978:1;21957:23;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;21948:33:0::1;-1:-1:-1::0;;;;;21948:33:0::1;;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;22007:7;22020:20;22041:1;22020:23;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;22007:37;;::::1;::::0;::::1;::::0;;-1:-1:-1;22007:37:0;;;;;;;::::1;::::0;;-1:-1:-1;;;;;;22007:37:0::1;-1:-1:-1::0;;;;;22007:37:0;;::::1;::::0;;;::::1;::::0;;21886:174:::1;21866:3:::0;::::1;::::0;::::1;:::i;:::-;;;;21820:251;;;;16518:14:::0;16514:102;;;16565:5;16549:21;;-1:-1:-1;;16549:21:0;;;16590:14;;-1:-1:-1;9287:36:1;;16590:14:0;;9275:2:1;9260:18;16590:14:0;;;;;;;16514:102;16125:498;21651:427;;:::o;30654:190::-;30706:4;30723:19;30745:30;30759:15;30745:13;:30::i;:::-;-1:-1:-1;;;;;30793:27:0;;;;;;;:20;:27;;;;;;;;:43;;;;;;;;;;;;30654:190;-1:-1:-1;;30654:190:0:o;22859:1051::-;22940:4;22977:23;;;:14;:23;;;;;;23015:17;23011:58;;23056:1;23049:8;;;;;23011:58;23127:20;;;;:11;:20;;;;;23179:9;;23148:16;23163:1;23148:12;:16;:::i;:::-;23127:38;;;;;;;;;;;:48;;;:61;23123:119;;23213:16;23228:1;23213:12;:16;:::i;:::-;23205:25;;;;;23123:119;23301:20;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:45;-1:-1:-1;23297:86:0;;;23370:1;23363:8;;;;;23297:86;23395:10;;23433:16;23448:1;23433:12;:16;:::i;:::-;23420:29;;23460:420;23475:5;23467;:13;23460:420;;;23497:11;23537:1;23520:13;23528:5;23520;:13;:::i;:::-;23519:19;;;;:::i;:::-;23511:27;;:5;:27;:::i;:::-;23580:20;23603;;;:11;:20;;;;;;;;:28;;;;;;;;;23580:51;;;;;;;;;;;;;;;;;;;;;;;;;23497:41;;-1:-1:-1;23580:51:0;23650:25;;23646:223;;;-1:-1:-1;23703:6:0;-1:-1:-1;23696:13:0;;-1:-1:-1;;;23696:13:0;23646:223;23735:12;;:24;-1:-1:-1;23731:138:0;;;23788:6;23780:14;;23731:138;;;23843:10;23852:1;23843:6;:10;:::i;:::-;23835:18;;23731:138;23482:398;;23460:420;;;-1:-1:-1;23897:5:0;22859:1051;-1:-1:-1;;;;22859:1051:0:o;27289:625::-;21545:7;;;;21544:8;21536:36;;;;-1:-1:-1;;;21536:36:0;;;;;;;:::i;:::-;21583:7;:14;;21593:4;-1:-1:-1;;21583:14:0;;;;;;-1:-1:-1;27403:5:0;;;::::1;-1:-1:-1::0;;;;;27403:5:0::1;27389:10;:19;27381:41;;;;-1:-1:-1::0;;;27381:41:0::1;;;;;;;:::i;:::-;27464:3;::::0;27450:35:::1;::::0;-1:-1:-1;;;27450:35:0;;::::1;::::0;::::1;345:25:1::0;;;27433:14:0::1;::::0;-1:-1:-1;;;;;27464:3:0::1;::::0;27450:26:::1;::::0;318:18:1;;27450:35:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27433:52;;27501:6;27496:411;27517:6;:13;27513:1;:17;27496:411;;;27552:12;27567:26;27574:6;27581:1;27574:9;;;;;;;;:::i;:::-;;;;;;;27585:7;27567:6;:26::i;:::-;27552:41;;27639:15;27608:8;:19;27617:6;27624:1;27617:9;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;27608:19:0::1;::::0;;;;::::1;::::0;;;;;;;;-1:-1:-1;27608:19:0;;;:28;;;;;;;;:46;27673:11;;27669:58:::1;;27686:41;27700:6;27707:1;27700:9;;;;;;;;:::i;:::-;;;;;;;27711:6;27719:7;27686:13;:41::i;:::-;27781:7;27770:6;27777:1;27770:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;27749:49:0::1;27762:6;-1:-1:-1::0;;;;;27749:49:0::1;;27790:7;27749:49;;;;345:25:1::0;;333:2;318:18;;199:177;27749:49:0::1;;;;;;;;27835:7;27813;:18;27821:6;27828:1;27821:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;27813:18:0::1;-1:-1:-1::0;;;;;27813:18:0::1;;;;;;;;;;;;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;27857:16:0;::::1;;::::0;;;:8:::1;:16;::::0;;;;27874:9;;27888:7;;27857:16;27874:6;;27881:1;;27874:9;::::1;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;27857:27:0::1;-1:-1:-1::0;;;;;27857:27:0::1;;;;;;;;;;;;;:38;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;27532:3:0;;-1:-1:-1;27532:3:0::1;::::0;-1:-1:-1;27532:3:0;::::1;:::i;:::-;;;;27496:411;;;-1:-1:-1::0;;21620:7:0;:15;;-1:-1:-1;;21620:15:0;;;-1:-1:-1;;27289:625:0:o;30852:1255::-;21545:7;;;;21544:8;21536:36;;;;-1:-1:-1;;;21536:36:0;;;;;;;:::i;:::-;21583:7;:14;;-1:-1:-1;;21583:14:0;21593:4;21583:14;;;-1:-1:-1;;;;;30938:15:0;::::1;21583:7:::0;30938:15;;;:8:::1;:15;::::0;;;;;21583:14;30938:15:::1;30937:16;:60:::0;::::1;;;-1:-1:-1::0;30973:3:0::1;::::0;30959:25:::1;::::0;;-1:-1:-1;;;30959:25:0;;;;30986:10:::1;::::0;-1:-1:-1;;;;;30973:3:0::1;::::0;30959:23:::1;::::0;:25:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;30973:3:::1;::::0;30959:25;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;30959:37:0::1;;30957:40;30937:60;30933:253;;;31027:5;::::0;31020:34:::1;::::0;-1:-1:-1;;;31020:34:0;;-1:-1:-1;;;;;2063:32:1;;;31020:34:0::1;::::0;::::1;2045:51:1::0;31027:5:0;;;::::1;::::0;;::::1;::::0;31020:27:::1;::::0;2018:18:1;;31020:34:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31012:79;;;::::0;-1:-1:-1;;;31012:79:0;;9879:2:1;31012:79:0::1;::::0;::::1;9861:21:1::0;;;9898:18;;;9891:30;9957:34;9937:18;;;9930:62;10009:18;;31012:79:0::1;9677:356:1::0;31012:79:0::1;31112:7;:14:::0;19560:1:::1;-1:-1:-1::0;31104:70:0::1;;;::::0;-1:-1:-1;;;31104:70:0;;10240:2:1;31104:70:0::1;::::0;::::1;10222:21:1::0;10279:2;10259:18;;;10252:30;10318:25;10298:18;;;10291:53;10361:18;;31104:70:0::1;10038:347:1::0;31104:70:0::1;31257:19;31279:30;31293:15;31279:13;:30::i;:::-;-1:-1:-1::0;;;;;31340:27:0;::::1;31320:17;31340:27:::0;;;:20:::1;:27;::::0;;;;;;;:43;;;;;;;;;;31408:38;;-1:-1:-1;;;31408:38:0;;31440:4:::1;31408:38:::0;;::::1;2045:51:1::0;;;;31340:43:0;;-1:-1:-1;31320:17:0;;31340:27;31408:23:::1;::::0;2018:18:1;;31408:38:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31396:50;;31457:59;31475:5;31482:10;31502:4;31509:6;31457:17;:59::i;:::-;31539:38;::::0;-1:-1:-1;;;31539:38:0;;31571:4:::1;31539:38;::::0;::::1;2045:51:1::0;31527:9:0::1;::::0;-1:-1:-1;;;;;31539:23:0;::::1;::::0;::::1;::::0;2018:18:1;;31539:38:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31527:50:::0;-1:-1:-1;31597:11:0::1;31604:4:::0;31527:50;31597:11:::1;:::i;:::-;31588:20;;31636:1;31627:6;:10;31619:52;;;::::0;-1:-1:-1;;;31619:52:0;;10781:2:1;31619:52:0::1;::::0;::::1;10763:21:1::0;10820:2;10800:18;;;10793:30;10859:31;10839:18;;;10832:59;10908:18;;31619:52:0::1;10579:353:1::0;31619:52:0::1;31730:21;31745:6:::0;31730:12;:21:::1;:::i;:::-;-1:-1:-1::0;;;;;31684:27:0;::::1;;::::0;;;:20:::1;:27;::::0;;;;;;;:43;;;;;;;;:67;31786:25:::1;19457:6;31712:14:::0;31786:25:::1;:::i;:::-;-1:-1:-1::0;;;;;31764:19:0;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;;:47;;;;31829:8:::1;:15:::0;;;;::::1;;31824:105;;-1:-1:-1::0;;;;;31861:15:0;::::1;;::::0;;;:8:::1;:15;::::0;;;;:22;;-1:-1:-1;;31861:22:0::1;31879:4;31861:22:::0;;::::1;::::0;;;31898:7:::1;:19:::0;;;;::::1;::::0;;;;;;::::1;::::0;;-1:-1:-1;;;;;;31898:19:0::1;::::0;;::::1;::::0;;31824:105:::1;31978:14;31971:5;-1:-1:-1::0;;;;;31946:55:0::1;31959:10;-1:-1:-1::0;;;;;31946:55:0::1;;31994:6;31946:55;;;;345:25:1::0;;333:2;318:18;;199:177;31946:55:0::1;;;;;;;;32012:29;::::0;;;:13:::1;:29;::::0;;;;;;;-1:-1:-1;;;;;32012:36:0;::::1;::::0;;;;;;;:46;;32052:6;;32012:29;:46:::1;::::0;32052:6;;32012:46:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;32069:20:0;::::1;;::::0;;;:13:::1;:20;::::0;;;;:30;;32093:6;;32069:20;:30:::1;::::0;32093:6;;32069:30:::1;:::i;:::-;::::0;;;-1:-1:-1;;21620:7:0;:15;;-1:-1:-1;;21620:15:0;;;-1:-1:-1;;;;;;30852:1255:0:o;19892:24::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19892:24:0;;-1:-1:-1;19892:24:0;:::o;26399:829::-;21545:7;;;;21544:8;21536:36;;;;-1:-1:-1;;;21536:36:0;;;;;;;:::i;:::-;21583:7;:14;;-1:-1:-1;;21583:14:0;21593:4;21583:14;;;;;;26505:3;26491:57:::1;::::0;-1:-1:-1;;;26491:57:0;;26528:10:::1;26491:57;::::0;::::1;8201:51:1::0;8268:18;;;8261:34;;;-1:-1:-1;;;;;26505:3:0;;::::1;::::0;26491:36:::1;::::0;8174:18:1;;26491:57:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26483:96;;;::::0;-1:-1:-1;;;26483:96:0;;11139:2:1;26483:96:0::1;::::0;::::1;11121:21:1::0;11178:2;11158:18;;;11151:30;11217:28;11197:18;;;11190:56;11263:18;;26483:96:0::1;10937:350:1::0;26483:96:0::1;26621:3;::::0;26607:35:::1;::::0;-1:-1:-1;;;26607:35:0;;::::1;::::0;::::1;345:25:1::0;;;26590:14:0::1;::::0;-1:-1:-1;;;;;26621:3:0::1;::::0;26607:26:::1;::::0;318:18:1;;26607:35:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26590:52;;26658:6;26653:568;26674:6;:13;26670:1;:17;26653:568;;;26709:12;26724:26;26731:6;26738:1;26731:9;;;;;;;;:::i;26724:26::-;26709:41;;26796:15;26765:8;:19;26774:6;26781:1;26774:9;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;26765:19:0::1;::::0;;;;::::1;::::0;;;;;;;;-1:-1:-1;26765:19:0;;;:28;;;;;;;;:46;26830:11;;26826:62:::1;;26843:45;26857:6;26864:1;26857:9;;;;;;;;:::i;:::-;;;;;;;26868:10;26880:7;26843:13;:45::i;:::-;26942:7;26931:6;26938:1;26931:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;26910:49:0::1;26923:6;-1:-1:-1::0;;;;;26910:49:0::1;;26951:7;26910:49;;;;345:25:1::0;;333:2;318:18;;199:177;26910:49:0::1;;;;;;;;26996:7;26974;:18;26982:6;26989:1;26982:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;26974:18:0::1;-1:-1:-1::0;;;;;26974:18:0::1;;;;;;;;;;;;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;27018:16:0;::::1;;::::0;;;:8:::1;:16;::::0;;;;27035:9;;27049:7;;27018:16;27035:6;;27042:1;;27035:9;::::1;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;27018:27:0::1;-1:-1:-1::0;;;;;27018:27:0::1;;;;;;;;;;;;;:38;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;27076:20:0;::::1;27086:10;27076:20;27073:137;;27166:6;27173:1;27166:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;27122:72:0::1;27154:10;-1:-1:-1::0;;;;;27122:72:0::1;27146:6;-1:-1:-1::0;;;;;27122:72:0::1;;27177:7;27186;27122:72;;;;;;2534:25:1::0;;;2590:2;2575:18;;2568:34;2522:2;2507:18;;2360:248;27122:72:0::1;;;;;;;;27073:137;-1:-1:-1::0;26689:3:0;::::1;::::0;::::1;:::i;:::-;;;;26653:568;;22086:126:::0;22146:4;22183:20;22196:6;22183:9;:20;:::i;:::-;22170:34;;:9;:34;:::i;24960:516::-;25034:15;25099:23;;;:14;:23;;;;;;25052:15;;25137:17;;;;;:84;;-1:-1:-1;25158:20:0;;;;:11;:20;;;;;25211:10;;25179:17;25195:1;25179:13;:17;:::i;:::-;25158:39;;;;;;;;;;;:49;;;:63;25137:84;25133:336;;;25238:20;;;;:11;:20;;;;;25290:7;;25259:17;25275:1;25259:13;:17;:::i;:::-;25238:39;;;;;;;;;;;-1:-1:-1;25238:39:0;:49;;:59;25133:336;;;25368:31;;;;;;;;;;;;;;;;;;-1:-1:-1;25330:20:0;;;:11;:20;;;;;:35;;;;;;;;;:69;;;;;;;;;;;25440:17;;25351:13;;25440:17;:::i;:::-;25414:23;;;;:14;:23;;;;;:43;25023:453;;24960:516;;:::o;25484:494::-;25559:20;;25608:15;25640:17;;;;;:81;;-1:-1:-1;25711:10:0;25661:17;:36;25679:17;25695:1;25679:13;:17;:::i;:::-;25661:36;;;;;;;;;;;:46;;;:60;25640:81;25636:335;;;25784:11;;25738:17;:36;25756:17;25772:1;25756:13;:17;:::i;:::-;25738:36;;;;;;;;;;;-1:-1:-1;25738:36:0;:43;;:57;25527:451;;25484:494::o;25636:335::-;25863:41;;;;;;;;;;;25892:11;;25863:41;;;;;;;-1:-1:-1;25828:32:0;;;:17;:32;;;;;;;:76;;;;;;;;;;;25942:17;;25846:13;;25942:17;:::i;:::-;25919:20;:40;25527:451;;25484:494::o;4459:98::-;4511:4;4540:1;4535;:6;;:14;;4548:1;4535:14;;;-1:-1:-1;4544:1:0;;4528:21;-1:-1:-1;4459:98:0:o;4563:97::-;4615:4;4643:1;4639;:5;:13;;4651:1;4639:13;;32720:389;32833:1;32813:5;-1:-1:-1;;;;;32813:17:0;;:21;32805:55;;;;-1:-1:-1;;;32805:55:0;;11611:2:1;32805:55:0;;;11593:21:1;11650:2;11630:18;;;11623:30;-1:-1:-1;;;11669:18:1;;;11662:51;11730:18;;32805:55:0;11409:345:1;32805:55:0;32927:59;;;-1:-1:-1;;;;;8219:32:1;;;32927:59:0;;;8201:51:1;8268:18;;;;8261:34;;;32927:59:0;;;;;;;;;;8174:18:1;;;;32927:59:0;;;;;;;-1:-1:-1;;;;;32927:59:0;-1:-1:-1;;;32927:59:0;;;32916:71;;-1:-1:-1;;;;32916:10:0;;;;:71;;32927:59;32916:71;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32871:116;;;;33006:7;:57;;;;-1:-1:-1;33018:11:0;;:16;;:44;;;33049:4;33038:24;;;;;;;;;;;;:::i;:::-;32998:103;;;;-1:-1:-1;;;32998:103:0;;;;;;;:::i;:::-;32794:315;;32720:389;;;:::o;33117:417::-;33248:1;33228:5;-1:-1:-1;;;;;33228:17:0;;:21;33220:55;;;;-1:-1:-1;;;33220:55:0;;11611:2:1;33220:55:0;;;11593:21:1;11650:2;11630:18;;;11623:30;-1:-1:-1;;;11669:18:1;;;11662:51;11730:18;;33220:55:0;11409:345:1;33220:55:0;33342:69;;;-1:-1:-1;;;;;12850:15:1;;;33342:69:0;;;12832:34:1;12902:15;;;12882:18;;;12875:43;12934:18;;;;12927:34;;;33342:69:0;;;;;;;;;;12767:18:1;;;;33342:69:0;;;;;;;-1:-1:-1;;;;;33342:69:0;-1:-1:-1;;;33342:69:0;;;33331:81;;-1:-1:-1;;;;33331:10:0;;;;:81;;33342:69;33331:81;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33286:126;;;;33431:7;:57;;;;-1:-1:-1;33443:11:0;;:16;;:44;;;33474:4;33463:24;;;;;;;;;;;;:::i;:::-;33423:103;;;;-1:-1:-1;;;33423:103:0;;;;;;;:::i;:::-;33209:325;;33117:417;;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;381:131::-;-1:-1:-1;;;;;456:31:1;;446:42;;436:70;;502:1;499;492:12;436:70;381:131;:::o;517:134::-;585:20;;614:31;585:20;614:31;:::i;:::-;517:134;;;:::o;656:388::-;724:6;732;785:2;773:9;764:7;760:23;756:32;753:52;;;801:1;798;791:12;753:52;840:9;827:23;859:31;884:5;859:31;:::i;:::-;909:5;-1:-1:-1;966:2:1;951:18;;938:32;979:33;938:32;979:33;:::i;:::-;1031:7;1021:17;;;656:388;;;;;:::o;1049:525::-;1135:6;1143;1151;1159;1212:3;1200:9;1191:7;1187:23;1183:33;1180:53;;;1229:1;1226;1219:12;1180:53;1265:9;1252:23;1242:33;;1322:2;1311:9;1307:18;1294:32;1284:42;;1376:2;1365:9;1361:18;1348:32;1389:31;1414:5;1389:31;:::i;:::-;1439:5;-1:-1:-1;1496:2:1;1481:18;;1468:32;1509:33;1468:32;1509:33;:::i;:::-;1049:525;;;;-1:-1:-1;1049:525:1;;-1:-1:-1;;1049:525:1:o;1579:315::-;1647:6;1655;1708:2;1696:9;1687:7;1683:23;1679:32;1676:52;;;1724:1;1721;1714:12;1676:52;1763:9;1750:23;1782:31;1807:5;1782:31;:::i;:::-;1832:5;1884:2;1869:18;;;;1856:32;;-1:-1:-1;;;1579:315:1:o;2107:248::-;2175:6;2183;2236:2;2224:9;2215:7;2211:23;2207:32;2204:52;;;2252:1;2249;2242:12;2204:52;-1:-1:-1;;2275:23:1;;;2345:2;2330:18;;;2317:32;;-1:-1:-1;2107:248:1:o;2613:247::-;2672:6;2725:2;2713:9;2704:7;2700:23;2696:32;2693:52;;;2741:1;2738;2731:12;2693:52;2780:9;2767:23;2799:31;2824:5;2799:31;:::i;3057:456::-;3134:6;3142;3150;3203:2;3191:9;3182:7;3178:23;3174:32;3171:52;;;3219:1;3216;3209:12;3171:52;3255:9;3242:23;3232:33;;3315:2;3304:9;3300:18;3287:32;3328:31;3353:5;3328:31;:::i;:::-;3378:5;-1:-1:-1;3435:2:1;3420:18;;3407:32;3448:33;3407:32;3448:33;:::i;:::-;3500:7;3490:17;;;3057:456;;;;;:::o;3518:127::-;3579:10;3574:3;3570:20;3567:1;3560:31;3610:4;3607:1;3600:15;3634:4;3631:1;3624:15;3650:908;3704:5;3757:3;3750:4;3742:6;3738:17;3734:27;3724:55;;3775:1;3772;3765:12;3724:55;3811:6;3798:20;3837:4;3860:18;3897:2;3893;3890:10;3887:36;;;3903:18;;:::i;:::-;3949:2;3946:1;3942:10;3981:2;3975:9;4044:2;4040:7;4035:2;4031;4027:11;4023:25;4015:6;4011:38;4099:6;4087:10;4084:22;4079:2;4067:10;4064:18;4061:46;4058:72;;;4110:18;;:::i;:::-;4146:2;4139:22;4196:18;;;4272:15;;;4268:24;;;4230:15;;;;-1:-1:-1;4304:15:1;;;4301:35;;;4332:1;4329;4322:12;4301:35;4368:2;4360:6;4356:15;4345:26;;4380:148;4396:6;4391:3;4388:15;4380:148;;;4462:23;4481:3;4462:23;:::i;:::-;4450:36;;4506:12;;;;4413;;;;4380:148;;;4546:6;3650:908;-1:-1:-1;;;;;;;3650:908:1:o;4563:483::-;4656:6;4664;4717:2;4705:9;4696:7;4692:23;4688:32;4685:52;;;4733:1;4730;4723:12;4685:52;4772:9;4759:23;4791:31;4816:5;4791:31;:::i;:::-;4841:5;-1:-1:-1;4897:2:1;4882:18;;4869:32;4924:18;4913:30;;4910:50;;;4956:1;4953;4946:12;4910:50;4979:61;5032:7;5023:6;5012:9;5008:22;4979:61;:::i;:::-;4969:71;;;4563:483;;;;;:::o;5051:416::-;5144:6;5152;5205:2;5193:9;5184:7;5180:23;5176:32;5173:52;;;5221:1;5218;5211:12;5173:52;5257:9;5244:23;5234:33;;5318:2;5307:9;5303:18;5290:32;5345:18;5337:6;5334:30;5331:50;;;5377:1;5374;5367:12;5472:315;5540:6;5548;5601:2;5589:9;5580:7;5576:23;5572:32;5569:52;;;5617:1;5614;5607:12;5569:52;5653:9;5640:23;5630:33;;5713:2;5702:9;5698:18;5685:32;5726:31;5751:5;5726:31;:::i;5792:127::-;5853:10;5848:3;5844:20;5841:1;5834:31;5884:4;5881:1;5874:15;5908:4;5905:1;5898:15;5924:128;5964:3;5995:1;5991:6;5988:1;5985:13;5982:39;;;6001:18;;:::i;:::-;-1:-1:-1;6037:9:1;;5924:128::o;6057:332::-;6259:2;6241:21;;;6298:1;6278:18;;;6271:29;-1:-1:-1;;;6331:2:1;6316:18;;6309:39;6380:2;6365:18;;6057:332::o;6734:125::-;6774:4;6802:1;6799;6796:8;6793:34;;;6807:18;;:::i;:::-;-1:-1:-1;6844:9:1;;6734:125::o;6864:127::-;6925:10;6920:3;6916:20;6913:1;6906:31;6956:4;6953:1;6946:15;6980:4;6977:1;6970:15;6996:120;7036:1;7062;7052:35;;7067:18;;:::i;:::-;-1:-1:-1;7101:9:1;;6996:120::o;7121:168::-;7161:7;7227:1;7223;7219:6;7215:14;7212:1;7209:21;7204:1;7197:9;7190:17;7186:45;7183:71;;;7234:18;;:::i;:::-;-1:-1:-1;7274:9:1;;7121:168::o;7294:135::-;7333:3;-1:-1:-1;;7354:17:1;;7351:43;;;7374:18;;:::i;:::-;-1:-1:-1;7421:1:1;7410:13;;7294:135::o;7434:251::-;7504:6;7557:2;7545:9;7536:7;7532:23;7528:32;7525:52;;;7573:1;7570;7563:12;7525:52;7605:9;7599:16;7624:31;7649:5;7624:31;:::i;8306:277::-;8373:6;8426:2;8414:9;8405:7;8401:23;8397:32;8394:52;;;8442:1;8439;8432:12;8394:52;8474:9;8468:16;8527:5;8520:13;8513:21;8506:5;8503:32;8493:60;;8549:1;8546;8539:12;8588:127;8649:10;8644:3;8640:20;8637:1;8630:31;8680:4;8677:1;8670:15;8704:4;8701:1;8694:15;9334:338;9536:2;9518:21;;;9575:2;9555:18;;;9548:30;-1:-1:-1;;;9609:2:1;9594:18;;9587:44;9663:2;9648:18;;9334:338::o;10390:184::-;10460:6;10513:2;10501:9;10492:7;10488:23;10484:32;10481:52;;;10529:1;10526;10519:12;10481:52;-1:-1:-1;10552:16:1;;10390:184;-1:-1:-1;10390:184:1:o;11292:112::-;11324:1;11350;11340:35;;11355:18;;:::i;:::-;-1:-1:-1;11389:9:1;;11292:112::o;11759:426::-;11888:3;11926:6;11920:13;11951:1;11961:129;11975:6;11972:1;11969:13;11961:129;;;12073:4;12057:14;;;12053:25;;12047:32;12034:11;;;12027:53;11990:12;11961:129;;;12108:6;12105:1;12102:13;12099:48;;;12143:1;12134:6;12129:3;12125:16;12118:27;12099:48;-1:-1:-1;12163:16:1;;;;;11759:426;-1:-1:-1;;11759:426:1:o;12190:397::-;12392:2;12374:21;;;12431:2;12411:18;;;12404:30;12470:34;12465:2;12450:18;;12443:62;-1:-1:-1;;;12536:2:1;12521:18;;12514:31;12577:3;12562:19;;12190:397::o

Swarm Source

ipfs://643c595500640185e8ebe83353e512f969bd4a546bb08f814ada0462a8de9afc

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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