ETH Price: $2,948.79 (-0.54%)

Contract

0xb36b774182CCB1F5C9e9eDB2C000c2e75aD5883f

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Stake4098191542025-12-12 9:59:4743 days ago1765533587IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098187892025-12-12 9:58:1943 days ago1765533499IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098187152025-12-12 9:58:0043 days ago1765533480IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098182532025-12-12 9:56:0443 days ago1765533364IN
0xb36b7741...75aD5883f
0 ETH0.000002080.01
Stake4098180952025-12-12 9:55:2543 days ago1765533325IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098173242025-12-12 9:52:1443 days ago1765533134IN
0xb36b7741...75aD5883f
0 ETH0.000001980.010051
Stake4098172942025-12-12 9:52:0643 days ago1765533126IN
0xb36b7741...75aD5883f
0 ETH0.000002220.010418
Stake4098163082025-12-12 9:47:5943 days ago1765532879IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098162752025-12-12 9:47:5143 days ago1765532871IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098156672025-12-12 9:45:2043 days ago1765532720IN
0xb36b7741...75aD5883f
0 ETH0.000002180.01
Stake4098155572025-12-12 9:44:5243 days ago1765532692IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098135552025-12-12 9:36:3343 days ago1765532193IN
0xb36b7741...75aD5883f
0 ETH0.000001970.01
Stake4098130742025-12-12 9:34:3243 days ago1765532072IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098126422025-12-12 9:32:4743 days ago1765531967IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098126012025-12-12 9:32:3643 days ago1765531956IN
0xb36b7741...75aD5883f
0 ETH0.000001920.01
Stake4098116372025-12-12 9:28:3543 days ago1765531715IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098111952025-12-12 9:26:4743 days ago1765531607IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098080692025-12-12 9:13:4743 days ago1765530827IN
0xb36b7741...75aD5883f
0 ETH0.000001970.01
Stake4098068042025-12-12 9:08:3043 days ago1765530510IN
0xb36b7741...75aD5883f
0 ETH0.000001970.01
Stake4098045012025-12-12 8:58:5943 days ago1765529939IN
0xb36b7741...75aD5883f
0 ETH0.000002180.01
Stake4098041682025-12-12 8:57:3543 days ago1765529855IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4098033382025-12-12 8:54:0843 days ago1765529648IN
0xb36b7741...75aD5883f
0 ETH0.000002080.01
Stake4098017182025-12-12 8:47:2443 days ago1765529244IN
0xb36b7741...75aD5883f
0 ETH0.000002080.01
Stake4097993912025-12-12 8:37:4243 days ago1765528662IN
0xb36b7741...75aD5883f
0 ETH0.000002130.01
Stake4097951272025-12-12 8:19:5843 days ago1765527598IN
0xb36b7741...75aD5883f
0 ETH0.000002080.01
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

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

Contract Name:
IFAllocationCommitV1

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2025-07-14
*/

// SPDX-License-Identifier: MIT
// Solidity Compiler Version: 0.8.9
// Optimization Runs: 200
// Sources flattened with hardhat v2.16.1 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}


// File @openzeppelin/contracts/utils/[email protected]

// 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 Address {
    /**
     * @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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

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

        (bool success, bytes memory returndata) = target.delegatecall(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/token/ERC20/utils/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


// File @openzeppelin/contracts/security/[email protected]

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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


// File @openzeppelin/contracts/utils/structs/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }
}


// File contracts/interfaces/IIFBridgableStakeWeight.sol

pragma solidity ^0.8.9;

interface IIFBridgableStakeWeight {
    enum BridgeType {
        UserWeight,
        TotalWeight
    }

    struct MessageRequest {
        // user address
        address[] users;
        // timestamp value
        uint80 timestamp;
        // bridge type
        BridgeType bridgeType;
        // track number
        uint24 trackId;
        // amount of weight at timestamp
        uint192[] weights;
    }
}


// File contracts/interfaces/IIFRetrievableStakeWeight.sol

pragma solidity ^0.8.9;

interface IIFRetrievableStakeWeight {
    function getTotalStakeWeight(uint24 trackId, uint80 timestamp)
        external
        view
        returns (uint192);

    function getUserStakeWeight(
        uint24 trackId,
        address user,
        uint80 timestamp
    ) external view returns (uint192);
}


// File sgn-v2-contracts/contracts/interfaces/[email protected]


pragma solidity >=0.8.0;

interface IBridge {
    function send(
        address _receiver,
        address _token,
        uint256 _amount,
        uint64 _dstChainId,
        uint64 _nonce,
        uint32 _maxSlippage
    ) external;

    function relay(
        bytes calldata _relayRequest,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external;

    function transfers(bytes32 transferId) external view returns (bool);

    function withdraws(bytes32 withdrawId) external view returns (bool);

    function withdraw(
        bytes calldata _wdmsg,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external;

    /**
     * @notice Verifies that a message is signed by a quorum among the signers.
     * @param _msg signed message
     * @param _sigs list of signatures sorted by signer addresses in ascending order
     * @param _signers sorted list of current signers
     * @param _powers powers of current signers
     */
    function verifySigs(
        bytes memory _msg,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external view;
}


// File sgn-v2-contracts/contracts/interfaces/[email protected]


pragma solidity >=0.8.0;

interface IOriginalTokenVault {
    /**
     * @notice Lock original tokens to trigger mint at a remote chain's PeggedTokenBridge
     * @param _token local token address
     * @param _amount locked token amount
     * @param _mintChainId destination chainId to mint tokens
     * @param _mintAccount destination account to receive minted tokens
     * @param _nonce user input to guarantee unique depositId
     */
    function deposit(
        address _token,
        uint256 _amount,
        uint64 _mintChainId,
        address _mintAccount,
        uint64 _nonce
    ) external;

    /**
     * @notice Withdraw locked original tokens triggered by a burn at a remote chain's PeggedTokenBridge.
     * @param _request The serialized Withdraw protobuf.
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A relay must be signed-off by
     * +2/3 of the bridge's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function withdraw(
        bytes calldata _request,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external;

    function records(bytes32 recordId) external view returns (bool);
}


// File sgn-v2-contracts/contracts/interfaces/[email protected]


pragma solidity >=0.8.0;

interface IOriginalTokenVaultV2 {
    /**
     * @notice Lock original tokens to trigger mint at a remote chain's PeggedTokenBridge
     * @param _token local token address
     * @param _amount locked token amount
     * @param _mintChainId destination chainId to mint tokens
     * @param _mintAccount destination account to receive minted tokens
     * @param _nonce user input to guarantee unique depositId
     */
    function deposit(
        address _token,
        uint256 _amount,
        uint64 _mintChainId,
        address _mintAccount,
        uint64 _nonce
    ) external returns (bytes32);

    /**
     * @notice Withdraw locked original tokens triggered by a burn at a remote chain's PeggedTokenBridge.
     * @param _request The serialized Withdraw protobuf.
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A relay must be signed-off by
     * +2/3 of the bridge's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function withdraw(
        bytes calldata _request,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external returns (bytes32);

    function records(bytes32 recordId) external view returns (bool);
}


// File sgn-v2-contracts/contracts/interfaces/[email protected]


pragma solidity >=0.8.0;

interface IPeggedTokenBridge {
    /**
     * @notice Burn tokens to trigger withdrawal at a remote chain's OriginalTokenVault
     * @param _token local token address
     * @param _amount locked token amount
     * @param _withdrawAccount account who withdraw original tokens on the remote chain
     * @param _nonce user input to guarantee unique depositId
     */
    function burn(
        address _token,
        uint256 _amount,
        address _withdrawAccount,
        uint64 _nonce
    ) external;

    /**
     * @notice Mint tokens triggered by deposit at a remote chain's OriginalTokenVault.
     * @param _request The serialized Mint protobuf.
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A relay must be signed-off by
     * +2/3 of the sigsVerifier's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function mint(
        bytes calldata _request,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external;

    function records(bytes32 recordId) external view returns (bool);
}


// File sgn-v2-contracts/contracts/interfaces/[email protected]


pragma solidity >=0.8.0;

interface IPeggedTokenBridgeV2 {
    /**
     * @notice Burn pegged tokens to trigger a cross-chain withdrawal of the original tokens at a remote chain's
     * OriginalTokenVault, or mint at another remote chain
     * @param _token The pegged token address.
     * @param _amount The amount to burn.
     * @param _toChainId If zero, withdraw from original vault; otherwise, the remote chain to mint tokens.
     * @param _toAccount The account to receive tokens on the remote chain
     * @param _nonce A number to guarantee unique depositId. Can be timestamp in practice.
     */
    function burn(
        address _token,
        uint256 _amount,
        uint64 _toChainId,
        address _toAccount,
        uint64 _nonce
    ) external returns (bytes32);

    // same with `burn` above, use openzeppelin ERC20Burnable interface
    function burnFrom(
        address _token,
        uint256 _amount,
        uint64 _toChainId,
        address _toAccount,
        uint64 _nonce
    ) external returns (bytes32);

    /**
     * @notice Mint tokens triggered by deposit at a remote chain's OriginalTokenVault.
     * @param _request The serialized Mint protobuf.
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A relay must be signed-off by
     * +2/3 of the sigsVerifier's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function mint(
        bytes calldata _request,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external returns (bytes32);

    function records(bytes32 recordId) external view returns (bool);
}


// File sgn-v2-contracts/contracts/message/libraries/[email protected]


pragma solidity 0.8.9;

library MsgDataTypes {
    // bridge operation type at the sender side (src chain)
    enum BridgeSendType {
        Null,
        Liquidity,
        PegDeposit,
        PegBurn,
        PegV2Deposit,
        PegV2Burn,
        PegV2BurnFrom
    }

    // bridge operation type at the receiver side (dst chain)
    enum TransferType {
        Null,
        LqRelay, // relay through liquidity bridge
        LqWithdraw, // withdraw from liquidity bridge
        PegMint, // mint through pegged token bridge
        PegWithdraw, // withdraw from original token vault
        PegV2Mint, // mint through pegged token bridge v2
        PegV2Withdraw // withdraw from original token vault v2
    }

    enum MsgType {
        MessageWithTransfer,
        MessageOnly
    }

    enum TxStatus {
        Null,
        Success,
        Fail,
        Fallback,
        Pending // transient state within a transaction
    }

    struct TransferInfo {
        TransferType t;
        address sender;
        address receiver;
        address token;
        uint256 amount;
        uint64 wdseq; // only needed for LqWithdraw (refund)
        uint64 srcChainId;
        bytes32 refId;
        bytes32 srcTxHash; // src chain msg tx hash
    }

    struct RouteInfo {
        address sender;
        address receiver;
        uint64 srcChainId;
        bytes32 srcTxHash; // src chain msg tx hash
    }

    struct MsgWithTransferExecutionParams {
        bytes message;
        TransferInfo transfer;
        bytes[] sigs;
        address[] signers;
        uint256[] powers;
    }

    struct BridgeTransferParams {
        bytes request;
        bytes[] sigs;
        address[] signers;
        uint256[] powers;
    }
}


// File sgn-v2-contracts/contracts/message/interfaces/[email protected]


pragma solidity >=0.8.0;

interface IMessageBus {
    function liquidityBridge() external view returns (address);

    function pegBridge() external view returns (address);

    function pegBridgeV2() external view returns (address);

    function pegVault() external view returns (address);

    function pegVaultV2() external view returns (address);

    /**
     * @notice Calculates the required fee for the message.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     @ @return The required fee.
     */
    function calcFee(bytes calldata _message) external view returns (uint256);

    /**
     * @notice Sends a message to an app on another chain via MessageBus without an associated transfer.
     * A fee is charged in the native gas token.
     * @param _receiver The address of the destination app contract.
     * @param _dstChainId The destination chain ID.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     */
    function sendMessage(
        address _receiver,
        uint256 _dstChainId,
        bytes calldata _message
    ) external payable;

    /**
     * @notice Sends a message associated with a transfer to an app on another chain via MessageBus without an associated transfer.
     * A fee is charged in the native token.
     * @param _receiver The address of the destination app contract.
     * @param _dstChainId The destination chain ID.
     * @param _srcBridge The bridge contract to send the transfer with.
     * @param _srcTransferId The transfer ID.
     * @param _dstChainId The destination chain ID.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     */
    function sendMessageWithTransfer(
        address _receiver,
        uint256 _dstChainId,
        address _srcBridge,
        bytes32 _srcTransferId,
        bytes calldata _message
    ) external payable;

    /**
     * @notice Withdraws message fee in the form of native gas token.
     * @param _account The address receiving the fee.
     * @param _cumulativeFee The cumulative fee credited to the account. Tracked by SGN.
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A withdrawal must be
     * signed-off by +2/3 of the sigsVerifier's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function withdrawFee(
        address _account,
        uint256 _cumulativeFee,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external;

    /**
     * @notice Execute a message with a successful transfer.
     * @param _message Arbitrary message bytes originated from and encoded by the source app contract
     * @param _transfer The transfer info.
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A relay must be signed-off by
     * +2/3 of the sigsVerifier's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function executeMessageWithTransfer(
        bytes calldata _message,
        MsgDataTypes.TransferInfo calldata _transfer,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external payable;

    /**
     * @notice Execute a message with a refunded transfer.
     * @param _message Arbitrary message bytes originated from and encoded by the source app contract
     * @param _transfer The transfer info.
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A relay must be signed-off by
     * +2/3 of the sigsVerifier's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function executeMessageWithTransferRefund(
        bytes calldata _message, // the same message associated with the original transfer
        MsgDataTypes.TransferInfo calldata _transfer,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external payable;

    /**
     * @notice Execute a message not associated with a transfer.
     * @param _message Arbitrary message bytes originated from and encoded by the source app contract
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A relay must be signed-off by
     * +2/3 of the sigsVerifier's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function executeMessage(
        bytes calldata _message,
        MsgDataTypes.RouteInfo calldata _route,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external payable;
}


// File sgn-v2-contracts/contracts/message/libraries/[email protected]


pragma solidity >=0.8.0;









library MessageSenderLib {
    using SafeERC20 for IERC20;

    // ============== Internal library functions called by apps ==============

    /**
     * @notice Sends a message to an app on another chain via MessageBus without an associated transfer.
     * @param _receiver The address of the destination app contract.
     * @param _dstChainId The destination chain ID.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     * @param _messageBus The address of the MessageBus on this chain.
     * @param _fee The fee amount to pay to MessageBus.
     */
    function sendMessage(
        address _receiver,
        uint64 _dstChainId,
        bytes memory _message,
        address _messageBus,
        uint256 _fee
    ) internal {
        IMessageBus(_messageBus).sendMessage{value: _fee}(_receiver, _dstChainId, _message);
    }

    /**
     * @notice Sends a message to an app on another chain via MessageBus with an associated transfer.
     * @param _receiver The address of the destination app contract.
     * @param _token The address of the token to be sent.
     * @param _amount The amount of tokens to be sent.
     * @param _dstChainId The destination chain ID.
     * @param _nonce A number input to guarantee uniqueness of transferId. Can be timestamp in practice.
     * @param _maxSlippage The max slippage accepted, given as percentage in point (pip). Eg. 5000 means 0.5%.
     * Must be greater than minimalMaxSlippage. Receiver is guaranteed to receive at least (100% - max slippage percentage) * amount or the
     * transfer can be refunded. Only applicable to the {MsgDataTypes.BridgeSendType.Liquidity}.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     * @param _bridgeSendType One of the {MsgDataTypes.BridgeSendType} enum.
     * @param _messageBus The address of the MessageBus on this chain.
     * @param _fee The fee amount to pay to MessageBus.
     * @return The transfer ID.
     */
    function sendMessageWithTransfer(
        address _receiver,
        address _token,
        uint256 _amount,
        uint64 _dstChainId,
        uint64 _nonce,
        uint32 _maxSlippage,
        bytes memory _message,
        MsgDataTypes.BridgeSendType _bridgeSendType,
        address _messageBus,
        uint256 _fee
    ) internal returns (bytes32) {
        if (_bridgeSendType == MsgDataTypes.BridgeSendType.Liquidity) {
            return
                sendMessageWithLiquidityBridgeTransfer(
                    _receiver,
                    _token,
                    _amount,
                    _dstChainId,
                    _nonce,
                    _maxSlippage,
                    _message,
                    _messageBus,
                    _fee
                );
        } else if (
            _bridgeSendType == MsgDataTypes.BridgeSendType.PegDeposit ||
            _bridgeSendType == MsgDataTypes.BridgeSendType.PegV2Deposit
        ) {
            return
                sendMessageWithPegVaultDeposit(
                    _bridgeSendType,
                    _receiver,
                    _token,
                    _amount,
                    _dstChainId,
                    _nonce,
                    _message,
                    _messageBus,
                    _fee
                );
        } else if (
            _bridgeSendType == MsgDataTypes.BridgeSendType.PegBurn ||
            _bridgeSendType == MsgDataTypes.BridgeSendType.PegV2Burn
        ) {
            return
                sendMessageWithPegBridgeBurn(
                    _bridgeSendType,
                    _receiver,
                    _token,
                    _amount,
                    _dstChainId,
                    _nonce,
                    _message,
                    _messageBus,
                    _fee
                );
        } else {
            revert("bridge type not supported");
        }
    }

    /**
     * @notice Sends a message to an app on another chain via MessageBus with an associated liquidity bridge transfer.
     * @param _receiver The address of the destination app contract.
     * @param _token The address of the token to be sent.
     * @param _amount The amount of tokens to be sent.
     * @param _dstChainId The destination chain ID.
     * @param _nonce A number input to guarantee uniqueness of transferId. Can be timestamp in practice.
     * @param _maxSlippage The max slippage accepted, given as percentage in point (pip). Eg. 5000 means 0.5%.
     * Must be greater than minimalMaxSlippage. Receiver is guaranteed to receive at least (100% - max slippage percentage) * amount or the
     * transfer can be refunded.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     * @param _messageBus The address of the MessageBus on this chain.
     * @param _fee The fee amount to pay to MessageBus.
     * @return The transfer ID.
     */
    function sendMessageWithLiquidityBridgeTransfer(
        address _receiver,
        address _token,
        uint256 _amount,
        uint64 _dstChainId,
        uint64 _nonce,
        uint32 _maxSlippage,
        bytes memory _message,
        address _messageBus,
        uint256 _fee
    ) internal returns (bytes32) {
        address bridge = IMessageBus(_messageBus).liquidityBridge();
        IERC20(_token).safeIncreaseAllowance(bridge, _amount);
        IBridge(bridge).send(_receiver, _token, _amount, _dstChainId, _nonce, _maxSlippage);
        bytes32 transferId = keccak256(
            abi.encodePacked(address(this), _receiver, _token, _amount, _dstChainId, _nonce, uint64(block.chainid))
        );
        IMessageBus(_messageBus).sendMessageWithTransfer{value: _fee}(
            _receiver,
            _dstChainId,
            bridge,
            transferId,
            _message
        );
        return transferId;
    }

    /**
     * @notice Sends a message to an app on another chain via MessageBus with an associated OriginalTokenVault deposit.
     * @param _receiver The address of the destination app contract.
     * @param _token The address of the token to be sent.
     * @param _amount The amount of tokens to be sent.
     * @param _dstChainId The destination chain ID.
     * @param _nonce A number input to guarantee uniqueness of transferId. Can be timestamp in practice.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     * @param _messageBus The address of the MessageBus on this chain.
     * @param _fee The fee amount to pay to MessageBus.
     * @return The transfer ID.
     */
    function sendMessageWithPegVaultDeposit(
        MsgDataTypes.BridgeSendType _bridgeSendType,
        address _receiver,
        address _token,
        uint256 _amount,
        uint64 _dstChainId,
        uint64 _nonce,
        bytes memory _message,
        address _messageBus,
        uint256 _fee
    ) internal returns (bytes32) {
        address pegVault;
        if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegDeposit) {
            pegVault = IMessageBus(_messageBus).pegVault();
        } else {
            pegVault = IMessageBus(_messageBus).pegVaultV2();
        }
        IERC20(_token).safeIncreaseAllowance(pegVault, _amount);
        bytes32 transferId;
        if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegDeposit) {
            IOriginalTokenVault(pegVault).deposit(_token, _amount, _dstChainId, _receiver, _nonce);
            transferId = keccak256(
                abi.encodePacked(address(this), _token, _amount, _dstChainId, _receiver, _nonce, uint64(block.chainid))
            );
        } else {
            transferId = IOriginalTokenVaultV2(pegVault).deposit(_token, _amount, _dstChainId, _receiver, _nonce);
        }
        IMessageBus(_messageBus).sendMessageWithTransfer{value: _fee}(
            _receiver,
            _dstChainId,
            pegVault,
            transferId,
            _message
        );
        return transferId;
    }

    /**
     * @notice Sends a message to an app on another chain via MessageBus with an associated PeggedTokenBridge burn.
     * @param _receiver The address of the destination app contract.
     * @param _token The address of the token to be sent.
     * @param _amount The amount of tokens to be sent.
     * @param _dstChainId The destination chain ID.
     * @param _nonce A number input to guarantee uniqueness of transferId. Can be timestamp in practice.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     * @param _messageBus The address of the MessageBus on this chain.
     * @param _fee The fee amount to pay to MessageBus.
     * @return The transfer ID.
     */
    function sendMessageWithPegBridgeBurn(
        MsgDataTypes.BridgeSendType _bridgeSendType,
        address _receiver,
        address _token,
        uint256 _amount,
        uint64 _dstChainId,
        uint64 _nonce,
        bytes memory _message,
        address _messageBus,
        uint256 _fee
    ) internal returns (bytes32) {
        address pegBridge;
        if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegBurn) {
            pegBridge = IMessageBus(_messageBus).pegBridge();
        } else {
            pegBridge = IMessageBus(_messageBus).pegBridgeV2();
        }
        IERC20(_token).safeIncreaseAllowance(pegBridge, _amount);
        bytes32 transferId;
        if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegBurn) {
            IPeggedTokenBridge(pegBridge).burn(_token, _amount, _receiver, _nonce);
            transferId = keccak256(
                abi.encodePacked(address(this), _token, _amount, _receiver, _nonce, uint64(block.chainid))
            );
        } else {
            transferId = IPeggedTokenBridgeV2(pegBridge).burn(_token, _amount, _dstChainId, _receiver, _nonce);
        }
        // handle cases where certain tokens do not spend allowance for role-based burn
        IERC20(_token).safeApprove(pegBridge, 0);
        IMessageBus(_messageBus).sendMessageWithTransfer{value: _fee}(
            _receiver,
            _dstChainId,
            pegBridge,
            transferId,
            _message
        );
        return transferId;
    }

    /**
     * @notice Sends a token transfer via a bridge.
     * @param _receiver The address of the destination app contract.
     * @param _token The address of the token to be sent.
     * @param _amount The amount of tokens to be sent.
     * @param _dstChainId The destination chain ID.
     * @param _nonce A number input to guarantee uniqueness of transferId. Can be timestamp in practice.
     * @param _maxSlippage The max slippage accepted, given as percentage in point (pip). Eg. 5000 means 0.5%.
     * Must be greater than minimalMaxSlippage. Receiver is guaranteed to receive at least (100% - max slippage percentage) * amount or the
     * transfer can be refunded.
     * @param _bridgeSendType One of the {MsgDataTypes.BridgeSendType} enum.
     */
    function sendTokenTransfer(
        address _receiver,
        address _token,
        uint256 _amount,
        uint64 _dstChainId,
        uint64 _nonce,
        uint32 _maxSlippage,
        MsgDataTypes.BridgeSendType _bridgeSendType,
        address _bridge
    ) internal {
        IERC20(_token).safeIncreaseAllowance(_bridge, _amount);
        if (_bridgeSendType == MsgDataTypes.BridgeSendType.Liquidity) {
            IBridge(_bridge).send(_receiver, _token, _amount, _dstChainId, _nonce, _maxSlippage);
        } else if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegDeposit) {
            IOriginalTokenVault(_bridge).deposit(_token, _amount, _dstChainId, _receiver, _nonce);
        } else if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegBurn) {
            IPeggedTokenBridge(_bridge).burn(_token, _amount, _receiver, _nonce);
            // handle cases where certain tokens do not spend allowance for role-based burn
            IERC20(_token).safeApprove(_bridge, 0);
        } else if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegV2Deposit) {
            IOriginalTokenVaultV2(_bridge).deposit(_token, _amount, _dstChainId, _receiver, _nonce);
        } else if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegV2Burn) {
            IPeggedTokenBridgeV2(_bridge).burn(_token, _amount, _dstChainId, _receiver, _nonce);
            // handle cases where certain tokens do not spend allowance for role-based burn
            IERC20(_token).safeApprove(_bridge, 0);
        } else if (_bridgeSendType == MsgDataTypes.BridgeSendType.PegV2BurnFrom) {
            IPeggedTokenBridgeV2(_bridge).burnFrom(_token, _amount, _dstChainId, _receiver, _nonce);
            // handle cases where certain tokens do not spend allowance for role-based burn
            IERC20(_token).safeApprove(_bridge, 0);
        } else {
            revert("bridge type not supported");
        }
    }
}


// File sgn-v2-contracts/contracts/interfaces/[email protected]


pragma solidity >=0.8.0;

interface ISigsVerifier {
    /**
     * @notice Verifies that a message is signed by a quorum among the signers.
     * @param _msg signed message
     * @param _sigs list of signatures sorted by signer addresses in ascending order
     * @param _signers sorted list of current signers
     * @param _powers powers of current signers
     */
    function verifySigs(
        bytes memory _msg,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external view;
}




// File sgn-v2-contracts/contracts/message/messagebus/[email protected]


pragma solidity 0.8.9;


contract MessageBusSender is Ownable {
    ISigsVerifier public immutable sigsVerifier;

    uint256 public feeBase;
    uint256 public feePerByte;
    mapping(address => uint256) public withdrawnFees;

    event Message(address indexed sender, address receiver, uint256 dstChainId, bytes message, uint256 fee);

    event MessageWithTransfer(
        address indexed sender,
        address receiver,
        uint256 dstChainId,
        address bridge,
        bytes32 srcTransferId,
        bytes message,
        uint256 fee
    );

    event FeeBaseUpdated(uint256 feeBase);
    event FeePerByteUpdated(uint256 feePerByte);

    constructor(ISigsVerifier _sigsVerifier) {
        sigsVerifier = _sigsVerifier;
    }

    /**
     * @notice Sends a message to an app on another chain via MessageBus without an associated transfer.
     * A fee is charged in the native gas token.
     * @param _receiver The address of the destination app contract.
     * @param _dstChainId The destination chain ID.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     */
    function sendMessage(
        address _receiver,
        uint256 _dstChainId,
        bytes calldata _message
    ) external payable {
        require(_dstChainId != block.chainid, "Invalid chainId");
        uint256 minFee = calcFee(_message);
        require(msg.value >= minFee, "Insufficient fee");
        emit Message(msg.sender, _receiver, _dstChainId, _message, msg.value);
    }

    /**
     * @notice Sends a message associated with a transfer to an app on another chain via MessageBus without an associated transfer.
     * A fee is charged in the native token.
     * @param _receiver The address of the destination app contract.
     * @param _dstChainId The destination chain ID.
     * @param _srcBridge The bridge contract to send the transfer with.
     * @param _srcTransferId The transfer ID.
     * @param _dstChainId The destination chain ID.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     */
    function sendMessageWithTransfer(
        address _receiver,
        uint256 _dstChainId,
        address _srcBridge,
        bytes32 _srcTransferId,
        bytes calldata _message
    ) external payable {
        require(_dstChainId != block.chainid, "Invalid chainId");
        uint256 minFee = calcFee(_message);
        require(msg.value >= minFee, "Insufficient fee");
        // SGN needs to verify
        // 1. msg.sender matches sender of the src transfer
        // 2. dstChainId matches dstChainId of the src transfer
        // 3. bridge is either liquidity bridge, peg src vault, or peg dst bridge
        emit MessageWithTransfer(msg.sender, _receiver, _dstChainId, _srcBridge, _srcTransferId, _message, msg.value);
    }

    /**
     * @notice Withdraws message fee in the form of native gas token.
     * @param _account The address receiving the fee.
     * @param _cumulativeFee The cumulative fee credited to the account. Tracked by SGN.
     * @param _sigs The list of signatures sorted by signing addresses in ascending order. A withdrawal must be
     * signed-off by +2/3 of the sigsVerifier's current signing power to be delivered.
     * @param _signers The sorted list of signers.
     * @param _powers The signing powers of the signers.
     */
    function withdrawFee(
        address _account,
        uint256 _cumulativeFee,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external {
        bytes32 domain = keccak256(abi.encodePacked(block.chainid, address(this), "withdrawFee"));
        sigsVerifier.verifySigs(abi.encodePacked(domain, _account, _cumulativeFee), _sigs, _signers, _powers);
        uint256 amount = _cumulativeFee - withdrawnFees[_account];
        require(amount > 0, "No new amount to withdraw");
        withdrawnFees[_account] = _cumulativeFee;
        (bool sent, ) = _account.call{value: amount, gas: 50000}("");
        require(sent, "failed to withdraw fee");
    }

    /**
     * @notice Calculates the required fee for the message.
     * @param _message Arbitrary message bytes to be decoded by the destination app contract.
     @ @return The required fee.
     */
    function calcFee(bytes calldata _message) public view returns (uint256) {
        return feeBase + _message.length * feePerByte;
    }

    // -------------------- Admin --------------------

    function setFeePerByte(uint256 _fee) external onlyOwner {
        feePerByte = _fee;
        emit FeePerByteUpdated(feePerByte);
    }

    function setFeeBase(uint256 _fee) external onlyOwner {
        feeBase = _fee;
        emit FeeBaseUpdated(feeBase);
    }
}


// File contracts/IFAllocationCommitV1.sol

pragma solidity 0.8.9;

// import 'hardhat/console.sol';








// IFAllocationCommit is responsible for persisting all launchpad state between project token sales
// in order for the sales to have clean, self-enclosed, one-time-use states.

// IFAllocationCommit is the master of allocations. He can remember everything and he is a smart guy.
contract IFAllocationCommitV1 is
    Ownable,
    ReentrancyGuard,
    IIFRetrievableStakeWeight,
    IIFBridgableStakeWeight
{
    using SafeERC20 for ERC20;
    using EnumerableSet for EnumerableSet.AddressSet;

    // CONSTANTS

    // number of decimals of rollover factors
    uint64 constant ROLLOVER_FACTOR_DECIMALS = 10**18;

    // STRUCTS

    // Celer Multichain Integration
    address public immutable messageBus;

    // A checkpoint for marking stake info at a given block
    struct UserCheckpoint {
        // timestamp number of checkpoint
        uint80 timestamp;
        // amount staked at checkpoint
        uint104 staked;
        // amount of stake weight at checkpoint
        uint192 stakeWeight;
        // number of finished sales at time of checkpoint
        uint24 numFinishedSales;
    }

    // A checkpoint for marking stake info at a given block
    struct TrackCheckpoint {
        // timestamp number of checkpoint
        uint80 timestamp;
        // amount staked at checkpoint
        uint104 totalStaked;
        // amount of stake weight at checkpoint
        uint192 totalStakeWeight;
        // number of finished sales at time of checkpoint
        uint24 numFinishedSales;
    }

    // Info of each track. These parameters cannot be changed.
    struct TrackInfo {
        // name of track
        string name;
        // token to stake (e.g., IDIA)
        ERC20 stakeToken;
        // weight accrual rate for this track (stake weight increase per timestamp per stake token)
        uint24 weightAccrualRate;
        // amount rolled over when finished sale counter increases (with decimals == ROLLOVER_FACTOR_DECIMALS)
        // e.g., if rolling over 20% when sale finishes, then this is 0.2 * ROLLOVER_FACTOR_DECIMALS, or
        // 200_000_000_000_000_000
        uint64 passiveRolloverRate;
        // amount rolled over when finished sale counter increases, and user actively elected to roll over
        uint64 activeRolloverRate;
        // maximum total stake for a user in this track
        uint104 maxTotalStake;
    }

    // Info of each user stake weight.
    struct AddressStakeWeight {
        address user;
        uint192 stakeWeight;
    }

    // INFO FOR FACTORING IN ROLLOVERS

    // the number of checkpoints of a track -- (track, finished sale count) => timestamp number
    mapping(uint24 => mapping(uint24 => uint80))
        public trackFinishedSaleTimestamps;

    // stake weight each user actively rolls over for a given track and a finished sale count
    // (track, user, finished sale count) => amount of stake weight
    mapping(uint24 => mapping(address => mapping(uint24 => uint192)))
        public trackActiveRollOvers;

    // total stake weight actively rolled over for a given track and a finished sale count
    // (track, finished sale count) => total amount of stake weight
    mapping(uint24 => mapping(uint24 => uint192))
        public trackTotalActiveRollOvers;

    // TRACK INFO

    // array of track information
    TrackInfo[] public tracks;

    // whether track is disabled -- (track) => disabled status
    mapping(uint24 => bool) public trackDisabled;

    // whether user has emergency withdrawn from track -- (track, user) => status
    mapping(uint24 => mapping(address => bool)) public hasEmergencyWithdrawn;

    // number of unique stakers on track -- (track) => staker count
    mapping(uint24 => uint256) public numTrackStakers;

    // array of unique stakers on track -- (track) => address array
    // users are only added on first checkpoint to maintain unique
    mapping(uint24 => address[]) public trackStakers;

    // the number of checkpoints of a track -- (track) => checkpoint count
    mapping(uint24 => uint32) public trackCheckpointCounts;

    // track checkpoint mapping -- (track, checkpoint number) => TrackCheckpoint
    mapping(uint24 => mapping(uint32 => TrackCheckpoint))
        public trackCheckpoints;

    // max stakes seen for each track -- (track) => max stake seen on track
    mapping(uint24 => uint104) public trackMaxStakes;

    // USER INFO

    // the number of checkpoints of a user for a track -- (track, user address) => checkpoint count
    mapping(uint24 => mapping(address => uint32)) public userCheckpointCounts;

    // user checkpoint mapping -- (track, user address, checkpoint number) => UserCheckpoint
    mapping(uint24 => mapping(address => mapping(uint32 => UserCheckpoint)))
        public userCheckpoints;

    // EVENTS

    event AddTrack(string indexed name, address indexed token);
    event DisableTrack(uint24 indexed trackId);
    event ActiveRollOver(uint24 indexed trackId, address indexed user);
    event BumpSaleCounter(uint24 indexed trackId, uint32 newCount);
    event AddUserCheckpoint(uint24 indexed trackId, uint80 timestamp);
    event AddTrackCheckpoint(uint24 indexed trackId, uint80 timestamp);
    event Stake(uint24 indexed trackId, address indexed user, uint104 amount);
    event Unstake(uint24 indexed trackId, address indexed user, uint104 amount);
    event EmergencyWithdraw(
        uint24 indexed trackId,
        address indexed sender,
        uint256 amount
    );
    event SyncUserWeight(
        address receiver,
        uint24 srcTrackId,
        uint80 timestamp,
        uint64 dstChainId,
        uint24 dstTrackId
    );
    event SyncTotalWeight(
        address receiver,
        uint24 srcTrackId,
        uint80 timestamp,
        uint64 dstChainId,
        uint24 dstTrackId
    );

    // CONSTRUCTOR
    constructor(address _messageBus) {
        messageBus = _messageBus;
    }

    // FUNCTIONS

    // number of tracks
    function trackCount() external view returns (uint24) {
        return uint24(tracks.length);
    }

    // adds a new track
    function addTrack(
        string calldata name,
        ERC20 stakeToken,
        uint24 _weightAccrualRate,
        uint64 _passiveRolloverRate,
        uint64 _activeRolloverRate,
        uint104 _maxTotalStake
    ) external onlyOwner {
        require(_weightAccrualRate != 0, 'accrual rate is 0');

        // add track
        tracks.push(
            TrackInfo({
                name: name, // name of track
                stakeToken: stakeToken, // token to stake (e.g., IDIA)
                weightAccrualRate: _weightAccrualRate, // rate of stake weight accrual
                passiveRolloverRate: _passiveRolloverRate, // passive rollover
                activeRolloverRate: _activeRolloverRate, // active rollover
                maxTotalStake: _maxTotalStake // max total stake
            })
        );

        // add first track checkpoint
        addTrackCheckpoint(
            uint24(tracks.length - 1), // latest track
            0, // initialize with 0 stake
            false, // add or sub does not matter
            false // do not bump finished sale counter
        );

        // emit
        emit AddTrack(name, address(stakeToken));
    }

    // bumps a track's finished sale counter
    function bumpSaleCounter(uint24 trackId) external onlyOwner {
        // get number of finished sales of this track
        uint24 nFinishedSales = trackCheckpoints[trackId][
            trackCheckpointCounts[trackId] - 1
        ].numFinishedSales;

        // update map that tracks timestamp numbers of finished sales
        trackFinishedSaleTimestamps[trackId][nFinishedSales] = uint80(
            block.timestamp
        );

        // add a new checkpoint with counter incremented by 1
        addTrackCheckpoint(trackId, 0, false, true);

        // `BumpSaleCounter` event emitted in function call above
    }

    // disables a track
    function disableTrack(uint24 trackId) external onlyOwner {
        // set disabled
        trackDisabled[trackId] = true;

        // emit
        emit DisableTrack(trackId);
    }

    // perform active rollover
    function activeRollOver(uint24 trackId) external {
        // add new user checkpoint
        addUserCheckpoint(trackId, 0, false);

        // get new user checkpoint
        UserCheckpoint memory userCp = userCheckpoints[trackId][_msgSender()][
            userCheckpointCounts[trackId][_msgSender()] - 1
        ];

        // current sale count
        uint24 saleCount = userCp.numFinishedSales;

        // subtract old user rollover amount from total
        trackTotalActiveRollOvers[trackId][saleCount] -= trackActiveRollOvers[
            trackId
        ][_msgSender()][saleCount];

        // update user rollover amount
        trackActiveRollOvers[trackId][_msgSender()][saleCount] = userCp
            .stakeWeight;

        // add new user rollover amount to total
        trackTotalActiveRollOvers[trackId][saleCount] += userCp.stakeWeight;

        // emit
        emit ActiveRollOver(trackId, _msgSender());
    }

    // get closest PRECEDING user checkpoint
    function getClosestUserCheckpoint(
        uint24 trackId,
        address user,
        uint80 timestamp
    ) private view returns (UserCheckpoint memory cp) {
        // get total checkpoint count for user
        uint32 nCheckpoints = userCheckpointCounts[trackId][user];

        if (
            userCheckpoints[trackId][user][nCheckpoints - 1].timestamp <=
            timestamp
        ) {
            // First check most recent checkpoint

            // return closest checkpoint
            return userCheckpoints[trackId][user][nCheckpoints - 1];
        } else if (userCheckpoints[trackId][user][0].timestamp > timestamp) {
            // Next check earliest checkpoint

            // If specified timestamp number is earlier than user's first checkpoint,
            // return null checkpoint
            return
                UserCheckpoint({
                    timestamp: 0,
                    staked: 0,
                    stakeWeight: 0,
                    numFinishedSales: 0
                });
        } else {
            // binary search on checkpoints
            uint32 lower = 0;
            uint32 upper = nCheckpoints - 1;
            while (upper > lower) {
                uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
                UserCheckpoint memory tempCp = userCheckpoints[trackId][user][
                    center
                ];
                if (tempCp.timestamp == timestamp) {
                    return tempCp;
                } else if (tempCp.timestamp < timestamp) {
                    lower = center;
                } else {
                    upper = center - 1;
                }
            }

            // return closest checkpoint
            return userCheckpoints[trackId][user][lower];
        }
    }

    // gets a user's stake weight within a track at a particular timestamp number
    // logic extended from Compound COMP token `getPriorVotes` function
    function getUserStakeWeight(
        uint24 trackId,
        address user,
        uint80 timestamp
    ) public view returns (uint192) {
        require(timestamp <= block.timestamp, 'timestamp # too high');

        // if track is disabled, stake weight is 0
        if (trackDisabled[trackId]) return 0;

        // check number of user checkpoints
        uint32 nUserCheckpoints = userCheckpointCounts[trackId][user];
        if (nUserCheckpoints == 0) {
            return 0;
        }

        // get closest preceding user checkpoint
        UserCheckpoint memory closestUserCheckpoint = getClosestUserCheckpoint(
            trackId,
            user,
            timestamp
        );

        // check if closest preceding checkpoint was null checkpoint
        if (closestUserCheckpoint.timestamp == 0) {
            return 0;
        }

        // get closest preceding track checkpoint

        TrackCheckpoint memory closestTrackCp = getClosestTrackCheckpoint(
            trackId,
            timestamp
        );

        // get number of finished sales between user's last checkpoint timestamp and provided timestamp
        uint24 numFinishedSalesDelta = closestTrackCp.numFinishedSales -
            closestUserCheckpoint.numFinishedSales;

        // get track info
        TrackInfo memory track = tracks[trackId];

        // calculate stake weight given above delta
        uint192 stakeWeight;
        if (numFinishedSalesDelta == 0) {
            // calculate normally without rollover decay

            uint80 elapsedTimestamps = timestamp -
                closestUserCheckpoint.timestamp;

            stakeWeight =
                closestUserCheckpoint.stakeWeight +
                (uint192(elapsedTimestamps) *
                    track.weightAccrualRate *
                    closestUserCheckpoint.staked) /
                10**18;

            return stakeWeight;
        } else {
            // calculate with rollover decay

            // starting stakeweight
            stakeWeight = closestUserCheckpoint.stakeWeight;
            // current timestamp for iteration
            uint80 currTimestamp = closestUserCheckpoint.timestamp;

            // for each finished sale in between, get stake weight of that period
            // and perform weighted sum
            for (uint24 i = 0; i < numFinishedSalesDelta; i++) {
                // get number of blocks passed at the current sale number
                uint80 elapsedTimestamps = trackFinishedSaleTimestamps[trackId][
                    closestUserCheckpoint.numFinishedSales + i
                ] - currTimestamp;

                // update stake weight
                stakeWeight =
                    stakeWeight +
                    (uint192(elapsedTimestamps) *
                        track.weightAccrualRate *
                        closestUserCheckpoint.staked) /
                    10**18;

                // get amount of stake weight actively rolled over for this sale number
                uint192 activeRolloverWeight = trackActiveRollOvers[trackId][
                    user
                ][closestUserCheckpoint.numFinishedSales + i];

                // factor in passive and active rollover decay
                stakeWeight =
                    // decay active weight
                    (activeRolloverWeight * track.activeRolloverRate) /
                    ROLLOVER_FACTOR_DECIMALS +
                    // decay passive weight
                    ((stakeWeight - activeRolloverWeight) *
                        track.passiveRolloverRate) /
                    ROLLOVER_FACTOR_DECIMALS;

                // update currTimestamp for next round
                currTimestamp = trackFinishedSaleTimestamps[trackId][
                    closestUserCheckpoint.numFinishedSales + i
                ];
            }

            // add any remaining accrued stake weight at current finished sale count
            uint80 remainingElapsed = timestamp -
                trackFinishedSaleTimestamps[trackId][
                    closestTrackCp.numFinishedSales - 1
                ];
            stakeWeight +=
                (uint192(remainingElapsed) *
                    track.weightAccrualRate *
                    closestUserCheckpoint.staked) /
                10**18;
        }

        // return
        return stakeWeight;
    }

    // get batch stake weight users by trackId
    function getBatchStakeWeightByTrackId(uint24 trackId, uint80 timestamp, uint start, uint count)
        public
        view
        returns (AddressStakeWeight[] memory)
    {
        require(timestamp <= block.timestamp, 'timestamp # too high');
        require(start >= 0, 'start parameter cannot be negative number');
        require(count > 0, 'count parameter must be greater than zero');

        // total current user for a track
        uint256 totalUser = numTrackStakers[trackId];

        uint end = start + count;
        uint stakersCount = totalUser < end ? totalUser : end;

        AddressStakeWeight[] memory result = new AddressStakeWeight[](stakersCount - start);

        for (uint i = start; i < stakersCount; i++) {
            // get staker address
            address staker = trackStakers[trackId][i];
            // get stake weight for user
            uint192 stakeWeight = getUserStakeWeight(trackId, staker, timestamp);
        
            result[i - start] = AddressStakeWeight(staker, stakeWeight);
        }

        return result;
    }

    // get closest PRECEDING track checkpoint
    function getClosestTrackCheckpoint(uint24 trackId, uint80 timestamp)
        private
        view
        returns (TrackCheckpoint memory cp)
    {
        // get total checkpoint count for track
        uint32 nCheckpoints = trackCheckpointCounts[trackId];

        if (
            trackCheckpoints[trackId][nCheckpoints - 1].timestamp <= timestamp
        ) {
            // First check most recent checkpoint

            // return closest checkpoint
            return trackCheckpoints[trackId][nCheckpoints - 1];
        } else if (trackCheckpoints[trackId][0].timestamp > timestamp) {
            // Next check earliest checkpoint

            // If specified timestamp number is earlier than track's first checkpoint,
            // return null checkpoint
            return
                TrackCheckpoint({
                    timestamp: 0,
                    totalStaked: 0,
                    totalStakeWeight: 0,
                    numFinishedSales: 0
                });
        } else {
            // binary search on checkpoints
            uint32 lower = 0;
            uint32 upper = nCheckpoints - 1;
            while (upper > lower) {
                uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
                TrackCheckpoint memory tempCp = trackCheckpoints[trackId][
                    center
                ];
                if (tempCp.timestamp == timestamp) {
                    return tempCp;
                } else if (tempCp.timestamp < timestamp) {
                    lower = center;
                } else {
                    upper = center - 1;
                }
            }

            // return closest checkpoint
            return trackCheckpoints[trackId][lower];
        }
    }

    // gets total stake weight within a track at a particular timestamp number
    // logic extended from Compound COMP token `getPriorVotes` function
    function getTotalStakeWeight(uint24 trackId, uint80 timestamp)
        public
        view
        returns (uint192)
    {
        require(timestamp <= block.timestamp, 'timestamp # too high');

        // if track is disabled, stake weight is 0
        if (trackDisabled[trackId]) return 0;

        // get closest track checkpoint
        TrackCheckpoint memory closestCheckpoint = getClosestTrackCheckpoint(
            trackId,
            timestamp
        );

        // check if closest preceding checkpoint was null checkpoint
        if (closestCheckpoint.timestamp == 0) {
            return 0;
        }

        // calculate blocks elapsed since checkpoint
        uint80 additionalTimestamps = (timestamp - closestCheckpoint.timestamp);

        // get track info
        TrackInfo storage trackInfo = tracks[trackId];

        // calculate marginal accrued stake weight
        uint192 marginalAccruedStakeWeight = (uint192(additionalTimestamps) *
            trackInfo.weightAccrualRate *
            closestCheckpoint.totalStaked) / 10**18;

        // return
        return closestCheckpoint.totalStakeWeight + marginalAccruedStakeWeight;
    }

    function addUserCheckpoint(
        uint24 trackId,
        uint104 amount,
        bool addElseSub
    ) internal {
        // get track info
        TrackInfo storage track = tracks[trackId];

        // get user checkpoint count
        uint32 nCheckpointsUser = userCheckpointCounts[trackId][_msgSender()];

        // get track checkpoint count
        uint32 nCheckpointsTrack = trackCheckpointCounts[trackId];

        // get latest track checkpoint
        TrackCheckpoint memory trackCp = trackCheckpoints[trackId][
            nCheckpointsTrack - 1
        ];

        // if this is first checkpoint
        if (nCheckpointsUser == 0) {
            // check if amount exceeds maximum
            require(amount <= track.maxTotalStake, 'exceeds staking cap');

            // add user to stakers list of track
            trackStakers[trackId].push(_msgSender());

            // increment stakers count on track
            numTrackStakers[trackId]++;

            // add a first checkpoint for this user on this track
            userCheckpoints[trackId][_msgSender()][0] = UserCheckpoint({
                timestamp: uint80(block.timestamp),
                staked: amount,
                stakeWeight: 0,
                numFinishedSales: trackCp.numFinishedSales
            });

            // increment user's checkpoint count
            userCheckpointCounts[trackId][_msgSender()] = nCheckpointsUser + 1;
        } else {
            // get previous checkpoint
            UserCheckpoint storage prev = userCheckpoints[trackId][
                _msgSender()
            ][nCheckpointsUser - 1];

            // check if amount exceeds maximum
            require(
                (addElseSub ? prev.staked + amount : prev.staked - amount) <=
                    track.maxTotalStake,
                'exceeds staking cap'
            );

            // ensure timestamp number downcast to uint80 is monotonically increasing (prevent overflow)
            // this should never happen within the lifetime of the universe, but if it does, this prevents a catastrophe
            require(
                prev.timestamp <= uint80(block.timestamp),
                'timestamp # overflow'
            );

            // add a new checkpoint for user within this track
            // if no blocks elapsed, just update prev checkpoint (so checkpoints can be uniquely identified by timestamp number)
            if (prev.timestamp == uint80(block.timestamp)) {
                prev.staked = addElseSub
                    ? prev.staked + amount
                    : prev.staked - amount;
                prev.numFinishedSales = trackCp.numFinishedSales;
            } else {
                userCheckpoints[trackId][_msgSender()][
                    nCheckpointsUser
                ] = UserCheckpoint({
                    timestamp: uint80(block.timestamp),
                    staked: addElseSub
                        ? prev.staked + amount
                        : prev.staked - amount,
                    stakeWeight: getUserStakeWeight(
                        trackId,
                        _msgSender(),
                        uint80(block.timestamp)
                    ),
                    numFinishedSales: trackCp.numFinishedSales
                });

                // increment user's checkpoint count
                userCheckpointCounts[trackId][_msgSender()] =
                    nCheckpointsUser +
                    1;
            }
        }

        // emit
        emit AddUserCheckpoint(trackId, uint80(block.timestamp));
    }

    function addTrackCheckpoint(
        uint24 trackId, // track number
        uint104 amount, // delta on staked amount
        bool addElseSub, // true = adding; false = subtracting
        bool _bumpSaleCounter // whether to increase sale counter by 1
    ) internal {
        // get track info
        TrackInfo storage track = tracks[trackId];

        // get track checkpoint count
        uint32 nCheckpoints = trackCheckpointCounts[trackId];

        // if this is first checkpoint
        if (nCheckpoints == 0) {
            // add a first checkpoint for this track
            trackCheckpoints[trackId][0] = TrackCheckpoint({
                timestamp: uint80(block.timestamp),
                totalStaked: amount,
                totalStakeWeight: 0,
                numFinishedSales: _bumpSaleCounter ? 1 : 0
            });

            // increase new track's checkpoint count by 1
            trackCheckpointCounts[trackId]++;
        } else {
            // get previous checkpoint
            TrackCheckpoint storage prev = trackCheckpoints[trackId][
                nCheckpoints - 1
            ];

            // get whether track is disabled
            bool isDisabled = trackDisabled[trackId];

            if (isDisabled) {
                // if previous checkpoint was disabled, then cannot increase stake going forward
                require(!addElseSub, 'disabled: cannot add stake');
            }

            // ensure timestamp number downcast to uint80 is monotonically increasing (prevent overflow)
            // this should never happen within the lifetime of the universe, but if it does, this prevents a catastrophe
            require(
                prev.timestamp <= uint80(block.timestamp),
                'timestamp # overflow'
            );

            // calculate blocks elapsed since checkpoint
            uint80 additionalTimestamp = (uint80(block.timestamp) -
                prev.timestamp);

            // calculate marginal accrued stake weight
            uint192 marginalAccruedStakeWeight = (uint192(additionalTimestamp) *
                track.weightAccrualRate *
                prev.totalStaked) / 10**18;

            // calculate new stake weight
            uint192 newStakeWeight = prev.totalStakeWeight +
                marginalAccruedStakeWeight;

            // factor in passive and active rollover decay
            if (_bumpSaleCounter) {
                // get total active rollover amount
                uint192 activeRolloverWeight = trackTotalActiveRollOvers[
                    trackId
                ][prev.numFinishedSales];

                newStakeWeight =
                    // decay active weight
                    (activeRolloverWeight * track.activeRolloverRate) /
                    ROLLOVER_FACTOR_DECIMALS +
                    // decay passive weight
                    ((newStakeWeight - activeRolloverWeight) *
                        track.passiveRolloverRate) /
                    ROLLOVER_FACTOR_DECIMALS;

                // emit
                emit BumpSaleCounter(trackId, prev.numFinishedSales + 1);
            }

            // add a new checkpoint for this track
            // if no timestamp elapsed, just update prev checkpoint (so checkpoints can be uniquely identified by timestamp number)
            if (additionalTimestamp == 0) {
                prev.totalStaked = addElseSub
                    ? prev.totalStaked + amount
                    : prev.totalStaked - amount;
                prev.totalStakeWeight = isDisabled
                    ? (
                        prev.totalStakeWeight < newStakeWeight
                            ? prev.totalStakeWeight
                            : newStakeWeight
                    )
                    : newStakeWeight;
                prev.numFinishedSales = _bumpSaleCounter
                    ? prev.numFinishedSales + 1
                    : prev.numFinishedSales;
            } else {
                trackCheckpoints[trackId][nCheckpoints] = TrackCheckpoint({
                    timestamp: uint80(block.timestamp),
                    totalStaked: addElseSub
                        ? prev.totalStaked + amount
                        : prev.totalStaked - amount,
                    totalStakeWeight: isDisabled
                        ? (
                            prev.totalStakeWeight < newStakeWeight
                                ? prev.totalStakeWeight
                                : newStakeWeight
                        )
                        : newStakeWeight,
                    numFinishedSales: _bumpSaleCounter
                        ? prev.numFinishedSales + 1
                        : prev.numFinishedSales
                });

                // increase new track's checkpoint count by 1
                trackCheckpointCounts[trackId]++;
            }
        }

        // emit
        emit AddTrackCheckpoint(trackId, uint80(block.timestamp));
    }

    // stake
    function stake(uint24 trackId, uint104 amount) external nonReentrant {
        // stake amount must be greater than 0
        require(amount > 0, 'amount is 0');

        // get track info
        TrackInfo storage track = tracks[trackId];

        // get whether track is disabled
        bool isDisabled = trackDisabled[trackId];

        // cannot stake into disabled track
        require(!isDisabled, 'track is disabled');

        // transfer the specified amount of stake token from user to this contract
        track.stakeToken.safeTransferFrom(_msgSender(), address(this), amount);

        // add user checkpoint
        addUserCheckpoint(trackId, amount, true);

        // add track checkpoint
        addTrackCheckpoint(trackId, amount, true, false);

        // get latest track cp
        TrackCheckpoint memory trackCp = trackCheckpoints[trackId][
            trackCheckpointCounts[trackId] - 1
        ];

        // update track max staked
        if (trackMaxStakes[trackId] < trackCp.totalStaked) {
            trackMaxStakes[trackId] = trackCp.totalStaked;
        }

        // emit
        emit Stake(trackId, _msgSender(), amount);
    }

        // owner withdraw
    function ownerWithdraw(ERC20 stakeToken) external onlyOwner {
        // transfer the specified amount of stake token from this contract to user
        uint256 tokenBal = stakeToken.balanceOf(address(this));
        stakeToken.safeTransfer(_msgSender(), tokenBal);
    }

    // Methods for bridging track weight information

    // Push
    function syncUserWeight(
        address receiver,
        address[] calldata users,
        uint24 trackId,
        uint80 timestamp,
        uint64 dstChainId
    ) external payable nonReentrant {
        // should be active track
        require(!trackDisabled[trackId], 'track !disabled');

        // get user stake weight on this contract
        uint192[] memory userStakeWeights = new uint192[](users.length);

        for (uint256 i = 0; i < users.length; i++) {
            userStakeWeights[i] = getUserStakeWeight(
                trackId,
                users[i],
                timestamp
            );
        }

        // construct message data to be sent to dest contract
        bytes memory message = abi.encode(
            MessageRequest({
                bridgeType: BridgeType.UserWeight,
                users: users,
                timestamp: timestamp,
                weights: userStakeWeights,
                trackId: trackId
            })
        );

        // calculate messageBus fee
        MessageBusSender messageBusSender = MessageBusSender(messageBus);
        uint256 fee = messageBusSender.calcFee(message);
        require(msg.value >= fee, "Not enough fee");

        // trigger the message bridge
        MessageSenderLib.sendMessage(
            receiver,
            dstChainId,
            message,
            messageBus,
            fee
        );

        // Refund mesasgeBus fee
        if ((msg.value - fee) != 0) {
            payable(_msgSender()).transfer(msg.value - fee);
        }


        emit SyncUserWeight(
            receiver,
            trackId,
            timestamp,
            dstChainId,
            trackId
        );
    }

    function syncTotalWeight(
        address receiver,
        uint24 trackId,
        uint80 timestamp,
        uint64 dstChainId
    ) external payable nonReentrant {
        // should be active track
        require(!trackDisabled[trackId], 'track disabled');

        address[] memory users = new address[](1);
        users[0] = _msgSender();

        // get total stake weight on this contract
        uint192[] memory weights = new uint192[](1);
        weights[0] = getTotalStakeWeight(trackId, timestamp);

        // construct message data to be sent to dest contract
        bytes memory message = abi.encode(
            MessageRequest({
                bridgeType: BridgeType.TotalWeight,
                users: users,
                timestamp: timestamp,
                weights: weights,
                trackId: trackId
            })
        );

        // calculate messageBus fee
        MessageBusSender messageBusSender = MessageBusSender(messageBus);
        uint256 fee = messageBusSender.calcFee(message);
        require(msg.value >= fee, "Not enough fee");

        // trigger the message bridge
        MessageSenderLib.sendMessage(
            receiver,
            dstChainId,
            message,
            messageBus,
            fee
        );

        // Refund mesasgeBus fee
        if ((msg.value - fee) != 0) {
            payable(_msgSender()).transfer(msg.value - fee);
        }

        emit SyncTotalWeight(receiver, trackId, timestamp, dstChainId, trackId);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_messageBus","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint24","name":"trackId","type":"uint24"},{"indexed":true,"internalType":"address","name":"user","type":"address"}],"name":"ActiveRollOver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"name","type":"string"},{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"AddTrack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint24","name":"trackId","type":"uint24"},{"indexed":false,"internalType":"uint80","name":"timestamp","type":"uint80"}],"name":"AddTrackCheckpoint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint24","name":"trackId","type":"uint24"},{"indexed":false,"internalType":"uint80","name":"timestamp","type":"uint80"}],"name":"AddUserCheckpoint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint24","name":"trackId","type":"uint24"},{"indexed":false,"internalType":"uint32","name":"newCount","type":"uint32"}],"name":"BumpSaleCounter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint24","name":"trackId","type":"uint24"}],"name":"DisableTrack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint24","name":"trackId","type":"uint24"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint24","name":"trackId","type":"uint24"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint104","name":"amount","type":"uint104"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint24","name":"srcTrackId","type":"uint24"},{"indexed":false,"internalType":"uint80","name":"timestamp","type":"uint80"},{"indexed":false,"internalType":"uint64","name":"dstChainId","type":"uint64"},{"indexed":false,"internalType":"uint24","name":"dstTrackId","type":"uint24"}],"name":"SyncTotalWeight","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint24","name":"srcTrackId","type":"uint24"},{"indexed":false,"internalType":"uint80","name":"timestamp","type":"uint80"},{"indexed":false,"internalType":"uint64","name":"dstChainId","type":"uint64"},{"indexed":false,"internalType":"uint24","name":"dstTrackId","type":"uint24"}],"name":"SyncUserWeight","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint24","name":"trackId","type":"uint24"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint104","name":"amount","type":"uint104"}],"name":"Unstake","type":"event"},{"inputs":[{"internalType":"uint24","name":"trackId","type":"uint24"}],"name":"activeRollOver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"contract ERC20","name":"stakeToken","type":"address"},{"internalType":"uint24","name":"_weightAccrualRate","type":"uint24"},{"internalType":"uint64","name":"_passiveRolloverRate","type":"uint64"},{"internalType":"uint64","name":"_activeRolloverRate","type":"uint64"},{"internalType":"uint104","name":"_maxTotalStake","type":"uint104"}],"name":"addTrack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"trackId","type":"uint24"}],"name":"bumpSaleCounter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"trackId","type":"uint24"}],"name":"disableTrack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"trackId","type":"uint24"},{"internalType":"uint80","name":"timestamp","type":"uint80"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"getBatchStakeWeightByTrackId","outputs":[{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint192","name":"stakeWeight","type":"uint192"}],"internalType":"struct IFAllocationCommitV1.AddressStakeWeight[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"trackId","type":"uint24"},{"internalType":"uint80","name":"timestamp","type":"uint80"}],"name":"getTotalStakeWeight","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"trackId","type":"uint24"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint80","name":"timestamp","type":"uint80"}],"name":"getUserStakeWeight","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"address","name":"","type":"address"}],"name":"hasEmergencyWithdrawn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messageBus","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"}],"name":"numTrackStakers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract ERC20","name":"stakeToken","type":"address"}],"name":"ownerWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"trackId","type":"uint24"},{"internalType":"uint104","name":"amount","type":"uint104"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint24","name":"trackId","type":"uint24"},{"internalType":"uint80","name":"timestamp","type":"uint80"},{"internalType":"uint64","name":"dstChainId","type":"uint64"}],"name":"syncTotalWeight","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint24","name":"trackId","type":"uint24"},{"internalType":"uint80","name":"timestamp","type":"uint80"},{"internalType":"uint64","name":"dstChainId","type":"uint64"}],"name":"syncUserWeight","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint24","name":"","type":"uint24"}],"name":"trackActiveRollOvers","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"}],"name":"trackCheckpointCounts","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"trackCheckpoints","outputs":[{"internalType":"uint80","name":"timestamp","type":"uint80"},{"internalType":"uint104","name":"totalStaked","type":"uint104"},{"internalType":"uint192","name":"totalStakeWeight","type":"uint192"},{"internalType":"uint24","name":"numFinishedSales","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trackCount","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"}],"name":"trackDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint24","name":"","type":"uint24"}],"name":"trackFinishedSaleTimestamps","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"}],"name":"trackMaxStakes","outputs":[{"internalType":"uint104","name":"","type":"uint104"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"trackStakers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint24","name":"","type":"uint24"}],"name":"trackTotalActiveRollOvers","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tracks","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"contract ERC20","name":"stakeToken","type":"address"},{"internalType":"uint24","name":"weightAccrualRate","type":"uint24"},{"internalType":"uint64","name":"passiveRolloverRate","type":"uint64"},{"internalType":"uint64","name":"activeRolloverRate","type":"uint64"},{"internalType":"uint104","name":"maxTotalStake","type":"uint104"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"address","name":"","type":"address"}],"name":"userCheckpointCounts","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"userCheckpoints","outputs":[{"internalType":"uint80","name":"timestamp","type":"uint80"},{"internalType":"uint104","name":"staked","type":"uint104"},{"internalType":"uint192","name":"stakeWeight","type":"uint192"},{"internalType":"uint24","name":"numFinishedSales","type":"uint24"}],"stateMutability":"view","type":"function"}]

0x60a06040523480156200001157600080fd5b5060405162004698380380620046988339810160408190526200003491620000a5565b6200003f3362000055565b600180556001600160a01b0316608052620000d7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000b857600080fd5b81516001600160a01b0381168114620000d057600080fd5b9392505050565b6080516145896200010f600039600081816105fb015281816109e101528181610abe01528181610f59015261103601526145896000f3fe6080604052600436106101c15760003560e01c80637e14a790116100f7578063ab35678c11610095578063ec331ee811610064578063ec331ee814610711578063f2fde38b14610731578063f9bfaa7d14610751578063fe9d47471461077157600080fd5b8063ab35678c1461064f578063ad01671614610673578063b33f517a146106a0578063d4799a06146106e157600080fd5b80638da5cb5b116100d15780638da5cb5b1461059757806392721276146105c9578063a1a227fa146105e9578063a2e345861461061d57600080fd5b80637e14a790146104fd57806383e64d941461053057806385e942091461057757600080fd5b80632f385bcb116101645780635301f3ad1161013e5780635301f3ad14610470578063715018a6146104a8578063770c5c12146104bd5780637db85246146104dd57600080fd5b80632f385bcb146103bc5780632f4fe7821461040f5780633fceccbe1461042257600080fd5b8063185242b0116101a0578063185242b0146102815780631ee93a3a1461029457806325cab7f9146102df57806326df01e41461039c57600080fd5b8062c40584146101c65780630a29ffd9146102245780630ee4d19714610246575b600080fd5b3480156101d257600080fd5b506102076101e1366004613a5e565b60026020908152600092835260408084209091529082529020546001600160501b031681565b6040516001600160501b0390911681526020015b60405180910390f35b34801561023057600080fd5b5061024461023f366004613a91565b6107e3565b005b34801561025257600080fd5b50610273610261366004613a91565b60086020526000908152604090205481565b60405190815260200161021b565b61024461028f366004613aef565b610833565b3480156102a057600080fd5b506102cf6102af366004613b45565b600760209081526000928352604080842090915290825290205460ff1681565b604051901515815260200161021b565b3480156102eb57600080fd5b506103576102fa366004613b90565b600e602090815260009384526040808520825292845282842090528252902080546001909101546001600160501b03821691600160501b90046001600160681b0316906001600160c01b03811690600160c01b900462ffffff1684565b604080516001600160501b0390951685526001600160681b0390931660208501526001600160c01b039091169183019190915262ffffff16606082015260800161021b565b3480156103a857600080fd5b506102446103b7366004613bf7565b610b78565b3480156103c857600080fd5b506103fa6103d7366004613b45565b600d60209081526000928352604080842090915290825290205463ffffffff1681565b60405163ffffffff909116815260200161021b565b61024461041d366004613cba565b610d87565b34801561042e57600080fd5b5061045861043d366004613a91565b600c602052600090815260409020546001600160681b031681565b6040516001600160681b03909116815260200161021b565b34801561047c57600080fd5b5061049061048b366004613d72565b6110f1565b6040516001600160c01b03909116815260200161021b565b3480156104b457600080fd5b5061024461121d565b3480156104c957600080fd5b506102446104d8366004613d9c565b611231565b3480156104e957600080fd5b506104906104f8366004613dc6565b6114ab565b34801561050957600080fd5b506103fa610518366004613a91565b600a6020526000908152604090205463ffffffff1681565b34801561053c57600080fd5b5061049061054b366004613e02565b60036020908152600093845260408085208252928452828420905282529020546001600160c01b031681565b34801561058357600080fd5b50610244610592366004613a91565b6119f3565b3480156105a357600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161021b565b3480156105d557600080fd5b506105b16105e4366004613e3e565b611c2f565b3480156105f557600080fd5b506105b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561062957600080fd5b5061063d610638366004613e68565b611c67565b60405161021b96959493929190613ed9565b34801561065b57600080fd5b5060055460405162ffffff909116815260200161021b565b34801561067f57600080fd5b5061069361068e366004613f36565b611d68565b60405161021b9190613f78565b3480156106ac57600080fd5b506104906106bb366004613a5e565b60046020908152600092835260408084209091529082529020546001600160c01b031681565b3480156106ed57600080fd5b506102cf6106fc366004613a91565b60066020526000908152604090205460ff1681565b34801561071d57600080fd5b5061024461072c366004613a91565b611f56565b34801561073d57600080fd5b5061024461074c366004613fd9565b612003565b34801561075d57600080fd5b5061024461076c366004613fd9565b61207c565b34801561077d57600080fd5b5061035761078c366004613ff6565b600b602090815260009283526040808420909152908252902080546001909101546001600160501b03821691600160501b90046001600160681b0316906001600160c01b03811690600160c01b900462ffffff1684565b6107eb612114565b62ffffff8116600081815260066020526040808220805460ff19166001179055517fcb27b9acd764424cf6cdaa672c3a35243af86cbf4ecb53ad48a9212610e5781b9190a250565b6002600154141561085f5760405162461bcd60e51b815260040161085690614020565b60405180910390fd5b600260015562ffffff831660009081526006602052604090205460ff16156108ba5760405162461bcd60e51b815260206004820152600e60248201526d1d1c9858dac8191a5cd8589b195960921b6044820152606401610856565b6040805160018082528183019092526000916020808301908036833701905050905033816000815181106108f0576108f061406d565b6001600160a01b03929092166020928302919091019091015260408051600180825281830190925260009181602001602082028036833701905050905061093785856110f1565b8160008151811061094a5761094a61406d565b60200260200101906001600160c01b031690816001600160c01b03168152505060006040518060a00160405280848152602001866001600160501b0316815260200160018081111561099e5761099e614083565b81526020018762ffffff168152602001838152506040516020016109c291906140ff565b60408051601f198184030181529082905263299aee5160e11b825291507f0000000000000000000000000000000000000000000000000000000000000000906000906001600160a01b03831690635335dca290610a239086906004016141a5565b60206040518083038186803b158015610a3b57600080fd5b505afa158015610a4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7391906141b8565b905080341015610ab65760405162461bcd60e51b815260206004820152600e60248201526d4e6f7420656e6f7567682066656560901b6044820152606401610856565b610ae38987857f00000000000000000000000000000000000000000000000000000000000000008561216e565b610aed81346141e7565b15610b2a57336108fc610b0083346141e7565b6040518115909202916000818181858888f19350505050158015610b28573d6000803e3d6000fd5b505b7f26f761805bf5b48d09abfb7b15d908bb69dd697594afda09ffae497db2a3df4a898989898c604051610b619594939291906141fe565b60405180910390a150506001805550505050505050565b610b80612114565b62ffffff8416610bc65760405162461bcd60e51b815260206004820152601160248201527006163637275616c2072617465206973203607c1b6044820152606401610856565b6040805160e06020601f8a01819004028201810190925260c081018881526005928291908b908b908190850183828082843760009201829052509385525050506001600160a01b03891660208084019190915262ffffff891660408401526001600160401b038089166060850152871660808401526001600160681b03861660a090930192909252835460018101855593815281902082518051939460030290910192610c7692849201906139ad565b50602082015160018083018054604086015160608701516001600160401b03908116600160b81b0267ffffffffffffffff60b81b1962ffffff909316600160a01b026001600160b81b03199094166001600160a01b0390971696909617929092171693909317905560808401516002909301805460a0909501516001600160681b0316600160401b026001600160a81b0319909516939092169290921792909217909155600554610d3491610d2a916141e7565b60008060006121d9565b846001600160a01b03168787604051610d4e929190614243565b604051908190038120907f1e50e9757b681e9008a480e25488ddd40b47b5295b68ae5f6d9c7204377e5b3b90600090a350505050505050565b60026001541415610daa5760405162461bcd60e51b815260040161085690614020565b600260015562ffffff831660009081526006602052604090205460ff1615610e065760405162461bcd60e51b815260206004820152600f60248201526e1d1c9858dac808591a5cd8589b1959608a1b6044820152606401610856565b6000846001600160401b03811115610e2057610e20614057565b604051908082528060200260200182016040528015610e49578160200160208202803683370190505b50905060005b85811015610ec457610e8885888884818110610e6d57610e6d61406d565b9050602002016020810190610e829190613fd9565b866114ab565b828281518110610e9a57610e9a61406d565b6001600160c01b039092166020928302919091019091015280610ebc81614253565b915050610e4f565b506040805160c060208802808301820190935260a0820188815260009383928b918b9182919086019084908082843760009201829052509385525050506001600160501b038716602083015260409091019081526020018662ffffff16815260200183815250604051602001610f3a91906140ff565b60408051601f198184030181529082905263299aee5160e11b825291507f0000000000000000000000000000000000000000000000000000000000000000906000906001600160a01b03831690635335dca290610f9b9086906004016141a5565b60206040518083038186803b158015610fb357600080fd5b505afa158015610fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610feb91906141b8565b90508034101561102e5760405162461bcd60e51b815260206004820152600e60248201526d4e6f7420656e6f7567682066656560901b6044820152606401610856565b61105b8a86857f00000000000000000000000000000000000000000000000000000000000000008561216e565b61106581346141e7565b156110a257336108fc61107883346141e7565b6040518115909202916000818181858888f193505050501580156110a0573d6000803e3d6000fd5b505b7f63f7370c5ec881103dc49f9b20da0dd67baa69c60e154fafa9f9b914fa1982858a8888888b6040516110d99594939291906141fe565b60405180910390a15050600180555050505050505050565b600042826001600160501b0316111561111c5760405162461bcd60e51b81526004016108569061426e565b62ffffff831660009081526006602052604090205460ff161561114157506000611217565b600061114d8484612928565b80519091506001600160501b0316611169576000915050611217565b8051600090611178908561429c565b9050600060058662ffffff16815481106111945761119461406d565b906000526020600020906003020190506000670de0b6b3a764000084602001516001600160681b03168360010160149054906101000a900462ffffff1662ffffff16856001600160501b03166111ea91906142c4565b6111f491906142c4565b6111fe9190614309565b9050808460400151611210919061432f565b9450505050505b92915050565b611225612114565b61122f6000612c2e565b565b600260015414156112545760405162461bcd60e51b815260040161085690614020565b60026001556001600160681b03811661129d5760405162461bcd60e51b815260206004820152600b60248201526a0616d6f756e7420697320360ac1b6044820152606401610856565b600060058362ffffff16815481106112b7576112b761406d565b6000918252602080832062ffffff8716845260069091526040909220546003909102909101915060ff1680156113235760405162461bcd60e51b81526020600482015260116024820152701d1c9858dac81a5cc8191a5cd8589b1959607a1b6044820152606401610856565b6113463360018401546001600160a01b031690306001600160681b038716612c7e565b61135284846001612cef565b6113608484600160006121d9565b62ffffff84166000908152600b60209081526040808320600a90925282205482906113939060019063ffffffff1661435a565b63ffffffff16815260208082019290925260409081016000908120825160808101845281546001600160501b03811682526001600160681b03600160501b90910481168287018190526001909301546001600160c01b0381168387015262ffffff600160c01b909104811660608401528b168452600c90955292909120549193509116101561145b5760208181015162ffffff87166000908152600c909252604090912080546cffffffffffffffffffffffffff19166001600160681b039092169190911790555b6040516001600160681b0385168152339062ffffff8716907fc7de557a4862000809abc99c50fd0b30c35beb37a010dae4335462b336827fd39060200160405180910390a3505060018055505050565b600042826001600160501b031611156114d65760405162461bcd60e51b81526004016108569061426e565b62ffffff841660009081526006602052604090205460ff16156114fb575060006119ec565b62ffffff84166000908152600d602090815260408083206001600160a01b038716845290915290205463ffffffff16806115395760009150506119ec565b60006115468686866133b9565b80519091506001600160501b0316611563576000925050506119ec565b600061156f8786612928565b90506000826060015182606001516115879190614377565b9050600060058962ffffff16815481106115a3576115a361406d565b90600052602060002090600302016040518060c00160405290816000820180546115cc90614393565b80601f01602080910402602001604051908101604052809291908181526020018280546115f890614393565b80156116455780601f1061161a57610100808354040283529160200191611645565b820191906000526020600020905b81548152906001019060200180831161162857829003601f168201915b505050918352505060018201546001600160a01b038116602083015262ffffff600160a01b8204811660408401526001600160401b03600160b81b9092048216606084015260029093015490811660808301526001600160681b03600160401b9091041660a09091015290915060009083166117335784516000906116ca908a61429c565b9050670de0b6b3a764000086602001516001600160681b0316846040015162ffffff16836001600160501b031661170191906142c4565b61170b91906142c4565b6117159190614309565b8660400151611724919061432f565b97506119ec9650505050505050565b506040840151845160005b8462ffffff168162ffffff16101561193b5762ffffff8c166000908152600260205260408120606089015184919083906117799086906143ce565b62ffffff1681526020810191909152604001600020546117a291906001600160501b031661429c565b9050670de0b6b3a764000088602001516001600160681b0316866040015162ffffff16836001600160501b03166117d991906142c4565b6117e391906142c4565b6117ed9190614309565b6117f7908561432f565b93506000600360008f62ffffff1662ffffff16815260200190815260200160002060008e6001600160a01b03166001600160a01b031681526020019081526020016000206000848b6060015161184d91906143ce565b62ffffff16815260208101919091526040016000205460608701516001600160c01b039091169150670de0b6b3a7640000906001600160401b031661189283886143ec565b61189c91906142c4565b6118a69190614309565b6080870151670de0b6b3a7640000906118c8906001600160401b0316846142c4565b6118d29190614309565b6118dc919061432f565b62ffffff8f16600090815260026020526040812060608c0151929750916119049086906143ce565b62ffffff1681526020810191909152604001600020546001600160501b0316935082915061193390508161440c565b91505061173e565b5062ffffff8b1660009081526002602052604081206060870151829061196390600190614377565b62ffffff16815260208101919091526040016000205461198c906001600160501b03168b61429c565b9050670de0b6b3a764000087602001516001600160681b0316856040015162ffffff16836001600160501b03166119c391906142c4565b6119cd91906142c4565b6119d79190614309565b6119e1908461432f565b985050505050505050505b9392505050565b6119ff81600080612cef565b62ffffff81166000818152600e6020908152604080832033808552908352818420948452600d83528184209084529091528120549091908290611a4a9060019063ffffffff1661435a565b63ffffffff16815260208082019290925260409081016000908120825160808101845281546001600160501b0381168252600160501b90046001600160681b0316818601526001909101546001600160c01b0380821683860152600160c01b90910462ffffff9081166060840181905290881680855260038752858520338652875285852082865287528585205490855260048752858520828652909652938320805492965093948116939291611b03918591166143ec565b92506101000a8154816001600160c01b0302191690836001600160c01b031602179055508160400151600360008562ffffff1662ffffff1681526020019081526020016000206000611b523390565b6001600160a01b031681526020808201929092526040908101600090812062ffffff86811680845291855283832080546001600160c01b0319166001600160c01b03978816179055878401519089168352600485528383209183529352908120805492939092611bc49185911661432f565b92506101000a8154816001600160c01b0302191690836001600160c01b03160217905550611bef3390565b6001600160a01b03168362ffffff167f2ad99c2ef3fb067831abd0a8620f3b2ddda1e7be89576a286edea06e048cf3dc60405160405180910390a3505050565b60096020528160005260406000208181548110611c4b57600080fd5b6000918252602090912001546001600160a01b03169150829050565b60058181548110611c7757600080fd5b9060005260206000209060030201600091509050806000018054611c9a90614393565b80601f0160208091040260200160405190810160405280929190818152602001828054611cc690614393565b8015611d135780601f10611ce857610100808354040283529160200191611d13565b820191906000526020600020905b815481529060010190602001808311611cf657829003601f168201915b505050600184015460029094015492936001600160a01b0381169362ffffff600160a01b83041693506001600160401b03600160b81b90920482169250908116906001600160681b03600160401b9091041686565b606042846001600160501b03161115611d935760405162461bcd60e51b81526004016108569061426e565b60008211611df55760405162461bcd60e51b815260206004820152602960248201527f636f756e7420706172616d65746572206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610856565b62ffffff851660009081526008602052604081205490611e15848661442f565b90506000818310611e265781611e28565b825b90506000611e3687836141e7565b6001600160401b03811115611e4d57611e4d614057565b604051908082528060200260200182016040528015611e9257816020015b6040805180820190915260008082526020820152815260200190600190039081611e6b5790505b509050865b82811015611f495762ffffff8a166000908152600960205260408120805483908110611ec557611ec561406d565b60009182526020822001546001600160a01b03169150611ee68c838d6114ab565b604080518082019091526001600160a01b03841681526001600160c01b038216602082015290915084611f198c866141e7565b81518110611f2957611f2961406d565b602002602001018190525050508080611f4190614253565b915050611e97565b5098975050505050505050565b611f5e612114565b62ffffff81166000908152600b60209081526040808320600a9092528220548290611f919060019063ffffffff1661435a565b63ffffffff1681526020808201929092526040908101600090812060019081015462ffffff878116845260028652848420600160c01b909204168084529452918120805469ffffffffffffffffffff1916426001600160501b0316179055919250611fff91849181906121d9565b5050565b61200b612114565b6001600160a01b0381166120705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610856565b61207981612c2e565b50565b612084612114565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b1580156120c657600080fd5b505afa1580156120da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fe91906141b8565b9050611fff6001600160a01b0383163383613725565b6000546001600160a01b0316331461122f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610856565b604051634f9e72ad60e11b81526001600160a01b03831690639f3ce55a9083906121a090899089908990600401614447565b6000604051808303818588803b1580156121b957600080fd5b505af11580156121cd573d6000803e3d6000fd5b50505050505050505050565b600060058562ffffff16815481106121f3576121f361406d565b6000918252602080832062ffffff89168452600a9091526040909220546003909102909101915063ffffffff1680612341576040518060800160405280426001600160501b03168152602001866001600160681b0316815260200160006001600160c01b031681526020018461226a57600061226d565b60015b60ff16905262ffffff8781166000818152600b60209081526040808320838052825280832086518154888501516001600160681b0316600160501b026001600160b81b03199091166001600160501b03909216919091171781558682015160019091018054606090980151909616600160c01b026001600160d81b03199097166001600160c01b039091161795909517909355908152600a909152908120805463ffffffff169161231d83614483565b91906101000a81548163ffffffff021916908363ffffffff160217905550506128dd565b62ffffff86166000908152600b602052604081208161236160018561435a565b63ffffffff1681526020808201929092526040908101600090812062ffffff8b1682526006909352205490915060ff1680156123e55785156123e55760405162461bcd60e51b815260206004820152601a60248201527f64697361626c65643a2063616e6e6f7420616464207374616b650000000000006044820152606401610856565b81546001600160501b03428116911611156124395760405162461bcd60e51b815260206004820152601460248201527374696d657374616d702023206f766572666c6f7760601b6044820152606401610856565b8154600090612451906001600160501b03164261429c565b83546001870154919250600091670de0b6b3a764000091600160501b90046001600160681b03169061249890600160a01b900462ffffff166001600160501b0386166142c4565b6124a291906142c4565b6124ac9190614309565b60018501549091506000906124cb9083906001600160c01b031661432f565b905087156125e35762ffffff808c1660009081526004602090815260408083206001808b0154600160c01b90049095168452909152902054908801546001600160c01b0390911690670de0b6b3a764000090600160b81b90046001600160401b031661253783856143ec565b61254191906142c4565b61254b9190614309565b6002890154670de0b6b3a76400009061256d906001600160401b0316846142c4565b6125779190614309565b612581919061432f565b91508b62ffffff167fcd058f3f37dac45b4ea419da18091e06ea38756c9996298ca517599007e777c48760010160189054906101000a900462ffffff1660016125ca91906143ce565b60405162ffffff909116815260200160405180910390a2505b6001600160501b0383166127145788612618578454612613908b90600160501b90046001600160681b031661449d565b612635565b8454612635908b90600160501b90046001600160681b03166144bd565b85546001600160681b0391909116600160501b02600160501b600160b81b0319909116178555836126665780612692565b60018501546001600160c01b038083169116106126835780612692565b60018501546001600160c01b03165b6001860180546001600160c01b0319166001600160c01b0392909216919091179055876126cf576001850154600160c01b900462ffffff166126ef565b8460010160189054906101000a900462ffffff1660016126ef91906143ce565b8560010160186101000a81548162ffffff021916908362ffffff1602179055506128d7565b6040518060800160405280426001600160501b031681526020018a612755578654612750908d90600160501b90046001600160681b031661449d565b612772565b8654612772908d90600160501b90046001600160681b03166144bd565b6001600160681b031681526020018561278b57826127b7565b60018701546001600160c01b038085169116106127a857826127b7565b60018701546001600160c01b03165b6001600160c01b03168152602001896127e0576001870154600160c01b900462ffffff16612800565b8660010160189054906101000a900462ffffff16600161280091906143ce565b62ffffff9081169091528c81166000818152600b6020908152604080832063ffffffff808e16855290835281842087518154898601516001600160681b0316600160501b026001600160b81b03199091166001600160501b03909216919091171781558783015160019091018054606090990151909716600160c01b026001600160d81b03199098166001600160c01b039091161796909617909455918152600a909152908120805490921691906128b783614483565b91906101000a81548163ffffffff021916908363ffffffff160217905550505b50505050505b6040516001600160501b034216815262ffffff8716907fbae21b9ce1f492a8affaa603b56fe9c921dceb290c3a3c11815c26b6e6e67fc39060200160405180910390a2505050505050565b60408051608081018252600080825260208083018290528284018290526060830182905262ffffff86168252600a815283822054600b909152928120919263ffffffff16916001600160501b0385169161298360018561435a565b63ffffffff1681526020810191909152604001600020546001600160501b031611612a3d5762ffffff84166000908152600b60205260408120906129c860018461435a565b63ffffffff1681526020808201929092526040908101600020815160808101835281546001600160501b0381168252600160501b90046001600160681b031693810193909352600101546001600160c01b03811691830191909152600160c01b900462ffffff16606082015291506112179050565b62ffffff84166000908152600b602090815260408083208380529091529020546001600160501b0380851691161115612a9b575050604080516080810182526000808252602082018190529181018290526060810191909152611217565b600080612aa960018461435a565b90505b8163ffffffff168163ffffffff161115612baa5760006002612ace848461435a565b612ad891906144df565b612ae2908361435a565b62ffffff8881166000908152600b6020908152604080832063ffffffff86168452825291829020825160808101845281546001600160501b03808216808452600160501b9092046001600160681b0316948301949094526001909201546001600160c01b03811694820194909452600160c01b90930490931660608301529293509188161415612b785794506112179350505050565b80516001600160501b0380891691161015612b9557819350612ba3565b612ba060018361435a565b92505b5050612aac565b5062ffffff8086166000908152600b6020908152604080832063ffffffff909516835293815290839020835160808101855281546001600160501b03811682526001600160681b03600160501b9091041692810192909252600101546001600160c01b03811693820193909352600160c01b90920416606082015291506112179050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052612ce99085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261375a565b50505050565b600060058462ffffff1681548110612d0957612d0961406d565b6000918252602080832062ffffff88168452600d90915260408320600390920201925081612d343390565b6001600160a01b03168152602080820192909252604090810160009081205462ffffff89168252600a845282822054600b90945291812063ffffffff9283169450929091169181612d8660018561435a565b63ffffffff90811682526020808301939093526040918201600020825160808101845281546001600160501b0381168252600160501b90046001600160681b031694810194909452600101546001600160c01b03811692840192909252600160c01b90910462ffffff1660608301529091508316612ff85760028401546001600160681b03600160401b90910481169087161115612e5c5760405162461bcd60e51b8152602060048201526013602482015272065786365656473207374616b696e672063617606c1b6044820152606401610856565b62ffffff8716600081815260096020908152604080832080546001810182559084528284200180546001600160a01b0319163317905592825260089052908120805491612ea883614253565b91905055506040518060800160405280426001600160501b03168152602001876001600160681b0316815260200160006001600160c01b03168152602001826060015162ffffff16815250600e60008962ffffff1662ffffff1681526020019081526020016000206000612f193390565b6001600160a01b0316815260208082019290925260409081016000908120818052835281902083518154938501516001600160681b0316600160501b026001600160b81b03199094166001600160501b03909116179290921782558201516001918201805460609094015162ffffff16600160c01b026001600160d81b03199094166001600160c01b039092169190911792909217909155612fbc9084906144f6565b62ffffff88166000908152600d602090815260408083203384529091529020805463ffffffff191663ffffffff9290921691909117905561336d565b62ffffff87166000908152600e6020908152604080832033845290915281208161302360018761435a565b63ffffffff16815260208101919091526040016000206002860154909150600160401b90046001600160681b031686613078578154613073908990600160501b90046001600160681b031661449d565b613095565b8154613095908990600160501b90046001600160681b03166144bd565b6001600160681b031611156130e25760405162461bcd60e51b8152602060048201526013602482015272065786365656473207374616b696e672063617606c1b6044820152606401610856565b80546001600160501b03428116911611156131365760405162461bcd60e51b815260206004820152601460248201527374696d657374616d702023206f766572666c6f7760601b6044820152606401610856565b8054426001600160501b03908116911614156131e4578561317357805461316e908890600160501b90046001600160681b031661449d565b613190565b8054613190908890600160501b90046001600160681b03166144bd565b81546001600160681b0391909116600160501b02600160501b600160b81b0319909116178155606082015160018201805462ffffff909216600160c01b0262ffffff60c01b1990921691909117905561336b565b6040518060800160405280426001600160501b0316815260200187613225578254613220908a90600160501b90046001600160681b031661449d565b613242565b8254613242908a90600160501b90046001600160681b03166144bd565b6001600160681b0316815260200161325b8a33426114ab565b6001600160c01b03168152606084015162ffffff9081166020928301528a166000908152600e9091526040812090336001600160a01b031681526020808201929092526040908101600090812063ffffffff89168252835281902083518154938501516001600160681b0316600160501b026001600160b81b03199094166001600160501b03909116179290921782558201516001918201805460609094015162ffffff16600160c01b026001600160d81b03199094166001600160c01b0390921691909117929092179091556133339085906144f6565b62ffffff89166000908152600d602090815260408083203384529091529020805463ffffffff191663ffffffff929092169190911790555b505b6040516001600160501b034216815262ffffff8816907f452e6119384e406a318edbd63efae9316d44abef87b7b0d4a557e935b0d7f2e59060200160405180910390a250505050505050565b60408051608081018252600080825260208083018290528284018290526060830182905262ffffff8716808352600d82528483206001600160a01b03881680855290835285842054918452600e8352858420908452909152928120919263ffffffff16916001600160501b0385169161343360018561435a565b63ffffffff1681526020810191909152604001600020546001600160501b0316116135015762ffffff85166000908152600e602090815260408083206001600160a01b038816845290915281209061348c60018461435a565b63ffffffff1681526020808201929092526040908101600020815160808101835281546001600160501b0381168252600160501b90046001600160681b031693810193909352600101546001600160c01b03811691830191909152600160c01b900462ffffff16606082015291506119ec9050565b62ffffff85166000908152600e602090815260408083206001600160a01b038816845282528083208380529091529020546001600160501b03808516911611156135705750506040805160808101825260008082526020820181905291810182905260608101919091526119ec565b60008061357e60018461435a565b90505b8163ffffffff168163ffffffff16111561369057600060026135a3848461435a565b6135ad91906144df565b6135b7908361435a565b62ffffff8981166000908152600e602090815260408083206001600160a01b038d168452825280832063ffffffff86168452825291829020825160808101845281546001600160501b03808216808452600160501b9092046001600160681b0316948301949094526001909201546001600160c01b03811694820194909452600160c01b9093049093166060830152929350918816141561365e5794506119ec9350505050565b80516001600160501b038089169116101561367b57819350613689565b61368660018361435a565b92505b5050613581565b5062ffffff8087166000908152600e602090815260408083206001600160a01b038a168452825280832063ffffffff909516835293815290839020835160808101855281546001600160501b03811682526001600160681b03600160501b9091041692810192909252600101546001600160c01b03811693820193909352600160c01b90920416606082015291506119ec9050565b6040516001600160a01b03831660248201526044810182905261375590849063a9059cbb60e01b90606401612cb2565b505050565b60006137af826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661382c9092919063ffffffff16565b80519091501561375557808060200190518101906137cd9190614515565b6137555760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610856565b606061383b8484600085613843565b949350505050565b6060824710156138a45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610856565b6001600160a01b0385163b6138fb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610856565b600080866001600160a01b031685876040516139179190614537565b60006040518083038185875af1925050503d8060008114613954576040519150601f19603f3d011682016040523d82523d6000602084013e613959565b606091505b5091509150613969828286613974565b979650505050505050565b606083156139835750816119ec565b8251156139935782518084602001fd5b8160405162461bcd60e51b815260040161085691906141a5565b8280546139b990614393565b90600052602060002090601f0160209004810192826139db5760008555613a21565b82601f106139f457805160ff1916838001178555613a21565b82800160010185558215613a21579182015b82811115613a21578251825591602001919060010190613a06565b50613a2d929150613a31565b5090565b5b80821115613a2d5760008155600101613a32565b803562ffffff81168114613a5957600080fd5b919050565b60008060408385031215613a7157600080fd5b613a7a83613a46565b9150613a8860208401613a46565b90509250929050565b600060208284031215613aa357600080fd5b6119ec82613a46565b6001600160a01b038116811461207957600080fd5b80356001600160501b0381168114613a5957600080fd5b80356001600160401b0381168114613a5957600080fd5b60008060008060808587031215613b0557600080fd5b8435613b1081613aac565b9350613b1e60208601613a46565b9250613b2c60408601613ac1565b9150613b3a60608601613ad8565b905092959194509250565b60008060408385031215613b5857600080fd5b613b6183613a46565b91506020830135613b7181613aac565b809150509250929050565b803563ffffffff81168114613a5957600080fd5b600080600060608486031215613ba557600080fd5b613bae84613a46565b92506020840135613bbe81613aac565b9150613bcc60408501613b7c565b90509250925092565b8035613a5981613aac565b80356001600160681b0381168114613a5957600080fd5b600080600080600080600060c0888a031215613c1257600080fd5b87356001600160401b0380821115613c2957600080fd5b818a0191508a601f830112613c3d57600080fd5b813581811115613c4c57600080fd5b8b6020828501011115613c5e57600080fd5b602092830199509750613c74918a019050613bd5565b9450613c8260408901613a46565b9350613c9060608901613ad8565b9250613c9e60808901613ad8565b9150613cac60a08901613be0565b905092959891949750929550565b60008060008060008060a08789031215613cd357600080fd5b8635613cde81613aac565b955060208701356001600160401b0380821115613cfa57600080fd5b818901915089601f830112613d0e57600080fd5b813581811115613d1d57600080fd5b8a60208260051b8501011115613d3257600080fd5b602083019750809650505050613d4a60408801613a46565b9250613d5860608801613ac1565b9150613d6660808801613ad8565b90509295509295509295565b60008060408385031215613d8557600080fd5b613d8e83613a46565b9150613a8860208401613ac1565b60008060408385031215613daf57600080fd5b613db883613a46565b9150613a8860208401613be0565b600080600060608486031215613ddb57600080fd5b613de484613a46565b92506020840135613df481613aac565b9150613bcc60408501613ac1565b600080600060608486031215613e1757600080fd5b613e2084613a46565b92506020840135613e3081613aac565b9150613bcc60408501613a46565b60008060408385031215613e5157600080fd5b613e5a83613a46565b946020939093013593505050565b600060208284031215613e7a57600080fd5b5035919050565b60005b83811015613e9c578181015183820152602001613e84565b83811115612ce95750506000910152565b60008151808452613ec5816020860160208601613e81565b601f01601f19169290920160200192915050565b60c081526000613eec60c0830189613ead565b6001600160a01b039790971660208301525062ffffff9490941660408501526001600160401b039283166060850152911660808301526001600160681b031660a090910152919050565b60008060008060808587031215613f4c57600080fd5b613f5585613a46565b9350613f6360208601613ac1565b93969395505050506040820135916060013590565b602080825282518282018190526000919060409081850190868401855b82811015613fcc57815180516001600160a01b031685528601516001600160c01b0316868501529284019290850190600101613f95565b5091979650505050505050565b600060208284031215613feb57600080fd5b81356119ec81613aac565b6000806040838503121561400957600080fd5b61401283613a46565b9150613a8860208401613b7c565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600281106140b757634e487b7160e01b600052602160045260246000fd5b9052565b600081518084526020808501945080840160005b838110156140f45781516001600160c01b0316875295820195908201906001016140cf565b509495945050505050565b6020808252825160a083830152805160c0840181905260009291820190839060e08601905b8083101561414d5783516001600160a01b03168252928401926001929092019190840190614124565b50928601516001600160501b038116604087015292604087015193506141766060870185614099565b606087015162ffffff8116608088015293506080870151868203601f190160a0880152935061121081856140bb565b6020815260006119ec6020830184613ead565b6000602082840312156141ca57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156141f9576141f96141d1565b500390565b6001600160a01b0395909516855262ffffff93841660208601526001600160501b039290921660408501526001600160401b0316606084015216608082015260a00190565b8183823760009101908152919050565b6000600019821415614267576142676141d1565b5060010190565b6020808252601490820152730e8d2dacae6e8c2dae0404640e8dede40d0d2ced60631b604082015260600190565b60006001600160501b03838116908316818110156142bc576142bc6141d1565b039392505050565b60006001600160c01b03828116848216811515828404821116156142ea576142ea6141d1565b02949350505050565b634e487b7160e01b600052601260045260246000fd5b60006001600160c01b0383811680614323576143236142f3565b92169190910492915050565b60006001600160c01b03828116848216808303821115614351576143516141d1565b01949350505050565b600063ffffffff838116908316818110156142bc576142bc6141d1565b600062ffffff838116908316818110156142bc576142bc6141d1565b600181811c908216806143a757607f821691505b602082108114156143c857634e487b7160e01b600052602260045260246000fd5b50919050565b600062ffffff808316818516808303821115614351576143516141d1565b60006001600160c01b03838116908316818110156142bc576142bc6141d1565b600062ffffff80831681811415614425576144256141d1565b6001019392505050565b60008219821115614442576144426141d1565b500190565b6001600160a01b03841681526001600160401b038316602082015260606040820181905260009061447a90830184613ead565b95945050505050565b600063ffffffff80831681811415614425576144256141d1565b60006001600160681b03838116908316818110156142bc576142bc6141d1565b60006001600160681b03808316818516808303821115614351576143516141d1565b600063ffffffff80841680614323576143236142f3565b600063ffffffff808316818516808303821115614351576143516141d1565b60006020828403121561452757600080fd5b815180151581146119ec57600080fd5b60008251614549818460208701613e81565b919091019291505056fea26469706673582212201316d4f6f6480d2cbdc24aafb451a9a1925b51a991f27c16b7228adffeaf390964736f6c634300080900330000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c15760003560e01c80637e14a790116100f7578063ab35678c11610095578063ec331ee811610064578063ec331ee814610711578063f2fde38b14610731578063f9bfaa7d14610751578063fe9d47471461077157600080fd5b8063ab35678c1461064f578063ad01671614610673578063b33f517a146106a0578063d4799a06146106e157600080fd5b80638da5cb5b116100d15780638da5cb5b1461059757806392721276146105c9578063a1a227fa146105e9578063a2e345861461061d57600080fd5b80637e14a790146104fd57806383e64d941461053057806385e942091461057757600080fd5b80632f385bcb116101645780635301f3ad1161013e5780635301f3ad14610470578063715018a6146104a8578063770c5c12146104bd5780637db85246146104dd57600080fd5b80632f385bcb146103bc5780632f4fe7821461040f5780633fceccbe1461042257600080fd5b8063185242b0116101a0578063185242b0146102815780631ee93a3a1461029457806325cab7f9146102df57806326df01e41461039c57600080fd5b8062c40584146101c65780630a29ffd9146102245780630ee4d19714610246575b600080fd5b3480156101d257600080fd5b506102076101e1366004613a5e565b60026020908152600092835260408084209091529082529020546001600160501b031681565b6040516001600160501b0390911681526020015b60405180910390f35b34801561023057600080fd5b5061024461023f366004613a91565b6107e3565b005b34801561025257600080fd5b50610273610261366004613a91565b60086020526000908152604090205481565b60405190815260200161021b565b61024461028f366004613aef565b610833565b3480156102a057600080fd5b506102cf6102af366004613b45565b600760209081526000928352604080842090915290825290205460ff1681565b604051901515815260200161021b565b3480156102eb57600080fd5b506103576102fa366004613b90565b600e602090815260009384526040808520825292845282842090528252902080546001909101546001600160501b03821691600160501b90046001600160681b0316906001600160c01b03811690600160c01b900462ffffff1684565b604080516001600160501b0390951685526001600160681b0390931660208501526001600160c01b039091169183019190915262ffffff16606082015260800161021b565b3480156103a857600080fd5b506102446103b7366004613bf7565b610b78565b3480156103c857600080fd5b506103fa6103d7366004613b45565b600d60209081526000928352604080842090915290825290205463ffffffff1681565b60405163ffffffff909116815260200161021b565b61024461041d366004613cba565b610d87565b34801561042e57600080fd5b5061045861043d366004613a91565b600c602052600090815260409020546001600160681b031681565b6040516001600160681b03909116815260200161021b565b34801561047c57600080fd5b5061049061048b366004613d72565b6110f1565b6040516001600160c01b03909116815260200161021b565b3480156104b457600080fd5b5061024461121d565b3480156104c957600080fd5b506102446104d8366004613d9c565b611231565b3480156104e957600080fd5b506104906104f8366004613dc6565b6114ab565b34801561050957600080fd5b506103fa610518366004613a91565b600a6020526000908152604090205463ffffffff1681565b34801561053c57600080fd5b5061049061054b366004613e02565b60036020908152600093845260408085208252928452828420905282529020546001600160c01b031681565b34801561058357600080fd5b50610244610592366004613a91565b6119f3565b3480156105a357600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161021b565b3480156105d557600080fd5b506105b16105e4366004613e3e565b611c2f565b3480156105f557600080fd5b506105b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561062957600080fd5b5061063d610638366004613e68565b611c67565b60405161021b96959493929190613ed9565b34801561065b57600080fd5b5060055460405162ffffff909116815260200161021b565b34801561067f57600080fd5b5061069361068e366004613f36565b611d68565b60405161021b9190613f78565b3480156106ac57600080fd5b506104906106bb366004613a5e565b60046020908152600092835260408084209091529082529020546001600160c01b031681565b3480156106ed57600080fd5b506102cf6106fc366004613a91565b60066020526000908152604090205460ff1681565b34801561071d57600080fd5b5061024461072c366004613a91565b611f56565b34801561073d57600080fd5b5061024461074c366004613fd9565b612003565b34801561075d57600080fd5b5061024461076c366004613fd9565b61207c565b34801561077d57600080fd5b5061035761078c366004613ff6565b600b602090815260009283526040808420909152908252902080546001909101546001600160501b03821691600160501b90046001600160681b0316906001600160c01b03811690600160c01b900462ffffff1684565b6107eb612114565b62ffffff8116600081815260066020526040808220805460ff19166001179055517fcb27b9acd764424cf6cdaa672c3a35243af86cbf4ecb53ad48a9212610e5781b9190a250565b6002600154141561085f5760405162461bcd60e51b815260040161085690614020565b60405180910390fd5b600260015562ffffff831660009081526006602052604090205460ff16156108ba5760405162461bcd60e51b815260206004820152600e60248201526d1d1c9858dac8191a5cd8589b195960921b6044820152606401610856565b6040805160018082528183019092526000916020808301908036833701905050905033816000815181106108f0576108f061406d565b6001600160a01b03929092166020928302919091019091015260408051600180825281830190925260009181602001602082028036833701905050905061093785856110f1565b8160008151811061094a5761094a61406d565b60200260200101906001600160c01b031690816001600160c01b03168152505060006040518060a00160405280848152602001866001600160501b0316815260200160018081111561099e5761099e614083565b81526020018762ffffff168152602001838152506040516020016109c291906140ff565b60408051601f198184030181529082905263299aee5160e11b825291507f0000000000000000000000000000000000000000000000000000000000000000906000906001600160a01b03831690635335dca290610a239086906004016141a5565b60206040518083038186803b158015610a3b57600080fd5b505afa158015610a4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7391906141b8565b905080341015610ab65760405162461bcd60e51b815260206004820152600e60248201526d4e6f7420656e6f7567682066656560901b6044820152606401610856565b610ae38987857f00000000000000000000000000000000000000000000000000000000000000008561216e565b610aed81346141e7565b15610b2a57336108fc610b0083346141e7565b6040518115909202916000818181858888f19350505050158015610b28573d6000803e3d6000fd5b505b7f26f761805bf5b48d09abfb7b15d908bb69dd697594afda09ffae497db2a3df4a898989898c604051610b619594939291906141fe565b60405180910390a150506001805550505050505050565b610b80612114565b62ffffff8416610bc65760405162461bcd60e51b815260206004820152601160248201527006163637275616c2072617465206973203607c1b6044820152606401610856565b6040805160e06020601f8a01819004028201810190925260c081018881526005928291908b908b908190850183828082843760009201829052509385525050506001600160a01b03891660208084019190915262ffffff891660408401526001600160401b038089166060850152871660808401526001600160681b03861660a090930192909252835460018101855593815281902082518051939460030290910192610c7692849201906139ad565b50602082015160018083018054604086015160608701516001600160401b03908116600160b81b0267ffffffffffffffff60b81b1962ffffff909316600160a01b026001600160b81b03199094166001600160a01b0390971696909617929092171693909317905560808401516002909301805460a0909501516001600160681b0316600160401b026001600160a81b0319909516939092169290921792909217909155600554610d3491610d2a916141e7565b60008060006121d9565b846001600160a01b03168787604051610d4e929190614243565b604051908190038120907f1e50e9757b681e9008a480e25488ddd40b47b5295b68ae5f6d9c7204377e5b3b90600090a350505050505050565b60026001541415610daa5760405162461bcd60e51b815260040161085690614020565b600260015562ffffff831660009081526006602052604090205460ff1615610e065760405162461bcd60e51b815260206004820152600f60248201526e1d1c9858dac808591a5cd8589b1959608a1b6044820152606401610856565b6000846001600160401b03811115610e2057610e20614057565b604051908082528060200260200182016040528015610e49578160200160208202803683370190505b50905060005b85811015610ec457610e8885888884818110610e6d57610e6d61406d565b9050602002016020810190610e829190613fd9565b866114ab565b828281518110610e9a57610e9a61406d565b6001600160c01b039092166020928302919091019091015280610ebc81614253565b915050610e4f565b506040805160c060208802808301820190935260a0820188815260009383928b918b9182919086019084908082843760009201829052509385525050506001600160501b038716602083015260409091019081526020018662ffffff16815260200183815250604051602001610f3a91906140ff565b60408051601f198184030181529082905263299aee5160e11b825291507f0000000000000000000000000000000000000000000000000000000000000000906000906001600160a01b03831690635335dca290610f9b9086906004016141a5565b60206040518083038186803b158015610fb357600080fd5b505afa158015610fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610feb91906141b8565b90508034101561102e5760405162461bcd60e51b815260206004820152600e60248201526d4e6f7420656e6f7567682066656560901b6044820152606401610856565b61105b8a86857f00000000000000000000000000000000000000000000000000000000000000008561216e565b61106581346141e7565b156110a257336108fc61107883346141e7565b6040518115909202916000818181858888f193505050501580156110a0573d6000803e3d6000fd5b505b7f63f7370c5ec881103dc49f9b20da0dd67baa69c60e154fafa9f9b914fa1982858a8888888b6040516110d99594939291906141fe565b60405180910390a15050600180555050505050505050565b600042826001600160501b0316111561111c5760405162461bcd60e51b81526004016108569061426e565b62ffffff831660009081526006602052604090205460ff161561114157506000611217565b600061114d8484612928565b80519091506001600160501b0316611169576000915050611217565b8051600090611178908561429c565b9050600060058662ffffff16815481106111945761119461406d565b906000526020600020906003020190506000670de0b6b3a764000084602001516001600160681b03168360010160149054906101000a900462ffffff1662ffffff16856001600160501b03166111ea91906142c4565b6111f491906142c4565b6111fe9190614309565b9050808460400151611210919061432f565b9450505050505b92915050565b611225612114565b61122f6000612c2e565b565b600260015414156112545760405162461bcd60e51b815260040161085690614020565b60026001556001600160681b03811661129d5760405162461bcd60e51b815260206004820152600b60248201526a0616d6f756e7420697320360ac1b6044820152606401610856565b600060058362ffffff16815481106112b7576112b761406d565b6000918252602080832062ffffff8716845260069091526040909220546003909102909101915060ff1680156113235760405162461bcd60e51b81526020600482015260116024820152701d1c9858dac81a5cc8191a5cd8589b1959607a1b6044820152606401610856565b6113463360018401546001600160a01b031690306001600160681b038716612c7e565b61135284846001612cef565b6113608484600160006121d9565b62ffffff84166000908152600b60209081526040808320600a90925282205482906113939060019063ffffffff1661435a565b63ffffffff16815260208082019290925260409081016000908120825160808101845281546001600160501b03811682526001600160681b03600160501b90910481168287018190526001909301546001600160c01b0381168387015262ffffff600160c01b909104811660608401528b168452600c90955292909120549193509116101561145b5760208181015162ffffff87166000908152600c909252604090912080546cffffffffffffffffffffffffff19166001600160681b039092169190911790555b6040516001600160681b0385168152339062ffffff8716907fc7de557a4862000809abc99c50fd0b30c35beb37a010dae4335462b336827fd39060200160405180910390a3505060018055505050565b600042826001600160501b031611156114d65760405162461bcd60e51b81526004016108569061426e565b62ffffff841660009081526006602052604090205460ff16156114fb575060006119ec565b62ffffff84166000908152600d602090815260408083206001600160a01b038716845290915290205463ffffffff16806115395760009150506119ec565b60006115468686866133b9565b80519091506001600160501b0316611563576000925050506119ec565b600061156f8786612928565b90506000826060015182606001516115879190614377565b9050600060058962ffffff16815481106115a3576115a361406d565b90600052602060002090600302016040518060c00160405290816000820180546115cc90614393565b80601f01602080910402602001604051908101604052809291908181526020018280546115f890614393565b80156116455780601f1061161a57610100808354040283529160200191611645565b820191906000526020600020905b81548152906001019060200180831161162857829003601f168201915b505050918352505060018201546001600160a01b038116602083015262ffffff600160a01b8204811660408401526001600160401b03600160b81b9092048216606084015260029093015490811660808301526001600160681b03600160401b9091041660a09091015290915060009083166117335784516000906116ca908a61429c565b9050670de0b6b3a764000086602001516001600160681b0316846040015162ffffff16836001600160501b031661170191906142c4565b61170b91906142c4565b6117159190614309565b8660400151611724919061432f565b97506119ec9650505050505050565b506040840151845160005b8462ffffff168162ffffff16101561193b5762ffffff8c166000908152600260205260408120606089015184919083906117799086906143ce565b62ffffff1681526020810191909152604001600020546117a291906001600160501b031661429c565b9050670de0b6b3a764000088602001516001600160681b0316866040015162ffffff16836001600160501b03166117d991906142c4565b6117e391906142c4565b6117ed9190614309565b6117f7908561432f565b93506000600360008f62ffffff1662ffffff16815260200190815260200160002060008e6001600160a01b03166001600160a01b031681526020019081526020016000206000848b6060015161184d91906143ce565b62ffffff16815260208101919091526040016000205460608701516001600160c01b039091169150670de0b6b3a7640000906001600160401b031661189283886143ec565b61189c91906142c4565b6118a69190614309565b6080870151670de0b6b3a7640000906118c8906001600160401b0316846142c4565b6118d29190614309565b6118dc919061432f565b62ffffff8f16600090815260026020526040812060608c0151929750916119049086906143ce565b62ffffff1681526020810191909152604001600020546001600160501b0316935082915061193390508161440c565b91505061173e565b5062ffffff8b1660009081526002602052604081206060870151829061196390600190614377565b62ffffff16815260208101919091526040016000205461198c906001600160501b03168b61429c565b9050670de0b6b3a764000087602001516001600160681b0316856040015162ffffff16836001600160501b03166119c391906142c4565b6119cd91906142c4565b6119d79190614309565b6119e1908461432f565b985050505050505050505b9392505050565b6119ff81600080612cef565b62ffffff81166000818152600e6020908152604080832033808552908352818420948452600d83528184209084529091528120549091908290611a4a9060019063ffffffff1661435a565b63ffffffff16815260208082019290925260409081016000908120825160808101845281546001600160501b0381168252600160501b90046001600160681b0316818601526001909101546001600160c01b0380821683860152600160c01b90910462ffffff9081166060840181905290881680855260038752858520338652875285852082865287528585205490855260048752858520828652909652938320805492965093948116939291611b03918591166143ec565b92506101000a8154816001600160c01b0302191690836001600160c01b031602179055508160400151600360008562ffffff1662ffffff1681526020019081526020016000206000611b523390565b6001600160a01b031681526020808201929092526040908101600090812062ffffff86811680845291855283832080546001600160c01b0319166001600160c01b03978816179055878401519089168352600485528383209183529352908120805492939092611bc49185911661432f565b92506101000a8154816001600160c01b0302191690836001600160c01b03160217905550611bef3390565b6001600160a01b03168362ffffff167f2ad99c2ef3fb067831abd0a8620f3b2ddda1e7be89576a286edea06e048cf3dc60405160405180910390a3505050565b60096020528160005260406000208181548110611c4b57600080fd5b6000918252602090912001546001600160a01b03169150829050565b60058181548110611c7757600080fd5b9060005260206000209060030201600091509050806000018054611c9a90614393565b80601f0160208091040260200160405190810160405280929190818152602001828054611cc690614393565b8015611d135780601f10611ce857610100808354040283529160200191611d13565b820191906000526020600020905b815481529060010190602001808311611cf657829003601f168201915b505050600184015460029094015492936001600160a01b0381169362ffffff600160a01b83041693506001600160401b03600160b81b90920482169250908116906001600160681b03600160401b9091041686565b606042846001600160501b03161115611d935760405162461bcd60e51b81526004016108569061426e565b60008211611df55760405162461bcd60e51b815260206004820152602960248201527f636f756e7420706172616d65746572206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610856565b62ffffff851660009081526008602052604081205490611e15848661442f565b90506000818310611e265781611e28565b825b90506000611e3687836141e7565b6001600160401b03811115611e4d57611e4d614057565b604051908082528060200260200182016040528015611e9257816020015b6040805180820190915260008082526020820152815260200190600190039081611e6b5790505b509050865b82811015611f495762ffffff8a166000908152600960205260408120805483908110611ec557611ec561406d565b60009182526020822001546001600160a01b03169150611ee68c838d6114ab565b604080518082019091526001600160a01b03841681526001600160c01b038216602082015290915084611f198c866141e7565b81518110611f2957611f2961406d565b602002602001018190525050508080611f4190614253565b915050611e97565b5098975050505050505050565b611f5e612114565b62ffffff81166000908152600b60209081526040808320600a9092528220548290611f919060019063ffffffff1661435a565b63ffffffff1681526020808201929092526040908101600090812060019081015462ffffff878116845260028652848420600160c01b909204168084529452918120805469ffffffffffffffffffff1916426001600160501b0316179055919250611fff91849181906121d9565b5050565b61200b612114565b6001600160a01b0381166120705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610856565b61207981612c2e565b50565b612084612114565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b1580156120c657600080fd5b505afa1580156120da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fe91906141b8565b9050611fff6001600160a01b0383163383613725565b6000546001600160a01b0316331461122f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610856565b604051634f9e72ad60e11b81526001600160a01b03831690639f3ce55a9083906121a090899089908990600401614447565b6000604051808303818588803b1580156121b957600080fd5b505af11580156121cd573d6000803e3d6000fd5b50505050505050505050565b600060058562ffffff16815481106121f3576121f361406d565b6000918252602080832062ffffff89168452600a9091526040909220546003909102909101915063ffffffff1680612341576040518060800160405280426001600160501b03168152602001866001600160681b0316815260200160006001600160c01b031681526020018461226a57600061226d565b60015b60ff16905262ffffff8781166000818152600b60209081526040808320838052825280832086518154888501516001600160681b0316600160501b026001600160b81b03199091166001600160501b03909216919091171781558682015160019091018054606090980151909616600160c01b026001600160d81b03199097166001600160c01b039091161795909517909355908152600a909152908120805463ffffffff169161231d83614483565b91906101000a81548163ffffffff021916908363ffffffff160217905550506128dd565b62ffffff86166000908152600b602052604081208161236160018561435a565b63ffffffff1681526020808201929092526040908101600090812062ffffff8b1682526006909352205490915060ff1680156123e55785156123e55760405162461bcd60e51b815260206004820152601a60248201527f64697361626c65643a2063616e6e6f7420616464207374616b650000000000006044820152606401610856565b81546001600160501b03428116911611156124395760405162461bcd60e51b815260206004820152601460248201527374696d657374616d702023206f766572666c6f7760601b6044820152606401610856565b8154600090612451906001600160501b03164261429c565b83546001870154919250600091670de0b6b3a764000091600160501b90046001600160681b03169061249890600160a01b900462ffffff166001600160501b0386166142c4565b6124a291906142c4565b6124ac9190614309565b60018501549091506000906124cb9083906001600160c01b031661432f565b905087156125e35762ffffff808c1660009081526004602090815260408083206001808b0154600160c01b90049095168452909152902054908801546001600160c01b0390911690670de0b6b3a764000090600160b81b90046001600160401b031661253783856143ec565b61254191906142c4565b61254b9190614309565b6002890154670de0b6b3a76400009061256d906001600160401b0316846142c4565b6125779190614309565b612581919061432f565b91508b62ffffff167fcd058f3f37dac45b4ea419da18091e06ea38756c9996298ca517599007e777c48760010160189054906101000a900462ffffff1660016125ca91906143ce565b60405162ffffff909116815260200160405180910390a2505b6001600160501b0383166127145788612618578454612613908b90600160501b90046001600160681b031661449d565b612635565b8454612635908b90600160501b90046001600160681b03166144bd565b85546001600160681b0391909116600160501b02600160501b600160b81b0319909116178555836126665780612692565b60018501546001600160c01b038083169116106126835780612692565b60018501546001600160c01b03165b6001860180546001600160c01b0319166001600160c01b0392909216919091179055876126cf576001850154600160c01b900462ffffff166126ef565b8460010160189054906101000a900462ffffff1660016126ef91906143ce565b8560010160186101000a81548162ffffff021916908362ffffff1602179055506128d7565b6040518060800160405280426001600160501b031681526020018a612755578654612750908d90600160501b90046001600160681b031661449d565b612772565b8654612772908d90600160501b90046001600160681b03166144bd565b6001600160681b031681526020018561278b57826127b7565b60018701546001600160c01b038085169116106127a857826127b7565b60018701546001600160c01b03165b6001600160c01b03168152602001896127e0576001870154600160c01b900462ffffff16612800565b8660010160189054906101000a900462ffffff16600161280091906143ce565b62ffffff9081169091528c81166000818152600b6020908152604080832063ffffffff808e16855290835281842087518154898601516001600160681b0316600160501b026001600160b81b03199091166001600160501b03909216919091171781558783015160019091018054606090990151909716600160c01b026001600160d81b03199098166001600160c01b039091161796909617909455918152600a909152908120805490921691906128b783614483565b91906101000a81548163ffffffff021916908363ffffffff160217905550505b50505050505b6040516001600160501b034216815262ffffff8716907fbae21b9ce1f492a8affaa603b56fe9c921dceb290c3a3c11815c26b6e6e67fc39060200160405180910390a2505050505050565b60408051608081018252600080825260208083018290528284018290526060830182905262ffffff86168252600a815283822054600b909152928120919263ffffffff16916001600160501b0385169161298360018561435a565b63ffffffff1681526020810191909152604001600020546001600160501b031611612a3d5762ffffff84166000908152600b60205260408120906129c860018461435a565b63ffffffff1681526020808201929092526040908101600020815160808101835281546001600160501b0381168252600160501b90046001600160681b031693810193909352600101546001600160c01b03811691830191909152600160c01b900462ffffff16606082015291506112179050565b62ffffff84166000908152600b602090815260408083208380529091529020546001600160501b0380851691161115612a9b575050604080516080810182526000808252602082018190529181018290526060810191909152611217565b600080612aa960018461435a565b90505b8163ffffffff168163ffffffff161115612baa5760006002612ace848461435a565b612ad891906144df565b612ae2908361435a565b62ffffff8881166000908152600b6020908152604080832063ffffffff86168452825291829020825160808101845281546001600160501b03808216808452600160501b9092046001600160681b0316948301949094526001909201546001600160c01b03811694820194909452600160c01b90930490931660608301529293509188161415612b785794506112179350505050565b80516001600160501b0380891691161015612b9557819350612ba3565b612ba060018361435a565b92505b5050612aac565b5062ffffff8086166000908152600b6020908152604080832063ffffffff909516835293815290839020835160808101855281546001600160501b03811682526001600160681b03600160501b9091041692810192909252600101546001600160c01b03811693820193909352600160c01b90920416606082015291506112179050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052612ce99085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261375a565b50505050565b600060058462ffffff1681548110612d0957612d0961406d565b6000918252602080832062ffffff88168452600d90915260408320600390920201925081612d343390565b6001600160a01b03168152602080820192909252604090810160009081205462ffffff89168252600a845282822054600b90945291812063ffffffff9283169450929091169181612d8660018561435a565b63ffffffff90811682526020808301939093526040918201600020825160808101845281546001600160501b0381168252600160501b90046001600160681b031694810194909452600101546001600160c01b03811692840192909252600160c01b90910462ffffff1660608301529091508316612ff85760028401546001600160681b03600160401b90910481169087161115612e5c5760405162461bcd60e51b8152602060048201526013602482015272065786365656473207374616b696e672063617606c1b6044820152606401610856565b62ffffff8716600081815260096020908152604080832080546001810182559084528284200180546001600160a01b0319163317905592825260089052908120805491612ea883614253565b91905055506040518060800160405280426001600160501b03168152602001876001600160681b0316815260200160006001600160c01b03168152602001826060015162ffffff16815250600e60008962ffffff1662ffffff1681526020019081526020016000206000612f193390565b6001600160a01b0316815260208082019290925260409081016000908120818052835281902083518154938501516001600160681b0316600160501b026001600160b81b03199094166001600160501b03909116179290921782558201516001918201805460609094015162ffffff16600160c01b026001600160d81b03199094166001600160c01b039092169190911792909217909155612fbc9084906144f6565b62ffffff88166000908152600d602090815260408083203384529091529020805463ffffffff191663ffffffff9290921691909117905561336d565b62ffffff87166000908152600e6020908152604080832033845290915281208161302360018761435a565b63ffffffff16815260208101919091526040016000206002860154909150600160401b90046001600160681b031686613078578154613073908990600160501b90046001600160681b031661449d565b613095565b8154613095908990600160501b90046001600160681b03166144bd565b6001600160681b031611156130e25760405162461bcd60e51b8152602060048201526013602482015272065786365656473207374616b696e672063617606c1b6044820152606401610856565b80546001600160501b03428116911611156131365760405162461bcd60e51b815260206004820152601460248201527374696d657374616d702023206f766572666c6f7760601b6044820152606401610856565b8054426001600160501b03908116911614156131e4578561317357805461316e908890600160501b90046001600160681b031661449d565b613190565b8054613190908890600160501b90046001600160681b03166144bd565b81546001600160681b0391909116600160501b02600160501b600160b81b0319909116178155606082015160018201805462ffffff909216600160c01b0262ffffff60c01b1990921691909117905561336b565b6040518060800160405280426001600160501b0316815260200187613225578254613220908a90600160501b90046001600160681b031661449d565b613242565b8254613242908a90600160501b90046001600160681b03166144bd565b6001600160681b0316815260200161325b8a33426114ab565b6001600160c01b03168152606084015162ffffff9081166020928301528a166000908152600e9091526040812090336001600160a01b031681526020808201929092526040908101600090812063ffffffff89168252835281902083518154938501516001600160681b0316600160501b026001600160b81b03199094166001600160501b03909116179290921782558201516001918201805460609094015162ffffff16600160c01b026001600160d81b03199094166001600160c01b0390921691909117929092179091556133339085906144f6565b62ffffff89166000908152600d602090815260408083203384529091529020805463ffffffff191663ffffffff929092169190911790555b505b6040516001600160501b034216815262ffffff8816907f452e6119384e406a318edbd63efae9316d44abef87b7b0d4a557e935b0d7f2e59060200160405180910390a250505050505050565b60408051608081018252600080825260208083018290528284018290526060830182905262ffffff8716808352600d82528483206001600160a01b03881680855290835285842054918452600e8352858420908452909152928120919263ffffffff16916001600160501b0385169161343360018561435a565b63ffffffff1681526020810191909152604001600020546001600160501b0316116135015762ffffff85166000908152600e602090815260408083206001600160a01b038816845290915281209061348c60018461435a565b63ffffffff1681526020808201929092526040908101600020815160808101835281546001600160501b0381168252600160501b90046001600160681b031693810193909352600101546001600160c01b03811691830191909152600160c01b900462ffffff16606082015291506119ec9050565b62ffffff85166000908152600e602090815260408083206001600160a01b038816845282528083208380529091529020546001600160501b03808516911611156135705750506040805160808101825260008082526020820181905291810182905260608101919091526119ec565b60008061357e60018461435a565b90505b8163ffffffff168163ffffffff16111561369057600060026135a3848461435a565b6135ad91906144df565b6135b7908361435a565b62ffffff8981166000908152600e602090815260408083206001600160a01b038d168452825280832063ffffffff86168452825291829020825160808101845281546001600160501b03808216808452600160501b9092046001600160681b0316948301949094526001909201546001600160c01b03811694820194909452600160c01b9093049093166060830152929350918816141561365e5794506119ec9350505050565b80516001600160501b038089169116101561367b57819350613689565b61368660018361435a565b92505b5050613581565b5062ffffff8087166000908152600e602090815260408083206001600160a01b038a168452825280832063ffffffff909516835293815290839020835160808101855281546001600160501b03811682526001600160681b03600160501b9091041692810192909252600101546001600160c01b03811693820193909352600160c01b90920416606082015291506119ec9050565b6040516001600160a01b03831660248201526044810182905261375590849063a9059cbb60e01b90606401612cb2565b505050565b60006137af826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661382c9092919063ffffffff16565b80519091501561375557808060200190518101906137cd9190614515565b6137555760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610856565b606061383b8484600085613843565b949350505050565b6060824710156138a45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610856565b6001600160a01b0385163b6138fb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610856565b600080866001600160a01b031685876040516139179190614537565b60006040518083038185875af1925050503d8060008114613954576040519150601f19603f3d011682016040523d82523d6000602084013e613959565b606091505b5091509150613969828286613974565b979650505050505050565b606083156139835750816119ec565b8251156139935782518084602001fd5b8160405162461bcd60e51b815260040161085691906141a5565b8280546139b990614393565b90600052602060002090601f0160209004810192826139db5760008555613a21565b82601f106139f457805160ff1916838001178555613a21565b82800160010185558215613a21579182015b82811115613a21578251825591602001919060010190613a06565b50613a2d929150613a31565b5090565b5b80821115613a2d5760008155600101613a32565b803562ffffff81168114613a5957600080fd5b919050565b60008060408385031215613a7157600080fd5b613a7a83613a46565b9150613a8860208401613a46565b90509250929050565b600060208284031215613aa357600080fd5b6119ec82613a46565b6001600160a01b038116811461207957600080fd5b80356001600160501b0381168114613a5957600080fd5b80356001600160401b0381168114613a5957600080fd5b60008060008060808587031215613b0557600080fd5b8435613b1081613aac565b9350613b1e60208601613a46565b9250613b2c60408601613ac1565b9150613b3a60608601613ad8565b905092959194509250565b60008060408385031215613b5857600080fd5b613b6183613a46565b91506020830135613b7181613aac565b809150509250929050565b803563ffffffff81168114613a5957600080fd5b600080600060608486031215613ba557600080fd5b613bae84613a46565b92506020840135613bbe81613aac565b9150613bcc60408501613b7c565b90509250925092565b8035613a5981613aac565b80356001600160681b0381168114613a5957600080fd5b600080600080600080600060c0888a031215613c1257600080fd5b87356001600160401b0380821115613c2957600080fd5b818a0191508a601f830112613c3d57600080fd5b813581811115613c4c57600080fd5b8b6020828501011115613c5e57600080fd5b602092830199509750613c74918a019050613bd5565b9450613c8260408901613a46565b9350613c9060608901613ad8565b9250613c9e60808901613ad8565b9150613cac60a08901613be0565b905092959891949750929550565b60008060008060008060a08789031215613cd357600080fd5b8635613cde81613aac565b955060208701356001600160401b0380821115613cfa57600080fd5b818901915089601f830112613d0e57600080fd5b813581811115613d1d57600080fd5b8a60208260051b8501011115613d3257600080fd5b602083019750809650505050613d4a60408801613a46565b9250613d5860608801613ac1565b9150613d6660808801613ad8565b90509295509295509295565b60008060408385031215613d8557600080fd5b613d8e83613a46565b9150613a8860208401613ac1565b60008060408385031215613daf57600080fd5b613db883613a46565b9150613a8860208401613be0565b600080600060608486031215613ddb57600080fd5b613de484613a46565b92506020840135613df481613aac565b9150613bcc60408501613ac1565b600080600060608486031215613e1757600080fd5b613e2084613a46565b92506020840135613e3081613aac565b9150613bcc60408501613a46565b60008060408385031215613e5157600080fd5b613e5a83613a46565b946020939093013593505050565b600060208284031215613e7a57600080fd5b5035919050565b60005b83811015613e9c578181015183820152602001613e84565b83811115612ce95750506000910152565b60008151808452613ec5816020860160208601613e81565b601f01601f19169290920160200192915050565b60c081526000613eec60c0830189613ead565b6001600160a01b039790971660208301525062ffffff9490941660408501526001600160401b039283166060850152911660808301526001600160681b031660a090910152919050565b60008060008060808587031215613f4c57600080fd5b613f5585613a46565b9350613f6360208601613ac1565b93969395505050506040820135916060013590565b602080825282518282018190526000919060409081850190868401855b82811015613fcc57815180516001600160a01b031685528601516001600160c01b0316868501529284019290850190600101613f95565b5091979650505050505050565b600060208284031215613feb57600080fd5b81356119ec81613aac565b6000806040838503121561400957600080fd5b61401283613a46565b9150613a8860208401613b7c565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600281106140b757634e487b7160e01b600052602160045260246000fd5b9052565b600081518084526020808501945080840160005b838110156140f45781516001600160c01b0316875295820195908201906001016140cf565b509495945050505050565b6020808252825160a083830152805160c0840181905260009291820190839060e08601905b8083101561414d5783516001600160a01b03168252928401926001929092019190840190614124565b50928601516001600160501b038116604087015292604087015193506141766060870185614099565b606087015162ffffff8116608088015293506080870151868203601f190160a0880152935061121081856140bb565b6020815260006119ec6020830184613ead565b6000602082840312156141ca57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156141f9576141f96141d1565b500390565b6001600160a01b0395909516855262ffffff93841660208601526001600160501b039290921660408501526001600160401b0316606084015216608082015260a00190565b8183823760009101908152919050565b6000600019821415614267576142676141d1565b5060010190565b6020808252601490820152730e8d2dacae6e8c2dae0404640e8dede40d0d2ced60631b604082015260600190565b60006001600160501b03838116908316818110156142bc576142bc6141d1565b039392505050565b60006001600160c01b03828116848216811515828404821116156142ea576142ea6141d1565b02949350505050565b634e487b7160e01b600052601260045260246000fd5b60006001600160c01b0383811680614323576143236142f3565b92169190910492915050565b60006001600160c01b03828116848216808303821115614351576143516141d1565b01949350505050565b600063ffffffff838116908316818110156142bc576142bc6141d1565b600062ffffff838116908316818110156142bc576142bc6141d1565b600181811c908216806143a757607f821691505b602082108114156143c857634e487b7160e01b600052602260045260246000fd5b50919050565b600062ffffff808316818516808303821115614351576143516141d1565b60006001600160c01b03838116908316818110156142bc576142bc6141d1565b600062ffffff80831681811415614425576144256141d1565b6001019392505050565b60008219821115614442576144426141d1565b500190565b6001600160a01b03841681526001600160401b038316602082015260606040820181905260009061447a90830184613ead565b95945050505050565b600063ffffffff80831681811415614425576144256141d1565b60006001600160681b03838116908316818110156142bc576142bc6141d1565b60006001600160681b03808316818516808303821115614351576143516141d1565b600063ffffffff80841680614323576143236142f3565b600063ffffffff808316818516808303821115614351576143516141d1565b60006020828403121561452757600080fd5b815180151581146119ec57600080fd5b60008251614549818460208701613e81565b919091019291505056fea26469706673582212201316d4f6f6480d2cbdc24aafb451a9a1925b51a991f27c16b7228adffeaf390964736f6c63430008090033

Deployed Bytecode Sourcemap

86671:33648:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89091:88;;;;;;;;;;-1:-1:-1;89091:88:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;89091:88:0;;;;;;-1:-1:-1;;;;;714:35:1;;;696:54;;684:2;669:18;89091:88:0;;;;;;;;94533:186;;;;;;;;;;-1:-1:-1;94533:186:0;;;;;:::i;:::-;;:::i;:::-;;90160:49;;;;;;;;;;-1:-1:-1;90160:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1096:25:1;;;1084:2;1069:18;90160:49:0;950:177:1;118763:1553:0;;;;;;:::i;:::-;;:::i;90010:72::-;;;;;;;;;;-1:-1:-1;90010:72:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2582:14:1;;2575:22;2557:41;;2545:2;2530:18;90010:72:0;2417:187:1;91159:104:0;;;;;;;;;;-1:-1:-1;91159:104:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;91159:104:0;;;-1:-1:-1;;;91159:104:0;;-1:-1:-1;;;;;91159:104:0;;-1:-1:-1;;;;;91159:104:0;;;-1:-1:-1;;;91159:104:0;;;;;;;;;;-1:-1:-1;;;;;3515:35:1;;;3497:54;;-1:-1:-1;;;;;3587:41:1;;;3582:2;3567:18;;3560:69;-1:-1:-1;;;;;3665:32:1;;;3645:18;;;3638:60;;;;3746:8;3734:21;3729:2;3714:18;;3707:49;3484:3;3469:19;91159:104:0;3270:492:1;92609:1203:0;;;;;;;;;;-1:-1:-1;92609:1203:0;;;;;:::i;:::-;;:::i;90983:73::-;;;;;;;;;;-1:-1:-1;90983:73:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5264:10:1;5252:23;;;5234:42;;5222:2;5207:18;90983:73:0;5090:192:1;116996:1759:0;;;;;;:::i;:::-;;:::i;90805:48::-;;;;;;;;;;-1:-1:-1;90805:48:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;90805:48:0;;;;;;-1:-1:-1;;;;;6424:41:1;;;6406:60;;6394:2;6379:18;90805:48:0;6260:212:1;105438:1195:0;;;;;;;;;;-1:-1:-1;105438:1195:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6902:32:1;;;6884:51;;6872:2;6857:18;105438:1195:0;6738:203:1;2946:103:0;;;;;;;;;;;;;:::i;115413:1196::-;;;;;;;;;;-1:-1:-1;115413:1196:0;;;;;:::i;:::-;;:::i;97785:4476::-;;;;;;;;;;-1:-1:-1;97785:4476:0;;;;;:::i;:::-;;:::i;90488:54::-;;;;;;;;;;-1:-1:-1;90488:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;89352:102;;;;;;;;;;-1:-1:-1;89352:102:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;89352:102:0;;;94759:958;;;;;;;;;;-1:-1:-1;94759:958:0;;;;;:::i;:::-;;:::i;2298:87::-;;;;;;;;;;-1:-1:-1;2344:7:0;2371:6;-1:-1:-1;;;;;2371:6:0;2298:87;;;-1:-1:-1;;;;;8165:32:1;;;8147:51;;8135:2;8120:18;2298:87:0;8001:203:1;90355:48:0;;;;;;;;;;-1:-1:-1;90355:48:0;;;;;:::i;:::-;;:::i;87078:35::-;;;;;;;;;;;;;;;89776:25;;;;;;;;;;-1:-1:-1;89776:25:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;:::i;92476:100::-;;;;;;;;;;-1:-1:-1;92554:6:0;:13;92476:100;;10073:8:1;10061:21;;;10043:40;;10031:2;10016:18;92476:100:0;9899:190:1;102317:1098:0;;;;;;;;;;-1:-1:-1;102317:1098:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;89624:87::-;;;;;;;;;;-1:-1:-1;89624:87:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;89624:87:0;;;89874:44;;;;;;;;;;-1:-1:-1;89874:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;93866:634;;;;;;;;;;-1:-1:-1;93866:634:0;;;;;:::i;:::-;;:::i;3204:201::-;;;;;;;;;;-1:-1:-1;3204:201:0;;;;;:::i;:::-;;:::i;116644:275::-;;;;;;;;;;-1:-1:-1;116644:275:0;;;;;:::i;:::-;;:::i;90633:86::-;;;;;;;;;;-1:-1:-1;90633:86:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;90633:86:0;;;-1:-1:-1;;;90633:86:0;;-1:-1:-1;;;;;90633:86:0;;-1:-1:-1;;;;;90633:86:0;;;-1:-1:-1;;;90633:86:0;;;;;;94533:186;2184:13;:11;:13::i;:::-;94626:22:::1;::::0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;:29;;-1:-1:-1;;94626:29:0::1;94651:4;94626:29;::::0;;94690:21;::::1;::::0;94626:22;94690:21:::1;94533:186:::0;:::o;118763:1553::-;37579:1;38177:7;;:19;;38169:63;;;;-1:-1:-1;;;38169:63:0;;;;;;;:::i;:::-;;;;;;;;;37579:1;38310:7;:18;118987:22:::1;::::0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;::::1;;118986:23;118978:50;;;::::0;-1:-1:-1;;;118978:50:0;;12699:2:1;118978:50:0::1;::::0;::::1;12681:21:1::0;12738:2;12718:18;;;12711:30;-1:-1:-1;;;12757:18:1;;;12750:44;12811:18;;118978:50:0::1;12497:338:1::0;118978:50:0::1;119066:16;::::0;;119080:1:::1;119066:16:::0;;;;;::::1;::::0;;;119041:22:::1;::::0;119066:16:::1;::::0;;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;;119041:41:0;-1:-1:-1;925:10:0;119093:5:::1;119099:1;119093:8;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;119093:23:0;;;::::1;:8;::::0;;::::1;::::0;;;;;;;:23;119208:16:::1;::::0;;119222:1:::1;119208:16:::0;;;;;::::1;::::0;;;119181:24:::1;::::0;119208:16:::1;;;;;;;;;;;::::0;-1:-1:-1;119208:16:0::1;119181:43;;119248:39;119268:7;119277:9;119248:19;:39::i;:::-;119235:7;119243:1;119235:10;;;;;;;;:::i;:::-;;;;;;:52;-1:-1:-1::0;;;;;119235:52:0::1;;;-1:-1:-1::0;;;;;119235:52:0::1;;;::::0;::::1;119363:20;119411:224;;;;;;;;119505:5;119411:224;;;;119540:9;-1:-1:-1::0;;;;;119411:224:0::1;;;;;119457:22;119411:224:::0;::::1;;;;;;;:::i;:::-;;;;;119612:7;119411:224;;;;;;119577:7;119411:224;;::::0;119386:260:::1;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;119386:260:0;;::::1;::::0;;;;;;;-1:-1:-1;;;119785:33:0;;119386:260;-1:-1:-1;119749:10:0::1;::::0;119696:33:::1;::::0;-1:-1:-1;;;;;119785:24:0;::::1;::::0;::::1;::::0;:33:::1;::::0;119386:260;;119785:33:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;119771:47;;119850:3;119837:9;:16;;119829:43;;;::::0;-1:-1:-1;;;119829:43:0;;15860:2:1;119829:43:0::1;::::0;::::1;15842:21:1::0;15899:2;15879:18;;;15872:30;-1:-1:-1;;;15918:18:1;;;15911:44;15972:18;;119829:43:0::1;15658:338:1::0;119829:43:0::1;119924:152;119967:8;119990:10;120015:7;120037:10;120062:3;119924:28;:152::i;:::-;120128:15;120140:3:::0;120128:9:::1;:15;:::i;:::-;120127:22:::0;120123:102:::1;;925:10:::0;120166:47:::1;120197:15;120209:3:::0;120197:9:::1;:15;:::i;:::-;120166:47;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;120123:102;120242:66;120258:8;120268:7;120277:9;120288:10;120300:7;120242:66;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;37535:1:0;38489:22;;-1:-1:-1;;;;;;;118763:1553:0:o;92609:1203::-;2184:13;:11;:13::i;:::-;92874:23:::1;::::0;::::1;92866:53;;;::::0;-1:-1:-1;;;92866:53:0;;17050:2:1;92866:53:0::1;::::0;::::1;17032:21:1::0;17089:2;17069:18;;;17062:30;-1:-1:-1;;;17108:18:1;;;17101:47;17165:18;;92866:53:0::1;16848:341:1::0;92866:53:0::1;92980:456;::::0;;;::::1;;::::0;::::1;::::0;;::::1;;::::0;;;;;;;::::1;::::0;::::1;::::0;;;92954:6:::1;::::0;92980:456;;;93015:4;;;;;;92980:456;;93015:4;;;;92980:456;::::1;;::::0;::::1;::::0;;;-1:-1:-1;92980:456:0;;;-1:-1:-1;;;;;;;;92980:456:0;::::1;;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;92980:456:0;;::::1;::::0;;;;;::::1;::::0;;;;-1:-1:-1;;;;;92980:456:0;::::1;::::0;;;;;;;;92954:493;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;::::1;;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;92954:493:0::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;92954:493:0;;::::1;-1:-1:-1::0;;;92954:493:0::1;-1:-1:-1::0;;;;92954:493:0::1;::::0;;::::1;-1:-1:-1::0;;;92954:493:0::1;-1:-1:-1::0;;;;;;92954:493:0;;;-1:-1:-1;;;;;92954:493:0;;::::1;::::0;;;;;;;::::1;;::::0;;;::::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;;92954:493:0::1;-1:-1:-1::0;;;92954:493:0::1;-1:-1:-1::0;;;;;;92954:493:0;;;;;;::::1;::::0;;;;;;;::::1;::::0;;;93539:6:::1;:13:::0;93499:235:::1;::::0;93539:17:::1;::::0;::::1;:::i;:::-;93588:1;93631:5:::0;93681::::1;93499:18;:235::i;:::-;93792:10;-1:-1:-1::0;;;;;93769:35:0::1;93778:4;;93769:35;;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;92609:1203:::0;;;;;;;:::o;116996:1759::-;37579:1;38177:7;;:19;;38169:63;;;;-1:-1:-1;;;38169:63:0;;;;;;;:::i;:::-;37579:1;38310:7;:18;117254:22:::1;::::0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;::::1;;117253:23;117245:51;;;::::0;-1:-1:-1;;;117245:51:0;;17674:2:1;117245:51:0::1;::::0;::::1;17656:21:1::0;17713:2;17693:18;;;17686:30;-1:-1:-1;;;17732:18:1;;;17725:45;17787:18;;117245:51:0::1;17472:339:1::0;117245:51:0::1;117360:33;117410:5:::0;-1:-1:-1;;;;;117396:27:0;::::1;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;117396:27:0::1;;117360:63;;117441:9;117436:206;117456:16:::0;;::::1;117436:206;;;117516:114;117553:7;117579:5;;117585:1;117579:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;117606:9;117516:18;:114::i;:::-;117494:16;117511:1;117494:19;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;117494:136:0;;::::1;:19;::::0;;::::1;::::0;;;;;;;:136;117474:3;::::1;::::0;::::1;:::i;:::-;;;;117436:206;;;-1:-1:-1::0;117765:232:0::1;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;::::1;::::0;::::1;::::0;;;117717:20:::1;::::0;117765:232;;117858:5;;;;;;117765:232;;;;117858:5;;117765:232;117858:5;117765:232;::::1;;::::0;::::1;::::0;;;-1:-1:-1;117765:232:0;;;-1:-1:-1;;;;;;;;117765:232:0;::::1;;::::0;::::1;::::0;;;;;;::::1;;;;117974:7;117765:232;;;;;;117930:16;117765:232;;::::0;117740:268:::1;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;117740:268:0;;::::1;::::0;;;;;;;-1:-1:-1;;;118147:33:0;;117740:268;-1:-1:-1;118111:10:0::1;::::0;118058:33:::1;::::0;-1:-1:-1;;;;;118147:24:0;::::1;::::0;::::1;::::0;:33:::1;::::0;117740:268;;118147:33:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;118133:47;;118212:3;118199:9;:16;;118191:43;;;::::0;-1:-1:-1;;;118191:43:0;;15860:2:1;118191:43:0::1;::::0;::::1;15842:21:1::0;15899:2;15879:18;;;15872:30;-1:-1:-1;;;15918:18:1;;;15911:44;15972:18;;118191:43:0::1;15658:338:1::0;118191:43:0::1;118286:152;118329:8;118352:10;118377:7;118399:10;118424:3;118286:28;:152::i;:::-;118490:15;118502:3:::0;118490:9:::1;:15;:::i;:::-;118489:22:::0;118485:102:::1;;925:10:::0;118528:47:::1;118559:15;118571:3:::0;118559:9:::1;:15;:::i;:::-;118528:47;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;118485:102;118606:141;118635:8;118658:7;118680:9;118704:10;118729:7;118606:141;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;37535:1:0;38489:22;;-1:-1:-1;;;;;;;;116996:1759:0:o;105438:1195::-;105549:7;105595:15;105582:9;-1:-1:-1;;;;;105582:28:0;;;105574:61;;;;-1:-1:-1;;;105574:61:0;;;;;;;:::i;:::-;105704:22;;;;;;;:13;:22;;;;;;;;105700:36;;;-1:-1:-1;105735:1:0;105728:8;;105700:36;105790:40;105833:82;105873:7;105895:9;105833:25;:82::i;:::-;106002:27;;105790:125;;-1:-1:-1;;;;;;106002:32:0;105998:73;;106058:1;106051:8;;;;;105998:73;106180:27;;106137;;106168:39;;:9;:39;:::i;:::-;106137:71;;106248:27;106278:6;106285:7;106278:15;;;;;;;;;;:::i;:::-;;;;;;;;;;;106248:45;;106358:34;106517:6;106484:17;:29;;;-1:-1:-1;;;;;106396:117:0;106441:9;:27;;;;;;;;;;;;106396:72;;106404:20;-1:-1:-1;;;;;106396:29:0;:72;;;;:::i;:::-;:117;;;;:::i;:::-;106395:128;;;;:::i;:::-;106358:165;;106599:26;106562:17;:34;;;:63;;;;:::i;:::-;106555:70;;;;;;105438:1195;;;;;:::o;2946:103::-;2184:13;:11;:13::i;:::-;3011:30:::1;3038:1;3011:18;:30::i;:::-;2946:103::o:0;115413:1196::-;37579:1;38177:7;;:19;;38169:63;;;;-1:-1:-1;;;38169:63:0;;;;;;;:::i;:::-;37579:1;38310:7;:18;-1:-1:-1;;;;;115549:10:0;::::1;115541:34;;;::::0;-1:-1:-1;;;115541:34:0;;19603:2:1;115541:34:0::1;::::0;::::1;19585:21:1::0;19642:2;19622:18;;;19615:30;-1:-1:-1;;;19661:18:1;;;19654:41;19712:18;;115541:34:0::1;19401:335:1::0;115541:34:0::1;115615:23;115641:6;115648:7;115641:15;;;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;115729:22:::1;::::0;::::1;::::0;;:13:::1;:22:::0;;;;;;;;115641:15:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;115729:22:0::1;;115817:11:::0;::::1;115809:41;;;::::0;-1:-1:-1;;;115809:41:0;;19943:2:1;115809:41:0::1;::::0;::::1;19925:21:1::0;19982:2;19962:18;;;19955:30;-1:-1:-1;;;20001:18:1;;;19994:47;20058:18;;115809:41:0::1;19741:341:1::0;115809:41:0::1;115947:70;925:10:::0;115947:16:::1;::::0;::::1;::::0;-1:-1:-1;;;;;115947:16:0::1;::::0;116003:4:::1;-1:-1:-1::0;;;;;115947:70:0;::::1;:33;:70::i;:::-;116062:40;116080:7;116089:6;116097:4;116062:17;:40::i;:::-;116148:48;116167:7;116176:6;116184:4;116190:5;116148:18;:48::i;:::-;116274:25;::::0;::::1;116241:30;116274:25:::0;;;:16:::1;:25;::::0;;;;;;;116314:21:::1;:30:::0;;;;;;116241;;116314:34:::1;::::0;116347:1:::1;::::0;116314:30:::1;;:34;:::i;:::-;116274:85;;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;116274:85:0;;;116241:118;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;116241:118:0;::::1;::::0;;-1:-1:-1;;;;;;;;116241:118:0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;-1:-1:-1;;;;;116241:118:0;::::1;::::0;;;;::::1;-1:-1:-1::0;;;116241:118:0;;::::1;::::0;::::1;::::0;;;;116412:23;::::1;::::0;;:14:::1;:23:::0;;;;;;;;116241:118;;-1:-1:-1;116412:23:0;::::1;:45;116408:123;;;116500:19;::::0;;::::1;::::0;116474:23:::1;::::0;::::1;;::::0;;;:14:::1;:23:::0;;;;;;;:45;;-1:-1:-1;;116474:45:0::1;-1:-1:-1::0;;;;;116474:45:0;;::::1;::::0;;;::::1;::::0;;116408:123:::1;116565:36;::::0;-1:-1:-1;;;;;6424:41:1;;6406:60;;925:10:0;;116565:36:::1;::::0;::::1;::::0;::::1;::::0;6394:2:1;6379:18;116565:36:0::1;;;;;;;-1:-1:-1::0;;37535:1:0;38489:22;;-1:-1:-1;;;115413:1196:0:o;97785:4476::-;97916:7;97957:15;97944:9;-1:-1:-1;;;;;97944:28:0;;;97936:61;;;;-1:-1:-1;;;97936:61:0;;;;;;;:::i;:::-;98066:22;;;;;;;:13;:22;;;;;;;;98062:36;;;-1:-1:-1;98097:1:0;98090:8;;98062:36;98182:29;;;98156:23;98182:29;;;:20;:29;;;;;;;;-1:-1:-1;;;;;98182:35:0;;;;;;;;;;;;98232:21;98228:62;;98277:1;98270:8;;;;;98228:62;98352:43;98398:100;98437:7;98459:4;98478:9;98398:24;:100::i;:::-;98585:31;;98352:146;;-1:-1:-1;;;;;;98585:36:0;98581:77;;98645:1;98638:8;;;;;;98581:77;98723:37;98763:82;98803:7;98825:9;98763:25;:82::i;:::-;98723:122;;98963:28;99041:21;:38;;;98994:14;:31;;;:85;;;;:::i;:::-;98963:116;;99119:22;99144:6;99151:7;99144:15;;;;;;;;;;:::i;:::-;;;;;;;;;;;99119:40;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;99119:40:0;;;-1:-1:-1;;99119:40:0;;;;-1:-1:-1;;;;;99119:40:0;;;;;;;-1:-1:-1;;;99119:40:0;;;;;;;;-1:-1:-1;;;;;;;;99119:40:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;99119:40:0;;;;;;;;;;;-1:-1:-1;99119:40:0;;99259:26;;99255:2949;;99418:31;;99362:24;;99389:60;;:9;:60;:::i;:::-;99362:87;;99697:6;99648:21;:28;;;-1:-1:-1;;;;;99551:125:0;99601:5;:23;;;99551:73;;99559:17;-1:-1:-1;;;;;99551:26:0;:73;;;;:::i;:::-;:125;;;;:::i;:::-;99550:153;;;;:::i;:::-;99497:21;:33;;;:206;;;;:::i;:::-;99466:237;-1:-1:-1;99720:18:0;;-1:-1:-1;;;;;;;99720:18:0;99255:2949;-1:-1:-1;99870:33:0;;;;99989:31;;99966:20;100161:1562;100184:21;100180:25;;:1;:25;;;100161:1562;;;100333:36;;;100306:24;100333:36;;;:27;:36;;;;;100392:38;;;;100456:13;;100333:36;100306:24;;100392:42;;100433:1;;100392:42;:::i;:::-;100333:120;;;;;;;;;;;;;-1:-1:-1;100333:120:0;;:136;;;-1:-1:-1;;;;;100333:120:0;:136;:::i;:::-;100306:163;;100759:6;100706:21;:28;;;-1:-1:-1;;;;;100601:133:0;100655:5;:23;;;100601:77;;100609:17;-1:-1:-1;;;;;100601:26:0;:77;;;;:::i;:::-;:133;;;;:::i;:::-;100600:165;;;;:::i;:::-;100565:200;;:11;:200;:::i;:::-;100530:235;;100875:28;100906:20;:29;100927:7;100906:29;;;;;;;;;;;;;;;:75;100958:4;-1:-1:-1;;;;;100906:75:0;-1:-1:-1;;;;;100906:75:0;;;;;;;;;;;;:119;101023:1;100982:21;:38;;;:42;;;;:::i;:::-;100906:119;;;;;;;;;;;;;-1:-1:-1;100906:119:0;;101420:25;;;;-1:-1:-1;;;;;100906:119:0;;;;-1:-1:-1;87008:6:0;;-1:-1:-1;;;;;101356:89:0;101357:34;100906:119;101357:11;:34;:::i;:::-;101356:89;;;;:::i;:::-;101355:139;;;;:::i;:::-;101213:24;;;;87008:6;;101190:47;;-1:-1:-1;;;;;101190:47:0;:20;:47;:::i;:::-;101189:97;;;;:::i;:::-;:305;;;;:::i;:::-;101587:36;;;;;;;:27;:36;;;;;101646:38;;;;101110:384;;-1:-1:-1;101587:36:0;101646:42;;101687:1;;101646:42;:::i;:::-;101587:120;;;;;;;;;;;;;-1:-1:-1;101587:120:0;;-1:-1:-1;;;;;101587:120:0;;-1:-1:-1;100207:3:0;;-1:-1:-1;100207:3:0;;-1:-1:-1;100207:3:0;;:::i;:::-;;;;100161:1562;;;-1:-1:-1;101880:36:0;;;101825:23;101880:36;;;:27;:36;;;;;101939:31;;;;101825:23;;101939:35;;101973:1;;101939:35;:::i;:::-;101880:113;;;;;;;;;;;;;-1:-1:-1;101880:113:0;;101851:142;;-1:-1:-1;;;;;101880:113:0;101851:9;:142;:::i;:::-;101825:168;;102186:6;102137:21;:28;;;-1:-1:-1;;;;;102041:124:0;102090:5;:23;;;102041:72;;102049:16;-1:-1:-1;;;;;102041:25:0;:72;;;;:::i;:::-;:124;;;;:::i;:::-;102040:152;;;;:::i;:::-;102008:184;;;;:::i;:::-;;-1:-1:-1;;;;;;;;;97785:4476:0;;;;;;:::o;94759:958::-;94855:36;94873:7;94882:1;94885:5;94855:17;:36::i;:::-;94971:24;;;94940:28;94971:24;;;:15;:24;;;;;;;;925:10;94971:38;;;;;;;;;95024:29;;;:20;:29;;;;;:43;;;;;;;;;94940:28;;94971:38;94940:28;;95024:47;;95070:1;;95024:43;;:47;:::i;:::-;94971:111;;;;;;;;;;;;;;;;-1:-1:-1;94971:111:0;;;94940:142;;;;;;;;;-1:-1:-1;;;;;94940:142:0;;;;-1:-1:-1;;;94940:142:0;;-1:-1:-1;;;;;94940:142:0;;;;;;;;;;-1:-1:-1;;;;;94940:142:0;;;;;;;-1:-1:-1;;;94940:142:0;;;;;;;;;;;;;95287:53;;;;;;:20;:53;;;;;925:10;95287:67;;;;;;;:78;;;;;;;;;95238:34;;;:25;:34;;;;;:45;;;;;;;;;:127;;94940:142;;-1:-1:-1;94940:142:0;;95287:78;;;95238:45;-1:-1:-1;95238:127:0;;95287:78;;95238:127;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;95238:127:0;;;;;-1:-1:-1;;;;;95238:127:0;;;;;;95475:6;:32;;;95418:20;:29;95439:7;95418:29;;;;;;;;;;;;;;;:43;95448:12;925:10;;845:98;95448:12;-1:-1:-1;;;;;95418:43:0;;;;;;;;;;;;;;;-1:-1:-1;95418:43:0;;;:54;;;;;;;;;;;;;:89;;-1:-1:-1;;;;;;95418:89:0;-1:-1:-1;;;;;95418:89:0;;;;;;95619:18;;;;95570:34;;;;;:25;:34;;;;;:45;;;;;;;;:67;;95619:18;;95570:45;;:67;;95619:18;;95570:67;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;95570:67:0;;;;;-1:-1:-1;;;;;95570:67:0;;;;;;95696:12;925:10;;845:98;95696:12;-1:-1:-1;;;;;95672:37:0;95687:7;95672:37;;;;;;;;;;;;94808:909;;94759:958;:::o;90355:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;90355:48:0;;-1:-1:-1;90355:48:0;;-1:-1:-1;90355:48:0:o;89776:25::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;89776:25:0;;;;;;;;;;;-1:-1:-1;;;;;89776:25:0;;;;-1:-1:-1;;;89776:25:0;;;;-1:-1:-1;;;;;;;;;89776:25:0;;;;;;-1:-1:-1;89776:25:0;;;;-1:-1:-1;;;;;;;;89776:25:0;;;;;:::o;102317:1098::-;102461:27;102527:15;102514:9;-1:-1:-1;;;;;102514:28:0;;;102506:61;;;;-1:-1:-1;;;102506:61:0;;;;;;;:::i;:::-;102669:1;102661:5;:9;102653:63;;;;-1:-1:-1;;;102653:63:0;;22205:2:1;102653:63:0;;;22187:21:1;22244:2;22224:18;;;22217:30;22283:34;22263:18;;;22256:62;-1:-1:-1;;;22334:18:1;;;22327:39;22383:19;;102653:63:0;22003:405:1;102653:63:0;102792:24;;;102772:17;102792:24;;;:15;:24;;;;;;;102840:13;102848:5;102840;:13;:::i;:::-;102829:24;;102864:17;102896:3;102884:9;:15;:33;;102914:3;102884:33;;;102902:9;102884:33;102864:53;-1:-1:-1;102930:34:0;102992:20;103007:5;102864:53;102992:20;:::i;:::-;-1:-1:-1;;;;;102967:46:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;102967:46:0;;;;;;;;;;;;;;;-1:-1:-1;102930:83:0;-1:-1:-1;103040:5:0;103026:356;103051:12;103047:1;:16;103026:356;;;103137:21;;;103120:14;103137:21;;;:12;:21;;;;;:24;;103159:1;;103137:24;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;103137:24:0;;-1:-1:-1;103240:46:0;103259:7;103137:24;103276:9;103240:18;:46::i;:::-;103331:39;;;;;;;;;-1:-1:-1;;;;;103331:39:0;;;;-1:-1:-1;;;;;103331:39:0;;;;;;103218:68;;-1:-1:-1;103311:6:0;103318:9;103322:5;103318:1;:9;:::i;:::-;103311:17;;;;;;;;:::i;:::-;;;;;;:59;;;;103070:312;;103065:3;;;;;:::i;:::-;;;;103026:356;;;-1:-1:-1;103401:6:0;102317:1098;-1:-1:-1;;;;;;;;102317:1098:0:o;93866:634::-;2184:13;:11;:13::i;:::-;94016:25:::1;::::0;::::1;93992:21;94016:25:::0;;;:16:::1;:25;::::0;;;;;;;94056:21:::1;:30:::0;;;;;;93992:21;;94056:34:::1;::::0;94089:1:::1;::::0;94056:30:::1;;:34;:::i;:::-;94016:85;;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;94016:85:0;;;:102:::1;::::0;;::::1;::::0;::::1;94202:36:::0;;::::1;::::0;;:27:::1;:36:::0;;;;;-1:-1:-1;;;94016:102:0;;::::1;;94202:52:::0;;;;;;;;:102;;-1:-1:-1;;94202:102:0::1;94278:15;-1:-1:-1::0;;;;;94202:102:0::1;;::::0;;94016;;-1:-1:-1;94380:43:0::1;::::0;94202:36;;-1:-1:-1;;94380:18:0::1;:43::i;:::-;93926:574;93866:634:::0;:::o;3204:201::-;2184:13;:11;:13::i;:::-;-1:-1:-1;;;;;3293:22:0;::::1;3285:73;;;::::0;-1:-1:-1;;;3285:73:0;;22748:2:1;3285:73:0::1;::::0;::::1;22730:21:1::0;22787:2;22767:18;;;22760:30;22826:34;22806:18;;;22799:62;-1:-1:-1;;;22877:18:1;;;22870:36;22923:19;;3285:73:0::1;22546:402:1::0;3285:73:0::1;3369:28;3388:8;3369:18;:28::i;:::-;3204:201:::0;:::o;116644:275::-;2184:13;:11;:13::i;:::-;116818:35:::1;::::0;-1:-1:-1;;;116818:35:0;;116847:4:::1;116818:35;::::0;::::1;8147:51:1::0;116799:16:0::1;::::0;-1:-1:-1;;;;;116818:20:0;::::1;::::0;::::1;::::0;8120:18:1;;116818:35:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;116799:54:::0;-1:-1:-1;116864:47:0::1;-1:-1:-1::0;;;;;116864:23:0;::::1;925:10:::0;116799:54;116864:23:::1;:47::i;2463:132::-:0;2344:7;2371:6;-1:-1:-1;;;;;2371:6:0;925:10;2527:23;2519:68;;;;-1:-1:-1;;;2519:68:0;;23155:2:1;2519:68:0;;;23137:21:1;;;23174:18;;;23167:30;23233:34;23213:18;;;23206:62;23285:18;;2519:68:0;22953:356:1;68009:281:0;68199:83;;-1:-1:-1;;;68199:83:0;;-1:-1:-1;;;;;68199:36:0;;;;;68243:4;;68199:83;;68249:9;;68260:11;;68273:8;;68199:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68009:281;;;;;:::o;110313:5078::-;110624:23;110650:6;110657:7;110650:15;;;;;;;;;;:::i;:::-;;;;;;;;;110739:30;;;;;:21;:30;;;;;;;;110650:15;;;;;;;;-1:-1:-1;110739:30:0;;110826:17;110822:4475;;110945:222;;;;;;;;110998:15;-1:-1:-1;;;;;110945:222:0;;;;;111046:6;-1:-1:-1;;;;;110945:222:0;;;;;111089:1;-1:-1:-1;;;;;110945:222:0;;;;;111127:16;:24;;111150:1;111127:24;;;111146:1;111127:24;110945:222;;;;;110914:25;;;;;;;:16;:25;;;;;;;;:28;;;;;;;;:253;;;;;;;;-1:-1:-1;;;;;110914:253:0;-1:-1:-1;;;110914:253:0;-1:-1:-1;;;;;;110914:253:0;;;-1:-1:-1;;;;;110914:253:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;110914:253:0;-1:-1:-1;;;;;;110914:253:0;;;-1:-1:-1;;;;;110914:253:0;;;;;;;;;;;111243:30;;;110914:253;111243:30;;;;;;:32;;110914:28;111243:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;110822:4475;;;111379:25;;;111348:28;111379:25;;;:16;:25;;;;;111348:28;111423:16;111438:1;111423:12;:16;:::i;:::-;111379:75;;;;;;;;;;;;;;;;-1:-1:-1;111379:75:0;;;111535:22;;;;;:13;:22;;;;;111379:75;;-1:-1:-1;111535:22:0;;111574:199;;;;111716:10;111715:11;111707:50;;;;-1:-1:-1;;;111707:50:0;;24137:2:1;111707:50:0;;;24119:21:1;24176:2;24156:18;;;24149:30;24215:28;24195:18;;;24188:56;24261:18;;111707:50:0;23935:350:1;111707:50:0;112043:14;;-1:-1:-1;;;;;112068:15:0;112043:41;;:14;;:41;;112017:123;;;;-1:-1:-1;;;112017:123:0;;24492:2:1;112017:123:0;;;24474:21:1;24531:2;24511:18;;;24504:30;-1:-1:-1;;;24550:18:1;;;24543:50;24610:18;;112017:123:0;24290:344:1;112017:123:0;112288:14;;112215:26;;112245:57;;-1:-1:-1;;;;;112288:14:0;112252:15;112245:57;:::i;:::-;112505:16;;112462:23;;;;112215:88;;-1:-1:-1;112376:34:0;;112525:6;;-1:-1:-1;;;112505:16:0;;-1:-1:-1;;;;;112505:16:0;;112414:71;;-1:-1:-1;;;112462:23:0;;;;-1:-1:-1;;;;;112414:28:0;;:71;:::i;:::-;:107;;;;:::i;:::-;112413:118;;;;:::i;:::-;112616:21;;;;112376:155;;-1:-1:-1;112591:22:0;;112616:67;;112376:155;;-1:-1:-1;;;;;112616:21:0;:67;:::i;:::-;112591:92;;112764:16;112760:751;;;112885:74;;;;112854:28;112885:74;;;:25;:74;;;;;;;;112960:21;;;;;-1:-1:-1;;;112960:21:0;;;;;112885:97;;;;;;;;113319:25;;;;-1:-1:-1;;;;;112885:97:0;;;;87008:6;;-1:-1:-1;;;113319:25:0;;-1:-1:-1;;;;;113319:25:0;113253:37;112885:97;113253:14;:37;:::i;:::-;113252:92;;;;:::i;:::-;113251:142;;;;:::i;:::-;113109:24;;;;87008:6;;113086:47;;-1:-1:-1;;;;;113109:24:0;113086:20;:47;:::i;:::-;113085:97;;;;:::i;:::-;:308;;;;:::i;:::-;113003:390;;113460:7;113444:51;;;113469:4;:21;;;;;;;;;;;;113493:1;113469:25;;;;:::i;:::-;113444:51;;10073:8:1;10061:21;;;10043:40;;10031:2;10016:18;113444:51:0;;;;;;;112782:729;112760:751;-1:-1:-1;;;;;113716:24:0;;113712:1574;;113780:10;:108;;113863:16;;:25;;113882:6;;-1:-1:-1;;;113863:16:0;;-1:-1:-1;;;;;113863:16:0;:25;:::i;:::-;113780:108;;;113814:16;;:25;;113833:6;;-1:-1:-1;;;113814:16:0;;-1:-1:-1;;;;;113814:16:0;:25;:::i;:::-;113761:127;;-1:-1:-1;;;;;113761:127:0;;;;-1:-1:-1;;;113761:127:0;-1:-1:-1;;;;;;;;113761:127:0;;;;;;113931:10;:259;;114176:14;113931:259;;;113992:21;;;;-1:-1:-1;;;;;113992:38:0;;;:21;;:38;:137;;114115:14;113992:137;;;114062:21;;;;-1:-1:-1;;;;;114062:21:0;113992:137;113907:21;;;:283;;-1:-1:-1;;;;;;113907:283:0;-1:-1:-1;;;;;113907:283:0;;;;;;;;;;114233:16;:110;;114322:21;;;;-1:-1:-1;;;114322:21:0;;;;114233:110;;;114273:4;:21;;;;;;;;;;;;114297:1;114273:25;;;;:::i;:::-;114209:4;:21;;;:134;;;;;;;;;;;;;;;;;;113712:1574;;;114426:728;;;;;;;;114483:15;-1:-1:-1;;;;;114426:728:0;;;;;114535:10;:116;;114626:16;;:25;;114645:6;;-1:-1:-1;;;114626:16:0;;-1:-1:-1;;;;;114626:16:0;:25;:::i;:::-;114535:116;;;114573:16;;:25;;114592:6;;-1:-1:-1;;;114573:16:0;;-1:-1:-1;;;;;114573:16:0;:25;:::i;:::-;-1:-1:-1;;;;;114426:728:0;;;;;114692:10;:283;;114961:14;114692:283;;;114761:21;;;;-1:-1:-1;;;;;114761:38:0;;;:21;;:38;:145;;114892:14;114761:145;;;114835:21;;;;-1:-1:-1;;;;;114835:21:0;114761:145;-1:-1:-1;;;;;114426:728:0;;;;;115016:16;:118;;115113:21;;;;-1:-1:-1;;;115113:21:0;;;;115016:118;;;115060:4;:21;;;;;;;;;;;;115084:1;115060:25;;;;:::i;:::-;114426:728;;;;;;;114384:25;;;;;;;:16;:25;;;;;;;;:39;;;;;;;;;;;;:770;;;;;;;;-1:-1:-1;;;;;114384:770:0;-1:-1:-1;;;114384:770:0;-1:-1:-1;;;;;;114384:770:0;;;-1:-1:-1;;;;;114384:770:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;114384:770:0;-1:-1:-1;;;;;;114384:770:0;;;-1:-1:-1;;;;;114384:770:0;;;;;;;;;;;115238:30;;;114384:770;115238:30;;;;;;:32;;;;;;:30;:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;113712:1574;111293:4004;;;;;110822:4475;115331:52;;-1:-1:-1;;;;;115366:15:0;714:35:1;696:54;;115331:52:0;;;;;;684:2:1;669:18;115331:52:0;;;;;;;110586:4805;;110313:5078;;;;:::o;103470:1807::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103702:30:0;;;;;:21;:30;;;;;;103763:16;:25;;;;;;-1:-1:-1;;103702:30:0;;;-1:-1:-1;;;;;103763:66:0;;;103789:16;103702:30;;103789:16;:::i;:::-;103763:43;;;;;;;;;;;;;-1:-1:-1;103763:43:0;:53;-1:-1:-1;;;;;103763:53:0;:66;103745:1525;;103958:25;;;;;;;:16;:25;;;;;;103984:16;103999:1;103984:12;:16;:::i;:::-;103958:43;;;;;;;;;;;;;;;;-1:-1:-1;103958:43:0;103951:50;;;;;;;;;-1:-1:-1;;;;;103951:50:0;;;;-1:-1:-1;;;103951:50:0;;-1:-1:-1;;;;;103951:50:0;;;;;;;;;;;-1:-1:-1;;;;;103951:50:0;;;;;;;;;-1:-1:-1;;;103951:50:0;;;;;;;;;-1:-1:-1;103951:50:0;;-1:-1:-1;103951:50:0;103745:1525;104023:25;;;;;;;:16;:25;;;;;;;;:28;;;;;;;;:38;-1:-1:-1;;;;;104023:50:0;;;:38;;:50;104019:1251;;;-1:-1:-1;;104290:192:0;;;;;;;;-1:-1:-1;104290:192:0;;;;;;;;;;;;;;;;;;;;;;104266:216;;104019:1251;104560:12;;104606:16;104621:1;104606:12;:16;:::i;:::-;104591:31;;104637:524;104652:5;104644:13;;:5;:13;;;104637:524;;;104678:13;104720:1;104703:13;104711:5;104703;:13;:::i;:::-;104702:19;;;;:::i;:::-;104694:27;;:5;:27;:::i;:::-;104799:25;;;;104767:29;104799:25;;;:16;:25;;;;;;;;:73;;;;;;;;;;;104767:105;;;;;;;;;-1:-1:-1;;;;;104767:105:0;;;;;;-1:-1:-1;;;104767:105:0;;;-1:-1:-1;;;;;104767:105:0;;;;;;;;;;;;;-1:-1:-1;;;;;104767:105:0;;;;;;;;;-1:-1:-1;;;104767:105:0;;;;;;;;;;104799:73;;-1:-1:-1;104767:105:0;104895:29;;;104891:255;;;104956:6;-1:-1:-1;104949:13:0;;-1:-1:-1;;;;104949:13:0;104891:255;104992:16;;-1:-1:-1;;;;;104992:28:0;;;;;;104988:158;;;105053:6;105045:14;;104988:158;;;105116:10;105125:1;105116:6;:10;:::i;:::-;105108:18;;104988:158;104659:502;;104637:524;;;-1:-1:-1;105226:25:0;;;;;;;;:16;:25;;;;;;;;:32;;;;;;;;;;;;;105219:39;;;;;;;;;-1:-1:-1;;;;;105219:39:0;;;;-1:-1:-1;;;;;;;;105219:39:0;;;;;;;;;;;;;;-1:-1:-1;;;;;105219:39:0;;;;;;;;;-1:-1:-1;;;105219:39:0;;;;;;;;;-1:-1:-1;105219:39:0;;-1:-1:-1;105219:39:0;3565:191;3639:16;3658:6;;-1:-1:-1;;;;;3675:17:0;;;-1:-1:-1;;;;;;3675:17:0;;;;;;3708:40;;3658:6;;;;;;;3708:40;;3639:16;3708:40;3628:128;3565:191;:::o;32190:248::-;32361:68;;-1:-1:-1;;;;;25785:15:1;;;32361:68:0;;;25767:34:1;25837:15;;25817:18;;;25810:43;25869:18;;;25862:34;;;32334:96:0;;32354:5;;-1:-1:-1;;;32384:27:0;25702:18:1;;32361:68:0;;;;-1:-1:-1;;32361:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;32361:68:0;-1:-1:-1;;;;;;32361:68:0;;;;;;;;;;32334:19;:96::i;:::-;32190:248;;;;:::o;106641:3664::-;106798:23;106824:6;106831:7;106824:15;;;;;;;;;;:::i;:::-;;;;;;;;;106916:29;;;;;:20;:29;;;;;;106824:15;;;;;;-1:-1:-1;106824:15:0;106946:12;925:10;;845:98;106946:12;-1:-1:-1;;;;;106916:43:0;;;;;;;;;;;;;;;-1:-1:-1;106916:43:0;;;;107038:30;;;;;:21;:30;;;;;;107154:16;:25;;;;;;106916:43;;;;;-1:-1:-1;107038:30:0;;;;;-1:-1:-1;107194:21:0;106916:43;107038:30;107194:21;:::i;:::-;107154:72;;;;;;;;;;;;;;;;;;-1:-1:-1;107154:72:0;107121:105;;;;;;;;;-1:-1:-1;;;;;107121:105:0;;;;-1:-1:-1;;;107121:105:0;;-1:-1:-1;;;;;107121:105:0;;;;;;;;;;;-1:-1:-1;;;;;107121:105:0;;;;;;;;;-1:-1:-1;;;107121:105:0;;;;;;;;;;;-1:-1:-1;107283:21:0;;107279:2933;;107387:19;;;;-1:-1:-1;;;;;;;;107387:19:0;;;;;107377:29;;;;;107369:61;;;;-1:-1:-1;;;107369:61:0;;26109:2:1;107369:61:0;;;26091:21:1;26148:2;26128:18;;;26121:30;-1:-1:-1;;;26167:18:1;;;26160:49;26226:18;;107369:61:0;25907:343:1;107369:61:0;107497:21;;;;;;;:12;:21;;;;;;;;:40;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;107497:40:0;925:10;107497:40;;;107603:24;;;:15;:24;;;;;:26;;;;;;:::i;:::-;;;;;;107757:211;;;;;;;;107809:15;-1:-1:-1;;;;;107757:211:0;;;;;107852:6;-1:-1:-1;;;;;107757:211:0;;;;;107890:1;-1:-1:-1;;;;;107757:211:0;;;;;107928:7;:24;;;107757:211;;;;;107713:15;:24;107729:7;107713:24;;;;;;;;;;;;;;;:38;107738:12;925:10;;845:98;107738:12;-1:-1:-1;;;;;107713:38:0;;;;;;;;;;;;;;;-1:-1:-1;107713:38:0;;;:41;;;;;;;;:255;;;;;;;;-1:-1:-1;;;;;107713:255:0;-1:-1:-1;;;107713:255:0;-1:-1:-1;;;;;;107713:255:0;;;-1:-1:-1;;;;;107713:255:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;107713:255:0;-1:-1:-1;;;;;;107713:255:0;;;-1:-1:-1;;;;;107713:255:0;;;;;;;;;;;;;;108081:20;;:16;;:20;:::i;:::-;108035:29;;;;;;;:20;:29;;;;;;;;925:10;108035:43;;;;;;;:66;;-1:-1:-1;;108035:66:0;;;;;;;;;;;;107279:2933;;;108204:24;;;108174:27;108204:24;;;:15;:24;;;;;;;;925:10;108204:70;;;;;;;108174:27;108275:20;108294:1;108275:16;:20;:::i;:::-;108204:92;;;;;;;;;;;;;-1:-1:-1;108204:92:0;108470:19;;;;108204:92;;-1:-1:-1;;;;108470:19:0;;-1:-1:-1;;;;;108470:19:0;108388:10;:56;;108424:11;;:20;;108438:6;;-1:-1:-1;;;108424:11:0;;-1:-1:-1;;;;;108424:11:0;:20;:::i;:::-;108388:56;;;108401:11;;:20;;108415:6;;-1:-1:-1;;;108401:11:0;;-1:-1:-1;;;;;108401:11:0;:20;:::i;:::-;-1:-1:-1;;;;;108387:102:0;;;108361:183;;;;-1:-1:-1;;;108361:183:0;;26109:2:1;108361:183:0;;;26091:21:1;26148:2;26128:18;;;26121:30;-1:-1:-1;;;26167:18:1;;;26160:49;26226:18;;108361:183:0;25907:343:1;108361:183:0;108815:14;;-1:-1:-1;;;;;108840:15:0;108815:41;;:14;;:41;;108789:123;;;;-1:-1:-1;;;108789:123:0;;24492:2:1;108789:123:0;;;24474:21:1;24531:2;24511:18;;;24504:30;-1:-1:-1;;;24550:18:1;;;24543:50;24610:18;;108789:123:0;24290:344:1;108789:123:0;109127:14;;109152:15;-1:-1:-1;;;;;109127:41:0;;;:14;;:41;109123:1078;;;109203:10;:98;;109281:11;;:20;;109295:6;;-1:-1:-1;;;109281:11:0;;-1:-1:-1;;;;;109281:11:0;:20;:::i;:::-;109203:98;;;109237:11;;:20;;109251:6;;-1:-1:-1;;;109237:11:0;;-1:-1:-1;;;;;109237:11:0;:20;:::i;:::-;109189:112;;-1:-1:-1;;;;;109189:112:0;;;;-1:-1:-1;;;109189:112:0;-1:-1:-1;;;;;;;;109189:112:0;;;;;;109344:24;;;;-1:-1:-1;109320:21:0;;:48;;;;;;-1:-1:-1;;;109320:48:0;-1:-1:-1;;;;109320:48:0;;;;;;;;;109123:1078;;;109508:494;;;;;;;;109564:15;-1:-1:-1;;;;;109508:494:0;;;;;109611:10;:106;;109697:11;;:20;;109711:6;;-1:-1:-1;;;109697:11:0;;-1:-1:-1;;;;;109697:11:0;:20;:::i;:::-;109611:106;;;109649:11;;:20;;109663:6;;-1:-1:-1;;;109649:11:0;;-1:-1:-1;;;;;109649:11:0;:20;:::i;:::-;-1:-1:-1;;;;;109508:494:0;;;;;109753:164;109798:7;925:10;109878:15;109753:18;:164::i;:::-;-1:-1:-1;;;;;109508:494:0;;;109958:24;;;;109508:494;;;;;;;;;109409:24;;-1:-1:-1;109409:24:0;;;:15;:24;;;-1:-1:-1;109409:24:0;;;925:10;-1:-1:-1;;;;;109409:38:0;;;;;;;;;;;;;;;-1:-1:-1;109409:38:0;;;:96;;;;;;;;;;:593;;;;;;;;-1:-1:-1;;;;;109409:593:0;-1:-1:-1;;;109409:593:0;-1:-1:-1;;;;;;109409:593:0;;;-1:-1:-1;;;;;109409:593:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;109409:593:0;-1:-1:-1;;;;;;109409:593:0;;;-1:-1:-1;;;;;109409:593:0;;;;;;;;;;;;;;110144:41;;109470:16;;110144:41;:::i;:::-;110077:29;;;;;;;:20;:29;;;;;;;;925:10;110077:43;;;;;;;:108;;-1:-1:-1;;110077:108:0;;;;;;;;;;;;109123:1078;108119:2093;107279:2933;110246:51;;-1:-1:-1;;;;;110280:15:0;714:35:1;696:54;;110246:51:0;;;;;;684:2:1;669:18;110246:51:0;;;;;;;106760:3545;;;;106641:3664;;;:::o;95771:1850::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96016:29:0;;;;;;:20;:29;;;;;-1:-1:-1;;;;;96016:35:0;;;;;;;;;;;;96082:24;;;:15;:24;;;;;:30;;;;;;;;;-1:-1:-1;;96016:35:0;;;-1:-1:-1;;;;;96082:84:0;;;96113:16;96016:35;;96113:16;:::i;:::-;96082:48;;;;;;;;;;;;;-1:-1:-1;96082:48:0;:58;-1:-1:-1;;;;;96082:58:0;:84;96064:1550;;96295:24;;;;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;96295:30:0;;;;;;;;;;96326:16;96341:1;96326:12;:16;:::i;:::-;96295:48;;;;;;;;;;;;;;;;-1:-1:-1;96295:48:0;96288:55;;;;;;;;;-1:-1:-1;;;;;96288:55:0;;;;-1:-1:-1;;;96288:55:0;;-1:-1:-1;;;;;96288:55:0;;;;;;;;;;;-1:-1:-1;;;;;96288:55:0;;;;;;;;;-1:-1:-1;;;96288:55:0;;;;;;;;;-1:-1:-1;96288:55:0;;-1:-1:-1;96288:55:0;96064:1550;96365:24;;;;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;96365:30:0;;;;;;;;;:33;;;;;;;;:43;-1:-1:-1;;;;;96365:55:0;;;:43;;:55;96361:1253;;;-1:-1:-1;;96636:181:0;;;;;;;;-1:-1:-1;96636:181:0;;;;;;;;;;;;;;;;;;;;;;96612:205;;96361:1253;96895:12;;96941:16;96956:1;96941:12;:16;:::i;:::-;96926:31;;96972:528;96987:5;96979:13;;:5;:13;;;96972:528;;;97013:13;97055:1;97038:13;97046:5;97038;:13;:::i;:::-;97037:19;;;;:::i;:::-;97029:27;;:5;:27;:::i;:::-;97133:24;;;;97102:28;97133:24;;;:15;:24;;;;;;;;-1:-1:-1;;;;;97133:30:0;;;;;;;;;:78;;;;;;;;;;;97102:109;;;;;;;;;-1:-1:-1;;;;;97102:109:0;;;;;;-1:-1:-1;;;97102:109:0;;;-1:-1:-1;;;;;97102:109:0;;;;;;;;;;;;;-1:-1:-1;;;;;97102:109:0;;;;;;;;;-1:-1:-1;;;97102:109:0;;;;;;;;;;97133:78;;-1:-1:-1;97102:109:0;97234:29;;;97230:255;;;97295:6;-1:-1:-1;97288:13:0;;-1:-1:-1;;;;97288:13:0;97230:255;97331:16;;-1:-1:-1;;;;;97331:28:0;;;;;;97327:158;;;97392:6;97384:14;;97327:158;;;97455:10;97464:1;97455:6;:10;:::i;:::-;97447:18;;97327:158;96994:506;;96972:528;;;-1:-1:-1;97565:24:0;;;;;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;97565:30:0;;;;;;;;;:37;;;;;;;;;;;;;97558:44;;;;;;;;;-1:-1:-1;;;;;97558:44:0;;;;-1:-1:-1;;;;;;;;97558:44:0;;;;;;;;;;;;;;-1:-1:-1;;;;;97558:44:0;;;;;;;;;-1:-1:-1;;;97558:44:0;;;;;;;;;-1:-1:-1;97558:44:0;;-1:-1:-1;97558:44:0;31971:211;32115:58;;-1:-1:-1;;;;;26680:32:1;;32115:58:0;;;26662:51:1;26729:18;;;26722:34;;;32088:86:0;;32108:5;;-1:-1:-1;;;32138:23:0;26635:18:1;;32115:58:0;26488:274:1;32088:86:0;31971:211;;;:::o;35038:716::-;35462:23;35488:69;35516:4;35488:69;;;;;;;;;;;;;;;;;35496:5;-1:-1:-1;;;;;35488:27:0;;;:69;;;;;:::i;:::-;35572:17;;35462:95;;-1:-1:-1;35572:21:0;35568:179;;35669:10;35658:30;;;;;;;;;;;;:::i;:::-;35650:85;;;;-1:-1:-1;;;35650:85:0;;27251:2:1;35650:85:0;;;27233:21:1;27290:2;27270:18;;;27263:30;27329:34;27309:18;;;27302:62;-1:-1:-1;;;27380:18:1;;;27373:40;27430:19;;35650:85:0;27049:406:1;26678:229:0;26815:12;26847:52;26869:6;26877:4;26883:1;26886:12;26847:21;:52::i;:::-;26840:59;26678:229;-1:-1:-1;;;;26678:229:0:o;27798:510::-;27968:12;28026:5;28001:21;:30;;27993:81;;;;-1:-1:-1;;;27993:81:0;;27662:2:1;27993:81:0;;;27644:21:1;27701:2;27681:18;;;27674:30;27740:34;27720:18;;;27713:62;-1:-1:-1;;;27791:18:1;;;27784:36;27837:19;;27993:81:0;27460:402:1;27993:81:0;-1:-1:-1;;;;;24228:19:0;;;28085:60;;;;-1:-1:-1;;;28085:60:0;;28069:2:1;28085:60:0;;;28051:21:1;28108:2;28088:18;;;28081:30;28147:31;28127:18;;;28120:59;28196:18;;28085:60:0;27867:353:1;28085:60:0;28159:12;28173:23;28200:6;-1:-1:-1;;;;;28200:11:0;28219:5;28226:4;28200:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28158:73;;;;28249:51;28266:7;28275:10;28287:12;28249:16;:51::i;:::-;28242:58;27798:510;-1:-1:-1;;;;;;;27798:510:0:o;30484:762::-;30634:12;30663:7;30659:580;;;-1:-1:-1;30694:10:0;30687:17;;30659:580;30808:17;;:21;30804:424;;31056:10;31050:17;31117:15;31104:10;31100:2;31096:19;31089:44;30804:424;31199:12;31192:20;;-1:-1:-1;;;31192:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:161:1;81:20;;141:8;130:20;;120:31;;110:59;;165:1;162;155:12;110:59;14:161;;;:::o;180:256::-;246:6;254;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;346:28;364:9;346:28;:::i;:::-;336:38;;393:37;426:2;415:9;411:18;393:37;:::i;:::-;383:47;;180:256;;;;;:::o;761:184::-;819:6;872:2;860:9;851:7;847:23;843:32;840:52;;;888:1;885;878:12;840:52;911:28;929:9;911:28;:::i;1132:131::-;-1:-1:-1;;;;;1207:31:1;;1197:42;;1187:70;;1253:1;1250;1243:12;1268:175;1335:20;;-1:-1:-1;;;;;1384:34:1;;1374:45;;1364:73;;1433:1;1430;1423:12;1448:171;1515:20;;-1:-1:-1;;;;;1564:30:1;;1554:41;;1544:69;;1609:1;1606;1599:12;1624:464;1707:6;1715;1723;1731;1784:3;1772:9;1763:7;1759:23;1755:33;1752:53;;;1801:1;1798;1791:12;1752:53;1840:9;1827:23;1859:31;1884:5;1859:31;:::i;:::-;1909:5;-1:-1:-1;1933:37:1;1966:2;1951:18;;1933:37;:::i;:::-;1923:47;;1989:37;2022:2;2011:9;2007:18;1989:37;:::i;:::-;1979:47;;2045:37;2078:2;2067:9;2063:18;2045:37;:::i;:::-;2035:47;;1624:464;;;;;;;:::o;2093:319::-;2160:6;2168;2221:2;2209:9;2200:7;2196:23;2192:32;2189:52;;;2237:1;2234;2227:12;2189:52;2260:28;2278:9;2260:28;:::i;:::-;2250:38;;2338:2;2327:9;2323:18;2310:32;2351:31;2376:5;2351:31;:::i;:::-;2401:5;2391:15;;;2093:319;;;;;:::o;2609:163::-;2676:20;;2736:10;2725:22;;2715:33;;2705:61;;2762:1;2759;2752:12;2777:391;2852:6;2860;2868;2921:2;2909:9;2900:7;2896:23;2892:32;2889:52;;;2937:1;2934;2927:12;2889:52;2960:28;2978:9;2960:28;:::i;:::-;2950:38;;3038:2;3027:9;3023:18;3010:32;3051:31;3076:5;3051:31;:::i;:::-;3101:5;-1:-1:-1;3125:37:1;3158:2;3143:18;;3125:37;:::i;:::-;3115:47;;2777:391;;;;;:::o;3767:141::-;3842:20;;3871:31;3842:20;3871:31;:::i;3913:182::-;3981:20;;-1:-1:-1;;;;;4030:40:1;;4020:51;;4010:79;;4085:1;4082;4075:12;4100:985;4226:6;4234;4242;4250;4258;4266;4274;4327:3;4315:9;4306:7;4302:23;4298:33;4295:53;;;4344:1;4341;4334:12;4295:53;4384:9;4371:23;-1:-1:-1;;;;;4454:2:1;4446:6;4443:14;4440:34;;;4470:1;4467;4460:12;4440:34;4508:6;4497:9;4493:22;4483:32;;4553:7;4546:4;4542:2;4538:13;4534:27;4524:55;;4575:1;4572;4565:12;4524:55;4615:2;4602:16;4641:2;4633:6;4630:14;4627:34;;;4657:1;4654;4647:12;4627:34;4704:7;4697:4;4688:6;4684:2;4680:15;4676:26;4673:39;4670:59;;;4725:1;4722;4715:12;4670:59;4756:4;4748:13;;;;-1:-1:-1;4780:6:1;-1:-1:-1;4805:47:1;;4831:20;;;-1:-1:-1;4805:47:1;:::i;:::-;4795:57;;4871:37;4904:2;4893:9;4889:18;4871:37;:::i;:::-;4861:47;;4927:37;4960:2;4949:9;4945:18;4927:37;:::i;:::-;4917:47;;4983:38;5016:3;5005:9;5001:19;4983:38;:::i;:::-;4973:48;;5040:39;5074:3;5063:9;5059:19;5040:39;:::i;:::-;5030:49;;4100:985;;;;;;;;;;:::o;5287:968::-;5406:6;5414;5422;5430;5438;5446;5499:3;5487:9;5478:7;5474:23;5470:33;5467:53;;;5516:1;5513;5506:12;5467:53;5555:9;5542:23;5574:31;5599:5;5574:31;:::i;:::-;5624:5;-1:-1:-1;5680:2:1;5665:18;;5652:32;-1:-1:-1;;;;;5733:14:1;;;5730:34;;;5760:1;5757;5750:12;5730:34;5798:6;5787:9;5783:22;5773:32;;5843:7;5836:4;5832:2;5828:13;5824:27;5814:55;;5865:1;5862;5855:12;5814:55;5905:2;5892:16;5931:2;5923:6;5920:14;5917:34;;;5947:1;5944;5937:12;5917:34;6000:7;5995:2;5985:6;5982:1;5978:14;5974:2;5970:23;5966:32;5963:45;5960:65;;;6021:1;6018;6011:12;5960:65;6052:2;6048;6044:11;6034:21;;6074:6;6064:16;;;;;6099:37;6132:2;6121:9;6117:18;6099:37;:::i;:::-;6089:47;;6155:37;6188:2;6177:9;6173:18;6155:37;:::i;:::-;6145:47;;6211:38;6244:3;6233:9;6229:19;6211:38;:::i;:::-;6201:48;;5287:968;;;;;;;;:::o;6477:256::-;6543:6;6551;6604:2;6592:9;6583:7;6579:23;6575:32;6572:52;;;6620:1;6617;6610:12;6572:52;6643:28;6661:9;6643:28;:::i;:::-;6633:38;;6690:37;6723:2;6712:9;6708:18;6690:37;:::i;6946:258::-;7013:6;7021;7074:2;7062:9;7053:7;7049:23;7045:32;7042:52;;;7090:1;7087;7080:12;7042:52;7113:28;7131:9;7113:28;:::i;:::-;7103:38;;7160;7194:2;7183:9;7179:18;7160:38;:::i;7209:391::-;7284:6;7292;7300;7353:2;7341:9;7332:7;7328:23;7324:32;7321:52;;;7369:1;7366;7359:12;7321:52;7392:28;7410:9;7392:28;:::i;:::-;7382:38;;7470:2;7459:9;7455:18;7442:32;7483:31;7508:5;7483:31;:::i;:::-;7533:5;-1:-1:-1;7557:37:1;7590:2;7575:18;;7557:37;:::i;7605:391::-;7680:6;7688;7696;7749:2;7737:9;7728:7;7724:23;7720:32;7717:52;;;7765:1;7762;7755:12;7717:52;7788:28;7806:9;7788:28;:::i;:::-;7778:38;;7866:2;7855:9;7851:18;7838:32;7879:31;7904:5;7879:31;:::i;:::-;7929:5;-1:-1:-1;7953:37:1;7986:2;7971:18;;7953:37;:::i;8209:252::-;8276:6;8284;8337:2;8325:9;8316:7;8312:23;8308:32;8305:52;;;8353:1;8350;8343:12;8305:52;8376:28;8394:9;8376:28;:::i;:::-;8366:38;8451:2;8436:18;;;;8423:32;;-1:-1:-1;;;8209:252:1:o;8466:180::-;8525:6;8578:2;8566:9;8557:7;8553:23;8549:32;8546:52;;;8594:1;8591;8584:12;8546:52;-1:-1:-1;8617:23:1;;8466:180;-1:-1:-1;8466:180:1:o;8651:258::-;8723:1;8733:113;8747:6;8744:1;8741:13;8733:113;;;8823:11;;;8817:18;8804:11;;;8797:39;8769:2;8762:10;8733:113;;;8864:6;8861:1;8858:13;8855:48;;;-1:-1:-1;;8899:1:1;8881:16;;8874:27;8651:258::o;8914:::-;8956:3;8994:5;8988:12;9021:6;9016:3;9009:19;9037:63;9093:6;9086:4;9081:3;9077:14;9070:4;9063:5;9059:16;9037:63;:::i;:::-;9154:2;9133:15;-1:-1:-1;;9129:29:1;9120:39;;;;9161:4;9116:50;;8914:258;-1:-1:-1;;8914:258:1:o;9177:717::-;9473:3;9462:9;9455:22;9436:4;9494:46;9535:3;9524:9;9520:19;9512:6;9494:46;:::i;:::-;-1:-1:-1;;;;;9576:32:1;;;;9571:2;9556:18;;9549:60;-1:-1:-1;9657:8:1;9645:21;;;;9640:2;9625:18;;9618:49;-1:-1:-1;;;;;9740:15:1;;;9735:2;9720:18;;9713:43;9793:15;;9787:3;9772:19;;9765:44;-1:-1:-1;;;;;9846:41:1;9596:3;9825:19;;;9818:70;9576:32;9486:54;-1:-1:-1;9177:717:1:o;10094:393::-;10178:6;10186;10194;10202;10255:3;10243:9;10234:7;10230:23;10226:33;10223:53;;;10272:1;10269;10262:12;10223:53;10295:28;10313:9;10295:28;:::i;:::-;10285:38;;10342:37;10375:2;10364:9;10360:18;10342:37;:::i;:::-;10094:393;;10332:47;;-1:-1:-1;;;;10426:2:1;10411:18;;10398:32;;10477:2;10462:18;10449:32;;10094:393::o;10492:862::-;10735:2;10787:21;;;10857:13;;10760:18;;;10879:22;;;10706:4;;10735:2;10920;;10938:18;;;;10979:15;;;10706:4;11022:306;11036:6;11033:1;11030:13;11022:306;;;11095:13;;11137:9;;-1:-1:-1;;;;;11133:35:1;11121:48;;11213:11;;11207:18;-1:-1:-1;;;;;11203:44:1;11189:12;;;11182:66;11268:12;;;;11303:15;;;;11165:1;11051:9;11022:306;;;-1:-1:-1;11345:3:1;;10492:862;-1:-1:-1;;;;;;;10492:862:1:o;11359:247::-;11418:6;11471:2;11459:9;11450:7;11446:23;11442:32;11439:52;;;11487:1;11484;11477:12;11439:52;11526:9;11513:23;11545:31;11570:5;11545:31;:::i;11876:256::-;11942:6;11950;12003:2;11991:9;11982:7;11978:23;11974:32;11971:52;;;12019:1;12016;12009:12;11971:52;12042:28;12060:9;12042:28;:::i;:::-;12032:38;;12089:37;12122:2;12111:9;12107:18;12089:37;:::i;12137:355::-;12339:2;12321:21;;;12378:2;12358:18;;;12351:30;12417:33;12412:2;12397:18;;12390:61;12483:2;12468:18;;12137:355::o;12840:127::-;12901:10;12896:3;12892:20;12889:1;12882:31;12932:4;12929:1;12922:15;12956:4;12953:1;12946:15;12972:127;13033:10;13028:3;13024:20;13021:1;13014:31;13064:4;13061:1;13054:15;13088:4;13085:1;13078:15;13104:127;13165:10;13160:3;13156:20;13153:1;13146:31;13196:4;13193:1;13186:15;13220:4;13217:1;13210:15;13236:238;13318:1;13311:5;13308:12;13298:143;;13363:10;13358:3;13354:20;13351:1;13344:31;13398:4;13395:1;13388:15;13426:4;13423:1;13416:15;13298:143;13450:18;;13236:238::o;13479:461::-;13532:3;13570:5;13564:12;13597:6;13592:3;13585:19;13623:4;13652:2;13647:3;13643:12;13636:19;;13689:2;13682:5;13678:14;13710:1;13720:195;13734:6;13731:1;13728:13;13720:195;;;13799:13;;-1:-1:-1;;;;;13795:39:1;13783:52;;13855:12;;;;13890:15;;;;13831:1;13749:9;13720:195;;;-1:-1:-1;13931:3:1;;13479:461;-1:-1:-1;;;;;13479:461:1:o;13945:1296::-;14130:2;14141:21;;;14233:13;;14282:4;14262:18;;;14255:32;14336:19;;14200:3;14185:19;;14364:22;;;14101:4;;14130:2;14444:21;;;14101:4;;14417:3;14402:19;;;14493:195;14507:6;14504:1;14501:13;14493:195;;;14572:13;;-1:-1:-1;;;;;14568:39:1;14556:52;;14663:15;;;;14604:1;14522:9;;;;;14628:12;;;;14493:195;;;-1:-1:-1;14725:15:1;;;14719:22;-1:-1:-1;;;;;506:34:1;;14799:2;14784:18;;494:47;14719:22;14852:2;14844:6;14840:15;14834:22;14812:44;;14865:62;14923:2;14912:9;14908:18;14892:14;14865:62;:::i;:::-;14976:2;14964:15;;14958:22;3249:8;3238:20;;15038:3;15023:19;;3226:33;14958:22;-1:-1:-1;15092:3:1;15080:16;;15074:23;15139:19;;;-1:-1:-1;;15135:33:1;15128:4;15113:20;;15106:63;15074:23;-1:-1:-1;15186:49:1;15143:3;15074:23;15186:49;:::i;15246:218::-;15393:2;15382:9;15375:21;15356:4;15413:45;15454:2;15443:9;15439:18;15431:6;15413:45;:::i;15469:184::-;15539:6;15592:2;15580:9;15571:7;15567:23;15563:32;15560:52;;;15608:1;15605;15598:12;15560:52;-1:-1:-1;15631:16:1;;15469:184;-1:-1:-1;15469:184:1:o;16001:127::-;16062:10;16057:3;16053:20;16050:1;16043:31;16093:4;16090:1;16083:15;16117:4;16114:1;16107:15;16133:125;16173:4;16201:1;16198;16195:8;16192:34;;;16206:18;;:::i;:::-;-1:-1:-1;16243:9:1;;16133:125::o;16263:580::-;-1:-1:-1;;;;;16532:32:1;;;;16514:51;;16584:8;16628:15;;;16623:2;16608:18;;16601:43;-1:-1:-1;;;;;16680:35:1;;;;16675:2;16660:18;;16653:63;-1:-1:-1;;;;;16752:31:1;16747:2;16732:18;;16725:59;16821:15;16815:3;16800:19;;16793:44;16501:3;16486:19;;16263:580::o;17194:273::-;17379:6;17371;17366:3;17353:33;17335:3;17405:16;;17430:13;;;17405:16;17194:273;-1:-1:-1;17194:273:1:o;17816:135::-;17855:3;-1:-1:-1;;17876:17:1;;17873:43;;;17896:18;;:::i;:::-;-1:-1:-1;17943:1:1;17932:13;;17816:135::o;17956:344::-;18158:2;18140:21;;;18197:2;18177:18;;;18170:30;-1:-1:-1;;;18231:2:1;18216:18;;18209:50;18291:2;18276:18;;17956:344::o;18305:233::-;18344:4;-1:-1:-1;;;;;18445:10:1;;;;18415;;18467:12;;;18464:38;;;18482:18;;:::i;:::-;18519:13;;18305:233;-1:-1:-1;;;18305:233:1:o;18543:272::-;18583:7;-1:-1:-1;;;;;18654:10:1;;;18684;;;18717:11;;18710:19;18739:12;;;18731:21;;18706:47;18703:73;;;18756:18;;:::i;:::-;18796:13;;18543:272;-1:-1:-1;;;;18543:272:1:o;18820:127::-;18881:10;18876:3;18872:20;18869:1;18862:31;18912:4;18909:1;18902:15;18936:4;18933:1;18926:15;18952:201;18992:1;-1:-1:-1;;;;;19057:10:1;;;;19076:37;;19093:18;;:::i;:::-;19131:10;;19127:20;;;;;18952:201;-1:-1:-1;;18952:201:1:o;19158:238::-;19198:3;-1:-1:-1;;;;;19265:10:1;;;19295;;;19325:12;;;19317:21;;19314:47;;;19341:18;;:::i;:::-;19377:13;;19158:238;-1:-1:-1;;;;19158:238:1:o;20087:221::-;20126:4;20155:10;20215;;;;20185;;20237:12;;;20234:38;;;20252:18;;:::i;20313:219::-;20352:4;20381:8;20439:10;;;;20409;;20461:12;;;20458:38;;;20476:18;;:::i;20537:380::-;20616:1;20612:12;;;;20659;;;20680:61;;20734:4;20726:6;20722:17;20712:27;;20680:61;20787:2;20779:6;20776:14;20756:18;20753:38;20750:161;;;20833:10;20828:3;20824:20;20821:1;20814:31;20868:4;20865:1;20858:15;20896:4;20893:1;20886:15;20750:161;;20537:380;;;:::o;20922:226::-;20961:3;20989:8;21024:2;21021:1;21017:10;21054:2;21051:1;21047:10;21085:3;21081:2;21077:12;21072:3;21069:21;21066:47;;;21093:18;;:::i;21153:231::-;21193:4;-1:-1:-1;;;;;21291:10:1;;;;21261;;21313:12;;;21310:38;;;21328:18;;:::i;21389:199::-;21427:3;21455:8;21498:2;21491:5;21487:14;21525:2;21516:7;21513:15;21510:41;;;21531:18;;:::i;:::-;21580:1;21567:15;;21389:199;-1:-1:-1;;;21389:199:1:o;22413:128::-;22453:3;22484:1;22480:6;22477:1;22474:13;22471:39;;;22490:18;;:::i;:::-;-1:-1:-1;22526:9:1;;22413:128::o;23314:410::-;-1:-1:-1;;;;;23516:32:1;;23498:51;;-1:-1:-1;;;;;23585:31:1;;23580:2;23565:18;;23558:59;23653:2;23648;23633:18;;23626:30;;;-1:-1:-1;;23673:45:1;;23699:18;;23691:6;23673:45;:::i;:::-;23665:53;23314:410;-1:-1:-1;;;;;23314:410:1:o;23729:201::-;23767:3;23795:10;23840:2;23833:5;23829:14;23867:2;23858:7;23855:15;23852:41;;;23873:18;;:::i;24834:240::-;24874:4;-1:-1:-1;;;;;24981:10:1;;;;24951;;25003:12;;;25000:38;;;25018:18;;:::i;25079:247::-;25119:3;-1:-1:-1;;;;;25202:2:1;25199:1;25195:10;25232:2;25229:1;25225:10;25263:3;25259:2;25255:12;25250:3;25247:21;25244:47;;;25271:18;;:::i;25331:191::-;25370:1;25396:10;25433:2;25430:1;25426:10;25455:3;25445:37;;25462:18;;:::i;26255:228::-;26294:3;26322:10;26359:2;26356:1;26352:10;26389:2;26386:1;26382:10;26420:3;26416:2;26412:12;26407:3;26404:21;26401:47;;;26428:18;;:::i;26767:277::-;26834:6;26887:2;26875:9;26866:7;26862:23;26858:32;26855:52;;;26903:1;26900;26893:12;26855:52;26935:9;26929:16;26988:5;26981:13;26974:21;26967:5;26964:32;26954:60;;27010:1;27007;27000:12;28225:274;28354:3;28392:6;28386:13;28408:53;28454:6;28449:3;28442:4;28434:6;28430:17;28408:53;:::i;:::-;28477:16;;;;;28225:274;-1:-1:-1;;28225:274:1:o

Swarm Source

ipfs://1316d4f6f6480d2cbdc24aafb451a9a1925b51a991f27c16b7228adffeaf3909

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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