Source Code
Overview
S Balance
0 S
More Info
ContractCreator
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13199853 | 14 days ago | 0 S |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BondDepository
Compiler Version
v0.8.27+commit.40a35a09
Contract Source Code (Solidity)
/** *Submitted for verification at testnet.sonicscan.org on 2025-01-16 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ 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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); } pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol) pragma solidity ^0.8.20; // File: @openzeppelin/contracts/interfaces/IERC1363.sol // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol) pragma solidity ^0.8.20; /** * @title IERC1363 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363]. * * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction. */ interface IERC1363 is IERC20, IERC165 { /* * Note: the ERC-165 identifier for this interface is 0xb0202a11. * 0xb0202a11 === * bytes4(keccak256('transferAndCall(address,uint256)')) ^ * bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^ * bytes4(keccak256('approveAndCall(address,uint256)')) ^ * bytes4(keccak256('approveAndCall(address,uint256,bytes)')) */ /** * @dev Moves a `value` amount of tokens from the caller's account to `to` * and then calls {IERC1363Receiver-onTransferReceived} on `to`. * @param to The address which you want to transfer to. * @param value The amount of tokens to be transferred. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function transferAndCall(address to, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from the caller's account to `to` * and then calls {IERC1363Receiver-onTransferReceived} on `to`. * @param to The address which you want to transfer to. * @param value The amount of tokens to be transferred. * @param data Additional data with no specified format, sent in call to `to`. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism * and then calls {IERC1363Receiver-onTransferReceived} on `to`. * @param from The address which you want to send tokens from. * @param to The address which you want to transfer to. * @param value The amount of tokens to be transferred. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function transferFromAndCall(address from, address to, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism * and then calls {IERC1363Receiver-onTransferReceived} on `to`. * @param from The address which you want to send tokens from. * @param to The address which you want to transfer to. * @param value The amount of tokens to be transferred. * @param data Additional data with no specified format, sent in call to `to`. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`. * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function approveAndCall(address spender, uint256 value) external returns (bool); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`. * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. * @param data Additional data with no specified format, sent in call to `spender`. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool); } pragma solidity ^0.8.20; /** * @title SafeERC20 * @dev Wrappers around ERC-20 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 { /** * @dev An operation with an ERC-20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. * * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client" * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. * * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client" * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. * * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being * set here. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when * targeting contracts. * * Reverts if the returned value is other than `true`. */ function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal { if (to.code.length == 0) { safeTransfer(token, to, value); } else if (!token.transferAndCall(to, value, data)) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when * targeting contracts. * * Reverts if the returned value is other than `true`. */ function transferFromAndCallRelaxed( IERC1363 token, address from, address to, uint256 value, bytes memory data ) internal { if (to.code.length == 0) { safeTransferFrom(token, from, to, value); } else if (!token.transferFromAndCall(from, to, value, data)) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when * targeting contracts. * * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}. * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall} * once without retrying, and relies on the returned value to be true. * * Reverts if the returned value is other than `true`. */ function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal { if (to.code.length == 0) { forceApprove(token, to, value); } else if (!token.approveAndCall(to, value, data)) { revert SafeERC20FailedOperation(address(token)); } } /** * @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). * * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements. */ function _callOptionalReturn(IERC20 token, bytes memory data) private { uint256 returnSize; uint256 returnValue; assembly ("memory-safe") { let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20) // bubble errors if iszero(success) { let ptr := mload(0x40) returndatacopy(ptr, 0, returndatasize()) revert(ptr, returndatasize()) } returnSize := returndatasize() returnValue := mload(0) } if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) { revert SafeERC20FailedOperation(address(token)); } } /** * @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). * * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { bool success; uint256 returnSize; uint256 returnValue; assembly ("memory-safe") { success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20) returnSize := returndatasize() returnValue := mload(0) } return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1); } } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC-165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; } pragma solidity ^0.8.20; /** * @dev External interface of AccessControlEnumerable declared to support ERC-165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); } pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } } pragma solidity ^0.8.20; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } } // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.20; /** * @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. * * ```solidity * 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 is the index of the value in the `values` array plus 1. // Position 0 is used to mean a value is not in the set. mapping(bytes32 value => uint256) _positions; } /** * @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._positions[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 cache the value's position to prevent multiple reads from the same storage slot uint256 position = set._positions[value]; if (position != 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 valueIndex = position - 1; uint256 lastIndex = set._values.length - 1; if (valueIndex != lastIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the lastValue to the index where the value to delete is set._values[valueIndex] = lastValue; // Update the tracked position of the lastValue (that was just moved) set._positions[lastValue] = position; } // Delete the slot where the moved value was stored set._values.pop(); // Delete the tracked position for the deleted slot delete set._positions[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._positions[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; assembly ("memory-safe") { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly ("memory-safe") { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly ("memory-safe") { result := store } return result; } } pragma solidity ^0.8.20; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 role => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view virtual returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view virtual returns (uint256) { return _roleMembers[role].length(); } /** * @dev Return all accounts that have `role` * * 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 getRoleMembers(bytes32 role) public view virtual returns (address[] memory) { return _roleMembers[role].values(); } /** * @dev Overload {AccessControl-_grantRole} to track enumerable memberships */ function _grantRole(bytes32 role, address account) internal virtual override returns (bool) { bool granted = super._grantRole(role, account); if (granted) { _roleMembers[role].add(account); } return granted; } /** * @dev Overload {AccessControl-_revokeRole} to track enumerable memberships */ function _revokeRole(bytes32 role, address account) internal virtual override returns (bool) { bool revoked = super._revokeRole(role, account); if (revoked) { _roleMembers[role].remove(account); } return revoked; } } 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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } pragma solidity ^0.8.20; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ 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); } //@author 0xPhant0m based on Ohm Bond Depository and Bond Protocol pragma solidity ^0.8.27; contract BondDepository is AccessControlEnumerable, ReentrancyGuard { using SafeERC20 for IERC20; bytes32 public constant AUCTIONEER_ROLE = keccak256("AUCTIONEER_ROLE"); bytes32 public constant TOKEN_WHITELISTER_ROLE = keccak256("TOKEN_WHITELISTER_ROLE"); bytes32 public constant EMERGENCY_ADMIN_ROLE = keccak256("EMERGENCY_ADMIN_ROLE"); bool public paused; event ContractPaused(address indexed by); event ContractUnpaused(address indexed by); event newBondCreated(uint256 indexed id, address indexed payoutToken, address indexed quoteToken, uint256 initialPrice ); event BondEnded(uint256 indexed id); event addedAuctioneer(address _auctioneer, address payoutToken); event removeAuctioneer(address auctioneer); event MarketTransferred( uint256 marketId, address owner, address newAuctioneer); event BondDeposited( address indexed user, uint256 indexed marketId, uint256 depositAmount, uint256 totalOwed, uint256 bondPrice ); event QuoteTokensWithdrawn( uint256 indexed marketId, address indexed auctioneer, uint256 amount, uint256 daoFee ); event FeeUpdated (uint256 oldFee, uint256 basePoints); event TokenUnwhitelisted( address _token); event TokenWhitelisted( address _token); uint256 public marketCounter; address [] public _payoutTokens; Terms[] public terms; mapping(uint256 => Adjust) public adjustments; mapping (address => bool) _whitelistedAuctioneer; mapping (address => bool) _whitelistedToken; mapping(uint256 => address) public marketsToAuctioneers; mapping(address => uint256[]) public marketsForQuote; mapping(address => uint256[]) public marketsForPayout; mapping( address => Bond[]) public bondInfo; address public immutable mSig; uint256 public feeToDao; uint256 public constant MAX_FEE = 1000; // Info for creating new bonds struct Terms { address quoteToken; //token requested address payoutToken; //token to be redeemed uint256 amountToBond; //Amount of payout Tokens dedicated to this request uint256 totalDebt; uint256 controlVariable; // scaling variable for price uint256 minimumPrice; // vs principle value uint256 maxDebt; // 9 decimal debt ratio, max % total supply created as debt uint256 maxPayout; // in thousandths of a %. i.e. 500 = 0.5% uint256 quoteTokensRaised; uint256 lastDecay; //block.timestamp of last decay (i.e last deposit) uint32 bondEnds; //Unix Timestamp of when the offer ends. uint32 vestingTerm; // How long each bond should vest for in seconds } struct Bond { address tokenBonded; //token to be distributed uint256 amountOwed; //amount of tokens owed to Bonder uint256 pricePaid; //price paid in PayoutToken uint256 marketId; //Which market does this belong uint32 startTime; // block timestamp uint32 endTime; //timestamp } struct Adjust { bool add; // addition or subtraction uint rate; // increment uint target; // BCV when adjustment finished uint buffer; // minimum length (in blocks) between adjustments uint lastBlock; // block when last adjustment made } //Strictly for front-end optimization struct BondMarketInfo { address quoteToken; address payoutToken; uint256 price; uint256 maxPayout; uint256 vestingTerm; uint256 amountToBond; address auctioneer; bool isLive; uint256 totalDebt; } constructor(address _mSig){ if (_mSig == address (0)) revert ("Invalid address"); mSig = _mSig; _grantRole(DEFAULT_ADMIN_ROLE, mSig); _grantRole(EMERGENCY_ADMIN_ROLE, mSig); _grantRole(TOKEN_WHITELISTER_ROLE, mSig); } /*================================= Auctioneer FUNCTIONS =================================*/ function newBond( address payoutToken_, IERC20 _quoteToken, uint256 [4] memory _terms, // [amountToBond, controlVariable, minimumPrice, maxDebt] uint32 [2] memory _vestingTerms // [bondEnds, vestingTerm] ) external onlyRole(AUCTIONEER_ROLE) whenNotPaused returns (uint256 marketID) { // Address validations require(payoutToken_ != address(0), "Invalid payout token"); require(address(_quoteToken) != address(0), "Invalid quote token"); require(address(_quoteToken) != payoutToken_, "Tokens must be different"); require(_whitelistedToken[payoutToken_], "Token not whitelisted"); require(!auctioneerHasMarketForQuote(msg.sender, address(_quoteToken)), "Already has market for quote token"); // Time validations require(_vestingTerms[0] > block.timestamp, "Bond end too early"); require(_vestingTerms[1] > _vestingTerms[0], "Vesting ends before bond"); // Parameter validations require(_terms[0] > 0, "Amount must be > 0"); require(_terms[1] > 0, "Control variable must be > 0"); require(_terms[2] > 0, "Minimum price must be > 0"); require(_terms[3] > 0, "Max debt must be > 0"); uint256 secondsToConclusion = _vestingTerms[0] - block.timestamp; require(secondsToConclusion > 0, "Invalid vesting period"); // Calculate max payout with better precision uint256 _maxPayout = (_terms[3] * 1800) / 10000; // 18% of max debt _maxPayout = (_maxPayout * 1e18) / secondsToConclusion; // Scale by time // Transfer payout tokens (use amountToBond, not controlVariable) uint8 payoutDecimals = IERC20Metadata(payoutToken_).decimals(); IERC20(payoutToken_).safeTransferFrom(msg.sender, address(this), _terms[0] * 10**payoutDecimals); // Create market terms.push(Terms({ quoteToken: address(_quoteToken), payoutToken: payoutToken_, amountToBond: _terms[0] * 10**payoutDecimals, controlVariable: _terms[1], minimumPrice: _terms[2], maxDebt: _terms[3] * 10**payoutDecimals, maxPayout: _maxPayout, quoteTokensRaised: 0, lastDecay: block.timestamp, bondEnds: _vestingTerms[0], vestingTerm: _vestingTerms[1], totalDebt: 0 })); // Market tracking uint256 marketId = marketCounter; marketsForPayout[payoutToken_].push(marketId); marketsForQuote[address(_quoteToken)].push(marketId); marketsToAuctioneers[marketId] = msg.sender; ++marketCounter; emit newBondCreated(marketId, payoutToken_, address(_quoteToken), _terms[1]); return marketId; } function closeBond(uint256 _id) external onlyRole(AUCTIONEER_ROLE) whenNotPaused { if (marketsToAuctioneers[_id] != msg.sender) revert ("Not your Bond"); terms[_id].bondEnds = uint32(block.timestamp); uint256 amountLeft = terms[_id].amountToBond - terms[_id].totalDebt; uint8 payoutDecimals = IERC20Metadata(terms[_id].payoutToken).decimals(); IERC20(terms[_id].payoutToken).safeTransfer(msg.sender, amountLeft * 10**payoutDecimals); emit BondEnded(_id); } function withdrawQuoteTokens(uint256 _id) external onlyRole(AUCTIONEER_ROLE) whenNotPaused { require(marketsToAuctioneers[_id] == msg.sender, "Not market's auctioneer"); require(block.timestamp > terms[_id].bondEnds, "Bond not yet concluded"); address quoteToken = terms[_id].quoteToken; uint256 balance = terms[_id].quoteTokensRaised; uint8 quoteDecimals = IERC20Metadata(quoteToken).decimals(); uint256 daoFee = 0; if (feeToDao > 0) { daoFee = (balance * feeToDao) / 10000; balance -= daoFee; } IERC20(quoteToken).safeTransfer(msg.sender, balance * 10**quoteDecimals); if (daoFee > 0) { IERC20(quoteToken).safeTransfer(mSig, daoFee * 10**quoteDecimals); } emit QuoteTokensWithdrawn(_id, msg.sender, balance, daoFee); } function transferMarket(uint256 marketId, address newAuctioneer) external { require(marketsToAuctioneers[marketId] == msg.sender, "Not market owner"); require(hasRole(AUCTIONEER_ROLE, newAuctioneer), "Not auctioneer"); marketsToAuctioneers[marketId] = newAuctioneer; emit MarketTransferred(marketId, msg.sender, newAuctioneer); } /*================================= User FUNCTIONS =================================*/ function deposit(uint256 _id, uint256 amount, address user) public nonReentrant { // Early validation checks require(user != address(0), "Invalid user address"); require(_id < terms.length, "Invalid market ID"); // Retrieve the specific bond terms Terms storage term = terms[_id]; // Comprehensive bond availability checks require(block.timestamp <= term.bondEnds, "Bond has ended"); require(term.totalDebt < term.maxDebt, "Maximum bond capacity reached"); // Decimal-aware minimum deposit calculation uint8 quoteDecimals = IERC20Metadata(address(term.quoteToken)).decimals(); uint256 minimumDeposit = calculateMinimumDeposit(quoteDecimals); // Deposit amount validations require(amount >= minimumDeposit, "Deposit below minimum threshold"); require(amount <= term.maxPayout, "Deposit exceeds maximum allowed"); // Reentrancy protection pattern // Decay debt before any state changes _tune(_id); _decayDebt(_id); // Transfer tokens with safety checks IERC20 quoteToken = IERC20(term.quoteToken); uint256 balanceBefore = quoteToken.balanceOf(address(this)); quoteToken.safeTransferFrom(msg.sender, address(this), amount); uint256 balanceAfter = quoteToken.balanceOf(address(this)); require(balanceAfter - balanceBefore == amount, "Incorrect transfer amount"); terms[_id].quoteTokensRaised += amount; // Calculate bond price with internal function uint256 price = _marketPrice(_id); // Precise total owed calculation uint256 totalOwed = calculateTotalOwed(amount, price); address payoutToken = term.payoutToken; // Validate total owed against remaining bond capacity require(term.totalDebt + totalOwed <= term.maxDebt, "Exceeds maximum bond debt"); // Create bond record with comprehensive details bondInfo[user].push(Bond({ tokenBonded: payoutToken, amountOwed: totalOwed, pricePaid: price, marketId: _id, startTime: uint32(block.timestamp), endTime: uint32(term.vestingTerm + block.timestamp) })); // Update total debt term.totalDebt += totalOwed; emit BondDeposited(user, _id, amount, totalOwed, price); } function redeem(uint256 _id, address user) external nonReentrant returns (uint256 amountRedeemed) { uint256 length = bondInfo[user].length; uint256 totalRedeemed = 0; uint8 payoutDecimals = IERC20Metadata(terms[_id].payoutToken).decimals(); for (uint256 i = length; i > 0;) { i--; Bond storage currentBond = bondInfo[user][i]; if (currentBond.marketId == _id) { uint256 amount = calculateLinearPayout(user, i); if (amount > 0) { currentBond.amountOwed -= amount; totalRedeemed += amount; // Scale amount by token decimals for transfer IERC20(terms[_id].payoutToken).safeTransfer(user, amount * 10**payoutDecimals); if (currentBond.amountOwed == 0) { if (i != bondInfo[user].length - 1) { bondInfo[user][i] = bondInfo[user][bondInfo[user].length - 1]; } bondInfo[user].pop(); } } } } return totalRedeemed; } /*================================= ADMIN FUNCTIONS =================================*/ function grantAuctioneerRole(address _auctioneer) external onlyRole(DEFAULT_ADMIN_ROLE) { // Additional validation require(_auctioneer != address(0), "Invalid auctioneer address"); require(!hasRole(AUCTIONEER_ROLE, _auctioneer), "Already an auctioneer"); _grantRole(AUCTIONEER_ROLE, _auctioneer); _whitelistedAuctioneer[_auctioneer] = true; emit RoleGranted(AUCTIONEER_ROLE, _auctioneer, msg.sender); } function revokeAuctioneerRole(address _auctioneer) external onlyRole(DEFAULT_ADMIN_ROLE) { _revokeRole(AUCTIONEER_ROLE, _auctioneer); _whitelistedAuctioneer[_auctioneer] = false; emit RoleRevoked(AUCTIONEER_ROLE, _auctioneer, msg.sender); } function whitelistToken(address _token) external onlyRole(TOKEN_WHITELISTER_ROLE) { require(_token != address(0), "Invalid token address"); require(!_whitelistedToken[_token], "Token already whitelisted"); // Additional token validation try IERC20Metadata(_token).decimals() returns (uint8) { _whitelistedToken[_token] = true; _payoutTokens.push(_token); } catch { revert("Invalid ERC20 token"); } } function unwhitelistToken(address _token) external onlyRole(TOKEN_WHITELISTER_ROLE) { require(_whitelistedToken[_token], "Token not whitelisted"); _whitelistedToken[_token] = false; emit TokenUnwhitelisted(_token); } function pauseContract() external onlyRole(EMERGENCY_ADMIN_ROLE) { paused = true; emit ContractPaused(msg.sender); } function unpauseContract() external onlyRole(EMERGENCY_ADMIN_ROLE) { paused = false; emit ContractUnpaused(msg.sender); } function setFeetoDao(uint32 basePoints) external onlyRole(DEFAULT_ADMIN_ROLE) { require(basePoints <= MAX_FEE, "Fee too high"); uint256 oldFee = feeToDao; feeToDao = basePoints; emit FeeUpdated(oldFee, basePoints); } /*================================= View Functions =================================*/ function getMarketsForQuote(address quoteToken) external view returns(uint256[] memory) { return marketsForQuote[quoteToken]; } function getMarketsForPayout(address payout) external view returns(uint256[] memory) { return marketsForPayout[payout]; } function getMarketsForUser(address user) external view returns(uint256[] memory) { uint256[] memory userMarkets = new uint256[](bondInfo[user].length); for (uint256 i = 0; i < bondInfo[user].length; i++) { userMarkets[i] = bondInfo[user][i].marketId; } return userMarkets; } function isLive(uint256 id_) public view returns (bool) { return block.timestamp <= terms[id_].bondEnds && terms[id_].totalDebt < terms[id_].maxDebt; } function bondPrice(uint256 id_) public view returns(uint256) { return _trueBondPrice(id_); } function isAuctioneer(address account) external view returns (bool) { return hasRole(AUCTIONEER_ROLE, account); } function calculateLinearPayout(address user, uint256 _bondId) public view returns (uint256) { Bond memory bond = bondInfo[user][_bondId]; Terms memory term = terms[bond.marketId]; // Check if bond is active if (block.timestamp < bond.startTime) { return 0; } // Calculate total vesting duration uint256 vestingTerm = term.vestingTerm; // Calculate time elapsed since bond start uint256 timeElapsed = block.timestamp > bond.endTime ? vestingTerm : block.timestamp - bond.startTime; // Calculate tokens per second uint256 tokensPerSecond = bond.amountOwed / vestingTerm; // Calculate current claimable amount uint256 currentClaimable = tokensPerSecond * timeElapsed; // Ensure we don't claim more than the total owed if (currentClaimable > bond.amountOwed) { currentClaimable = bond.amountOwed; } return currentClaimable; } function getBondMarketInfo(uint256 marketId) public view returns (BondMarketInfo memory) { Terms storage term = terms[marketId]; return BondMarketInfo({ quoteToken: term.quoteToken, payoutToken: term.payoutToken, price: _trueBondPrice(marketId), maxPayout: term.maxPayout, vestingTerm: term.vestingTerm, amountToBond: term.amountToBond, auctioneer: marketsToAuctioneers[marketId], isLive: isLive(marketId), totalDebt: term.totalDebt }); } function getBondMarketInfoBatch(uint256[] calldata marketIds) external view returns (BondMarketInfo[] memory) { BondMarketInfo[] memory markets = new BondMarketInfo[](marketIds.length); for (uint256 i = 0; i < marketIds.length; i++) { markets[i] = getBondMarketInfo(marketIds[i]); } return markets; } function payoutFor(address user, uint256 _bondId) public view returns (uint256 amount) { return calculateLinearPayout(user, _bondId); } function isMature(address user, uint256 _bondId) public view returns (bool) { Bond memory bond = bondInfo[user][_bondId]; return block.timestamp >= bond.endTime; } /*================================= Internal Functions =================================*/ function _decayDebt(uint256 _id) internal { Terms storage term = terms[_id]; uint256 currentDebt = term.totalDebt; if (currentDebt == 0) return; uint256 timeSinceLastDecay = block.timestamp - term.lastDecay; if (timeSinceLastDecay == 0) return; uint256 decay = (currentDebt * timeSinceLastDecay) / (term.vestingTerm * 100); term.totalDebt = decay > currentDebt ? 0 : currentDebt - decay; term.lastDecay = uint32(block.timestamp); } function _tune(uint256 _id) internal{ if (block.timestamp > adjustments[_id].lastBlock + adjustments[_id].buffer) { Terms storage term = terms[_id]; if (adjustments[_id].add) { term.controlVariable += adjustments[_id].rate; if (term.controlVariable >= adjustments[_id].target) { term.controlVariable = adjustments[_id].target; } } else { term.controlVariable -= adjustments[_id].rate; if (term.controlVariable <= adjustments[_id].target) { term.controlVariable = adjustments[_id].target; } } adjustments[_id].lastBlock = uint32(block.timestamp); } } function _marketPrice(uint256 _id) internal view returns (uint256 price) { Terms memory term = terms[_id]; // Get decimals for both tokens for precise calculations uint8 payoutDecimals = IERC20Metadata(address(term.payoutToken)).decimals(); uint8 quoteDecimals = IERC20Metadata(address(term.quoteToken)).decimals(); // Get current control variable and debt ratio uint256 currentCV = _currentControlVariable(_id); uint256 debtRatio = _debtRatio(_id); // Scale up before division to maintain precision // Use a higher precision factor (1e36) to prevent overflow while maintaining precision uint256 scaledPrice = (currentCV * debtRatio) * (10 ** (36 - payoutDecimals - quoteDecimals)); // Perform division last to minimize precision loss // Divide by 1e18 twice because debtRatio is scaled by 1e18 and we want final precision of 1e18 price = scaledPrice / 1e18 / 1e18; // Apply minimum price check after all calculations if (price < term.minimumPrice) { price = term.minimumPrice; } // Add safety check for maximum price to prevent unreasonable values // This value should be adjusted based on your specific needs require(price <= type(uint256).max / 1e18, "Price overflow"); } function _trueBondPrice(uint256 _id) internal view returns(uint256 price){ price = _marketPrice(_id); } function _debtRatio(uint256 _id) internal view returns (uint256) { Terms memory term = terms[_id]; // Get decimals for precise calculation uint8 quoteDecimals = uint8(IERC20Metadata(address(term.quoteToken)).decimals()); uint8 payoutDecimals = uint8(IERC20Metadata(address(term.payoutToken)).decimals()); // Normalize totalDebt to 18 decimals (totalDebt is in payoutToken) uint256 totalDebt = term.totalDebt * (10**(18 - payoutDecimals)); // Normalize quote tokens raised to 18 decimals uint256 quoteBalance = term.quoteTokensRaised * (10 ** (18 - quoteDecimals)); // Prevent division by zero if (quoteBalance == 0) { return type(uint256).max; // Maximum possible debt ratio } // Calculate debt ratio with high precision // Result is scaled to 1e18 uint256 debtRatio = (totalDebt * 1e18) / quoteBalance; return debtRatio; } function _currentControlVariable(uint256 _id) internal view returns (uint256) { Terms memory term = terms[_id]; Adjust memory adjustment = adjustments[_id]; // Base control variable uint256 baseCV = term.controlVariable; // Market-adaptive decay calculation uint256 currentDebtRatio = _debtRatio(_id); uint256 timeSinceBondStart = block.timestamp > term.bondEnds ? block.timestamp - term.bondEnds : 0; // Adaptive decay rate based on debt ratio // Higher debt ratio accelerates decay uint256 adaptiveDecayRate = (currentDebtRatio * 1e18) / term.maxDebt; // Calculate decay amount uint256 decayAmount = (baseCV * adaptiveDecayRate) / (timeSinceBondStart + 1); // Apply ongoing adjustment if within adjustment window if (block.timestamp <= adjustment.lastBlock + adjustment.buffer) { if (adjustment.add) { // Increasing control variable baseCV += adjustment.rate; // Cap at target if exceeded if (baseCV > adjustment.target) { baseCV = adjustment.target; } } else { // Decreasing control variable baseCV -= adjustment.rate; // Floor at target if fallen below if (baseCV < adjustment.target) { baseCV = adjustment.target; } } } // Apply decay if (baseCV > decayAmount) { return baseCV - decayAmount; } return 0; } // Helper function for minimum deposit calculation function calculateMinimumDeposit(uint8 decimals) internal pure returns (uint256) { // Ensures meaningful deposit across different token decimal configurations if (decimals > 2) { return 10 ** (decimals - 2); // 1% of smallest token unit } return 1; // Fallback for tokens with very few decimals } // Helper function for precise owed calculation function calculateTotalOwed(uint256 amount, uint256 price) internal pure returns (uint256) { return amount * price; } function auctioneerHasMarketForQuote(address auctioneer, address quoteToken) public view returns (bool) { uint256[] memory markets = marketsForQuote[quoteToken]; for(uint256 i = 0; i < markets.length; i++) { if(marketsToAuctioneers[markets[i]] == auctioneer && isLive(markets[i])) { return true; } } return false; } modifier whenNotPaused() { require(!paused, "Contract is paused"); _; } }
[{"inputs":[{"internalType":"address","name":"_mSig","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"marketId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalOwed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondPrice","type":"uint256"}],"name":"BondDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"BondEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"by","type":"address"}],"name":"ContractPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"by","type":"address"}],"name":"ContractUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"basePoints","type":"uint256"}],"name":"FeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"newAuctioneer","type":"address"}],"name":"MarketTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"marketId","type":"uint256"},{"indexed":true,"internalType":"address","name":"auctioneer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"daoFee","type":"uint256"}],"name":"QuoteTokensWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"TokenUnwhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"TokenWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_auctioneer","type":"address"},{"indexed":false,"internalType":"address","name":"payoutToken","type":"address"}],"name":"addedAuctioneer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"payoutToken","type":"address"},{"indexed":true,"internalType":"address","name":"quoteToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"initialPrice","type":"uint256"}],"name":"newBondCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"auctioneer","type":"address"}],"name":"removeAuctioneer","type":"event"},{"inputs":[],"name":"AUCTIONEER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMERGENCY_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_WHITELISTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_payoutTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"adjustments","outputs":[{"internalType":"bool","name":"add","type":"bool"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"target","type":"uint256"},{"internalType":"uint256","name":"buffer","type":"uint256"},{"internalType":"uint256","name":"lastBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"auctioneer","type":"address"},{"internalType":"address","name":"quoteToken","type":"address"}],"name":"auctioneerHasMarketForQuote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"bondInfo","outputs":[{"internalType":"address","name":"tokenBonded","type":"address"},{"internalType":"uint256","name":"amountOwed","type":"uint256"},{"internalType":"uint256","name":"pricePaid","type":"uint256"},{"internalType":"uint256","name":"marketId","type":"uint256"},{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint32","name":"endTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"bondPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"_bondId","type":"uint256"}],"name":"calculateLinearPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"closeBond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeToDao","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketId","type":"uint256"}],"name":"getBondMarketInfo","outputs":[{"components":[{"internalType":"address","name":"quoteToken","type":"address"},{"internalType":"address","name":"payoutToken","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxPayout","type":"uint256"},{"internalType":"uint256","name":"vestingTerm","type":"uint256"},{"internalType":"uint256","name":"amountToBond","type":"uint256"},{"internalType":"address","name":"auctioneer","type":"address"},{"internalType":"bool","name":"isLive","type":"bool"},{"internalType":"uint256","name":"totalDebt","type":"uint256"}],"internalType":"struct BondDepository.BondMarketInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"marketIds","type":"uint256[]"}],"name":"getBondMarketInfoBatch","outputs":[{"components":[{"internalType":"address","name":"quoteToken","type":"address"},{"internalType":"address","name":"payoutToken","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxPayout","type":"uint256"},{"internalType":"uint256","name":"vestingTerm","type":"uint256"},{"internalType":"uint256","name":"amountToBond","type":"uint256"},{"internalType":"address","name":"auctioneer","type":"address"},{"internalType":"bool","name":"isLive","type":"bool"},{"internalType":"uint256","name":"totalDebt","type":"uint256"}],"internalType":"struct BondDepository.BondMarketInfo[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"payout","type":"address"}],"name":"getMarketsForPayout","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"quoteToken","type":"address"}],"name":"getMarketsForQuote","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getMarketsForUser","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMembers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_auctioneer","type":"address"}],"name":"grantAuctioneerRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isAuctioneer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"isLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"_bondId","type":"uint256"}],"name":"isMature","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mSig","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"marketsForPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"marketsForQuote","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"marketsToAuctioneers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"payoutToken_","type":"address"},{"internalType":"contract IERC20","name":"_quoteToken","type":"address"},{"internalType":"uint256[4]","name":"_terms","type":"uint256[4]"},{"internalType":"uint32[2]","name":"_vestingTerms","type":"uint32[2]"}],"name":"newBond","outputs":[{"internalType":"uint256","name":"marketID","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"_bondId","type":"uint256"}],"name":"payoutFor","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"amountRedeemed","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_auctioneer","type":"address"}],"name":"revokeAuctioneerRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"basePoints","type":"uint32"}],"name":"setFeetoDao","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"terms","outputs":[{"internalType":"address","name":"quoteToken","type":"address"},{"internalType":"address","name":"payoutToken","type":"address"},{"internalType":"uint256","name":"amountToBond","type":"uint256"},{"internalType":"uint256","name":"totalDebt","type":"uint256"},{"internalType":"uint256","name":"controlVariable","type":"uint256"},{"internalType":"uint256","name":"minimumPrice","type":"uint256"},{"internalType":"uint256","name":"maxDebt","type":"uint256"},{"internalType":"uint256","name":"maxPayout","type":"uint256"},{"internalType":"uint256","name":"quoteTokensRaised","type":"uint256"},{"internalType":"uint256","name":"lastDecay","type":"uint256"},{"internalType":"uint32","name":"bondEnds","type":"uint32"},{"internalType":"uint32","name":"vestingTerm","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketId","type":"uint256"},{"internalType":"address","name":"newAuctioneer","type":"address"}],"name":"transferMarket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"unwhitelistToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"whitelistToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"withdrawQuoteTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234801561000f575f5ffd5b5060405161475338038061475383398101604081905261002e91610237565b60016002556001600160a01b03811661007f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640160405180910390fd5b6001600160a01b0381166080819052610099905f90610106565b506100cc7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6360805161010660201b60201c565b506100ff7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e60805161010660201b60201c565b505061025d565b5f80610112848461013c565b90508015610133575f84815260016020526040902061013190846101e3565b505b90505b92915050565b5f828152602081815260408083206001600160a01b038516845290915281205460ff166101dc575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556101943390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610136565b505f610136565b5f610133836001600160a01b0384165f8181526001830160205260408120546101dc57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610136565b5f60208284031215610247575f5ffd5b81516001600160a01b0381168114610133575f5ffd5b6080516144d761027c5f395f81816107e0015261209c01526144d75ff3fe608060405234801561000f575f5ffd5b50600436106102cb575f3560e01c806391de4d071161017b578063c5f0d05c116100e4578063d547741f1161009e578063ddb2924711610079578063ddb29247146107a0578063ea5e0c60146107b3578063ed421a9c146107db578063f9a6466414610802575f5ffd5b8063d547741f14610771578063d627d25e14610784578063d918a16e14610797575f5ffd5b8063c5f0d05c146106fe578063c8558f1b14610711578063ca15c87314610724578063cfe9232b14610737578063d04cffeb1461074b578063d1af1fbc1461075e575f5ffd5b8063b33712c511610135578063b33712c5146105dd578063bc063e1a146105e5578063bc3b2b12146105ee578063be32ee2614610658578063c0680e201461066b578063c0aa0e8a1461067e575f5ffd5b806391de4d071461056a5780639b299d9a1461057d5780639cd85b5b14610590578063a217fddf146105a3578063a3246ad3146105aa578063b2f5de94146105ca575f5ffd5b806336568abe116102375780637b30564e116101f15780638dbdbe6d116101cc5780638dbdbe6d146104f25780639010d07c14610505578063909b2bb81461053057806391d1485414610557575f5ffd5b80637b30564e146104795780637bde82f21461048c5780638ad59c701461049f575f5ffd5b806336568abe14610404578063439766ce146104175780635c975abb1461041f5780636247f6f21461042c5780636e76fc8f1461043f578063725dafe014610466575f5ffd5b8063172c44ec11610288578063172c44ec1461038d5780631b014e85146103a057806324760807146103b3578063248a9ca3146103bc57806327507458146103de5780632f2ff15d146103f1575f5ffd5b806301ffc9a7146102cf57806306b40ea3146102f75780630868335e146103185780630fb81eb4146103385780631227b4021461034d578063154347b51461036d575b5f5ffd5b6102e26102dd366004613dd3565b610815565b60405190151581526020015b60405180910390f35b61030a610305366004613e0e565b61083f565b6040519081526020016102ee565b61032b610326366004613e38565b61086a565b6040516102ee9190613f1a565b61034b610346366004613f68565b61091a565b005b61036061035b366004613f68565b610b51565b6040516102ee9190613f7f565b61038061037b366004613f8e565b610c26565b6040516102ee9190613fa9565b61030a61039b366004613f68565b610c8f565b6103806103ae366004613f8e565b610c99565b61030a60045481565b61030a6103ca366004613f68565b5f9081526020819052604090206001015490565b6102e26103ec366004613f68565b610d00565b61034b6103ff366004613fe0565b610d84565b61034b610412366004613fe0565b610dae565b61034b610de6565b6003546102e29060ff1681565b61034b61043a366004613f8e565b610e4a565b61030a7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6381565b61034b610474366004613fe0565b611030565b6102e2610487366004613e0e565b61114f565b61030a61049a366004613fe0565b6111f3565b6104b26104ad366004613e0e565b611530565b604080516001600160a01b039097168752602087019590955293850192909252606084015263ffffffff90811660808401521660a082015260c0016102ee565b61034b61050036600461400e565b611595565b610518610513366004614044565b611bc1565b6040516001600160a01b0390911681526020016102ee565b61030a7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e81565b6102e2610565366004613fe0565b611bdf565b6102e2610578366004614064565b611c07565b61034b61058b366004613f8e565b611d03565b6102e261059e366004613f8e565b611e35565b61030a5f81565b6105bd6105b8366004613f68565b611e4d565b6040516102ee9190614090565b61034b6105d8366004613f68565b611e66565b61034b612115565b61030a6103e881565b61062e6105fc366004613f68565b60076020525f90815260409020805460018201546002830154600384015460049094015460ff90931693919290919085565b6040805195151586526020860194909452928401919091526060830152608082015260a0016102ee565b61034b610666366004613f8e565b612176565b61030a610679366004613e0e565b6121f3565b61069161068c366004613f68565b61220c565b604080516001600160a01b039d8e1681529c909b1660208d0152998b019890985260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015263ffffffff90811661014084015216610160820152610180016102ee565b61034b61070c3660046140e8565b612292565b61030a61071f366004613e0e565b612333565b61030a610732366004613f68565b612528565b61030a5f5160206144825f395f51905f5281565b610380610759366004613f8e565b61253e565b61051861076c366004613f68565b612624565b61034b61077f366004613fe0565b61264c565b61034b610792366004613f8e565b612670565b61030a600e5481565b61030a6107ae36600461419d565b612749565b6105186107c1366004613f68565b600a6020525f90815260409020546001600160a01b031681565b6105187f000000000000000000000000000000000000000000000000000000000000000081565b61030a610810366004613e0e565b612f72565b5f6001600160e01b03198216635a05180f60e01b1480610839575061083982612f7d565b92915050565b600c602052815f5260405f208181548110610858575f80fd5b905f5260205f20015f91509150505481565b60605f8267ffffffffffffffff81111561088657610886614101565b6040519080825280602002602001820160405280156108bf57816020015b6108ac613d73565b8152602001906001900390816108a45790505b5090505f5b83811015610912576108ed8585838181106108e1576108e1614230565b90506020020135610b51565b8282815181106108ff576108ff614230565b60209081029190910101526001016108c4565b509392505050565b5f5160206144825f395f51905f5261093181612fb1565b60035460ff161561095d5760405162461bcd60e51b815260040161095490614244565b60405180910390fd5b5f828152600a60205260409020546001600160a01b031633146109b25760405162461bcd60e51b815260206004820152600d60248201526c139bdd081e5bdd5c88109bdb99609a1b6044820152606401610954565b42600683815481106109c6576109c6614230565b905f5260205f2090600b0201600a015f6101000a81548163ffffffff021916908363ffffffff1602179055505f60068381548110610a0657610a06614230565b905f5260205f2090600b02016003015460068481548110610a2957610a29614230565b905f5260205f2090600b020160020154610a439190614284565b90505f60068481548110610a5957610a59614230565b5f9182526020918290206001600b9092020101546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015610aac573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad09190614297565b9050610b2133610ae183600a61439a565b610aeb90856143a8565b60068781548110610afe57610afe614230565b5f91825260209091206001600b9092020101546001600160a01b03169190612fbe565b60405184907fc22a1d700260b389bc0ce34ad5cd517ce48733d9f3bf0f188725711b0f53940c905f90a250505050565b610b59613d73565b5f60068381548110610b6d57610b6d614230565b5f9182526020918290206040805161012081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352919250908101610bb58561301d565b81526007830154602080830191909152600a80850154600160201b900463ffffffff16604080850191909152600286015460608501525f8881529190925220546001600160a01b0316608082015260a001610c0f85610d00565b151581526020018260030154815250915050919050565b6001600160a01b0381165f908152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610c8357602002820191905f5260205f20905b815481526020019060010190808311610c6f575b50505050509050919050565b5f6108398261301d565b6001600160a01b0381165f908152600c6020908152604091829020805483518184028101840190945280845260609392830182828015610c8357602002820191905f5260205f2090815481526020019060010190808311610c6f5750505050509050919050565b5f60068281548110610d1457610d14614230565b5f9182526020909120600a600b90920201015463ffffffff164211801590610839575060068281548110610d4a57610d4a614230565b905f5260205f2090600b02016006015460068381548110610d6d57610d6d614230565b905f5260205f2090600b0201600301541092915050565b5f82815260208190526040902060010154610d9e81612fb1565b610da88383613027565b50505050565b6001600160a01b0381163314610dd75760405163334bd91960e11b815260040160405180910390fd5b610de18282613052565b505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a63610e1081612fb1565b6003805460ff1916600117905560405133907f81990fd9a5c552b8e3677917d8a03c07678f0d2cb68f88b634aca2022e9bd19f905f90a250565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e610e7481612fb1565b6001600160a01b038216610ec25760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610954565b6001600160a01b0382165f9081526009602052604090205460ff1615610f2a5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e20616c72656164792077686974656c6973746564000000000000006044820152606401610954565b816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f84575060408051601f3d908101601f19168201909252610f8191810190614297565b60015b610fc65760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21022a9219918103a37b5b2b760691b6044820152606401610954565b506001600160a01b0382165f818152600960205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555b5050565b5f828152600a60205260409020546001600160a01b031633146110885760405162461bcd60e51b815260206004820152601060248201526f2737ba1036b0b935b2ba1037bbb732b960811b6044820152606401610954565b61109f5f5160206144825f395f51905f5282611bdf565b6110dc5760405162461bcd60e51b815260206004820152600e60248201526d2737ba1030bab1ba34b7b732b2b960911b6044820152606401610954565b5f828152600a602090815260409182902080546001600160a01b0319166001600160a01b03851690811790915582518581523392810192909252918101919091527f2ce31ebb7c731534ab7267f7655a662e4a2bce5ffbf2c5ac9c197c0f5c554e79906060015b60405180910390a15050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061117b5761117b614230565b5f9182526020918290206040805160c081018252600590930290910180546001600160a01b031683526001810154938301939093526002830154908201526003820154606082015260049091015463ffffffff8082166080840152600160201b9091041660a090910181905242101591505092915050565b5f6111fc61307d565b6001600160a01b0382165f908152600d6020526040812054600680549192918291908790811061122e5761122e614230565b5f9182526020918290206001600b9092020101546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015611281573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a59190614297565b9050825b801561152057806112b9816143bf565b6001600160a01b0388165f908152600d60205260408120805492945090925090839081106112e9576112e9614230565b905f5260205f20906005020190508781600301540361151a575f61130d8884612333565b905080156115185780826001015f8282546113289190614284565b90915550611338905081866143d4565b94506113668861134986600a61439a565b61135390846143a8565b60068c81548110610afe57610afe614230565b81600101545f03611518576001600160a01b0388165f908152600d602052604090205461139590600190614284565b83146114a6576001600160a01b0388165f908152600d6020526040902080546113c090600190614284565b815481106113d0576113d0614230565b905f5260205f209060050201600d5f8a6001600160a01b03166001600160a01b031681526020019081526020015f20848154811061141057611410614230565b5f9182526020909120825460059092020180546001600160a01b0319166001600160a01b039092169190911781556001808301549082015560028083015490820155600380830154908201556004918201805492909101805463ffffffff19811663ffffffff94851690811783559254600160201b9081900490941690930267ffffffffffffffff199093169091179190911790555b6001600160a01b0388165f908152600d602052604090208054806114cc576114cc6143e7565b5f8281526020812060055f199093019283020180546001600160a01b031916815560018101829055600281018290556003810191909155600401805467ffffffffffffffff1916905590555b505b506112a9565b5090925050506108396001600255565b600d602052815f5260405f208181548110611549575f80fd5b5f918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919063ffffffff80821691600160201b90041686565b61159d61307d565b6001600160a01b0381166115ea5760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642075736572206164647265737360601b6044820152606401610954565b600654831061162f5760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081b585c9ad95d081251607a1b6044820152606401610954565b5f6006848154811061164357611643614230565b5f9182526020909120600b90910201600a81015490915063ffffffff164211156116a05760405162461bcd60e51b815260206004820152600e60248201526d109bdb99081a185cc8195b99195960921b6044820152606401610954565b80600601548160030154106116f75760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d20626f6e6420636170616369747920726561636865640000006044820152606401610954565b80546040805163313ce56760e01b815290515f926001600160a01b03169163313ce5679160048083019260209291908290030181865afa15801561173d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117619190614297565b90505f61176d826130d4565b9050808510156117bf5760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742062656c6f77206d696e696d756d207468726573686f6c64006044820152606401610954565b82600701548511156118135760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742065786365656473206d6178696d756d20616c6c6f776564006044820152606401610954565b61181c866130ff565b61182586613241565b82546040516370a0823160e01b81523060048201526001600160a01b03909116905f9082906370a0823190602401602060405180830381865afa15801561186e573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189291906143fb565b90506118a96001600160a01b03831633308a613302565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156118ed573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191191906143fb565b90508761191e8383614284565b1461196b5760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374207472616e7366657220616d6f756e74000000000000006044820152606401610954565b8760068a8154811061197f5761197f614230565b905f5260205f2090600b02016008015f82825461199c91906143d4565b909155505f90506119ac8a61333b565b90505f6119b98a8361359f565b600189015460068a015460038b01549293506001600160a01b03909116916119e29084906143d4565b1115611a305760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d6178696d756d20626f6e642064656274000000000000006044820152606401610954565b600d5f8b6001600160a01b03166001600160a01b031681526020019081526020015f206040518060c00160405280836001600160a01b031681526020018481526020018581526020018e81526020014263ffffffff168152602001428c600a0160049054906101000a900463ffffffff1663ffffffff16611ab191906143d4565b63ffffffff9081169091528254600181810185555f9485526020808620855160059094020180546001600160a01b039094166001600160a01b03199094169390931783558401519082015560408301516002820155606083015160038083019190915560808401516004909201805460a0909501518416600160201b0267ffffffffffffffff1990951692909316919091179290921790558a018054849290611b5b9084906143d4565b9091555050604080518c8152602081018490529081018490528c906001600160a01b038c16907f105066e10d7040f371761942e4dcb5b97c51daf3acfe0295b7d4c42d32af86f29060600160405180910390a3505050505050505050610de16001600255565b5f828152600160205260408120611bd890836135aa565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6001600160a01b0381165f908152600b6020908152604080832080548251818502810185019093528083528493830182828015611c6157602002820191905f5260205f20905b815481526020019060010190808311611c4d575b509394505f93505050505b8151811015611cf957846001600160a01b0316600a5f848481518110611c9457611c94614230565b60209081029190910181015182528101919091526040015f20546001600160a01b0316148015611ce15750611ce1828281518110611cd457611cd4614230565b6020026020010151610d00565b15611cf157600192505050610839565b600101611c6c565b505f949350505050565b5f611d0d81612fb1565b6001600160a01b038216611d635760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061756374696f6e65657220616464726573730000000000006044820152606401610954565b611d7a5f5160206144825f395f51905f5283611bdf565b15611dbf5760405162461bcd60e51b815260206004820152601560248201527420b63932b0b23c9030b71030bab1ba34b7b732b2b960591b6044820152606401610954565b611dd65f5160206144825f395f51905f5283613027565b506001600160a01b0382165f81815260086020526040808220805460ff19166001179055513392915f5160206144825f395f51905f52917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b5f6108395f5160206144825f395f51905f5283611bdf565b5f818152600160205260409020606090610839906135b5565b5f5160206144825f395f51905f52611e7d81612fb1565b60035460ff1615611ea05760405162461bcd60e51b815260040161095490614244565b5f828152600a60205260409020546001600160a01b03163314611f055760405162461bcd60e51b815260206004820152601760248201527f4e6f74206d61726b657427732061756374696f6e6565720000000000000000006044820152606401610954565b60068281548110611f1857611f18614230565b5f9182526020909120600a600b90920201015463ffffffff164211611f785760405162461bcd60e51b8152602060048201526016602482015275109bdb99081b9bdd081e595d0818dbdb98db1d59195960521b6044820152606401610954565b5f60068381548110611f8c57611f8c614230565b5f91825260208220600b9091020154600680546001600160a01b0390921693509085908110611fbd57611fbd614230565b905f5260205f2090600b02016008015490505f826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120309190614297565b600e549091505f901561206757612710600e548461204e91906143a8565b6120589190614412565b90506120648184614284565b92505b6120913361207684600a61439a565b61208090866143a8565b6001600160a01b0387169190612fbe565b80156120d0576120d07f00000000000000000000000000000000000000000000000000000000000000006120c684600a61439a565b61208090846143a8565b6040805184815260208101839052339188917f6cdd4eeaadbfd702bff31856ddd6a8ac93f3e7683aed304c11ac132081146a1f910160405180910390a3505050505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6361213f81612fb1565b6003805460ff1916905560405133907f5b65b0c1363b3003db9bcc5e1fd8805a6d6bf5bf6dc9d3431ee4494cd7d11766905f90a250565b5f61218081612fb1565b6121975f5160206144825f395f51905f5283613052565b506001600160a01b0382165f81815260086020526040808220805460ff19169055513392915f5160206144825f395f51905f52917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600b602052815f5260405f208181548110610858575f80fd5b6006818154811061221b575f80fd5b5f9182526020909120600b9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a909a01546001600160a01b03998a169b5097909816989597949693959294919390929063ffffffff80821691600160201b9004168c565b5f61229c81612fb1565b6103e88263ffffffff1611156122e35760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610954565b600e805463ffffffff84169182905560408051828152602081019390935290917f528d9479e9f9889a87a3c30c7f7ba537e5e59c4c85a37733b16e57c62df61302910160405180910390a1505050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061235f5761235f614230565b5f91825260208083206040805160c081018252600590940290910180546001600160a01b0316845260018101549284019290925260028201549083015260038101546060830181905260049091015463ffffffff8082166080850152600160201b9091041660a0830152600680549294509181106123df576123df614230565b5f9182526020918290206040805161018081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460608201526004820154608080830191909152600583015460a0830152600683015460c0830152600783015460e083015260088301546101008301526009830154610120830152600a9092015463ffffffff808216610140840152600160201b909104811661016083015291840151909250164210156124aa575f92505050610839565b5f81610160015163ffffffff1690505f8360a0015163ffffffff1642116124e55760808401516124e09063ffffffff1642614284565b6124e7565b815b90505f8285602001516124fa9190614412565b90505f61250783836143a8565b9050856020015181111561251c575060208501515b98975050505050505050565b5f818152600160205260408120610839906135c1565b6001600160a01b0381165f908152600d60205260408120546060919067ffffffffffffffff81111561257257612572614101565b60405190808252806020026020018201604052801561259b578160200160208202803683370190505b5090505f5b6001600160a01b0384165f908152600d602052604090205481101561261d576001600160a01b0384165f908152600d602052604090208054829081106125e8576125e8614230565b905f5260205f2090600502016003015482828151811061260a5761260a614230565b60209081029190910101526001016125a0565b5092915050565b60058181548110612633575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f8281526020819052604090206001015461266681612fb1565b610da88383613052565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e61269a81612fb1565b6001600160a01b0382165f9081526009602052604090205460ff166126f95760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6001600160a01b0382165f81815260096020908152604091829020805460ff1916905590519182527f108cc7e243d7eb6c2052789466e0961bb24cd62395e2c99e704001b48107a0619101611143565b5f5f5160206144825f395f51905f5261276181612fb1565b60035460ff16156127845760405162461bcd60e51b815260040161095490614244565b6001600160a01b0386166127d15760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b2103830bcb7baba103a37b5b2b760611b6044820152606401610954565b6001600160a01b03851661281d5760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21038bab7ba32903a37b5b2b760691b6044820152606401610954565b856001600160a01b0316856001600160a01b03160361287e5760405162461bcd60e51b815260206004820152601860248201527f546f6b656e73206d75737420626520646966666572656e7400000000000000006044820152606401610954565b6001600160a01b0386165f9081526009602052604090205460ff166128dd5760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6128e73386611c07565b1561293f5760405162461bcd60e51b815260206004820152602260248201527f416c726561647920686173206d61726b657420666f722071756f746520746f6b60448201526132b760f11b6064820152608401610954565b82514263ffffffff9091161161298c5760405162461bcd60e51b8152602060048201526012602482015271426f6e6420656e6420746f6f206561726c7960701b6044820152606401610954565b8251602084015163ffffffff9182169116116129ea5760405162461bcd60e51b815260206004820152601860248201527f56657374696e6720656e6473206265666f726520626f6e6400000000000000006044820152606401610954565b8351612a2d5760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610954565b6020840151612a7e5760405162461bcd60e51b815260206004820152601c60248201527f436f6e74726f6c207661726961626c65206d757374206265203e2030000000006044820152606401610954565b6040840151612acf5760405162461bcd60e51b815260206004820152601960248201527f4d696e696d756d207072696365206d757374206265203e2030000000000000006044820152606401610954565b6060840151612b175760405162461bcd60e51b815260206004820152601460248201527304d61782064656274206d757374206265203e20360641b6044820152606401610954565b82515f90612b2c90429063ffffffff16614284565b90505f8111612b765760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081d995cdd1a5b99c81c195c9a5bd960521b6044820152606401610954565b5f6127108660036020020151612b8e906107086143a8565b612b989190614412565b905081612bad82670de0b6b3a76400006143a8565b612bb79190614412565b90505f886001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bf6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c1a9190614297565b9050612c4a3330612c2c84600a61439a565b8a51612c3891906143a8565b6001600160a01b038d16929190613302565b60408051610180810182526001600160a01b03808b1682528b1660208201526006918101612c7984600a61439a565b8a51612c8591906143a8565b81525f6020808301919091528a01516040808301919091528a01516060820152608001612cb384600a61439a565b60608b0151612cc291906143a8565b81526020018481526020015f8152602001428152602001885f60028110612ceb57612ceb614230565b602002015163ffffffff16815260200188600160028110612d0e57612d0e614230565b602002015163ffffffff16815250908060018154018082558091505060019003905f5260205f2090600b02015f909190919091505f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155610120820151816009015561014082015181600a015f6101000a81548163ffffffff021916908363ffffffff16021790555061016082015181600a0160046101000a81548163ffffffff021916908363ffffffff16021790555050505f6004549050600c5f8b6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600b5f8a6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f909190919091505533600a5f8381526020019081526020015f205f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060045f8154612f1290614431565b909155506001600160a01b03808a16908b16827fe2cf7d92fe44fee405e71ceedac936dbc3b0d18e7d9582e31f2f2a2a3db75c978b60016020020151604051612f5d91815260200190565b60405180910390a49998505050505050505050565b5f611bd88383612333565b5f6001600160e01b03198216637965db0b60e01b148061083957506301ffc9a760e01b6001600160e01b0319831614610839565b612fbb81336135ca565b50565b6040516001600160a01b03838116602483015260448201839052610de191859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613603565b5f6108398261333b565b5f5f613033848461366f565b90508015611bd8575f84815260016020526040902061091290846136fe565b5f5f61305e8484613712565b90508015611bd8575f848152600160205260409020610912908461377b565b60028054036130ce5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610954565b60028055565b5f60028260ff1611156130f7576130ec600283614449565b61083990600a61439a565b506001919050565b5f818152600760205260409020600381015460049091015461312191906143d4565b421115612fbb575f6006828154811061313c5761313c614230565b5f91825260208083208584526007909152604090922054600b909102909101915060ff16156131c7575f828152600760205260408120600101546004830180549192909161318b9084906143d4565b90915550505f828152600760205260409020600201546004820154106131c2575f8281526007602052604090206002015460048201555b613224565b5f82815260076020526040812060010154600483018054919290916131ed908490614284565b90915550505f82815260076020526040902060020154600482015411613224575f8281526007602052604090206002015460048201555b505f9081526007602052604090204263ffffffff16600490910155565b5f6006828154811061325557613255614230565b905f5260205f2090600b020190505f81600301549050805f0361327757505050565b5f8260090154426132889190614284565b9050805f036132975750505050565b600a8301545f906132b690600160201b900463ffffffff166064614462565b63ffffffff166132c683856143a8565b6132d09190614412565b90508281116132e8576132e38184614284565b6132ea565b5f5b600385015550505063ffffffff421660099091015550565b6040516001600160a01b038481166024830152838116604483015260648201839052610da89186918216906323b872dd90608401612feb565b5f5f6006838154811061335057613350614230565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b039081168552600182015416848401819052600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa158015613432573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134569190614297565b90505f825f01516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613498573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134bc9190614297565b90505f6134c88661378f565b90505f6134d4876139c6565b90505f836134e3866024614449565b6134ed9190614449565b6134f890600a61439a565b61350283856143a8565b61350c91906143a8565b9050670de0b6b3a76400006135218183614412565b61352b9190614412565b96508560a00151871015613541578560a0015196505b613554670de0b6b3a76400005f19614412565b8711156135945760405162461bcd60e51b815260206004820152600e60248201526d5072696365206f766572666c6f7760901b6044820152606401610954565b505050505050919050565b5f611bd882846143a8565b5f611bd88383613bce565b60605f611bd883613bf4565b5f610839825490565b6135d48282611bdf565b61102c5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610954565b5f5f60205f8451602086015f885af180613622576040513d5f823e3d81fd5b50505f513d91508115613639578060011415613646565b6001600160a01b0384163b155b15610da857604051635274afe760e01b81526001600160a01b0385166004820152602401610954565b5f61367a8383611bdf565b6136f7575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556136af3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610839565b505f610839565b5f611bd8836001600160a01b038416613c4b565b5f61371d8383611bdf565b156136f7575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610839565b5f611bd8836001600160a01b038416613c90565b5f5f600683815481106137a4576137a4614230565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116855260018083015490911685850152600280830154868501526003808401546060808901919091526004808601546080808b01918252600588015460a0808d0191909152600689015460c08d01526007808a015460e08e015260088a01546101008e015260098a01546101208e0152600a9099015463ffffffff8082166101408f0152600160201b909104166101608d01528f8d52978a52888c2089519889018a52805460ff16151589529687015499880199909952938501549686019690965290830154908401529201549281019290925251919350916138ae866139c6565b90505f84610140015163ffffffff1642116138c9575f6138df565b6101408501516138df9063ffffffff1642614284565b90505f8560c0015183670de0b6b3a76400006138fb91906143a8565b6139059190614412565b90505f6139138360016143d4565b61391d83876143a8565b6139279190614412565b90508560600151866080015161393d91906143d4565b42116139995785511561397457602086015161395990866143d4565b9450856040015185111561396f57856040015194505b613999565b60208601516139839086614284565b9450856040015185101561399957856040015194505b808511156139b8576139ab8186614284565b9998505050505050505050565b505f98975050505050505050565b5f5f600683815481106139db576139db614230565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116808652600183015490911685850152600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa158015613abe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ae29190614297565b90505f82602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b25573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b499190614297565b90505f613b57826012614449565b613b6290600a61439a565b8460600151613b7191906143a8565b90505f613b7f846012614449565b613b8a90600a61439a565b856101000151613b9a91906143a8565b9050805f03613bb057505f199695505050505050565b5f81613bc484670de0b6b3a76400006143a8565b61251c9190614412565b5f825f018281548110613be357613be3614230565b905f5260205f200154905092915050565b6060815f01805480602002602001604051908101604052809291908181526020018280548015610c8357602002820191905f5260205f2090815481526020019060010190808311610c6f5750505050509050919050565b5f8181526001830160205260408120546136f757508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610839565b5f8181526001830160205260408120548015613d6a575f613cb2600183614284565b85549091505f90613cc590600190614284565b9050808214613d24575f865f018281548110613ce357613ce3614230565b905f5260205f200154905080875f018481548110613d0357613d03614230565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613d3557613d356143e7565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610839565b5f915050610839565b6040518061012001604052805f6001600160a01b031681526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f6001600160a01b031681526020015f151581526020015f81525090565b5f60208284031215613de3575f5ffd5b81356001600160e01b031981168114611bd8575f5ffd5b6001600160a01b0381168114612fbb575f5ffd5b5f5f60408385031215613e1f575f5ffd5b8235613e2a81613dfa565b946020939093013593505050565b5f5f60208385031215613e49575f5ffd5b823567ffffffffffffffff811115613e5f575f5ffd5b8301601f81018513613e6f575f5ffd5b803567ffffffffffffffff811115613e85575f5ffd5b8560208260051b8401011115613e99575f5ffd5b6020919091019590945092505050565b80516001600160a01b03908116835260208083015182169084015260408083015190840152606080830151908401526080808301519084015260a0828101519084015260c080830151918216908401525060e0810151613f0d60e084018215159052565b5061010090810151910152565b602080825282518282018190525f918401906040840190835b81811015613f5d57613f46838551613ea9565b602093909301926101209290920191600101613f33565b509095945050505050565b5f60208284031215613f78575f5ffd5b5035919050565b61012081016108398284613ea9565b5f60208284031215613f9e575f5ffd5b8135611bd881613dfa565b602080825282518282018190525f918401906040840190835b81811015613f5d578351835260209384019390920191600101613fc2565b5f5f60408385031215613ff1575f5ffd5b82359150602083013561400381613dfa565b809150509250929050565b5f5f5f60608486031215614020575f5ffd5b8335925060208401359150604084013561403981613dfa565b809150509250925092565b5f5f60408385031215614055575f5ffd5b50508035926020909101359150565b5f5f60408385031215614075575f5ffd5b823561408081613dfa565b9150602083013561400381613dfa565b602080825282518282018190525f918401906040840190835b81811015613f5d5783516001600160a01b03168352602093840193909201916001016140a9565b803563ffffffff811681146140e3575f5ffd5b919050565b5f602082840312156140f8575f5ffd5b611bd8826140d0565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561414a57634e487b7160e01b5f52604160045260245ffd5b604052919050565b5f82601f830112614161575f5ffd5b61416b6040614115565b80604084018581111561417c575f5ffd5b845b81811015613f5d5761418f816140d0565b84526020938401930161417e565b5f5f5f5f61010085870312156141b1575f5ffd5b84356141bc81613dfa565b935060208501356141cc81613dfa565b9250605f850186136141dc575f5ffd5b6141e66080614115565b8060c08701888111156141f7575f5ffd5b604088015b818110156142145780358452602093840193016141fc565b508194506142228982614152565b935050505092959194509250565b634e487b7160e01b5f52603260045260245ffd5b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561083957610839614270565b5f602082840312156142a7575f5ffd5b815160ff81168114611bd8575f5ffd5b6001815b60018411156142f2578085048111156142d6576142d6614270565b60018416156142e457908102905b60019390931c9280026142bb565b935093915050565b5f8261430857506001610839565b8161431457505f610839565b816001811461432a576002811461433457614350565b6001915050610839565b60ff84111561434557614345614270565b50506001821b610839565b5060208310610133831016604e8410600b8410161715614373575081810a610839565b61437f5f1984846142b7565b805f190482111561439257614392614270565b029392505050565b5f611bd860ff8416836142fa565b808202811582820484141761083957610839614270565b5f816143cd576143cd614270565b505f190190565b8082018082111561083957610839614270565b634e487b7160e01b5f52603160045260245ffd5b5f6020828403121561440b575f5ffd5b5051919050565b5f8261442c57634e487b7160e01b5f52601260045260245ffd5b500490565b5f6001820161444257614442614270565b5060010190565b60ff828116828216039081111561083957610839614270565b63ffffffff818116838216029081169081811461261d5761261d61427056fec1df76f4e50bdb95676f782d4b88b23904c5346d8bc7c986ae26f7e10e601891a2646970667358221220e3b1905d005b5a589216095ab27a8d06d6809c32d253873c1bf330102170e9a464736f6c634300081b00330000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d
Deployed Bytecode
0x608060405234801561000f575f5ffd5b50600436106102cb575f3560e01c806391de4d071161017b578063c5f0d05c116100e4578063d547741f1161009e578063ddb2924711610079578063ddb29247146107a0578063ea5e0c60146107b3578063ed421a9c146107db578063f9a6466414610802575f5ffd5b8063d547741f14610771578063d627d25e14610784578063d918a16e14610797575f5ffd5b8063c5f0d05c146106fe578063c8558f1b14610711578063ca15c87314610724578063cfe9232b14610737578063d04cffeb1461074b578063d1af1fbc1461075e575f5ffd5b8063b33712c511610135578063b33712c5146105dd578063bc063e1a146105e5578063bc3b2b12146105ee578063be32ee2614610658578063c0680e201461066b578063c0aa0e8a1461067e575f5ffd5b806391de4d071461056a5780639b299d9a1461057d5780639cd85b5b14610590578063a217fddf146105a3578063a3246ad3146105aa578063b2f5de94146105ca575f5ffd5b806336568abe116102375780637b30564e116101f15780638dbdbe6d116101cc5780638dbdbe6d146104f25780639010d07c14610505578063909b2bb81461053057806391d1485414610557575f5ffd5b80637b30564e146104795780637bde82f21461048c5780638ad59c701461049f575f5ffd5b806336568abe14610404578063439766ce146104175780635c975abb1461041f5780636247f6f21461042c5780636e76fc8f1461043f578063725dafe014610466575f5ffd5b8063172c44ec11610288578063172c44ec1461038d5780631b014e85146103a057806324760807146103b3578063248a9ca3146103bc57806327507458146103de5780632f2ff15d146103f1575f5ffd5b806301ffc9a7146102cf57806306b40ea3146102f75780630868335e146103185780630fb81eb4146103385780631227b4021461034d578063154347b51461036d575b5f5ffd5b6102e26102dd366004613dd3565b610815565b60405190151581526020015b60405180910390f35b61030a610305366004613e0e565b61083f565b6040519081526020016102ee565b61032b610326366004613e38565b61086a565b6040516102ee9190613f1a565b61034b610346366004613f68565b61091a565b005b61036061035b366004613f68565b610b51565b6040516102ee9190613f7f565b61038061037b366004613f8e565b610c26565b6040516102ee9190613fa9565b61030a61039b366004613f68565b610c8f565b6103806103ae366004613f8e565b610c99565b61030a60045481565b61030a6103ca366004613f68565b5f9081526020819052604090206001015490565b6102e26103ec366004613f68565b610d00565b61034b6103ff366004613fe0565b610d84565b61034b610412366004613fe0565b610dae565b61034b610de6565b6003546102e29060ff1681565b61034b61043a366004613f8e565b610e4a565b61030a7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6381565b61034b610474366004613fe0565b611030565b6102e2610487366004613e0e565b61114f565b61030a61049a366004613fe0565b6111f3565b6104b26104ad366004613e0e565b611530565b604080516001600160a01b039097168752602087019590955293850192909252606084015263ffffffff90811660808401521660a082015260c0016102ee565b61034b61050036600461400e565b611595565b610518610513366004614044565b611bc1565b6040516001600160a01b0390911681526020016102ee565b61030a7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e81565b6102e2610565366004613fe0565b611bdf565b6102e2610578366004614064565b611c07565b61034b61058b366004613f8e565b611d03565b6102e261059e366004613f8e565b611e35565b61030a5f81565b6105bd6105b8366004613f68565b611e4d565b6040516102ee9190614090565b61034b6105d8366004613f68565b611e66565b61034b612115565b61030a6103e881565b61062e6105fc366004613f68565b60076020525f90815260409020805460018201546002830154600384015460049094015460ff90931693919290919085565b6040805195151586526020860194909452928401919091526060830152608082015260a0016102ee565b61034b610666366004613f8e565b612176565b61030a610679366004613e0e565b6121f3565b61069161068c366004613f68565b61220c565b604080516001600160a01b039d8e1681529c909b1660208d0152998b019890985260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015263ffffffff90811661014084015216610160820152610180016102ee565b61034b61070c3660046140e8565b612292565b61030a61071f366004613e0e565b612333565b61030a610732366004613f68565b612528565b61030a5f5160206144825f395f51905f5281565b610380610759366004613f8e565b61253e565b61051861076c366004613f68565b612624565b61034b61077f366004613fe0565b61264c565b61034b610792366004613f8e565b612670565b61030a600e5481565b61030a6107ae36600461419d565b612749565b6105186107c1366004613f68565b600a6020525f90815260409020546001600160a01b031681565b6105187f0000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d81565b61030a610810366004613e0e565b612f72565b5f6001600160e01b03198216635a05180f60e01b1480610839575061083982612f7d565b92915050565b600c602052815f5260405f208181548110610858575f80fd5b905f5260205f20015f91509150505481565b60605f8267ffffffffffffffff81111561088657610886614101565b6040519080825280602002602001820160405280156108bf57816020015b6108ac613d73565b8152602001906001900390816108a45790505b5090505f5b83811015610912576108ed8585838181106108e1576108e1614230565b90506020020135610b51565b8282815181106108ff576108ff614230565b60209081029190910101526001016108c4565b509392505050565b5f5160206144825f395f51905f5261093181612fb1565b60035460ff161561095d5760405162461bcd60e51b815260040161095490614244565b60405180910390fd5b5f828152600a60205260409020546001600160a01b031633146109b25760405162461bcd60e51b815260206004820152600d60248201526c139bdd081e5bdd5c88109bdb99609a1b6044820152606401610954565b42600683815481106109c6576109c6614230565b905f5260205f2090600b0201600a015f6101000a81548163ffffffff021916908363ffffffff1602179055505f60068381548110610a0657610a06614230565b905f5260205f2090600b02016003015460068481548110610a2957610a29614230565b905f5260205f2090600b020160020154610a439190614284565b90505f60068481548110610a5957610a59614230565b5f9182526020918290206001600b9092020101546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015610aac573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad09190614297565b9050610b2133610ae183600a61439a565b610aeb90856143a8565b60068781548110610afe57610afe614230565b5f91825260209091206001600b9092020101546001600160a01b03169190612fbe565b60405184907fc22a1d700260b389bc0ce34ad5cd517ce48733d9f3bf0f188725711b0f53940c905f90a250505050565b610b59613d73565b5f60068381548110610b6d57610b6d614230565b5f9182526020918290206040805161012081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352919250908101610bb58561301d565b81526007830154602080830191909152600a80850154600160201b900463ffffffff16604080850191909152600286015460608501525f8881529190925220546001600160a01b0316608082015260a001610c0f85610d00565b151581526020018260030154815250915050919050565b6001600160a01b0381165f908152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610c8357602002820191905f5260205f20905b815481526020019060010190808311610c6f575b50505050509050919050565b5f6108398261301d565b6001600160a01b0381165f908152600c6020908152604091829020805483518184028101840190945280845260609392830182828015610c8357602002820191905f5260205f2090815481526020019060010190808311610c6f5750505050509050919050565b5f60068281548110610d1457610d14614230565b5f9182526020909120600a600b90920201015463ffffffff164211801590610839575060068281548110610d4a57610d4a614230565b905f5260205f2090600b02016006015460068381548110610d6d57610d6d614230565b905f5260205f2090600b0201600301541092915050565b5f82815260208190526040902060010154610d9e81612fb1565b610da88383613027565b50505050565b6001600160a01b0381163314610dd75760405163334bd91960e11b815260040160405180910390fd5b610de18282613052565b505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a63610e1081612fb1565b6003805460ff1916600117905560405133907f81990fd9a5c552b8e3677917d8a03c07678f0d2cb68f88b634aca2022e9bd19f905f90a250565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e610e7481612fb1565b6001600160a01b038216610ec25760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610954565b6001600160a01b0382165f9081526009602052604090205460ff1615610f2a5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e20616c72656164792077686974656c6973746564000000000000006044820152606401610954565b816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f84575060408051601f3d908101601f19168201909252610f8191810190614297565b60015b610fc65760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21022a9219918103a37b5b2b760691b6044820152606401610954565b506001600160a01b0382165f818152600960205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555b5050565b5f828152600a60205260409020546001600160a01b031633146110885760405162461bcd60e51b815260206004820152601060248201526f2737ba1036b0b935b2ba1037bbb732b960811b6044820152606401610954565b61109f5f5160206144825f395f51905f5282611bdf565b6110dc5760405162461bcd60e51b815260206004820152600e60248201526d2737ba1030bab1ba34b7b732b2b960911b6044820152606401610954565b5f828152600a602090815260409182902080546001600160a01b0319166001600160a01b03851690811790915582518581523392810192909252918101919091527f2ce31ebb7c731534ab7267f7655a662e4a2bce5ffbf2c5ac9c197c0f5c554e79906060015b60405180910390a15050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061117b5761117b614230565b5f9182526020918290206040805160c081018252600590930290910180546001600160a01b031683526001810154938301939093526002830154908201526003820154606082015260049091015463ffffffff8082166080840152600160201b9091041660a090910181905242101591505092915050565b5f6111fc61307d565b6001600160a01b0382165f908152600d6020526040812054600680549192918291908790811061122e5761122e614230565b5f9182526020918290206001600b9092020101546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015611281573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a59190614297565b9050825b801561152057806112b9816143bf565b6001600160a01b0388165f908152600d60205260408120805492945090925090839081106112e9576112e9614230565b905f5260205f20906005020190508781600301540361151a575f61130d8884612333565b905080156115185780826001015f8282546113289190614284565b90915550611338905081866143d4565b94506113668861134986600a61439a565b61135390846143a8565b60068c81548110610afe57610afe614230565b81600101545f03611518576001600160a01b0388165f908152600d602052604090205461139590600190614284565b83146114a6576001600160a01b0388165f908152600d6020526040902080546113c090600190614284565b815481106113d0576113d0614230565b905f5260205f209060050201600d5f8a6001600160a01b03166001600160a01b031681526020019081526020015f20848154811061141057611410614230565b5f9182526020909120825460059092020180546001600160a01b0319166001600160a01b039092169190911781556001808301549082015560028083015490820155600380830154908201556004918201805492909101805463ffffffff19811663ffffffff94851690811783559254600160201b9081900490941690930267ffffffffffffffff199093169091179190911790555b6001600160a01b0388165f908152600d602052604090208054806114cc576114cc6143e7565b5f8281526020812060055f199093019283020180546001600160a01b031916815560018101829055600281018290556003810191909155600401805467ffffffffffffffff1916905590555b505b506112a9565b5090925050506108396001600255565b600d602052815f5260405f208181548110611549575f80fd5b5f918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919063ffffffff80821691600160201b90041686565b61159d61307d565b6001600160a01b0381166115ea5760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642075736572206164647265737360601b6044820152606401610954565b600654831061162f5760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081b585c9ad95d081251607a1b6044820152606401610954565b5f6006848154811061164357611643614230565b5f9182526020909120600b90910201600a81015490915063ffffffff164211156116a05760405162461bcd60e51b815260206004820152600e60248201526d109bdb99081a185cc8195b99195960921b6044820152606401610954565b80600601548160030154106116f75760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d20626f6e6420636170616369747920726561636865640000006044820152606401610954565b80546040805163313ce56760e01b815290515f926001600160a01b03169163313ce5679160048083019260209291908290030181865afa15801561173d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117619190614297565b90505f61176d826130d4565b9050808510156117bf5760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742062656c6f77206d696e696d756d207468726573686f6c64006044820152606401610954565b82600701548511156118135760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742065786365656473206d6178696d756d20616c6c6f776564006044820152606401610954565b61181c866130ff565b61182586613241565b82546040516370a0823160e01b81523060048201526001600160a01b03909116905f9082906370a0823190602401602060405180830381865afa15801561186e573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189291906143fb565b90506118a96001600160a01b03831633308a613302565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156118ed573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191191906143fb565b90508761191e8383614284565b1461196b5760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374207472616e7366657220616d6f756e74000000000000006044820152606401610954565b8760068a8154811061197f5761197f614230565b905f5260205f2090600b02016008015f82825461199c91906143d4565b909155505f90506119ac8a61333b565b90505f6119b98a8361359f565b600189015460068a015460038b01549293506001600160a01b03909116916119e29084906143d4565b1115611a305760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d6178696d756d20626f6e642064656274000000000000006044820152606401610954565b600d5f8b6001600160a01b03166001600160a01b031681526020019081526020015f206040518060c00160405280836001600160a01b031681526020018481526020018581526020018e81526020014263ffffffff168152602001428c600a0160049054906101000a900463ffffffff1663ffffffff16611ab191906143d4565b63ffffffff9081169091528254600181810185555f9485526020808620855160059094020180546001600160a01b039094166001600160a01b03199094169390931783558401519082015560408301516002820155606083015160038083019190915560808401516004909201805460a0909501518416600160201b0267ffffffffffffffff1990951692909316919091179290921790558a018054849290611b5b9084906143d4565b9091555050604080518c8152602081018490529081018490528c906001600160a01b038c16907f105066e10d7040f371761942e4dcb5b97c51daf3acfe0295b7d4c42d32af86f29060600160405180910390a3505050505050505050610de16001600255565b5f828152600160205260408120611bd890836135aa565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6001600160a01b0381165f908152600b6020908152604080832080548251818502810185019093528083528493830182828015611c6157602002820191905f5260205f20905b815481526020019060010190808311611c4d575b509394505f93505050505b8151811015611cf957846001600160a01b0316600a5f848481518110611c9457611c94614230565b60209081029190910181015182528101919091526040015f20546001600160a01b0316148015611ce15750611ce1828281518110611cd457611cd4614230565b6020026020010151610d00565b15611cf157600192505050610839565b600101611c6c565b505f949350505050565b5f611d0d81612fb1565b6001600160a01b038216611d635760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061756374696f6e65657220616464726573730000000000006044820152606401610954565b611d7a5f5160206144825f395f51905f5283611bdf565b15611dbf5760405162461bcd60e51b815260206004820152601560248201527420b63932b0b23c9030b71030bab1ba34b7b732b2b960591b6044820152606401610954565b611dd65f5160206144825f395f51905f5283613027565b506001600160a01b0382165f81815260086020526040808220805460ff19166001179055513392915f5160206144825f395f51905f52917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b5f6108395f5160206144825f395f51905f5283611bdf565b5f818152600160205260409020606090610839906135b5565b5f5160206144825f395f51905f52611e7d81612fb1565b60035460ff1615611ea05760405162461bcd60e51b815260040161095490614244565b5f828152600a60205260409020546001600160a01b03163314611f055760405162461bcd60e51b815260206004820152601760248201527f4e6f74206d61726b657427732061756374696f6e6565720000000000000000006044820152606401610954565b60068281548110611f1857611f18614230565b5f9182526020909120600a600b90920201015463ffffffff164211611f785760405162461bcd60e51b8152602060048201526016602482015275109bdb99081b9bdd081e595d0818dbdb98db1d59195960521b6044820152606401610954565b5f60068381548110611f8c57611f8c614230565b5f91825260208220600b9091020154600680546001600160a01b0390921693509085908110611fbd57611fbd614230565b905f5260205f2090600b02016008015490505f826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120309190614297565b600e549091505f901561206757612710600e548461204e91906143a8565b6120589190614412565b90506120648184614284565b92505b6120913361207684600a61439a565b61208090866143a8565b6001600160a01b0387169190612fbe565b80156120d0576120d07f0000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d6120c684600a61439a565b61208090846143a8565b6040805184815260208101839052339188917f6cdd4eeaadbfd702bff31856ddd6a8ac93f3e7683aed304c11ac132081146a1f910160405180910390a3505050505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6361213f81612fb1565b6003805460ff1916905560405133907f5b65b0c1363b3003db9bcc5e1fd8805a6d6bf5bf6dc9d3431ee4494cd7d11766905f90a250565b5f61218081612fb1565b6121975f5160206144825f395f51905f5283613052565b506001600160a01b0382165f81815260086020526040808220805460ff19169055513392915f5160206144825f395f51905f52917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600b602052815f5260405f208181548110610858575f80fd5b6006818154811061221b575f80fd5b5f9182526020909120600b9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a909a01546001600160a01b03998a169b5097909816989597949693959294919390929063ffffffff80821691600160201b9004168c565b5f61229c81612fb1565b6103e88263ffffffff1611156122e35760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610954565b600e805463ffffffff84169182905560408051828152602081019390935290917f528d9479e9f9889a87a3c30c7f7ba537e5e59c4c85a37733b16e57c62df61302910160405180910390a1505050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061235f5761235f614230565b5f91825260208083206040805160c081018252600590940290910180546001600160a01b0316845260018101549284019290925260028201549083015260038101546060830181905260049091015463ffffffff8082166080850152600160201b9091041660a0830152600680549294509181106123df576123df614230565b5f9182526020918290206040805161018081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460608201526004820154608080830191909152600583015460a0830152600683015460c0830152600783015460e083015260088301546101008301526009830154610120830152600a9092015463ffffffff808216610140840152600160201b909104811661016083015291840151909250164210156124aa575f92505050610839565b5f81610160015163ffffffff1690505f8360a0015163ffffffff1642116124e55760808401516124e09063ffffffff1642614284565b6124e7565b815b90505f8285602001516124fa9190614412565b90505f61250783836143a8565b9050856020015181111561251c575060208501515b98975050505050505050565b5f818152600160205260408120610839906135c1565b6001600160a01b0381165f908152600d60205260408120546060919067ffffffffffffffff81111561257257612572614101565b60405190808252806020026020018201604052801561259b578160200160208202803683370190505b5090505f5b6001600160a01b0384165f908152600d602052604090205481101561261d576001600160a01b0384165f908152600d602052604090208054829081106125e8576125e8614230565b905f5260205f2090600502016003015482828151811061260a5761260a614230565b60209081029190910101526001016125a0565b5092915050565b60058181548110612633575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f8281526020819052604090206001015461266681612fb1565b610da88383613052565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e61269a81612fb1565b6001600160a01b0382165f9081526009602052604090205460ff166126f95760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6001600160a01b0382165f81815260096020908152604091829020805460ff1916905590519182527f108cc7e243d7eb6c2052789466e0961bb24cd62395e2c99e704001b48107a0619101611143565b5f5f5160206144825f395f51905f5261276181612fb1565b60035460ff16156127845760405162461bcd60e51b815260040161095490614244565b6001600160a01b0386166127d15760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b2103830bcb7baba103a37b5b2b760611b6044820152606401610954565b6001600160a01b03851661281d5760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21038bab7ba32903a37b5b2b760691b6044820152606401610954565b856001600160a01b0316856001600160a01b03160361287e5760405162461bcd60e51b815260206004820152601860248201527f546f6b656e73206d75737420626520646966666572656e7400000000000000006044820152606401610954565b6001600160a01b0386165f9081526009602052604090205460ff166128dd5760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6128e73386611c07565b1561293f5760405162461bcd60e51b815260206004820152602260248201527f416c726561647920686173206d61726b657420666f722071756f746520746f6b60448201526132b760f11b6064820152608401610954565b82514263ffffffff9091161161298c5760405162461bcd60e51b8152602060048201526012602482015271426f6e6420656e6420746f6f206561726c7960701b6044820152606401610954565b8251602084015163ffffffff9182169116116129ea5760405162461bcd60e51b815260206004820152601860248201527f56657374696e6720656e6473206265666f726520626f6e6400000000000000006044820152606401610954565b8351612a2d5760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610954565b6020840151612a7e5760405162461bcd60e51b815260206004820152601c60248201527f436f6e74726f6c207661726961626c65206d757374206265203e2030000000006044820152606401610954565b6040840151612acf5760405162461bcd60e51b815260206004820152601960248201527f4d696e696d756d207072696365206d757374206265203e2030000000000000006044820152606401610954565b6060840151612b175760405162461bcd60e51b815260206004820152601460248201527304d61782064656274206d757374206265203e20360641b6044820152606401610954565b82515f90612b2c90429063ffffffff16614284565b90505f8111612b765760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081d995cdd1a5b99c81c195c9a5bd960521b6044820152606401610954565b5f6127108660036020020151612b8e906107086143a8565b612b989190614412565b905081612bad82670de0b6b3a76400006143a8565b612bb79190614412565b90505f886001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bf6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c1a9190614297565b9050612c4a3330612c2c84600a61439a565b8a51612c3891906143a8565b6001600160a01b038d16929190613302565b60408051610180810182526001600160a01b03808b1682528b1660208201526006918101612c7984600a61439a565b8a51612c8591906143a8565b81525f6020808301919091528a01516040808301919091528a01516060820152608001612cb384600a61439a565b60608b0151612cc291906143a8565b81526020018481526020015f8152602001428152602001885f60028110612ceb57612ceb614230565b602002015163ffffffff16815260200188600160028110612d0e57612d0e614230565b602002015163ffffffff16815250908060018154018082558091505060019003905f5260205f2090600b02015f909190919091505f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155610120820151816009015561014082015181600a015f6101000a81548163ffffffff021916908363ffffffff16021790555061016082015181600a0160046101000a81548163ffffffff021916908363ffffffff16021790555050505f6004549050600c5f8b6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600b5f8a6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f909190919091505533600a5f8381526020019081526020015f205f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060045f8154612f1290614431565b909155506001600160a01b03808a16908b16827fe2cf7d92fe44fee405e71ceedac936dbc3b0d18e7d9582e31f2f2a2a3db75c978b60016020020151604051612f5d91815260200190565b60405180910390a49998505050505050505050565b5f611bd88383612333565b5f6001600160e01b03198216637965db0b60e01b148061083957506301ffc9a760e01b6001600160e01b0319831614610839565b612fbb81336135ca565b50565b6040516001600160a01b03838116602483015260448201839052610de191859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613603565b5f6108398261333b565b5f5f613033848461366f565b90508015611bd8575f84815260016020526040902061091290846136fe565b5f5f61305e8484613712565b90508015611bd8575f848152600160205260409020610912908461377b565b60028054036130ce5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610954565b60028055565b5f60028260ff1611156130f7576130ec600283614449565b61083990600a61439a565b506001919050565b5f818152600760205260409020600381015460049091015461312191906143d4565b421115612fbb575f6006828154811061313c5761313c614230565b5f91825260208083208584526007909152604090922054600b909102909101915060ff16156131c7575f828152600760205260408120600101546004830180549192909161318b9084906143d4565b90915550505f828152600760205260409020600201546004820154106131c2575f8281526007602052604090206002015460048201555b613224565b5f82815260076020526040812060010154600483018054919290916131ed908490614284565b90915550505f82815260076020526040902060020154600482015411613224575f8281526007602052604090206002015460048201555b505f9081526007602052604090204263ffffffff16600490910155565b5f6006828154811061325557613255614230565b905f5260205f2090600b020190505f81600301549050805f0361327757505050565b5f8260090154426132889190614284565b9050805f036132975750505050565b600a8301545f906132b690600160201b900463ffffffff166064614462565b63ffffffff166132c683856143a8565b6132d09190614412565b90508281116132e8576132e38184614284565b6132ea565b5f5b600385015550505063ffffffff421660099091015550565b6040516001600160a01b038481166024830152838116604483015260648201839052610da89186918216906323b872dd90608401612feb565b5f5f6006838154811061335057613350614230565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b039081168552600182015416848401819052600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa158015613432573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134569190614297565b90505f825f01516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613498573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134bc9190614297565b90505f6134c88661378f565b90505f6134d4876139c6565b90505f836134e3866024614449565b6134ed9190614449565b6134f890600a61439a565b61350283856143a8565b61350c91906143a8565b9050670de0b6b3a76400006135218183614412565b61352b9190614412565b96508560a00151871015613541578560a0015196505b613554670de0b6b3a76400005f19614412565b8711156135945760405162461bcd60e51b815260206004820152600e60248201526d5072696365206f766572666c6f7760901b6044820152606401610954565b505050505050919050565b5f611bd882846143a8565b5f611bd88383613bce565b60605f611bd883613bf4565b5f610839825490565b6135d48282611bdf565b61102c5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610954565b5f5f60205f8451602086015f885af180613622576040513d5f823e3d81fd5b50505f513d91508115613639578060011415613646565b6001600160a01b0384163b155b15610da857604051635274afe760e01b81526001600160a01b0385166004820152602401610954565b5f61367a8383611bdf565b6136f7575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556136af3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610839565b505f610839565b5f611bd8836001600160a01b038416613c4b565b5f61371d8383611bdf565b156136f7575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610839565b5f611bd8836001600160a01b038416613c90565b5f5f600683815481106137a4576137a4614230565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116855260018083015490911685850152600280830154868501526003808401546060808901919091526004808601546080808b01918252600588015460a0808d0191909152600689015460c08d01526007808a015460e08e015260088a01546101008e015260098a01546101208e0152600a9099015463ffffffff8082166101408f0152600160201b909104166101608d01528f8d52978a52888c2089519889018a52805460ff16151589529687015499880199909952938501549686019690965290830154908401529201549281019290925251919350916138ae866139c6565b90505f84610140015163ffffffff1642116138c9575f6138df565b6101408501516138df9063ffffffff1642614284565b90505f8560c0015183670de0b6b3a76400006138fb91906143a8565b6139059190614412565b90505f6139138360016143d4565b61391d83876143a8565b6139279190614412565b90508560600151866080015161393d91906143d4565b42116139995785511561397457602086015161395990866143d4565b9450856040015185111561396f57856040015194505b613999565b60208601516139839086614284565b9450856040015185101561399957856040015194505b808511156139b8576139ab8186614284565b9998505050505050505050565b505f98975050505050505050565b5f5f600683815481106139db576139db614230565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116808652600183015490911685850152600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa158015613abe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ae29190614297565b90505f82602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b25573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b499190614297565b90505f613b57826012614449565b613b6290600a61439a565b8460600151613b7191906143a8565b90505f613b7f846012614449565b613b8a90600a61439a565b856101000151613b9a91906143a8565b9050805f03613bb057505f199695505050505050565b5f81613bc484670de0b6b3a76400006143a8565b61251c9190614412565b5f825f018281548110613be357613be3614230565b905f5260205f200154905092915050565b6060815f01805480602002602001604051908101604052809291908181526020018280548015610c8357602002820191905f5260205f2090815481526020019060010190808311610c6f5750505050509050919050565b5f8181526001830160205260408120546136f757508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610839565b5f8181526001830160205260408120548015613d6a575f613cb2600183614284565b85549091505f90613cc590600190614284565b9050808214613d24575f865f018281548110613ce357613ce3614230565b905f5260205f200154905080875f018481548110613d0357613d03614230565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613d3557613d356143e7565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610839565b5f915050610839565b6040518061012001604052805f6001600160a01b031681526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f6001600160a01b031681526020015f151581526020015f81525090565b5f60208284031215613de3575f5ffd5b81356001600160e01b031981168114611bd8575f5ffd5b6001600160a01b0381168114612fbb575f5ffd5b5f5f60408385031215613e1f575f5ffd5b8235613e2a81613dfa565b946020939093013593505050565b5f5f60208385031215613e49575f5ffd5b823567ffffffffffffffff811115613e5f575f5ffd5b8301601f81018513613e6f575f5ffd5b803567ffffffffffffffff811115613e85575f5ffd5b8560208260051b8401011115613e99575f5ffd5b6020919091019590945092505050565b80516001600160a01b03908116835260208083015182169084015260408083015190840152606080830151908401526080808301519084015260a0828101519084015260c080830151918216908401525060e0810151613f0d60e084018215159052565b5061010090810151910152565b602080825282518282018190525f918401906040840190835b81811015613f5d57613f46838551613ea9565b602093909301926101209290920191600101613f33565b509095945050505050565b5f60208284031215613f78575f5ffd5b5035919050565b61012081016108398284613ea9565b5f60208284031215613f9e575f5ffd5b8135611bd881613dfa565b602080825282518282018190525f918401906040840190835b81811015613f5d578351835260209384019390920191600101613fc2565b5f5f60408385031215613ff1575f5ffd5b82359150602083013561400381613dfa565b809150509250929050565b5f5f5f60608486031215614020575f5ffd5b8335925060208401359150604084013561403981613dfa565b809150509250925092565b5f5f60408385031215614055575f5ffd5b50508035926020909101359150565b5f5f60408385031215614075575f5ffd5b823561408081613dfa565b9150602083013561400381613dfa565b602080825282518282018190525f918401906040840190835b81811015613f5d5783516001600160a01b03168352602093840193909201916001016140a9565b803563ffffffff811681146140e3575f5ffd5b919050565b5f602082840312156140f8575f5ffd5b611bd8826140d0565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561414a57634e487b7160e01b5f52604160045260245ffd5b604052919050565b5f82601f830112614161575f5ffd5b61416b6040614115565b80604084018581111561417c575f5ffd5b845b81811015613f5d5761418f816140d0565b84526020938401930161417e565b5f5f5f5f61010085870312156141b1575f5ffd5b84356141bc81613dfa565b935060208501356141cc81613dfa565b9250605f850186136141dc575f5ffd5b6141e66080614115565b8060c08701888111156141f7575f5ffd5b604088015b818110156142145780358452602093840193016141fc565b508194506142228982614152565b935050505092959194509250565b634e487b7160e01b5f52603260045260245ffd5b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561083957610839614270565b5f602082840312156142a7575f5ffd5b815160ff81168114611bd8575f5ffd5b6001815b60018411156142f2578085048111156142d6576142d6614270565b60018416156142e457908102905b60019390931c9280026142bb565b935093915050565b5f8261430857506001610839565b8161431457505f610839565b816001811461432a576002811461433457614350565b6001915050610839565b60ff84111561434557614345614270565b50506001821b610839565b5060208310610133831016604e8410600b8410161715614373575081810a610839565b61437f5f1984846142b7565b805f190482111561439257614392614270565b029392505050565b5f611bd860ff8416836142fa565b808202811582820484141761083957610839614270565b5f816143cd576143cd614270565b505f190190565b8082018082111561083957610839614270565b634e487b7160e01b5f52603160045260245ffd5b5f6020828403121561440b575f5ffd5b5051919050565b5f8261442c57634e487b7160e01b5f52601260045260245ffd5b500490565b5f6001820161444257614442614270565b5060010190565b60ff828116828216039081111561083957610839614270565b63ffffffff818116838216029081169081811461261d5761261d61427056fec1df76f4e50bdb95676f782d4b88b23904c5346d8bc7c986ae26f7e10e601891a2646970667358221220e3b1905d005b5a589216095ab27a8d06d6809c32d253873c1bf330102170e9a464736f6c634300081b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d
-----Decoded View---------------
Arg [0] : _mSig (address): 0x5e4D8755c0cBD26E8670b27Bc0bD21EF84cD881d
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d
Deployed Bytecode Sourcemap
50944:24499:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44476:214;;;;;;:::i;:::-;;:::i;:::-;;;566:14:1;;559:22;541:41;;529:2;514:18;44476:214:0;;;;;;;;52608:53;;;;;;:::i;:::-;;:::i;:::-;;;1247:25:1;;;1235:2;1220:18;52608:53:0;1101:177:1;68220:342:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;57708:493::-;;;;;;:::i;:::-;;:::i;:::-;;67614:598;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;65585:142::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;66391:107::-;;;;;;:::i;:::-;;:::i;65735:138::-;;;;;;:::i;:::-;;:::i;52230:28::-;;;;;;27549:122;;;;;;:::i;:::-;27614:7;27641:12;;;;;;;;;;:22;;;;27549:122;66210:162;;;;;;:::i;:::-;;:::i;27981:138::-;;;;;;:::i;:::-;;:::i;29118:251::-;;;;;;:::i;:::-;;:::i;64872:165::-;;;:::i;51309:18::-;;;;;;;;;64092:525;;;;;;:::i;:::-;;:::i;51220:80::-;;51267:33;51220:80;;59035:350;;;;;;:::i;:::-;;:::i;68716:174::-;;;;;;:::i;:::-;;:::i;61975:1173::-;;;;;;:::i;:::-;;:::i;52668:43::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6262:32:1;;;6244:51;;6326:2;6311:18;;6304:34;;;;6354:18;;;6347:34;;;;6412:2;6397:18;;6390:34;6473:10;6461:23;;;6455:3;6440:19;;6433:52;6522:23;6282:3;6501:19;;6494:52;6231:3;6216:19;52668:43:0;5961:591:1;59510:2459:0;;;;;;:::i;:::-;;:::i;45289:144::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7564:32:1;;;7546:51;;7534:2;7519:18;45289:144:0;7400:203:1;51129:84:0;;51178:35;51129:84;;26565:138;;;;;;:::i;:::-;;:::i;74954:375::-;;;;;;:::i;:::-;;:::i;63288:489::-;;;;;;:::i;:::-;;:::i;66510:127::-;;;;;;:::i;:::-;;:::i;25877:49::-;;25922:4;25877:49;;46293:138;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;58207:816::-;;;;;;:::i;:::-;;:::i;65045:170::-;;;:::i;52785:38::-;;52819:4;52785:38;;52330:45;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8921:14:1;;8914:22;8896:41;;8968:2;8953:18;;8946:34;;;;8996:18;;;8989:34;;;;9054:2;9039:18;;9032:34;9097:3;9082:19;;9075:35;8883:3;8868:19;52330:45:0;8643:473:1;63785:298:0;;;;;;:::i;:::-;;:::i;52549:52::-;;;;;;:::i;:::-;;:::i;52303:20::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;9592:32:1;;;9574:51;;9661:32;;;;9656:2;9641:18;;9634:60;9710:18;;;9703:34;;;;9768:2;9753:18;;9746:34;;;;9811:3;9796:19;;9789:35;;;;9612:3;9840:19;;9833:35;;;;9899:3;9884:19;;9877:35;9943:3;9928:19;;9921:35;9987:3;9972:19;;9965:35;10031:3;10016:19;;10009:35;10094:10;10081:24;;;10075:3;10060:19;;10053:53;10143:24;10137:3;10122:19;;10115:53;9561:3;9546:19;52303:20:0;9121:1053:1;65222:237:0;;;;;;:::i;:::-;;:::i;66645:959::-;;;;;;:::i;:::-;;:::i;45607:133::-;;;;;;:::i;:::-;;:::i;51052:70::-;;-1:-1:-1;;;;;;;;;;;51052:70:0;;65881:316;;;;;;:::i;:::-;;:::i;52265:31::-;;;;;;:::i;:::-;;:::i;28412:140::-;;;;;;:::i;:::-;;:::i;64625:232::-;;;;;;:::i;:::-;;:::i;52755:23::-;;;;;;55032:2667;;;;;;:::i;:::-;;:::i;52487:55::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;52487:55:0;;;52719:29;;;;;68568:141;;;;;;:::i;:::-;;:::i;44476:214::-;44561:4;-1:-1:-1;;;;;;44585:57:0;;-1:-1:-1;;;44585:57:0;;:97;;;44646:36;44670:11;44646:23;:36::i;:::-;44578:104;44476:214;-1:-1:-1;;44476:214:0:o;52608:53::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;68220:342::-;68305:23;68337:31;68392:9;68371:38;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;68337:72:0;-1:-1:-1;68427:9:0;68422:110;68442:20;;;68422:110;;;68493:31;68511:9;;68521:1;68511:12;;;;;;;:::i;:::-;;;;;;;68493:17;:31::i;:::-;68480:7;68488:1;68480:10;;;;;;;;:::i;:::-;;;;;;;;;;:44;68464:3;;68422:110;;;-1:-1:-1;68551:7:0;68220:342;-1:-1:-1;;;68220:342:0:o;57708:493::-;-1:-1:-1;;;;;;;;;;;26161:16:0;26172:4;26161:10;:16::i;:::-;75388:6:::1;::::0;::::1;;75387:7;75379:38;;;;-1:-1:-1::0;;;75379:38:0::1;;;;;;;:::i;:::-;;;;;;;;;57800:25:::2;::::0;;;:20:::2;:25;::::0;;;;;-1:-1:-1;;;;;57800:25:0::2;57829:10;57800:39;57796:69;;57841:24;::::0;-1:-1:-1;;;57841:24:0;;13417:2:1;57841:24:0::2;::::0;::::2;13399:21:1::0;13456:2;13436:18;;;13429:30;-1:-1:-1;;;13475:18:1;;;13468:43;13528:18;;57841:24:0::2;13215:337:1::0;57796:69:0::2;57901:15;57872:5;57878:3;57872:10;;;;;;;;:::i;:::-;;;;;;;;;;;:19;;;:45;;;;;;;;;;;;;;;;;;57926:18;57973:5;57979:3;57973:10;;;;;;;;:::i;:::-;;;;;;;;;;;:20;;;57947:5;57953:3;57947:10;;;;;;;;:::i;:::-;;;;;;;;;;;:23;;;:46;;;;:::i;:::-;57926:67;;58000:20;58038:5;58044:3;58038:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;;:22:::2;:10;::::0;;::::2;;:22;::::0;58023:49:::2;::::0;;-1:-1:-1;;;58023:49:0;;;;-1:-1:-1;;;;;58038:22:0;;::::2;::::0;58023:47:::2;::::0;:49:::2;::::0;;::::2;::::0;;;;;;58038:22;58023:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58000:72:::0;-1:-1:-1;58081:88:0::2;58125:10;58150:18;58000:72:::0;58150:2:::2;:18;:::i;:::-;58137:31;::::0;:10;:31:::2;:::i;:::-;58088:5;58094:3;58088:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;:22:::2;:10;::::0;;::::2;;:22;::::0;-1:-1:-1;;;;;58088:22:0::2;::::0;58081:88;:43:::2;:88::i;:::-;58183:14;::::0;58193:3;;58183:14:::2;::::0;;;::::2;57789:412;;57708:493:::0;;:::o;67614:598::-;67680:21;;:::i;:::-;67714:18;67735:5;67741:8;67735:15;;;;;;;;:::i;:::-;;;;;;;;;;67778:426;;;;;;;;67735:15;;;;;;;67820;;-1:-1:-1;;;;;67820:15:0;;;67778:426;;67820:15;67863:16;;;;67778:426;;;;;;;67735:15;;-1:-1:-1;67778:426:0;;;67901:24;67916:8;67901:14;:24::i;:::-;67778:426;;67951:14;;;;67778:426;;;;;;;;67993:16;;;;;-1:-1:-1;;;67993:16:0;;;;67778:426;;;;;;;;68039:17;;;;67778:426;;;;-1:-1:-1;68083:30:0;;;;;;;;;-1:-1:-1;;;;;68083:30:0;67778:426;;;;;;68136:16;68083:30;68136:6;:16::i;:::-;67778:426;;;;;;68178:4;:14;;;67778:426;;;67771:433;;;67614:598;;;:::o;65585:142::-;-1:-1:-1;;;;;65692:27:0;;;;;;:15;:27;;;;;;;;;65685:34;;;;;;;;;;;;;;;;;65655:16;;65685:34;;;65692:27;65685:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65585:142;;;:::o;66391:107::-;66443:7;66471:19;66486:3;66471:14;:19::i;65735:138::-;-1:-1:-1;;;;;65841:24:0;;;;;;:16;:24;;;;;;;;;65834:31;;;;;;;;;;;;;;;;;65802:16;;65834:31;;;65841:24;65834:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65735:138;;;:::o;66210:162::-;66260:4;66304:5;66310:3;66304:10;;;;;;;;:::i;:::-;;;;;;;;;:19;:10;;;;;:19;;;;66285:15;:38;;;;:83;;;66350:5;66356:3;66350:10;;;;;;;;:::i;:::-;;;;;;;;;;;:18;;;66327:5;66333:3;66327:10;;;;;;;;:::i;:::-;;;;;;;;;;;:20;;;:41;66278:90;66210:162;-1:-1:-1;;66210:162:0:o;27981:138::-;27614:7;27641:12;;;;;;;;;;:22;;;26161:16;26172:4;26161:10;:16::i;:::-;28086:25:::1;28097:4;28103:7;28086:10;:25::i;:::-;;27981:138:::0;;;:::o;29118:251::-;-1:-1:-1;;;;;29212:34:0;;22870:10;29212:34;29208:104;;29270:30;;-1:-1:-1;;;29270:30:0;;;;;;;;;;;29208:104;29324:37;29336:4;29342:18;29324:11;:37::i;:::-;;29118:251;;:::o;64872:165::-;51267:33;26161:16;26172:4;26161:10;:16::i;:::-;64974:6:::1;:13:::0;;-1:-1:-1;;64974:13:0::1;64983:4;64974:13;::::0;;65003:26:::1;::::0;65018:10:::1;::::0;65003:26:::1;::::0;64974:6:::1;::::0;65003:26:::1;64872:165:::0;:::o;64092:525::-;51178:35;26161:16;26172:4;26161:10;:16::i;:::-;-1:-1:-1;;;;;64219:20:0;::::1;64211:54;;;::::0;-1:-1:-1;;;64211:54:0;;15907:2:1;64211:54:0::1;::::0;::::1;15889:21:1::0;15946:2;15926:18;;;15919:30;-1:-1:-1;;;15965:18:1;;;15958:51;16026:18;;64211:54:0::1;15705:345:1::0;64211:54:0::1;-1:-1:-1::0;;;;;64285:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;;::::1;;64284:26;64276:64;;;::::0;-1:-1:-1;;;64276:64:0;;16257:2:1;64276:64:0::1;::::0;::::1;16239:21:1::0;16296:2;16276:18;;;16269:30;16335:27;16315:18;;;16308:55;16380:18;;64276:64:0::1;16055:349:1::0;64276:64:0::1;64412:6;-1:-1:-1::0;;;;;64397:31:0::1;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;64397:33:0::1;::::0;;::::1;;::::0;;::::1;-1:-1:-1::0;;64397:33:0::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;;64393:217;;64569:29;::::0;-1:-1:-1;;;64569:29:0;;16611:2:1;64569:29:0::1;::::0;::::1;16593:21:1::0;16650:2;16630:18;;;16623:30;-1:-1:-1;;;16669:18:1;;;16662:49;16728:18;;64569:29:0::1;16409:343:1::0;64393:217:0::1;-1:-1:-1::0;;;;;;64462:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;:32;;-1:-1:-1;;64462:32:0::1;64490:4;64462:32:::0;;::::1;::::0;;;64509:13:::1;:26:::0;;;;::::1;::::0;;;;;;::::1;::::0;;-1:-1:-1;;;;;;64509:26:0::1;::::0;;::::1;::::0;;64393:217:::1;64092:525:::0;;:::o;59035:350::-;59124:30;;;;:20;:30;;;;;;-1:-1:-1;;;;;59124:30:0;59158:10;59124:44;59116:73;;;;-1:-1:-1;;;59116:73:0;;16959:2:1;59116:73:0;;;16941:21:1;16998:2;16978:18;;;16971:30;-1:-1:-1;;;17017:18:1;;;17010:46;17073:18;;59116:73:0;16757:340:1;59116:73:0;59204:39;-1:-1:-1;;;;;;;;;;;59229:13:0;59204:7;:39::i;:::-;59196:66;;;;-1:-1:-1;;;59196:66:0;;17304:2:1;59196:66:0;;;17286:21:1;17343:2;17323:18;;;17316:30;-1:-1:-1;;;17362:18:1;;;17355:44;17416:18;;59196:66:0;17102:338:1;59196:66:0;59269:30;;;;:20;:30;;;;;;;;;:46;;-1:-1:-1;;;;;;59269:46:0;-1:-1:-1;;;;;59269:46:0;;;;;;;;59327:54;;17647:25:1;;;59355:10:0;17688:18:1;;;17681:60;;;;17757:18;;;17750:60;;;;59327:54:0;;17635:2:1;17620:18;59327:54:0;;;;;;;;59035:350;;:::o;68716:174::-;-1:-1:-1;;;;;68818:14:0;;68786:4;68818:14;;;:8;:14;;;;;:23;;68786:4;;68818:14;68833:7;;68818:23;;;;;;:::i;:::-;;;;;;;;;;68799:42;;;;;;;;68818:23;;;;;;;68799:42;;-1:-1:-1;;;;;68799:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;68799:42:0;;;;;;;;;;;68855:15;:31;;;-1:-1:-1;;68716:174:0;;;;:::o;61975:1173::-;62049:22;49384:21;:19;:21::i;:::-;-1:-1:-1;;;;;62097:14:0;::::1;62080;62097::::0;;;:8:::1;:14;::::0;;;;:21;62196:5:::1;:10:::0;;62097:21;;62080:14;;;62196:5;62202:3;;62196:10;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;:22:::1;:10;::::0;;::::1;;:22;::::0;62181:49:::1;::::0;;-1:-1:-1;;;62181:49:0;;;;-1:-1:-1;;;;;62196:22:0;;::::1;::::0;62181:47:::1;::::0;:49:::1;::::0;;::::1;::::0;;;;;;62196:22;62181:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62158:72:::0;-1:-1:-1;62256:6:0;62239:873:::1;62264:5:::0;;62239:873:::1;;62283:3:::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;62336:14:0;::::1;62309:24;62336:14:::0;;;:8:::1;:14;::::0;;;;:17;;62283:3;;-1:-1:-1;62309:24:0;;-1:-1:-1;62336:14:0;62283:3;;62336:17;::::1;;;;;:::i;:::-;;;;;;;;;;;62309:44;;62392:3;62368:11;:20;;;:27:::0;62364:741:::1;;62412:14;62429:30;62451:4;62457:1;62429:21;:30::i;:::-;62412:47:::0;-1:-1:-1;62492:10:0;;62488:606:::1;;62549:6;62523:11;:22;;;:32;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;62574:23:0::1;::::0;-1:-1:-1;62591:6:0;62574:23;::::1;:::i;:::-;::::0;-1:-1:-1;62698:78:0::1;62742:4:::0;62757:18:::1;62761:14:::0;62757:2:::1;:18;:::i;:::-;62748:27;::::0;:6;:27:::1;:::i;:::-;62705:5;62711:3;62705:10;;;;;;;;:::i;62698:78::-;62817:11;:22;;;62843:1;62817:27:::0;62813:266:::1;;-1:-1:-1::0;;;;;62878:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;:21;:25:::1;::::0;62902:1:::1;::::0;62878:25:::1;:::i;:::-;62873:1;:30;62869:148;;-1:-1:-1::0;;;;;62952:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;62967:21;;:25:::1;::::0;62991:1:::1;::::0;62967:25:::1;:::i;:::-;62952:41;;;;;;;;:::i;:::-;;;;;;;;;;;62932:8;:14;62941:4;-1:-1:-1::0;;;;;62932:14:0::1;-1:-1:-1::0;;;;;62932:14:0::1;;;;;;;;;;;;62947:1;62932:17;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:61;;:17:::1;::::0;;::::1;;:61:::0;;-1:-1:-1;;;;;;62932:61:0::1;-1:-1:-1::0;;;;;62932:61:0;;::::1;::::0;;;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;-1:-1:-1;;62932:61:0;::::1;;::::0;;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;62932:61:0;;;::::1;::::0;;::::1;::::0;;::::1;-1:-1:-1::0;;62932:61:0;;;;;;;;;::::1;::::0;;62869:148:::1;-1:-1:-1::0;;;;;63039:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;:20;;;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;63039:20:0;;;;;::::1;;::::0;;-1:-1:-1;;;;;;63039:20:0::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;-1:-1:-1;;63039:20:0;;;;;62813:266:::1;62397:708;62364:741;62272:840;62239:873;;;-1:-1:-1::0;63131:13:0;;-1:-1:-1;;;49428:20:0;48822:1;49948:7;:22;49765:213;52668:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52668:43:0;;;;-1:-1:-1;52668:43:0;;-1:-1:-1;52668:43:0;;;;;;;-1:-1:-1;;;52668:43:0;;;;:::o;59510:2459::-;49384:21;:19;:21::i;:::-;-1:-1:-1;;;;;59645:18:0;::::1;59637:51;;;::::0;-1:-1:-1;;;59637:51:0;;18426:2:1;59637:51:0::1;::::0;::::1;18408:21:1::0;18465:2;18445:18;;;18438:30;-1:-1:-1;;;18484:18:1;;;18477:50;18544:18;;59637:51:0::1;18224:344:1::0;59637:51:0::1;59713:5;:12:::0;59707:18;::::1;59699:48;;;::::0;-1:-1:-1;;;59699:48:0;;18775:2:1;59699:48:0::1;::::0;::::1;18757:21:1::0;18814:2;18794:18;;;18787:30;-1:-1:-1;;;18833:18:1;;;18826:47;18890:18;;59699:48:0::1;18573:341:1::0;59699:48:0::1;59809:18;59830:5;59836:3;59830:10;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;59931:13;::::0;::::1;::::0;59830:10;;-1:-1:-1;59931:13:0::1;;59912:15;:32;;59904:59;;;::::0;-1:-1:-1;;;59904:59:0;;19121:2:1;59904:59:0::1;::::0;::::1;19103:21:1::0;19160:2;19140:18;;;19133:30;-1:-1:-1;;;19179:18:1;;;19172:44;19233:18;;59904:59:0::1;18919:338:1::0;59904:59:0::1;59999:4;:12;;;59982:4;:14;;;:29;59974:71;;;::::0;-1:-1:-1;;;59974:71:0;;19464:2:1;59974:71:0::1;::::0;::::1;19446:21:1::0;19503:2;19483:18;;;19476:30;19542:31;19522:18;;;19515:59;19591:18;;59974:71:0::1;19262:353:1::0;59974:71:0::1;60157:15:::0;;60134:51:::1;::::0;;-1:-1:-1;;;60134:51:0;;;;60112:19:::1;::::0;-1:-1:-1;;;;;60157:15:0::1;::::0;60134:49:::1;::::0;:51:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;60157:15;60134:51:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60112:73;;60196:22;60221:38;60245:13;60221:23;:38::i;:::-;60196:63;;60329:14;60319:6;:24;;60311:68;;;::::0;-1:-1:-1;;;60311:68:0;;19822:2:1;60311:68:0::1;::::0;::::1;19804:21:1::0;19861:2;19841:18;;;19834:30;19900:33;19880:18;;;19873:61;19951:18;;60311:68:0::1;19620:355:1::0;60311:68:0::1;60408:4;:14;;;60398:6;:24;;60390:68;;;::::0;-1:-1:-1;;;60390:68:0;;20182:2:1;60390:68:0::1;::::0;::::1;20164:21:1::0;20221:2;20201:18;;;20194:30;20260:33;20240:18;;;20233:61;20311:18;;60390:68:0::1;19980:355:1::0;60390:68:0::1;60561:10;60567:3;60561:5;:10::i;:::-;60582:15;60593:3;60582:10;:15::i;:::-;60684::::0;;60735:35:::1;::::0;-1:-1:-1;;;60735:35:0;;60764:4:::1;60735:35;::::0;::::1;7546:51:1::0;-1:-1:-1;;;;;60684:15:0;;::::1;::::0;60657:17:::1;::::0;60684:15;;60735:20:::1;::::0;7519:18:1;;60735:35:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60711:59:::0;-1:-1:-1;60781:62:0::1;-1:-1:-1::0;;;;;60781:27:0;::::1;60809:10;60829:4;60836:6:::0;60781:27:::1;:62::i;:::-;60878:35;::::0;-1:-1:-1;;;60878:35:0;;60907:4:::1;60878:35;::::0;::::1;7546:51:1::0;60855:20:0::1;::::0;-1:-1:-1;;;;;60878:20:0;::::1;::::0;::::1;::::0;7519:18:1;;60878:35:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60855:58:::0;-1:-1:-1;60964:6:0;60932:28:::1;60947:13:::0;60855:58;60932:28:::1;:::i;:::-;:38;60924:76;;;::::0;-1:-1:-1;;;60924:76:0;;20731:2:1;60924:76:0::1;::::0;::::1;20713:21:1::0;20770:2;20750:18;;;20743:30;20809:27;20789:18;;;20782:55;20854:18;;60924:76:0::1;20529:349:1::0;60924:76:0::1;61043:6;61011:5;61017:3;61011:10;;;;;;;;:::i;:::-;;;;;;;;;;;:28;;;:38;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;61116:13:0::1;::::0;-1:-1:-1;61132:17:0::1;61145:3:::0;61132:12:::1;:17::i;:::-;61116:33;;61205:17;61225:33;61244:6;61252:5;61225:18;:33::i;:::-;61291:16;::::0;::::1;::::0;61422:12:::1;::::0;::::1;::::0;61392:14:::1;::::0;::::1;::::0;61205:53;;-1:-1:-1;;;;;;61291:16:0;;::::1;::::0;61392:26:::1;::::0;61205:53;;61392:26:::1;:::i;:::-;:42;;61384:80;;;::::0;-1:-1:-1;;;61384:80:0;;21085:2:1;61384:80:0::1;::::0;::::1;21067:21:1::0;21124:2;21104:18;;;21097:30;21163:27;21143:18;;;21136:55;21208:18;;61384:80:0::1;20883:349:1::0;61384:80:0::1;61535:8;:14;61544:4;-1:-1:-1::0;;;;;61535:14:0::1;-1:-1:-1::0;;;;;61535:14:0::1;;;;;;;;;;;;61555:267;;;;;;;;61588:11;-1:-1:-1::0;;;;;61555:267:0::1;;;;;61626:9;61555:267;;;;61662:5;61555:267;;;;61692:3;61555:267;;;;61728:15;61555:267;;;;;;61794:15;61775:4;:16;;;;;;;;;;;;:34;;;;;;:::i;:::-;61555:267;::::0;;::::1;::::0;;;61535:288;;::::1;::::0;;::::1;::::0;;-1:-1:-1;61535:288:0;;;::::1;::::0;;;;;::::1;::::0;;::::1;;::::0;;-1:-1:-1;;;;;61535:288:0;;::::1;-1:-1:-1::0;;;;;;61535:288:0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;61535:288:0::1;-1:-1:-1::0;;61535:288:0;;;;;;::::1;::::0;;;;;;;::::1;::::0;;61866:14;::::1;:27:::0;;61884:9;;-1:-1:-1;61866:27:0::1;::::0;61884:9;;61866:27:::1;:::i;:::-;::::0;;;-1:-1:-1;;61911:50:0::1;::::0;;21439:25:1;;;21495:2;21480:18;;21473:34;;;21523:18;;;21516:34;;;61931:3:0;;-1:-1:-1;;;;;61911:50:0;::::1;::::0;::::1;::::0;21427:2:1;21412:18;61911:50:0::1;;;;;;;59590:2379;;;;;;;;;49428:20:::0;48822:1;49948:7;:22;49765:213;45289:144;45370:7;45397:18;;;:12;:18;;;;;:28;;45419:5;45397:21;:28::i;:::-;45390:35;45289:144;-1:-1:-1;;;45289:144:0:o;26565:138::-;26642:4;26666:12;;;;;;;;;;;-1:-1:-1;;;;;26666:29:0;;;;;;;;;;;;;;;26565:138::o;74954:375::-;-1:-1:-1;;;;;75092:27:0;;75052:4;75092:27;;;:15;:27;;;;;;;;75065:54;;;;;;;;;;;;;;;;;75052:4;;75065:54;;75092:27;75065:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75065:54:0;;-1:-1:-1;75130:9:0;;-1:-1:-1;;;;75126:181:0;75149:7;:14;75145:1;:18;75126:181;;;75219:10;-1:-1:-1;;;;;75183:46:0;:20;:32;75204:7;75212:1;75204:10;;;;;;;;:::i;:::-;;;;;;;;;;;;75183:32;;;;;;;;;;-1:-1:-1;75183:32:0;;-1:-1:-1;;;;;75183:32:0;:46;:68;;;;;75233:18;75240:7;75248:1;75240:10;;;;;;;;:::i;:::-;;;;;;;75233:6;:18::i;:::-;75180:120;;;75284:4;75277:11;;;;;;75180:120;75165:3;;75126:181;;;-1:-1:-1;75320:5:0;;74954:375;-1:-1:-1;;;;74954:375:0:o;63288:489::-;25922:4;26161:16;25922:4;26161:10;:16::i;:::-;-1:-1:-1;;;;;63455:25:0;::::1;63447:64;;;::::0;-1:-1:-1;;;63447:64:0;;21763:2:1;63447:64:0::1;::::0;::::1;21745:21:1::0;21802:2;21782:18;;;21775:30;21841:28;21821:18;;;21814:56;21887:18;;63447:64:0::1;21561:350:1::0;63447:64:0::1;63531:37;-1:-1:-1::0;;;;;;;;;;;63556:11:0::1;63531:7;:37::i;:::-;63530:38;63522:72;;;::::0;-1:-1:-1;;;63522:72:0;;22118:2:1;63522:72:0::1;::::0;::::1;22100:21:1::0;22157:2;22137:18;;;22130:30;-1:-1:-1;;;22176:18:1;;;22169:51;22237:18;;63522:72:0::1;21916:345:1::0;63522:72:0::1;63607:40;-1:-1:-1::0;;;;;;;;;;;63635:11:0::1;63607:10;:40::i;:::-;-1:-1:-1::0;;;;;;63658:35:0;::::1;;::::0;;;:22:::1;:35;::::0;;;;;:42;;-1:-1:-1;;63658:42:0::1;63696:4;63658:42;::::0;;63716:53;63758:10:::1;::::0;63658:35;-1:-1:-1;;;;;;;;;;;51094:28:0;63716:53:::1;::::0;63658:35;63716:53:::1;63288:489:::0;;:::o;66510:127::-;66572:4;66596:33;-1:-1:-1;;;;;;;;;;;66621:7:0;66596;:33::i;46293:138::-;46396:18;;;;:12;:18;;;;;46360:16;;46396:27;;:25;:27::i;58207:816::-;-1:-1:-1;;;;;;;;;;;26161:16:0;26172:4;26161:10;:16::i;:::-;75388:6:::1;::::0;::::1;;75387:7;75379:38;;;;-1:-1:-1::0;;;75379:38:0::1;;;;;;;:::i;:::-;58313:25:::2;::::0;;;:20:::2;:25;::::0;;;;;-1:-1:-1;;;;;58313:25:0::2;58342:10;58313:39;58305:75;;;::::0;-1:-1:-1;;;58305:75:0;;22468:2:1;58305:75:0::2;::::0;::::2;22450:21:1::0;22507:2;22487:18;;;22480:30;22546:25;22526:18;;;22519:53;22589:18;;58305:75:0::2;22266:347:1::0;58305:75:0::2;58413:5;58419:3;58413:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;:19:::2;:10;::::0;;::::2;;:19;::::0;::::2;;58395:15;:37;58387:72;;;::::0;-1:-1:-1;;;58387:72:0;;22820:2:1;58387:72:0::2;::::0;::::2;22802:21:1::0;22859:2;22839:18;;;22832:30;-1:-1:-1;;;22878:18:1;;;22871:52;22940:18;;58387:72:0::2;22618:346:1::0;58387:72:0::2;58468:18;58489:5;58495:3;58489:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;::::2;::::0;;::::2;;:21:::0;58535:5:::2;:10:::0;;-1:-1:-1;;;;;58489:21:0;;::::2;::::0;-1:-1:-1;58535:5:0;58541:3;;58535:10;::::2;;;;;:::i;:::-;;;;;;;;;;;:28;;;58517:46;;58570:19;58607:10;-1:-1:-1::0;;;;;58592:35:0::2;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58667:8;::::0;58570:59;;-1:-1:-1;58638:14:0::2;::::0;58667:12;58663:102:::2;;58724:5;58712:8;;58702:7;:18;;;;:::i;:::-;58701:28;;;;:::i;:::-;58692:37:::0;-1:-1:-1;58740:17:0::2;58692:37:::0;58740:17;::::2;:::i;:::-;;;58663:102;58773:72;58805:10;58827:17;58831:13:::0;58827:2:::2;:17;:::i;:::-;58817:27;::::0;:7;:27:::2;:::i;:::-;-1:-1:-1::0;;;;;58773:31:0;::::2;::::0;:72;:31:::2;:72::i;:::-;58856:10:::0;;58852:100:::2;;58879:65;58911:4;58926:17;58930:13:::0;58926:2:::2;:17;:::i;:::-;58917:26;::::0;:6;:26:::2;:::i;58879:65::-;58965:54;::::0;;23365:25:1;;;23421:2;23406:18;;23399:34;;;58991:10:0::2;::::0;58986:3;;58965:54:::2;::::0;23338:18:1;58965:54:0::2;;;;;;;58298:725;;;;58207:816:::0;;:::o;65045:170::-;51267:33;26161:16;26172:4;26161:10;:16::i;:::-;65149:6:::1;:14:::0;;-1:-1:-1;;65149:14:0::1;::::0;;65179:28:::1;::::0;65196:10:::1;::::0;65179:28:::1;::::0;65158:5:::1;::::0;65179:28:::1;65045:170:::0;:::o;63785:298::-;25922:4;26161:16;25922:4;26161:10;:16::i;:::-;63911:41:::1;-1:-1:-1::0;;;;;;;;;;;63940:11:0::1;63911;:41::i;:::-;-1:-1:-1::0;;;;;;63963:35:0;::::1;64001:5;63963:35:::0;;;:22:::1;:35;::::0;;;;;:43;;-1:-1:-1;;63963:43:0::1;::::0;;64022:53;64064:10:::1;::::0;63963:35;-1:-1:-1;;;;;;;;;;;51094:28:0;64022:53:::1;::::0;64001:5;64022:53:::1;63785:298:::0;;:::o;52549:52::-;;;;;;;;;;;;;;;;;;;;52303:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52303:20:0;;;;-1:-1:-1;52303:20:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52303:20:0;;;;:::o;65222:237::-;25922:4;26161:16;25922:4;26161:10;:16::i;:::-;52819:4:::1;65315:10;:21;;;;65307:46;;;::::0;-1:-1:-1;;;65307:46:0;;23646:2:1;65307:46:0::1;::::0;::::1;23628:21:1::0;23685:2;23665:18;;;23658:30;-1:-1:-1;;;23704:18:1;;;23697:42;23756:18;;65307:46:0::1;23444:336:1::0;65307:46:0::1;65377:8;::::0;;65392:21:::1;::::0;::::1;::::0;;;;65425:30:::1;::::0;;23958:25:1;;;24014:2;23999:18;;23992:51;;;;65377:8:0;;65425:30:::1;::::0;23931:18:1;65425:30:0::1;;;;;;;65300:159;65222:237:::0;;:::o;66645:959::-;-1:-1:-1;;;;;66763:14:0;;66728:7;66763:14;;;:8;:14;;;;;:23;;66728:7;;66763:14;66778:7;;66763:23;;;;;;:::i;:::-;;;;;;;;;66744:42;;;;;;;;66763:23;;;;;;;66744:42;;-1:-1:-1;;;;;66744:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66744:42:0;;;;;;;;66813:5;:20;;66744:42;;-1:-1:-1;66813:5:0;:20;;;;;;:::i;:::-;;;;;;;;;;66793:40;;;;;;;;66813:20;;;;;;;66793:40;;-1:-1:-1;;;;;66793:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66793:40:0;;;;;;;;;66896:14;;;;66793:40;;-1:-1:-1;66878:32:0;:15;:32;66874:65;;;66930:1;66923:8;;;;;;66874:65;66988:19;67010:4;:16;;;66988:38;;;;67083:19;67123:4;:12;;;67105:30;;:15;:30;:99;;67190:14;;;;67172:32;;;;:15;:32;:::i;:::-;67105:99;;;67148:11;67105:99;67083:121;;67249:23;67293:11;67275:4;:15;;;:29;;;;:::i;:::-;67249:55;-1:-1:-1;67356:24:0;67383:29;67401:11;67249:55;67383:29;:::i;:::-;67356:56;;67499:4;:15;;;67480:16;:34;67476:93;;;-1:-1:-1;67546:15:0;;;;67476:93;67584:16;66645:959;-1:-1:-1;;;;;;;;66645:959:0:o;45607:133::-;45678:7;45705:18;;;:12;:18;;;;;:27;;:25;:27::i;65881:316::-;-1:-1:-1;;;;;66022:14:0;;65977:28;66022:14;;;:8;:14;;;;;:21;65944:16;;65977:28;66008:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66008:36:0;-1:-1:-1;65977:67:0;-1:-1:-1;66056:9:0;66051:114;-1:-1:-1;;;;;66075:14:0;;;;;;:8;:14;;;;;:21;66071:25;;66051:114;;;-1:-1:-1;;;;;66131:14:0;;;;;;:8;:14;;;;;:17;;66146:1;;66131:17;;;;;;:::i;:::-;;;;;;;;;;;:26;;;66114:11;66126:1;66114:14;;;;;;;;:::i;:::-;;;;;;;;;;:43;66098:3;;66051:114;;;-1:-1:-1;66178:11:0;65881:316;-1:-1:-1;;65881:316:0:o;52265:31::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52265:31:0;;-1:-1:-1;52265:31:0;:::o;28412:140::-;27614:7;27641:12;;;;;;;;;;:22;;;26161:16;26172:4;26161:10;:16::i;:::-;28518:26:::1;28530:4;28536:7;28518:11;:26::i;64625:232::-:0;51178:35;26161:16;26172:4;26161:10;:16::i;:::-;-1:-1:-1;;;;;64724:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;;::::1;;64716:59;;;::::0;-1:-1:-1;;;64716:59:0;;24256:2:1;64716:59:0::1;::::0;::::1;24238:21:1::0;24295:2;24275:18;;;24268:30;-1:-1:-1;;;24314:18:1;;;24307:51;24375:18;;64716:59:0::1;24054:345:1::0;64716:59:0::1;-1:-1:-1::0;;;;;64782:25:0;::::1;64810:5;64782:25:::0;;;:17:::1;:25;::::0;;;;;;;;:33;;-1:-1:-1;;64782:33:0::1;::::0;;64827:26;;7546:51:1;;;64827:26:0::1;::::0;7519:18:1;64827:26:0::1;7400:203:1::0;55032:2667:0;55321:16;-1:-1:-1;;;;;;;;;;;26161:16:0;26172:4;26161:10;:16::i;:::-;75388:6:::1;::::0;::::1;;75387:7;75379:38;;;;-1:-1:-1::0;;;75379:38:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;55382:26:0;::::2;55374:59;;;::::0;-1:-1:-1;;;55374:59:0;;24606:2:1;55374:59:0::2;::::0;::::2;24588:21:1::0;24645:2;24625:18;;;24618:30;-1:-1:-1;;;24664:18:1;;;24657:50;24724:18;;55374:59:0::2;24404:344:1::0;55374:59:0::2;-1:-1:-1::0;;;;;55448:34:0;::::2;55440:66;;;::::0;-1:-1:-1;;;55440:66:0;;24955:2:1;55440:66:0::2;::::0;::::2;24937:21:1::0;24994:2;24974:18;;;24967:30;-1:-1:-1;;;25013:18:1;;;25006:49;25072:18;;55440:66:0::2;24753:343:1::0;55440:66:0::2;55545:12;-1:-1:-1::0;;;;;55521:36:0::2;55529:11;-1:-1:-1::0;;;;;55521:36:0::2;::::0;55513:73:::2;;;::::0;-1:-1:-1;;;55513:73:0;;25303:2:1;55513:73:0::2;::::0;::::2;25285:21:1::0;25342:2;25322:18;;;25315:30;25381:26;25361:18;;;25354:54;25425:18;;55513:73:0::2;25101:348:1::0;55513:73:0::2;-1:-1:-1::0;;;;;55601:31:0;::::2;;::::0;;;:17:::2;:31;::::0;;;;;::::2;;55593:65;;;::::0;-1:-1:-1;;;55593:65:0;;24256:2:1;55593:65:0::2;::::0;::::2;24238:21:1::0;24295:2;24275:18;;;24268:30;-1:-1:-1;;;24314:18:1;;;24307:51;24375:18;;55593:65:0::2;24054:345:1::0;55593:65:0::2;55674:61;55702:10;55722:11;55674:27;:61::i;:::-;55673:62;55665:109;;;::::0;-1:-1:-1;;;55665:109:0;;25656:2:1;55665:109:0::2;::::0;::::2;25638:21:1::0;25695:2;25675:18;;;25668:30;25734:34;25714:18;;;25707:62;-1:-1:-1;;;25785:18:1;;;25778:32;25827:19;;55665:109:0::2;25454:398:1::0;55665:109:0::2;55820:16:::0;;55839:15:::2;55820:34;::::0;;::::2;;55812:65;;;::::0;-1:-1:-1;;;55812:65:0;;26059:2:1;55812:65:0::2;::::0;::::2;26041:21:1::0;26098:2;26078:18;;;26071:30;-1:-1:-1;;;26117:18:1;;;26110:48;26175:18;;55812:65:0::2;25857:342:1::0;55812:65:0::2;55911:16:::0;;::::2;55892::::0;::::2;::::0;:35:::2;::::0;;::::2;::::0;::::2;;55884:72;;;::::0;-1:-1:-1;;;55884:72:0;;26406:2:1;55884:72:0::2;::::0;::::2;26388:21:1::0;26445:2;26425:18;;;26418:30;26484:26;26464:18;;;26457:54;26528:18;;55884:72:0::2;26204:348:1::0;55884:72:0::2;56007:9:::0;;55999:44:::2;;;::::0;-1:-1:-1;;;55999:44:0;;26759:2:1;55999:44:0::2;::::0;::::2;26741:21:1::0;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:48;26875:18;;55999:44:0::2;26557:342:1::0;55999:44:0::2;56058:9;::::0;::::2;::::0;56050:54:::2;;;::::0;-1:-1:-1;;;56050:54:0;;27106:2:1;56050:54:0::2;::::0;::::2;27088:21:1::0;27145:2;27125:18;;;27118:30;27184;27164:18;;;27157:58;27232:18;;56050:54:0::2;26904:352:1::0;56050:54:0::2;56119:9:::0;;::::2;::::0;56111:51:::2;;;::::0;-1:-1:-1;;;56111:51:0;;27463:2:1;56111:51:0::2;::::0;::::2;27445:21:1::0;27502:2;27482:18;;;27475:30;27541:27;27521:18;;;27514:55;27586:18;;56111:51:0::2;27261:349:1::0;56111:51:0::2;56177:9:::0;;::::2;::::0;56169:46:::2;;;::::0;-1:-1:-1;;;56169:46:0;;27817:2:1;56169:46:0::2;::::0;::::2;27799:21:1::0;27856:2;27836:18;;;27829:30;-1:-1:-1;;;27875:18:1;;;27868:50;27935:18;;56169:46:0::2;27615:344:1::0;56169:46:0::2;56258:16:::0;;56228:27:::2;::::0;56258:34:::2;::::0;56277:15:::2;::::0;56258:34:::2;;;:::i;:::-;56228:64;;56329:1;56307:19;:23;56299:58;;;::::0;-1:-1:-1;;;56299:58:0;;28166:2:1;56299:58:0::2;::::0;::::2;28148:21:1::0;28205:2;28185:18;;;28178:30;-1:-1:-1;;;28224:18:1;;;28217:52;28286:18;;56299:58:0::2;27964:346:1::0;56299:58:0::2;56421:18;56463:5;56443:6:::0;56450:1:::2;56443:9;;;::::0;:16:::2;::::0;56455:4:::2;56443:16;:::i;:::-;56442:26;;;;:::i;:::-;56421:47:::0;-1:-1:-1;56530:19:0;56509:17:::2;56421:47:::0;56522:4:::2;56509:17;:::i;:::-;56508:41;;;;:::i;:::-;56495:54;;56651:20;56689:12;-1:-1:-1::0;;;;;56674:37:0::2;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56651:62:::0;-1:-1:-1;56721:96:0::2;56759:10;56779:4;56798:18;56651:62:::0;56798:2:::2;:18;:::i;:::-;56786:9:::0;;:30:::2;::::0;;::::2;:::i;:::-;-1:-1:-1::0;;;;;56721:37:0;::::2;::::0;:96;;:37:::2;:96::i;:::-;56864:461;::::0;;::::2;::::0;::::2;::::0;;-1:-1:-1;;;;;56864:461:0;;::::2;::::0;;;::::2;;::::0;::::2;::::0;56853:5:::2;::::0;56864:461;;56983:18:::2;56987:14:::0;56983:2:::2;:18;:::i;:::-;56971:9:::0;;:30:::2;::::0;;::::2;:::i;:::-;56864:461:::0;;57316:1:::2;56864:461;::::0;;::::2;::::0;;;;57030:9;::::2;::::0;56864:461;;;;;;;;57063:9;::::2;::::0;56864:461;;;;;;57103:18:::2;57107:14:::0;57103:2:::2;:18;:::i;:::-;57091:9:::0;;::::2;::::0;:30:::2;::::0;;::::2;:::i;:::-;56864:461;;;;57144:10;56864:461;;;;57183:1;56864:461;;;;57205:15;56864:461;;;;57240:13;57254:1;57240:16;;;;;;;:::i;:::-;;;;;56864:461;;;;;;57279:13;57293:1;57279:16;;;;;;;:::i;:::-;;;;;56864:461;;;;::::0;56853:473:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;56853:473:0::2;;;;;-1:-1:-1::0;;;;;56853:473:0::2;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;56853:473:0::2;;;;;-1:-1:-1::0;;;;;56853:473:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57363:16;57382:13;;57363:32;;57402:16;:30;57419:12;-1:-1:-1::0;;;;;57402:30:0::2;-1:-1:-1::0;;;;;57402:30:0::2;;;;;;;;;;;;57438:8;57402:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57454:15;:37;57478:11;-1:-1:-1::0;;;;;57454:37:0::2;-1:-1:-1::0;;;;;57454:37:0::2;;;;;;;;;;;;57497:8;57454:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57546:10;57513:20;:30;57534:8;57513:30;;;;;;;;;;;;:43;;;;;-1:-1:-1::0;;;;;57513:43:0::2;;;;;-1:-1:-1::0;;;;;57513:43:0::2;;;;;;57571:13;;57569:15;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;57596:71:0;;::::2;::::0;;::::2;57611:8:::0;57596:71:::2;57657:6:::0;57664:1:::2;57657:9;;;;57596:71;;;;1247:25:1::0;;1235:2;1220:18;;1101:177;57596:71:0::2;;;;;;;;57687:8:::0;55032:2667;-1:-1:-1;;;;;;;;;55032:2667:0:o;68568:141::-;68639:14;68669:36;68691:4;68697:7;68669:21;:36::i;26269:204::-;26354:4;-1:-1:-1;;;;;;26378:47:0;;-1:-1:-1;;;26378:47:0;;:87;;-1:-1:-1;;;;;;;;;;23842:40:0;;;26429:36;23742:148;26918:105;26985:30;26996:4;22870:10;26985;:30::i;:::-;26918:105;:::o;9276:162::-;9386:43;;-1:-1:-1;;;;;28647:32:1;;;9386:43:0;;;28629:51:1;28696:18;;;28689:34;;;9359:71:0;;9379:5;;9401:14;;;;;28602:18:1;;9386:43:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9386:43:0;;;;;;;;;;;9359:19;:71::i;71657:139::-;71716:13;71767:17;71780:3;71767:12;:17::i;46538:263::-;46624:4;46641:12;46656:31;46673:4;46679:7;46656:16;:31::i;:::-;46641:46;;46702:7;46698:71;;;46726:18;;;;:12;:18;;;;;:31;;46749:7;46726:22;:31::i;46909:268::-;46996:4;47013:12;47028:32;47046:4;47052:7;47028:17;:32::i;:::-;47013:47;;47075:7;47071:74;;;47099:18;;;;:12;:18;;;;;:34;;47125:7;47099:25;:34::i;49464:293::-;48866:1;49598:7;;:19;49590:63;;;;-1:-1:-1;;;49590:63:0;;28936:2:1;49590:63:0;;;28918:21:1;28975:2;28955:18;;;28948:30;29014:33;28994:18;;;28987:61;29065:18;;49590:63:0;28734:355:1;49590:63:0;48866:1;49731:18;;49464:293::o;74406:340::-;74478:7;74596:1;74585:8;:12;;;74581:96;;;74626:12;74637:1;74626:8;:12;:::i;:::-;74619:20;;:2;:20;:::i;74581:96::-;-1:-1:-1;74694:1:0;;74406:340;-1:-1:-1;74406:340:0:o;69529:783::-;69631:16;;;;:11;:16;;;;;:23;;;;69602:26;;;;;:52;;69631:23;69602:52;:::i;:::-;69584:15;:70;69580:719;;;69667:18;69688:5;69694:3;69688:10;;;;;;;;:::i;:::-;;;;;;;;;69723:16;;;:11;:16;;;;;;;:20;69688:10;;;;;;;;-1:-1:-1;69723:20:0;;69719:500;;;69784:16;;;;:11;:16;;;;;:21;;;69760:20;;;:45;;69784:21;;69760:20;;:45;;69784:21;;69760:45;:::i;:::-;;;;-1:-1:-1;;69862:16:0;;;;:11;:16;;;;;:23;;;69838:20;;;;:47;69834:134;;69929:16;;;;:11;:16;;;;;:23;;;69906:20;;;:46;69834:134;69719:500;;;70024:16;;;;:11;:16;;;;;:21;;;70000:20;;;:45;;70024:21;;70000:20;;:45;;70024:21;;70000:45;:::i;:::-;;;;-1:-1:-1;;70102:16:0;;;;:11;:16;;;;;:23;;;70078:20;;;;:47;70074:134;;70169:16;;;;:11;:16;;;;;:23;;;70146:20;;;:46;70074:134;-1:-1:-1;70239:16:0;;;;:11;:16;;;;;70275:15;70239:52;;:26;;;;:52;69529:783::o;69020:495::-;69069:18;69090:5;69096:3;69090:10;;;;;;;;:::i;:::-;;;;;;;;;;;69069:31;;69113:19;69135:4;:14;;;69113:36;;69160:11;69175:1;69160:16;69156:29;;69178:7;;69020:495;:::o;69156:29::-;69193:26;69240:4;:14;;;69222:15;:32;;;;:::i;:::-;69193:61;;69265:18;69287:1;69265:23;69261:36;;69290:7;;;69020:495;:::o;69261:36::-;69365:16;;;;69311:13;;69365:22;;-1:-1:-1;;;69365:16:0;;;;69384:3;69365:22;:::i;:::-;69327:61;;69328:32;69342:18;69328:11;:32;:::i;:::-;69327:61;;;;:::i;:::-;69311:77;;69427:11;69419:5;:19;:45;;69445:19;69459:5;69445:11;:19;:::i;:::-;69419:45;;;69441:1;69419:45;69402:14;;;:62;-1:-1:-1;;;69471:40:0;69495:15;69471:40;:14;;;;:40;-1:-1:-1;69020:495:0:o;9683:190::-;9811:53;;-1:-1:-1;;;;;29719:32:1;;;9811:53:0;;;29701:51:1;29788:32;;;29768:18;;;29761:60;29837:18;;;29830:34;;;9784:81:0;;9804:5;;9826:18;;;;;29674::1;;9811:53:0;29499:371:1;70320:1315:0;70378:13;70400:17;70420:5;70426:3;70420:10;;;;;;;;:::i;:::-;;;;;;;;;70400:30;;;;;;;;70420:10;;;;;;;70400:30;;-1:-1:-1;;;;;70400:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70400:30:0;;;;;;;;70528:52;;-1:-1:-1;;;70528:52:0;;;;70400:30;;-1:-1:-1;70400:30:0;70528:50;;:52;;;;70420:10;;70528:52;;;;;;70400:30;70528:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70505:75;;70587:19;70632:4;:15;;;-1:-1:-1;;;;;70609:49:0;;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70587:73;;70725:17;70745:28;70769:3;70745:23;:28::i;:::-;70725:48;;70780:17;70800:15;70811:3;70800:10;:15::i;:::-;70780:35;-1:-1:-1;70976:19:0;71054:13;71032:19;71037:14;71032:2;:19;:::i;:::-;:35;;;;:::i;:::-;71025:43;;:2;:43;:::i;:::-;70999:21;71011:9;70999;:21;:::i;:::-;70998:71;;;;:::i;:::-;70976:93;-1:-1:-1;71269:4:0;71248:18;71269:4;70976:93;71248:18;:::i;:::-;:25;;;;:::i;:::-;71240:33;;71355:4;:17;;;71347:5;:25;71343:75;;;71393:4;:17;;;71385:25;;71343:75;71588:24;71608:4;-1:-1:-1;;71588:24:0;:::i;:::-;71579:5;:33;;71571:60;;;;-1:-1:-1;;;71571:60:0;;30077:2:1;71571:60:0;;;30059:21:1;30116:2;30096:18;;;30089:30;-1:-1:-1;;;30135:18:1;;;30128:44;30189:18;;71571:60:0;29875:338:1;71571:60:0;70393:1242;;;;;;70320:1315;;;:::o;74815:131::-;74897:7;74927:14;74936:5;74927:6;:14;:::i;40607:158::-;40681:7;40732:22;40736:3;40748:5;40732:3;:22::i;41315:282::-;41378:16;41407:22;41432:19;41440:3;41432:7;:19::i;40136:117::-;40199:7;40226:19;40234:3;35464:18;;35381:109;27159:201;27248:22;27256:4;27262:7;27248;:22::i;:::-;27243:110;;27294:47;;-1:-1:-1;;;27294:47:0;;-1:-1:-1;;;;;28647:32:1;;27294:47:0;;;28629:51:1;28696:18;;;28689:34;;;28602:18;;27294:47:0;28455:274:1;15869:738:0;15950:18;15979:19;16119:4;16116:1;16109:4;16103:11;16096:4;16090;16086:15;16083:1;16076:5;16069;16064:60;16178:7;16168:180;;16223:4;16217:11;16269:16;16266:1;16261:3;16246:40;16316:16;16311:3;16304:29;16168:180;-1:-1:-1;;16427:1:0;16421:8;16376:16;;-1:-1:-1;16456:15:0;;:68;;16508:11;16523:1;16508:16;;16456:68;;;-1:-1:-1;;;;;16474:26:0;;;:31;16456:68;16452:148;;;16548:40;;-1:-1:-1;;;16548:40:0;;-1:-1:-1;;;;;7564:32:1;;16548:40:0;;;7546:51:1;7519:18;;16548:40:0;7400:203:1;29995:324:0;30072:4;30094:22;30102:4;30108:7;30094;:22::i;:::-;30089:223;;30133:6;:12;;;;;;;;;;;-1:-1:-1;;;;;30133:29:0;;;;;;;;;:36;;-1:-1:-1;;30133:36:0;30165:4;30133:36;;;30216:12;22870:10;;22790:98;30216:12;-1:-1:-1;;;;;30189:40:0;30207:7;-1:-1:-1;;;;;30189:40:0;30201:4;30189:40;;;;;;;;;;-1:-1:-1;30251:4:0;30244:11;;30089:223;-1:-1:-1;30295:5:0;30288:12;;39311:152;39381:4;39405:50;39410:3;-1:-1:-1;;;;;39430:23:0;;39405:4;:50::i;30563:325::-;30641:4;30662:22;30670:4;30676:7;30662;:22::i;:::-;30658:223;;;30733:5;30701:12;;;;;;;;;;;-1:-1:-1;;;;;30701:29:0;;;;;;;;;;:37;;-1:-1:-1;;30701:37:0;;;30758:40;22870:10;;30701:12;;30758:40;;30733:5;30758:40;-1:-1:-1;30820:4:0;30813:11;;39639:158;39712:4;39736:53;39744:3;-1:-1:-1;;;;;39764:23:0;;39736:7;:53::i;72758:1580::-;72827:7;72843:17;72863:5;72869:3;72863:10;;;;;;;;:::i;:::-;;;;;;;;;72843:30;;;;;;;;72863:10;;;;;;;72843:30;;-1:-1:-1;;;;;72843:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;72843:30:0;;;;;;;;72907:16;;;;;;;;;72880:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72979:20;72843:30;;-1:-1:-1;72880:43:0;73077:15;72919:3;73077:10;:15::i;:::-;73050:42;;73099:26;73146:4;:13;;;73128:31;;:15;:31;:89;;73216:1;73128:89;;;73190:13;;;;73172:31;;;;:15;:31;:::i;:::-;73099:118;;73322:25;73378:4;:12;;;73351:16;73370:4;73351:23;;;;:::i;:::-;73350:40;;;;:::i;:::-;73322:68;-1:-1:-1;73434:19:0;73488:22;:18;73509:1;73488:22;:::i;:::-;73457:26;73466:17;73457:6;:26;:::i;:::-;73456:55;;;;:::i;:::-;73434:77;;73627:10;:17;;;73604:10;:20;;;:40;;;;:::i;:::-;73585:15;:59;73581:633;;73661:14;;73657:550;;;73746:15;;;;73736:25;;;;:::i;:::-;;;73845:10;:17;;;73836:6;:26;73832:93;;;73892:10;:17;;;73883:26;;73832:93;73657:550;;;74011:15;;;;74001:25;;;;:::i;:::-;;;74116:10;:17;;;74107:6;:26;74103:93;;;74163:10;:17;;;74154:26;;74103:93;74255:11;74246:6;:20;74242:72;;;74286:20;74295:11;74286:6;:20;:::i;:::-;74279:27;72758:1580;-1:-1:-1;;;;;;;;;72758:1580:0:o;74242:72::-;-1:-1:-1;74333:1:0;;72758:1580;-1:-1:-1;;;;;;;;72758:1580:0:o;71805:940::-;71861:7;71881:17;71901:5;71907:3;71901:10;;;;;;;;:::i;:::-;;;;;;;;;71881:30;;;;;;;;71901:10;;;;;;;71881:30;;-1:-1:-1;;;;;71881:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71881:30:0;;;;;;;;71997:51;;-1:-1:-1;;;71997:51:0;;;;71881:30;;-1:-1:-1;71881:30:0;71997:49;;:51;;;;71901:10;;71997:51;;;;;;71881:30;71997:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71969:80;;72056:20;72108:4;:16;;;-1:-1:-1;;;;;72085:50:0;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72056:82;-1:-1:-1;72220:17:0;72263:19;72056:82;72263:2;:19;:::i;:::-;72258:25;;:2;:25;:::i;:::-;72240:4;:14;;;:44;;;;:::i;:::-;72220:64;-1:-1:-1;72350:20:0;72406:18;72411:13;72406:2;:18;:::i;:::-;72399:26;;:2;:26;:::i;:::-;72373:4;:22;;;:53;;;;:::i;:::-;72350:76;;72476:12;72492:1;72476:17;72472:97;;-1:-1:-1;;;72513:17:0;71805:940;-1:-1:-1;;;;;;71805:940:0:o;72472:97::-;72659:17;72700:12;72680:16;:9;72692:4;72680:16;:::i;:::-;72679:33;;;;:::i;35844:120::-;35911:7;35938:3;:11;;35950:5;35938:18;;;;;;;;:::i;:::-;;;;;;;;;35931:25;;35844:120;;;;:::o;36514:111::-;36570:16;36606:3;:11;;36599:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36514:111;;;:::o;33086:416::-;33149:4;35261:21;;;:14;;;:21;;;;;;33166:329;;-1:-1:-1;33209:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;33394:18;;33370:21;;;:14;;;:21;;;;;;:42;;;;33427:11;;33678:1400;33744:4;33875:21;;;:14;;;:21;;;;;;33913:13;;33909:1162;;34286:18;34307:12;34318:1;34307:8;:12;:::i;:::-;34354:18;;34286:33;;-1:-1:-1;34334:17:0;;34354:22;;34375:1;;34354:22;:::i;:::-;34334:42;;34411:9;34397:10;:23;34393:385;;34441:17;34461:3;:11;;34473:9;34461:22;;;;;;;;:::i;:::-;;;;;;;;;34441:42;;34611:9;34585:3;:11;;34597:10;34585:23;;;;;;;;:::i;:::-;;;;;;;;;;;;:35;;;;34726:25;;;:14;;;:25;;;;;:36;;;34393:385;34859:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;34965:3;:14;;:21;34980:5;34965:21;;;;;;;;;;;34958:28;;;35010:4;35003:11;;;;;;;33909:1162;35054:5;35047:12;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;593:131;-1:-1:-1;;;;;668:31:1;;658:42;;648:70;;714:1;711;704:12;729:367;797:6;805;858:2;846:9;837:7;833:23;829:32;826:52;;;874:1;871;864:12;826:52;913:9;900:23;932:31;957:5;932:31;:::i;:::-;982:5;1060:2;1045:18;;;;1032:32;;-1:-1:-1;;;729:367:1:o;1283:610::-;1369:6;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1486:9;1473:23;1519:18;1511:6;1508:30;1505:50;;;1551:1;1548;1541:12;1505:50;1574:22;;1627:4;1619:13;;1615:27;-1:-1:-1;1605:55:1;;1656:1;1653;1646:12;1605:55;1696:2;1683:16;1722:18;1714:6;1711:30;1708:50;;;1754:1;1751;1744:12;1708:50;1807:7;1802:2;1792:6;1789:1;1785:14;1781:2;1777:23;1773:32;1770:45;1767:65;;;1828:1;1825;1818:12;1767:65;1859:2;1851:11;;;;;1881:6;;-1:-1:-1;1283:610:1;-1:-1:-1;;;1283:610:1:o;2007:710::-;2091:12;;-1:-1:-1;;;;;2087:38:1;;;2075:51;;2179:4;2168:16;;;2162:23;2158:49;;2142:14;;;2135:73;2257:4;2246:16;;;2240:23;2224:14;;;2217:47;2313:4;2302:16;;;2296:23;2280:14;;;2273:47;2369:4;2358:16;;;2352:23;2336:14;;;2329:47;2113:3;2414:16;;;2408:23;2392:14;;;2385:47;2478:4;2467:16;;;2461:23;1964:31;;;2526:14;;;1952:44;2493:48;2589:4;2582:5;2578:16;2572:23;2604:47;2645:4;2640:3;2636:14;2620;375:13;368:21;356:34;;305:91;2604:47;-1:-1:-1;2702:6:1;2691:18;;;2685:25;2667:16;;2660:51;2007:710::o;2722:705::-;2976:2;2988:21;;;3058:13;;2961:18;;;3080:22;;;2928:4;;3159:15;;;3133:2;3118:18;;;2928:4;3202:199;3216:6;3213:1;3210:13;3202:199;;;3265:52;3313:3;3304:6;3298:13;3265:52;:::i;:::-;3388:2;3376:15;;;;;3346:6;3337:16;;;;;3238:1;3231:9;3202:199;;;-1:-1:-1;3418:3:1;;2722:705;-1:-1:-1;;;;;2722:705:1:o;3432:226::-;3491:6;3544:2;3532:9;3523:7;3519:23;3515:32;3512:52;;;3560:1;3557;3550:12;3512:52;-1:-1:-1;3605:23:1;;3432:226;-1:-1:-1;3432:226:1:o;3663:268::-;3861:3;3846:19;;3874:51;3850:9;3907:6;3874:51;:::i;3936:247::-;3995:6;4048:2;4036:9;4027:7;4023:23;4019:32;4016:52;;;4064:1;4061;4054:12;4016:52;4103:9;4090:23;4122:31;4147:5;4122:31;:::i;4188:611::-;4378:2;4390:21;;;4460:13;;4363:18;;;4482:22;;;4330:4;;4561:15;;;4535:2;4520:18;;;4330:4;4604:169;4618:6;4615:1;4612:13;4604:169;;;4679:13;;4667:26;;4722:2;4748:15;;;;4713:12;;;;4640:1;4633:9;4604:169;;5217:367;5285:6;5293;5346:2;5334:9;5325:7;5321:23;5317:32;5314:52;;;5362:1;5359;5352:12;5314:52;5407:23;;;-1:-1:-1;5506:2:1;5491:18;;5478:32;5519:33;5478:32;5519:33;:::i;:::-;5571:7;5561:17;;;5217:367;;;;;:::o;6557:487::-;6634:6;6642;6650;6703:2;6691:9;6682:7;6678:23;6674:32;6671:52;;;6719:1;6716;6709:12;6671:52;6764:23;;;-1:-1:-1;6884:2:1;6869:18;;6856:32;;-1:-1:-1;6966:2:1;6951:18;;6938:32;6979:33;6938:32;6979:33;:::i;:::-;7031:7;7021:17;;;6557:487;;;;;:::o;7049:346::-;7117:6;7125;7178:2;7166:9;7157:7;7153:23;7149:32;7146:52;;;7194:1;7191;7184:12;7146:52;-1:-1:-1;;7239:23:1;;;7359:2;7344:18;;;7331:32;;-1:-1:-1;7049:346:1:o;7608:388::-;7676:6;7684;7737:2;7725:9;7716:7;7712:23;7708:32;7705:52;;;7753:1;7750;7743:12;7705:52;7792:9;7779:23;7811:31;7836:5;7811:31;:::i;:::-;7861:5;-1:-1:-1;7918:2:1;7903:18;;7890:32;7931:33;7890:32;7931:33;:::i;8001:637::-;8191:2;8203:21;;;8273:13;;8176:18;;;8295:22;;;8143:4;;8374:15;;;8348:2;8333:18;;;8143:4;8417:195;8431:6;8428:1;8425:13;8417:195;;;8496:13;;-1:-1:-1;;;;;8492:39:1;8480:52;;8561:2;8587:15;;;;8552:12;;;;8528:1;8446:9;8417:195;;10179:163;10246:20;;10306:10;10295:22;;10285:33;;10275:61;;10332:1;10329;10322:12;10275:61;10179:163;;;:::o;10347:184::-;10405:6;10458:2;10446:9;10437:7;10433:23;10429:32;10426:52;;;10474:1;10471;10464:12;10426:52;10497:28;10515:9;10497:28;:::i;10536:127::-;10597:10;10592:3;10588:20;10585:1;10578:31;10628:4;10625:1;10618:15;10652:4;10649:1;10642:15;10668:372;10739:2;10733:9;10804:2;10785:13;;-1:-1:-1;;10781:27:1;10769:40;;10839:18;10824:34;;10860:22;;;10821:62;10818:185;;;10925:10;10920:3;10916:20;10913:1;10906:31;10960:4;10957:1;10950:15;10988:4;10985:1;10978:15;10818:185;11019:2;11012:22;10668:372;;-1:-1:-1;10668:372:1:o;11045:566::-;11094:5;11147:3;11140:4;11132:6;11128:17;11124:27;11114:55;;11165:1;11162;11155:12;11114:55;11266:19;11244:2;11266:19;:::i;:::-;11309:3;11347:2;11339:6;11335:15;11373:3;11365:6;11362:15;11359:35;;;11390:1;11387;11380:12;11359:35;11414:6;11429:151;11445:6;11440:3;11437:15;11429:151;;;11513:22;11531:3;11513:22;:::i;:::-;11501:35;;11565:4;11556:14;;;;11462;11429:151;;11616:1115;11760:6;11768;11776;11784;11837:3;11825:9;11816:7;11812:23;11808:33;11805:53;;;11854:1;11851;11844:12;11805:53;11893:9;11880:23;11912:31;11937:5;11912:31;:::i;:::-;11962:5;-1:-1:-1;12019:2:1;12004:18;;11991:32;12032:33;11991:32;12032:33;:::i;:::-;12084:7;-1:-1:-1;12129:2:1;12114:18;;12110:32;-1:-1:-1;12100:60:1;;12156:1;12153;12146:12;12100:60;12258:20;12235:3;12258:20;:::i;:::-;12300:3;12341;12330:9;12326:19;12368:7;12360:6;12357:19;12354:39;;;12389:1;12386;12379:12;12354:39;12428:2;12417:9;12413:18;12440:202;12456:6;12451:3;12448:15;12440:202;;;12550:17;;12580:20;;12629:2;12620:12;;;;12473;12440:202;;;12444:3;12661:5;12651:15;;12685:40;12717:7;12709:6;12685:40;:::i;:::-;12675:50;;;;;11616:1115;;;;;;;:::o;12736:127::-;12797:10;12792:3;12788:20;12785:1;12778:31;12828:4;12825:1;12818:15;12852:4;12849:1;12842:15;12868:342;13070:2;13052:21;;;13109:2;13089:18;;;13082:30;-1:-1:-1;;;13143:2:1;13128:18;;13121:48;13201:2;13186:18;;12868:342::o;13557:127::-;13618:10;13613:3;13609:20;13606:1;13599:31;13649:4;13646:1;13639:15;13673:4;13670:1;13663:15;13689:128;13756:9;;;13777:11;;;13774:37;;;13791:18;;:::i;13822:273::-;13890:6;13943:2;13931:9;13922:7;13918:23;13914:32;13911:52;;;13959:1;13956;13949:12;13911:52;13991:9;13985:16;14041:4;14034:5;14030:16;14023:5;14020:27;14010:55;;14061:1;14058;14051:12;14100:375;14188:1;14206:5;14220:249;14241:1;14231:8;14228:15;14220:249;;;14291:4;14286:3;14282:14;14276:4;14273:24;14270:50;;;14300:18;;:::i;:::-;14350:1;14340:8;14336:16;14333:49;;;14364:16;;;;14333:49;14447:1;14443:16;;;;;14403:15;;14220:249;;;14100:375;;;;;;:::o;14480:902::-;14529:5;14559:8;14549:80;;-1:-1:-1;14600:1:1;14614:5;;14549:80;14648:4;14638:76;;-1:-1:-1;14685:1:1;14699:5;;14638:76;14730:4;14748:1;14743:59;;;;14816:1;14811:174;;;;14723:262;;14743:59;14773:1;14764:10;;14787:5;;;14811:174;14848:3;14838:8;14835:17;14832:43;;;14855:18;;:::i;:::-;-1:-1:-1;;14911:1:1;14897:16;;14970:5;;14723:262;;15069:2;15059:8;15056:16;15050:3;15044:4;15041:13;15037:36;15031:2;15021:8;15018:16;15013:2;15007:4;15004:12;15000:35;14997:77;14994:203;;;-1:-1:-1;15106:19:1;;;15182:5;;14994:203;15229:42;-1:-1:-1;;15254:8:1;15248:4;15229:42;:::i;:::-;15307:6;15303:1;15299:6;15295:19;15286:7;15283:32;15280:58;;;15318:18;;:::i;:::-;15356:20;;14480:902;-1:-1:-1;;;14480:902:1:o;15387:140::-;15445:5;15474:47;15515:4;15505:8;15501:19;15495:4;15474:47;:::i;15532:168::-;15605:9;;;15636;;15653:15;;;15647:22;;15633:37;15623:71;;15674:18;;:::i;17821:136::-;17860:3;17888:5;17878:39;;17897:18;;:::i;:::-;-1:-1:-1;;;17933:18:1;;17821:136::o;17962:125::-;18027:9;;;18048:10;;;18045:36;;;18061:18;;:::i;18092:127::-;18153:10;18148:3;18144:20;18141:1;18134:31;18184:4;18181:1;18174:15;18208:4;18205:1;18198:15;20340:184;20410:6;20463:2;20451:9;20442:7;20438:23;20434:32;20431:52;;;20479:1;20476;20469:12;20431:52;-1:-1:-1;20502:16:1;;20340:184;-1:-1:-1;20340:184:1:o;22969:217::-;23009:1;23035;23025:132;;23079:10;23074:3;23070:20;23067:1;23060:31;23114:4;23111:1;23104:15;23142:4;23139:1;23132:15;23025:132;-1:-1:-1;23171:9:1;;22969:217::o;28315:135::-;28354:3;28375:17;;;28372:43;;28395:18;;:::i;:::-;-1:-1:-1;28442:1:1;28431:13;;28315:135::o;29094:151::-;29184:4;29177:12;;;29163;;;29159:31;;29202:14;;29199:40;;;29219:18;;:::i;29250:244::-;29361:10;29334:18;;;29354;;;29330:43;29393:28;;;;29440:24;;;29430:58;;29468:18;;:::i
Swarm Source
ipfs://e3b1905d005b5a589216095ab27a8d06d6809c32d253873c1bf330102170e9a4
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.