Source Code
Overview
S Balance
0 S
Token Holdings
More Info
ContractCreator
Latest 8 from a total of 8 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit | 13221737 | 19 days ago | IN | 0 S | 0.00031618 | ||||
Deposit | 13220690 | 19 days ago | IN | 0 S | 0.00035419 | ||||
Deposit | 13207533 | 19 days ago | IN | 0 S | 0.00041352 | ||||
Deposit | 13206736 | 19 days ago | IN | 0 S | 0.00036437 | ||||
Deposit | 13205673 | 19 days ago | IN | 0 S | 0.00031619 | ||||
New Bond | 13204593 | 19 days ago | IN | 0 S | 0.00054801 | ||||
Grant Auctioneer... | 13204536 | 19 days ago | IN | 0 S | 0.00019439 | ||||
Whitelist Token | 13204436 | 19 days ago | IN | 0 S | 0.00013036 |
Latest 21 internal transactions
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13221737 | 19 days ago | 0 S | ||||
13220690 | 19 days ago | 0 S | ||||
13220690 | 19 days ago | 0 S | ||||
13220690 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13207533 | 19 days ago | 0 S | ||||
13206736 | 19 days ago | 0 S | ||||
13206736 | 19 days ago | 0 S | ||||
13206736 | 19 days ago | 0 S | ||||
13205673 | 19 days ago | 0 S | ||||
13204593 | 19 days ago | 0 S | ||||
13204593 | 19 days ago | 0 S | ||||
13204436 | 19 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-17 */ // 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"); // 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
60a060405234801561000f575f5ffd5b506040516146f53803806146f583398101604081905261002e91610237565b60016002556001600160a01b03811661007f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640160405180910390fd5b6001600160a01b0381166080819052610099905f90610106565b506100cc7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6360805161010660201b60201c565b506100ff7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e60805161010660201b60201c565b505061025d565b5f80610112848461013c565b90508015610133575f84815260016020526040902061013190846101e3565b505b90505b92915050565b5f828152602081815260408083206001600160a01b038516845290915281205460ff166101dc575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556101943390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610136565b505f610136565b5f610133836001600160a01b0384165f8181526001830160205260408120546101dc57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610136565b5f60208284031215610247575f5ffd5b81516001600160a01b0381168114610133575f5ffd5b60805161447961027c5f395f81816107e0015261209c01526144795ff3fe608060405234801561000f575f5ffd5b50600436106102cb575f3560e01c806391de4d071161017b578063c5f0d05c116100e4578063d547741f1161009e578063ddb2924711610079578063ddb29247146107a0578063ea5e0c60146107b3578063ed421a9c146107db578063f9a6466414610802575f5ffd5b8063d547741f14610771578063d627d25e14610784578063d918a16e14610797575f5ffd5b8063c5f0d05c146106fe578063c8558f1b14610711578063ca15c87314610724578063cfe9232b14610737578063d04cffeb1461074b578063d1af1fbc1461075e575f5ffd5b8063b33712c511610135578063b33712c5146105dd578063bc063e1a146105e5578063bc3b2b12146105ee578063be32ee2614610658578063c0680e201461066b578063c0aa0e8a1461067e575f5ffd5b806391de4d071461056a5780639b299d9a1461057d5780639cd85b5b14610590578063a217fddf146105a3578063a3246ad3146105aa578063b2f5de94146105ca575f5ffd5b806336568abe116102375780637b30564e116101f15780638dbdbe6d116101cc5780638dbdbe6d146104f25780639010d07c14610505578063909b2bb81461053057806391d1485414610557575f5ffd5b80637b30564e146104795780637bde82f21461048c5780638ad59c701461049f575f5ffd5b806336568abe14610404578063439766ce146104175780635c975abb1461041f5780636247f6f21461042c5780636e76fc8f1461043f578063725dafe014610466575f5ffd5b8063172c44ec11610288578063172c44ec1461038d5780631b014e85146103a057806324760807146103b3578063248a9ca3146103bc57806327507458146103de5780632f2ff15d146103f1575f5ffd5b806301ffc9a7146102cf57806306b40ea3146102f75780630868335e146103185780630fb81eb4146103385780631227b4021461034d578063154347b51461036d575b5f5ffd5b6102e26102dd366004613d75565b610815565b60405190151581526020015b60405180910390f35b61030a610305366004613db0565b61083f565b6040519081526020016102ee565b61032b610326366004613dda565b61086a565b6040516102ee9190613ebc565b61034b610346366004613f0a565b61091a565b005b61036061035b366004613f0a565b610b51565b6040516102ee9190613f21565b61038061037b366004613f30565b610c26565b6040516102ee9190613f4b565b61030a61039b366004613f0a565b610c8f565b6103806103ae366004613f30565b610c99565b61030a60045481565b61030a6103ca366004613f0a565b5f9081526020819052604090206001015490565b6102e26103ec366004613f0a565b610d00565b61034b6103ff366004613f82565b610d84565b61034b610412366004613f82565b610dae565b61034b610de6565b6003546102e29060ff1681565b61034b61043a366004613f30565b610e4a565b61030a7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6381565b61034b610474366004613f82565b611030565b6102e2610487366004613db0565b61114f565b61030a61049a366004613f82565b6111f3565b6104b26104ad366004613db0565b611530565b604080516001600160a01b039097168752602087019590955293850192909252606084015263ffffffff90811660808401521660a082015260c0016102ee565b61034b610500366004613fb0565b611595565b610518610513366004613fe6565b611bc1565b6040516001600160a01b0390911681526020016102ee565b61030a7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e81565b6102e2610565366004613f82565b611bdf565b6102e2610578366004614006565b611c07565b61034b61058b366004613f30565b611d03565b6102e261059e366004613f30565b611e35565b61030a5f81565b6105bd6105b8366004613f0a565b611e4d565b6040516102ee9190614032565b61034b6105d8366004613f0a565b611e66565b61034b612115565b61030a6103e881565b61062e6105fc366004613f0a565b60076020525f90815260409020805460018201546002830154600384015460049094015460ff90931693919290919085565b6040805195151586526020860194909452928401919091526060830152608082015260a0016102ee565b61034b610666366004613f30565b612176565b61030a610679366004613db0565b6121f3565b61069161068c366004613f0a565b61220c565b604080516001600160a01b039d8e1681529c909b1660208d0152998b019890985260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015263ffffffff90811661014084015216610160820152610180016102ee565b61034b61070c36600461408a565b612292565b61030a61071f366004613db0565b612333565b61030a610732366004613f0a565b612528565b61030a5f5160206144245f395f51905f5281565b610380610759366004613f30565b61253e565b61051861076c366004613f0a565b612624565b61034b61077f366004613f82565b61264c565b61034b610792366004613f30565b612670565b61030a600e5481565b61030a6107ae36600461413f565b612749565b6105186107c1366004613f0a565b600a6020525f90815260409020546001600160a01b031681565b6105187f000000000000000000000000000000000000000000000000000000000000000081565b61030a610810366004613db0565b612f14565b5f6001600160e01b03198216635a05180f60e01b1480610839575061083982612f1f565b92915050565b600c602052815f5260405f208181548110610858575f80fd5b905f5260205f20015f91509150505481565b60605f8267ffffffffffffffff811115610886576108866140a3565b6040519080825280602002602001820160405280156108bf57816020015b6108ac613d15565b8152602001906001900390816108a45790505b5090505f5b83811015610912576108ed8585838181106108e1576108e16141d2565b90506020020135610b51565b8282815181106108ff576108ff6141d2565b60209081029190910101526001016108c4565b509392505050565b5f5160206144245f395f51905f5261093181612f53565b60035460ff161561095d5760405162461bcd60e51b8152600401610954906141e6565b60405180910390fd5b5f828152600a60205260409020546001600160a01b031633146109b25760405162461bcd60e51b815260206004820152600d60248201526c139bdd081e5bdd5c88109bdb99609a1b6044820152606401610954565b42600683815481106109c6576109c66141d2565b905f5260205f2090600b0201600a015f6101000a81548163ffffffff021916908363ffffffff1602179055505f60068381548110610a0657610a066141d2565b905f5260205f2090600b02016003015460068481548110610a2957610a296141d2565b905f5260205f2090600b020160020154610a439190614226565b90505f60068481548110610a5957610a596141d2565b5f9182526020918290206001600b9092020101546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015610aac573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad09190614239565b9050610b2133610ae183600a61433c565b610aeb908561434a565b60068781548110610afe57610afe6141d2565b5f91825260209091206001600b9092020101546001600160a01b03169190612f60565b60405184907fc22a1d700260b389bc0ce34ad5cd517ce48733d9f3bf0f188725711b0f53940c905f90a250505050565b610b59613d15565b5f60068381548110610b6d57610b6d6141d2565b5f9182526020918290206040805161012081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352919250908101610bb585612fbf565b81526007830154602080830191909152600a80850154600160201b900463ffffffff16604080850191909152600286015460608501525f8881529190925220546001600160a01b0316608082015260a001610c0f85610d00565b151581526020018260030154815250915050919050565b6001600160a01b0381165f908152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610c8357602002820191905f5260205f20905b815481526020019060010190808311610c6f575b50505050509050919050565b5f61083982612fbf565b6001600160a01b0381165f908152600c6020908152604091829020805483518184028101840190945280845260609392830182828015610c8357602002820191905f5260205f2090815481526020019060010190808311610c6f5750505050509050919050565b5f60068281548110610d1457610d146141d2565b5f9182526020909120600a600b90920201015463ffffffff164211801590610839575060068281548110610d4a57610d4a6141d2565b905f5260205f2090600b02016006015460068381548110610d6d57610d6d6141d2565b905f5260205f2090600b0201600301541092915050565b5f82815260208190526040902060010154610d9e81612f53565b610da88383612fc9565b50505050565b6001600160a01b0381163314610dd75760405163334bd91960e11b815260040160405180910390fd5b610de18282612ff4565b505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a63610e1081612f53565b6003805460ff1916600117905560405133907f81990fd9a5c552b8e3677917d8a03c07678f0d2cb68f88b634aca2022e9bd19f905f90a250565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e610e7481612f53565b6001600160a01b038216610ec25760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610954565b6001600160a01b0382165f9081526009602052604090205460ff1615610f2a5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e20616c72656164792077686974656c6973746564000000000000006044820152606401610954565b816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f84575060408051601f3d908101601f19168201909252610f8191810190614239565b60015b610fc65760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21022a9219918103a37b5b2b760691b6044820152606401610954565b506001600160a01b0382165f818152600960205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555b5050565b5f828152600a60205260409020546001600160a01b031633146110885760405162461bcd60e51b815260206004820152601060248201526f2737ba1036b0b935b2ba1037bbb732b960811b6044820152606401610954565b61109f5f5160206144245f395f51905f5282611bdf565b6110dc5760405162461bcd60e51b815260206004820152600e60248201526d2737ba1030bab1ba34b7b732b2b960911b6044820152606401610954565b5f828152600a602090815260409182902080546001600160a01b0319166001600160a01b03851690811790915582518581523392810192909252918101919091527f2ce31ebb7c731534ab7267f7655a662e4a2bce5ffbf2c5ac9c197c0f5c554e79906060015b60405180910390a15050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061117b5761117b6141d2565b5f9182526020918290206040805160c081018252600590930290910180546001600160a01b031683526001810154938301939093526002830154908201526003820154606082015260049091015463ffffffff8082166080840152600160201b9091041660a090910181905242101591505092915050565b5f6111fc61301f565b6001600160a01b0382165f908152600d6020526040812054600680549192918291908790811061122e5761122e6141d2565b5f9182526020918290206001600b9092020101546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015611281573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a59190614239565b9050825b801561152057806112b981614361565b6001600160a01b0388165f908152600d60205260408120805492945090925090839081106112e9576112e96141d2565b905f5260205f20906005020190508781600301540361151a575f61130d8884612333565b905080156115185780826001015f8282546113289190614226565b9091555061133890508186614376565b94506113668861134986600a61433c565b611353908461434a565b60068c81548110610afe57610afe6141d2565b81600101545f03611518576001600160a01b0388165f908152600d602052604090205461139590600190614226565b83146114a6576001600160a01b0388165f908152600d6020526040902080546113c090600190614226565b815481106113d0576113d06141d2565b905f5260205f209060050201600d5f8a6001600160a01b03166001600160a01b031681526020019081526020015f208481548110611410576114106141d2565b5f9182526020909120825460059092020180546001600160a01b0319166001600160a01b039092169190911781556001808301549082015560028083015490820155600380830154908201556004918201805492909101805463ffffffff19811663ffffffff94851690811783559254600160201b9081900490941690930267ffffffffffffffff199093169091179190911790555b6001600160a01b0388165f908152600d602052604090208054806114cc576114cc614389565b5f8281526020812060055f199093019283020180546001600160a01b031916815560018101829055600281018290556003810191909155600401805467ffffffffffffffff1916905590555b505b506112a9565b5090925050506108396001600255565b600d602052815f5260405f208181548110611549575f80fd5b5f918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919063ffffffff80821691600160201b90041686565b61159d61301f565b6001600160a01b0381166115ea5760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642075736572206164647265737360601b6044820152606401610954565b600654831061162f5760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081b585c9ad95d081251607a1b6044820152606401610954565b5f60068481548110611643576116436141d2565b5f9182526020909120600b90910201600a81015490915063ffffffff164211156116a05760405162461bcd60e51b815260206004820152600e60248201526d109bdb99081a185cc8195b99195960921b6044820152606401610954565b80600601548160030154106116f75760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d20626f6e6420636170616369747920726561636865640000006044820152606401610954565b80546040805163313ce56760e01b815290515f926001600160a01b03169163313ce5679160048083019260209291908290030181865afa15801561173d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117619190614239565b90505f61176d82613076565b9050808510156117bf5760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742062656c6f77206d696e696d756d207468726573686f6c64006044820152606401610954565b82600701548511156118135760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742065786365656473206d6178696d756d20616c6c6f776564006044820152606401610954565b61181c866130a1565b611825866131e3565b82546040516370a0823160e01b81523060048201526001600160a01b03909116905f9082906370a0823190602401602060405180830381865afa15801561186e573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611892919061439d565b90506118a96001600160a01b03831633308a6132a4565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156118ed573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611911919061439d565b90508761191e8383614226565b1461196b5760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374207472616e7366657220616d6f756e74000000000000006044820152606401610954565b8760068a8154811061197f5761197f6141d2565b905f5260205f2090600b02016008015f82825461199c9190614376565b909155505f90506119ac8a6132dd565b90505f6119b98a83613541565b600189015460068a015460038b01549293506001600160a01b03909116916119e2908490614376565b1115611a305760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d6178696d756d20626f6e642064656274000000000000006044820152606401610954565b600d5f8b6001600160a01b03166001600160a01b031681526020019081526020015f206040518060c00160405280836001600160a01b031681526020018481526020018581526020018e81526020014263ffffffff168152602001428c600a0160049054906101000a900463ffffffff1663ffffffff16611ab19190614376565b63ffffffff9081169091528254600181810185555f9485526020808620855160059094020180546001600160a01b039094166001600160a01b03199094169390931783558401519082015560408301516002820155606083015160038083019190915560808401516004909201805460a0909501518416600160201b0267ffffffffffffffff1990951692909316919091179290921790558a018054849290611b5b908490614376565b9091555050604080518c8152602081018490529081018490528c906001600160a01b038c16907f105066e10d7040f371761942e4dcb5b97c51daf3acfe0295b7d4c42d32af86f29060600160405180910390a3505050505050505050610de16001600255565b5f828152600160205260408120611bd8908361354c565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6001600160a01b0381165f908152600b6020908152604080832080548251818502810185019093528083528493830182828015611c6157602002820191905f5260205f20905b815481526020019060010190808311611c4d575b509394505f93505050505b8151811015611cf957846001600160a01b0316600a5f848481518110611c9457611c946141d2565b60209081029190910181015182528101919091526040015f20546001600160a01b0316148015611ce15750611ce1828281518110611cd457611cd46141d2565b6020026020010151610d00565b15611cf157600192505050610839565b600101611c6c565b505f949350505050565b5f611d0d81612f53565b6001600160a01b038216611d635760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061756374696f6e65657220616464726573730000000000006044820152606401610954565b611d7a5f5160206144245f395f51905f5283611bdf565b15611dbf5760405162461bcd60e51b815260206004820152601560248201527420b63932b0b23c9030b71030bab1ba34b7b732b2b960591b6044820152606401610954565b611dd65f5160206144245f395f51905f5283612fc9565b506001600160a01b0382165f81815260086020526040808220805460ff19166001179055513392915f5160206144245f395f51905f52917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b5f6108395f5160206144245f395f51905f5283611bdf565b5f81815260016020526040902060609061083990613557565b5f5160206144245f395f51905f52611e7d81612f53565b60035460ff1615611ea05760405162461bcd60e51b8152600401610954906141e6565b5f828152600a60205260409020546001600160a01b03163314611f055760405162461bcd60e51b815260206004820152601760248201527f4e6f74206d61726b657427732061756374696f6e6565720000000000000000006044820152606401610954565b60068281548110611f1857611f186141d2565b5f9182526020909120600a600b90920201015463ffffffff164211611f785760405162461bcd60e51b8152602060048201526016602482015275109bdb99081b9bdd081e595d0818dbdb98db1d59195960521b6044820152606401610954565b5f60068381548110611f8c57611f8c6141d2565b5f91825260208220600b9091020154600680546001600160a01b0390921693509085908110611fbd57611fbd6141d2565b905f5260205f2090600b02016008015490505f826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120309190614239565b600e549091505f901561206757612710600e548461204e919061434a565b61205891906143b4565b90506120648184614226565b92505b6120913361207684600a61433c565b612080908661434a565b6001600160a01b0387169190612f60565b80156120d0576120d07f00000000000000000000000000000000000000000000000000000000000000006120c684600a61433c565b612080908461434a565b6040805184815260208101839052339188917f6cdd4eeaadbfd702bff31856ddd6a8ac93f3e7683aed304c11ac132081146a1f910160405180910390a3505050505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6361213f81612f53565b6003805460ff1916905560405133907f5b65b0c1363b3003db9bcc5e1fd8805a6d6bf5bf6dc9d3431ee4494cd7d11766905f90a250565b5f61218081612f53565b6121975f5160206144245f395f51905f5283612ff4565b506001600160a01b0382165f81815260086020526040808220805460ff19169055513392915f5160206144245f395f51905f52917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600b602052815f5260405f208181548110610858575f80fd5b6006818154811061221b575f80fd5b5f9182526020909120600b9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a909a01546001600160a01b03998a169b5097909816989597949693959294919390929063ffffffff80821691600160201b9004168c565b5f61229c81612f53565b6103e88263ffffffff1611156122e35760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610954565b600e805463ffffffff84169182905560408051828152602081019390935290917f528d9479e9f9889a87a3c30c7f7ba537e5e59c4c85a37733b16e57c62df61302910160405180910390a1505050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061235f5761235f6141d2565b5f91825260208083206040805160c081018252600590940290910180546001600160a01b0316845260018101549284019290925260028201549083015260038101546060830181905260049091015463ffffffff8082166080850152600160201b9091041660a0830152600680549294509181106123df576123df6141d2565b5f9182526020918290206040805161018081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460608201526004820154608080830191909152600583015460a0830152600683015460c0830152600783015460e083015260088301546101008301526009830154610120830152600a9092015463ffffffff808216610140840152600160201b909104811661016083015291840151909250164210156124aa575f92505050610839565b5f81610160015163ffffffff1690505f8360a0015163ffffffff1642116124e55760808401516124e09063ffffffff1642614226565b6124e7565b815b90505f8285602001516124fa91906143b4565b90505f612507838361434a565b9050856020015181111561251c575060208501515b98975050505050505050565b5f81815260016020526040812061083990613563565b6001600160a01b0381165f908152600d60205260408120546060919067ffffffffffffffff811115612572576125726140a3565b60405190808252806020026020018201604052801561259b578160200160208202803683370190505b5090505f5b6001600160a01b0384165f908152600d602052604090205481101561261d576001600160a01b0384165f908152600d602052604090208054829081106125e8576125e86141d2565b905f5260205f2090600502016003015482828151811061260a5761260a6141d2565b60209081029190910101526001016125a0565b5092915050565b60058181548110612633575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f8281526020819052604090206001015461266681612f53565b610da88383612ff4565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e61269a81612f53565b6001600160a01b0382165f9081526009602052604090205460ff166126f95760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6001600160a01b0382165f81815260096020908152604091829020805460ff1916905590519182527f108cc7e243d7eb6c2052789466e0961bb24cd62395e2c99e704001b48107a0619101611143565b5f5f5160206144245f395f51905f5261276181612f53565b60035460ff16156127845760405162461bcd60e51b8152600401610954906141e6565b6001600160a01b0386166127d15760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b2103830bcb7baba103a37b5b2b760611b6044820152606401610954565b6001600160a01b03851661281d5760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21038bab7ba32903a37b5b2b760691b6044820152606401610954565b856001600160a01b0316856001600160a01b03160361287e5760405162461bcd60e51b815260206004820152601860248201527f546f6b656e73206d75737420626520646966666572656e7400000000000000006044820152606401610954565b6001600160a01b0386165f9081526009602052604090205460ff166128dd5760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6128e73386611c07565b1561293f5760405162461bcd60e51b815260206004820152602260248201527f416c726561647920686173206d61726b657420666f722071756f746520746f6b60448201526132b760f11b6064820152608401610954565b82514263ffffffff9091161161298c5760405162461bcd60e51b8152602060048201526012602482015271426f6e6420656e6420746f6f206561726c7960701b6044820152606401610954565b83516129cf5760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610954565b6020840151612a205760405162461bcd60e51b815260206004820152601c60248201527f436f6e74726f6c207661726961626c65206d757374206265203e2030000000006044820152606401610954565b6040840151612a715760405162461bcd60e51b815260206004820152601960248201527f4d696e696d756d207072696365206d757374206265203e2030000000000000006044820152606401610954565b6060840151612ab95760405162461bcd60e51b815260206004820152601460248201527304d61782064656274206d757374206265203e20360641b6044820152606401610954565b82515f90612ace90429063ffffffff16614226565b90505f8111612b185760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081d995cdd1a5b99c81c195c9a5bd960521b6044820152606401610954565b5f6127108660036020020151612b309061070861434a565b612b3a91906143b4565b905081612b4f82670de0b6b3a764000061434a565b612b5991906143b4565b90505f886001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b98573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bbc9190614239565b9050612bec3330612bce84600a61433c565b8a51612bda919061434a565b6001600160a01b038d169291906132a4565b60408051610180810182526001600160a01b03808b1682528b1660208201526006918101612c1b84600a61433c565b8a51612c27919061434a565b81525f6020808301919091528a01516040808301919091528a01516060820152608001612c5584600a61433c565b60608b0151612c64919061434a565b81526020018481526020015f8152602001428152602001885f60028110612c8d57612c8d6141d2565b602002015163ffffffff16815260200188600160028110612cb057612cb06141d2565b602002015163ffffffff16815250908060018154018082558091505060019003905f5260205f2090600b02015f909190919091505f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155610120820151816009015561014082015181600a015f6101000a81548163ffffffff021916908363ffffffff16021790555061016082015181600a0160046101000a81548163ffffffff021916908363ffffffff16021790555050505f6004549050600c5f8b6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600b5f8a6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f909190919091505533600a5f8381526020019081526020015f205f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060045f8154612eb4906143d3565b909155506001600160a01b03808a16908b16827fe2cf7d92fe44fee405e71ceedac936dbc3b0d18e7d9582e31f2f2a2a3db75c978b60016020020151604051612eff91815260200190565b60405180910390a49998505050505050505050565b5f611bd88383612333565b5f6001600160e01b03198216637965db0b60e01b148061083957506301ffc9a760e01b6001600160e01b0319831614610839565b612f5d813361356c565b50565b6040516001600160a01b03838116602483015260448201839052610de191859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b0383818316178352505050506135a5565b5f610839826132dd565b5f5f612fd58484613611565b90508015611bd8575f84815260016020526040902061091290846136a0565b5f5f61300084846136b4565b90508015611bd8575f848152600160205260409020610912908461371d565b60028054036130705760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610954565b60028055565b5f60028260ff1611156130995761308e6002836143eb565b61083990600a61433c565b506001919050565b5f81815260076020526040902060038101546004909101546130c39190614376565b421115612f5d575f600682815481106130de576130de6141d2565b5f91825260208083208584526007909152604090922054600b909102909101915060ff1615613169575f828152600760205260408120600101546004830180549192909161312d908490614376565b90915550505f82815260076020526040902060020154600482015410613164575f8281526007602052604090206002015460048201555b6131c6565b5f828152600760205260408120600101546004830180549192909161318f908490614226565b90915550505f828152600760205260409020600201546004820154116131c6575f8281526007602052604090206002015460048201555b505f9081526007602052604090204263ffffffff16600490910155565b5f600682815481106131f7576131f76141d2565b905f5260205f2090600b020190505f81600301549050805f0361321957505050565b5f82600901544261322a9190614226565b9050805f036132395750505050565b600a8301545f9061325890600160201b900463ffffffff166064614404565b63ffffffff16613268838561434a565b61327291906143b4565b905082811161328a576132858184614226565b61328c565b5f5b600385015550505063ffffffff421660099091015550565b6040516001600160a01b038481166024830152838116604483015260648201839052610da89186918216906323b872dd90608401612f8d565b5f5f600683815481106132f2576132f26141d2565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b039081168552600182015416848401819052600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa1580156133d4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133f89190614239565b90505f825f01516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561343a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345e9190614239565b90505f61346a86613731565b90505f61347687613968565b90505f836134858660246143eb565b61348f91906143eb565b61349a90600a61433c565b6134a4838561434a565b6134ae919061434a565b9050670de0b6b3a76400006134c381836143b4565b6134cd91906143b4565b96508560a001518710156134e3578560a0015196505b6134f6670de0b6b3a76400005f196143b4565b8711156135365760405162461bcd60e51b815260206004820152600e60248201526d5072696365206f766572666c6f7760901b6044820152606401610954565b505050505050919050565b5f611bd8828461434a565b5f611bd88383613b70565b60605f611bd883613b96565b5f610839825490565b6135768282611bdf565b61102c5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610954565b5f5f60205f8451602086015f885af1806135c4576040513d5f823e3d81fd5b50505f513d915081156135db5780600114156135e8565b6001600160a01b0384163b155b15610da857604051635274afe760e01b81526001600160a01b0385166004820152602401610954565b5f61361c8383611bdf565b613699575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556136513390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610839565b505f610839565b5f611bd8836001600160a01b038416613bed565b5f6136bf8383611bdf565b15613699575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610839565b5f611bd8836001600160a01b038416613c32565b5f5f60068381548110613746576137466141d2565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116855260018083015490911685850152600280830154868501526003808401546060808901919091526004808601546080808b01918252600588015460a0808d0191909152600689015460c08d01526007808a015460e08e015260088a01546101008e015260098a01546101208e0152600a9099015463ffffffff8082166101408f0152600160201b909104166101608d01528f8d52978a52888c2089519889018a52805460ff161515895296870154998801999099529385015496860196909652908301549084015292015492810192909252519193509161385086613968565b90505f84610140015163ffffffff16421161386b575f613881565b6101408501516138819063ffffffff1642614226565b90505f8560c0015183670de0b6b3a764000061389d919061434a565b6138a791906143b4565b90505f6138b5836001614376565b6138bf838761434a565b6138c991906143b4565b9050856060015186608001516138df9190614376565b421161393b578551156139165760208601516138fb9086614376565b9450856040015185111561391157856040015194505b61393b565b60208601516139259086614226565b9450856040015185101561393b57856040015194505b8085111561395a5761394d8186614226565b9998505050505050505050565b505f98975050505050505050565b5f5f6006838154811061397d5761397d6141d2565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116808652600183015490911685850152600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa158015613a60573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a849190614239565b90505f82602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ac7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613aeb9190614239565b90505f613af98260126143eb565b613b0490600a61433c565b8460600151613b13919061434a565b90505f613b218460126143eb565b613b2c90600a61433c565b856101000151613b3c919061434a565b9050805f03613b5257505f199695505050505050565b5f81613b6684670de0b6b3a764000061434a565b61251c91906143b4565b5f825f018281548110613b8557613b856141d2565b905f5260205f200154905092915050565b6060815f01805480602002602001604051908101604052809291908181526020018280548015610c8357602002820191905f5260205f2090815481526020019060010190808311610c6f5750505050509050919050565b5f81815260018301602052604081205461369957508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610839565b5f8181526001830160205260408120548015613d0c575f613c54600183614226565b85549091505f90613c6790600190614226565b9050808214613cc6575f865f018281548110613c8557613c856141d2565b905f5260205f200154905080875f018481548110613ca557613ca56141d2565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613cd757613cd7614389565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610839565b5f915050610839565b6040518061012001604052805f6001600160a01b031681526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f6001600160a01b031681526020015f151581526020015f81525090565b5f60208284031215613d85575f5ffd5b81356001600160e01b031981168114611bd8575f5ffd5b6001600160a01b0381168114612f5d575f5ffd5b5f5f60408385031215613dc1575f5ffd5b8235613dcc81613d9c565b946020939093013593505050565b5f5f60208385031215613deb575f5ffd5b823567ffffffffffffffff811115613e01575f5ffd5b8301601f81018513613e11575f5ffd5b803567ffffffffffffffff811115613e27575f5ffd5b8560208260051b8401011115613e3b575f5ffd5b6020919091019590945092505050565b80516001600160a01b03908116835260208083015182169084015260408083015190840152606080830151908401526080808301519084015260a0828101519084015260c080830151918216908401525060e0810151613eaf60e084018215159052565b5061010090810151910152565b602080825282518282018190525f918401906040840190835b81811015613eff57613ee8838551613e4b565b602093909301926101209290920191600101613ed5565b509095945050505050565b5f60208284031215613f1a575f5ffd5b5035919050565b61012081016108398284613e4b565b5f60208284031215613f40575f5ffd5b8135611bd881613d9c565b602080825282518282018190525f918401906040840190835b81811015613eff578351835260209384019390920191600101613f64565b5f5f60408385031215613f93575f5ffd5b823591506020830135613fa581613d9c565b809150509250929050565b5f5f5f60608486031215613fc2575f5ffd5b83359250602084013591506040840135613fdb81613d9c565b809150509250925092565b5f5f60408385031215613ff7575f5ffd5b50508035926020909101359150565b5f5f60408385031215614017575f5ffd5b823561402281613d9c565b91506020830135613fa581613d9c565b602080825282518282018190525f918401906040840190835b81811015613eff5783516001600160a01b031683526020938401939092019160010161404b565b803563ffffffff81168114614085575f5ffd5b919050565b5f6020828403121561409a575f5ffd5b611bd882614072565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156140ec57634e487b7160e01b5f52604160045260245ffd5b604052919050565b5f82601f830112614103575f5ffd5b61410d60406140b7565b80604084018581111561411e575f5ffd5b845b81811015613eff5761413181614072565b845260209384019301614120565b5f5f5f5f6101008587031215614153575f5ffd5b843561415e81613d9c565b9350602085013561416e81613d9c565b9250605f8501861361417e575f5ffd5b61418860806140b7565b8060c0870188811115614199575f5ffd5b604088015b818110156141b657803584526020938401930161419e565b508194506141c489826140f4565b935050505092959194509250565b634e487b7160e01b5f52603260045260245ffd5b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561083957610839614212565b5f60208284031215614249575f5ffd5b815160ff81168114611bd8575f5ffd5b6001815b60018411156142945780850481111561427857614278614212565b600184161561428657908102905b60019390931c92800261425d565b935093915050565b5f826142aa57506001610839565b816142b657505f610839565b81600181146142cc57600281146142d6576142f2565b6001915050610839565b60ff8411156142e7576142e7614212565b50506001821b610839565b5060208310610133831016604e8410600b8410161715614315575081810a610839565b6143215f198484614259565b805f190482111561433457614334614212565b029392505050565b5f611bd860ff84168361429c565b808202811582820484141761083957610839614212565b5f8161436f5761436f614212565b505f190190565b8082018082111561083957610839614212565b634e487b7160e01b5f52603160045260245ffd5b5f602082840312156143ad575f5ffd5b5051919050565b5f826143ce57634e487b7160e01b5f52601260045260245ffd5b500490565b5f600182016143e4576143e4614212565b5060010190565b60ff828116828216039081111561083957610839614212565b63ffffffff818116838216029081169081811461261d5761261d61421256fec1df76f4e50bdb95676f782d4b88b23904c5346d8bc7c986ae26f7e10e601891a264697066735822122018a126f49adda0aeda524ea197f5ac759df28bc871ad00e8a032bc3b76fb265c64736f6c634300081b00330000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d
Deployed Bytecode
0x608060405234801561000f575f5ffd5b50600436106102cb575f3560e01c806391de4d071161017b578063c5f0d05c116100e4578063d547741f1161009e578063ddb2924711610079578063ddb29247146107a0578063ea5e0c60146107b3578063ed421a9c146107db578063f9a6466414610802575f5ffd5b8063d547741f14610771578063d627d25e14610784578063d918a16e14610797575f5ffd5b8063c5f0d05c146106fe578063c8558f1b14610711578063ca15c87314610724578063cfe9232b14610737578063d04cffeb1461074b578063d1af1fbc1461075e575f5ffd5b8063b33712c511610135578063b33712c5146105dd578063bc063e1a146105e5578063bc3b2b12146105ee578063be32ee2614610658578063c0680e201461066b578063c0aa0e8a1461067e575f5ffd5b806391de4d071461056a5780639b299d9a1461057d5780639cd85b5b14610590578063a217fddf146105a3578063a3246ad3146105aa578063b2f5de94146105ca575f5ffd5b806336568abe116102375780637b30564e116101f15780638dbdbe6d116101cc5780638dbdbe6d146104f25780639010d07c14610505578063909b2bb81461053057806391d1485414610557575f5ffd5b80637b30564e146104795780637bde82f21461048c5780638ad59c701461049f575f5ffd5b806336568abe14610404578063439766ce146104175780635c975abb1461041f5780636247f6f21461042c5780636e76fc8f1461043f578063725dafe014610466575f5ffd5b8063172c44ec11610288578063172c44ec1461038d5780631b014e85146103a057806324760807146103b3578063248a9ca3146103bc57806327507458146103de5780632f2ff15d146103f1575f5ffd5b806301ffc9a7146102cf57806306b40ea3146102f75780630868335e146103185780630fb81eb4146103385780631227b4021461034d578063154347b51461036d575b5f5ffd5b6102e26102dd366004613d75565b610815565b60405190151581526020015b60405180910390f35b61030a610305366004613db0565b61083f565b6040519081526020016102ee565b61032b610326366004613dda565b61086a565b6040516102ee9190613ebc565b61034b610346366004613f0a565b61091a565b005b61036061035b366004613f0a565b610b51565b6040516102ee9190613f21565b61038061037b366004613f30565b610c26565b6040516102ee9190613f4b565b61030a61039b366004613f0a565b610c8f565b6103806103ae366004613f30565b610c99565b61030a60045481565b61030a6103ca366004613f0a565b5f9081526020819052604090206001015490565b6102e26103ec366004613f0a565b610d00565b61034b6103ff366004613f82565b610d84565b61034b610412366004613f82565b610dae565b61034b610de6565b6003546102e29060ff1681565b61034b61043a366004613f30565b610e4a565b61030a7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6381565b61034b610474366004613f82565b611030565b6102e2610487366004613db0565b61114f565b61030a61049a366004613f82565b6111f3565b6104b26104ad366004613db0565b611530565b604080516001600160a01b039097168752602087019590955293850192909252606084015263ffffffff90811660808401521660a082015260c0016102ee565b61034b610500366004613fb0565b611595565b610518610513366004613fe6565b611bc1565b6040516001600160a01b0390911681526020016102ee565b61030a7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e81565b6102e2610565366004613f82565b611bdf565b6102e2610578366004614006565b611c07565b61034b61058b366004613f30565b611d03565b6102e261059e366004613f30565b611e35565b61030a5f81565b6105bd6105b8366004613f0a565b611e4d565b6040516102ee9190614032565b61034b6105d8366004613f0a565b611e66565b61034b612115565b61030a6103e881565b61062e6105fc366004613f0a565b60076020525f90815260409020805460018201546002830154600384015460049094015460ff90931693919290919085565b6040805195151586526020860194909452928401919091526060830152608082015260a0016102ee565b61034b610666366004613f30565b612176565b61030a610679366004613db0565b6121f3565b61069161068c366004613f0a565b61220c565b604080516001600160a01b039d8e1681529c909b1660208d0152998b019890985260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015263ffffffff90811661014084015216610160820152610180016102ee565b61034b61070c36600461408a565b612292565b61030a61071f366004613db0565b612333565b61030a610732366004613f0a565b612528565b61030a5f5160206144245f395f51905f5281565b610380610759366004613f30565b61253e565b61051861076c366004613f0a565b612624565b61034b61077f366004613f82565b61264c565b61034b610792366004613f30565b612670565b61030a600e5481565b61030a6107ae36600461413f565b612749565b6105186107c1366004613f0a565b600a6020525f90815260409020546001600160a01b031681565b6105187f0000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d81565b61030a610810366004613db0565b612f14565b5f6001600160e01b03198216635a05180f60e01b1480610839575061083982612f1f565b92915050565b600c602052815f5260405f208181548110610858575f80fd5b905f5260205f20015f91509150505481565b60605f8267ffffffffffffffff811115610886576108866140a3565b6040519080825280602002602001820160405280156108bf57816020015b6108ac613d15565b8152602001906001900390816108a45790505b5090505f5b83811015610912576108ed8585838181106108e1576108e16141d2565b90506020020135610b51565b8282815181106108ff576108ff6141d2565b60209081029190910101526001016108c4565b509392505050565b5f5160206144245f395f51905f5261093181612f53565b60035460ff161561095d5760405162461bcd60e51b8152600401610954906141e6565b60405180910390fd5b5f828152600a60205260409020546001600160a01b031633146109b25760405162461bcd60e51b815260206004820152600d60248201526c139bdd081e5bdd5c88109bdb99609a1b6044820152606401610954565b42600683815481106109c6576109c66141d2565b905f5260205f2090600b0201600a015f6101000a81548163ffffffff021916908363ffffffff1602179055505f60068381548110610a0657610a066141d2565b905f5260205f2090600b02016003015460068481548110610a2957610a296141d2565b905f5260205f2090600b020160020154610a439190614226565b90505f60068481548110610a5957610a596141d2565b5f9182526020918290206001600b9092020101546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015610aac573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad09190614239565b9050610b2133610ae183600a61433c565b610aeb908561434a565b60068781548110610afe57610afe6141d2565b5f91825260209091206001600b9092020101546001600160a01b03169190612f60565b60405184907fc22a1d700260b389bc0ce34ad5cd517ce48733d9f3bf0f188725711b0f53940c905f90a250505050565b610b59613d15565b5f60068381548110610b6d57610b6d6141d2565b5f9182526020918290206040805161012081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352919250908101610bb585612fbf565b81526007830154602080830191909152600a80850154600160201b900463ffffffff16604080850191909152600286015460608501525f8881529190925220546001600160a01b0316608082015260a001610c0f85610d00565b151581526020018260030154815250915050919050565b6001600160a01b0381165f908152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610c8357602002820191905f5260205f20905b815481526020019060010190808311610c6f575b50505050509050919050565b5f61083982612fbf565b6001600160a01b0381165f908152600c6020908152604091829020805483518184028101840190945280845260609392830182828015610c8357602002820191905f5260205f2090815481526020019060010190808311610c6f5750505050509050919050565b5f60068281548110610d1457610d146141d2565b5f9182526020909120600a600b90920201015463ffffffff164211801590610839575060068281548110610d4a57610d4a6141d2565b905f5260205f2090600b02016006015460068381548110610d6d57610d6d6141d2565b905f5260205f2090600b0201600301541092915050565b5f82815260208190526040902060010154610d9e81612f53565b610da88383612fc9565b50505050565b6001600160a01b0381163314610dd75760405163334bd91960e11b815260040160405180910390fd5b610de18282612ff4565b505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a63610e1081612f53565b6003805460ff1916600117905560405133907f81990fd9a5c552b8e3677917d8a03c07678f0d2cb68f88b634aca2022e9bd19f905f90a250565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e610e7481612f53565b6001600160a01b038216610ec25760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610954565b6001600160a01b0382165f9081526009602052604090205460ff1615610f2a5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e20616c72656164792077686974656c6973746564000000000000006044820152606401610954565b816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f84575060408051601f3d908101601f19168201909252610f8191810190614239565b60015b610fc65760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21022a9219918103a37b5b2b760691b6044820152606401610954565b506001600160a01b0382165f818152600960205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555b5050565b5f828152600a60205260409020546001600160a01b031633146110885760405162461bcd60e51b815260206004820152601060248201526f2737ba1036b0b935b2ba1037bbb732b960811b6044820152606401610954565b61109f5f5160206144245f395f51905f5282611bdf565b6110dc5760405162461bcd60e51b815260206004820152600e60248201526d2737ba1030bab1ba34b7b732b2b960911b6044820152606401610954565b5f828152600a602090815260409182902080546001600160a01b0319166001600160a01b03851690811790915582518581523392810192909252918101919091527f2ce31ebb7c731534ab7267f7655a662e4a2bce5ffbf2c5ac9c197c0f5c554e79906060015b60405180910390a15050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061117b5761117b6141d2565b5f9182526020918290206040805160c081018252600590930290910180546001600160a01b031683526001810154938301939093526002830154908201526003820154606082015260049091015463ffffffff8082166080840152600160201b9091041660a090910181905242101591505092915050565b5f6111fc61301f565b6001600160a01b0382165f908152600d6020526040812054600680549192918291908790811061122e5761122e6141d2565b5f9182526020918290206001600b9092020101546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015611281573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a59190614239565b9050825b801561152057806112b981614361565b6001600160a01b0388165f908152600d60205260408120805492945090925090839081106112e9576112e96141d2565b905f5260205f20906005020190508781600301540361151a575f61130d8884612333565b905080156115185780826001015f8282546113289190614226565b9091555061133890508186614376565b94506113668861134986600a61433c565b611353908461434a565b60068c81548110610afe57610afe6141d2565b81600101545f03611518576001600160a01b0388165f908152600d602052604090205461139590600190614226565b83146114a6576001600160a01b0388165f908152600d6020526040902080546113c090600190614226565b815481106113d0576113d06141d2565b905f5260205f209060050201600d5f8a6001600160a01b03166001600160a01b031681526020019081526020015f208481548110611410576114106141d2565b5f9182526020909120825460059092020180546001600160a01b0319166001600160a01b039092169190911781556001808301549082015560028083015490820155600380830154908201556004918201805492909101805463ffffffff19811663ffffffff94851690811783559254600160201b9081900490941690930267ffffffffffffffff199093169091179190911790555b6001600160a01b0388165f908152600d602052604090208054806114cc576114cc614389565b5f8281526020812060055f199093019283020180546001600160a01b031916815560018101829055600281018290556003810191909155600401805467ffffffffffffffff1916905590555b505b506112a9565b5090925050506108396001600255565b600d602052815f5260405f208181548110611549575f80fd5b5f918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919063ffffffff80821691600160201b90041686565b61159d61301f565b6001600160a01b0381166115ea5760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642075736572206164647265737360601b6044820152606401610954565b600654831061162f5760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081b585c9ad95d081251607a1b6044820152606401610954565b5f60068481548110611643576116436141d2565b5f9182526020909120600b90910201600a81015490915063ffffffff164211156116a05760405162461bcd60e51b815260206004820152600e60248201526d109bdb99081a185cc8195b99195960921b6044820152606401610954565b80600601548160030154106116f75760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d20626f6e6420636170616369747920726561636865640000006044820152606401610954565b80546040805163313ce56760e01b815290515f926001600160a01b03169163313ce5679160048083019260209291908290030181865afa15801561173d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117619190614239565b90505f61176d82613076565b9050808510156117bf5760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742062656c6f77206d696e696d756d207468726573686f6c64006044820152606401610954565b82600701548511156118135760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742065786365656473206d6178696d756d20616c6c6f776564006044820152606401610954565b61181c866130a1565b611825866131e3565b82546040516370a0823160e01b81523060048201526001600160a01b03909116905f9082906370a0823190602401602060405180830381865afa15801561186e573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611892919061439d565b90506118a96001600160a01b03831633308a6132a4565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156118ed573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611911919061439d565b90508761191e8383614226565b1461196b5760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374207472616e7366657220616d6f756e74000000000000006044820152606401610954565b8760068a8154811061197f5761197f6141d2565b905f5260205f2090600b02016008015f82825461199c9190614376565b909155505f90506119ac8a6132dd565b90505f6119b98a83613541565b600189015460068a015460038b01549293506001600160a01b03909116916119e2908490614376565b1115611a305760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d6178696d756d20626f6e642064656274000000000000006044820152606401610954565b600d5f8b6001600160a01b03166001600160a01b031681526020019081526020015f206040518060c00160405280836001600160a01b031681526020018481526020018581526020018e81526020014263ffffffff168152602001428c600a0160049054906101000a900463ffffffff1663ffffffff16611ab19190614376565b63ffffffff9081169091528254600181810185555f9485526020808620855160059094020180546001600160a01b039094166001600160a01b03199094169390931783558401519082015560408301516002820155606083015160038083019190915560808401516004909201805460a0909501518416600160201b0267ffffffffffffffff1990951692909316919091179290921790558a018054849290611b5b908490614376565b9091555050604080518c8152602081018490529081018490528c906001600160a01b038c16907f105066e10d7040f371761942e4dcb5b97c51daf3acfe0295b7d4c42d32af86f29060600160405180910390a3505050505050505050610de16001600255565b5f828152600160205260408120611bd8908361354c565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6001600160a01b0381165f908152600b6020908152604080832080548251818502810185019093528083528493830182828015611c6157602002820191905f5260205f20905b815481526020019060010190808311611c4d575b509394505f93505050505b8151811015611cf957846001600160a01b0316600a5f848481518110611c9457611c946141d2565b60209081029190910181015182528101919091526040015f20546001600160a01b0316148015611ce15750611ce1828281518110611cd457611cd46141d2565b6020026020010151610d00565b15611cf157600192505050610839565b600101611c6c565b505f949350505050565b5f611d0d81612f53565b6001600160a01b038216611d635760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061756374696f6e65657220616464726573730000000000006044820152606401610954565b611d7a5f5160206144245f395f51905f5283611bdf565b15611dbf5760405162461bcd60e51b815260206004820152601560248201527420b63932b0b23c9030b71030bab1ba34b7b732b2b960591b6044820152606401610954565b611dd65f5160206144245f395f51905f5283612fc9565b506001600160a01b0382165f81815260086020526040808220805460ff19166001179055513392915f5160206144245f395f51905f52917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b5f6108395f5160206144245f395f51905f5283611bdf565b5f81815260016020526040902060609061083990613557565b5f5160206144245f395f51905f52611e7d81612f53565b60035460ff1615611ea05760405162461bcd60e51b8152600401610954906141e6565b5f828152600a60205260409020546001600160a01b03163314611f055760405162461bcd60e51b815260206004820152601760248201527f4e6f74206d61726b657427732061756374696f6e6565720000000000000000006044820152606401610954565b60068281548110611f1857611f186141d2565b5f9182526020909120600a600b90920201015463ffffffff164211611f785760405162461bcd60e51b8152602060048201526016602482015275109bdb99081b9bdd081e595d0818dbdb98db1d59195960521b6044820152606401610954565b5f60068381548110611f8c57611f8c6141d2565b5f91825260208220600b9091020154600680546001600160a01b0390921693509085908110611fbd57611fbd6141d2565b905f5260205f2090600b02016008015490505f826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120309190614239565b600e549091505f901561206757612710600e548461204e919061434a565b61205891906143b4565b90506120648184614226565b92505b6120913361207684600a61433c565b612080908661434a565b6001600160a01b0387169190612f60565b80156120d0576120d07f0000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d6120c684600a61433c565b612080908461434a565b6040805184815260208101839052339188917f6cdd4eeaadbfd702bff31856ddd6a8ac93f3e7683aed304c11ac132081146a1f910160405180910390a3505050505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6361213f81612f53565b6003805460ff1916905560405133907f5b65b0c1363b3003db9bcc5e1fd8805a6d6bf5bf6dc9d3431ee4494cd7d11766905f90a250565b5f61218081612f53565b6121975f5160206144245f395f51905f5283612ff4565b506001600160a01b0382165f81815260086020526040808220805460ff19169055513392915f5160206144245f395f51905f52917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600b602052815f5260405f208181548110610858575f80fd5b6006818154811061221b575f80fd5b5f9182526020909120600b9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a909a01546001600160a01b03998a169b5097909816989597949693959294919390929063ffffffff80821691600160201b9004168c565b5f61229c81612f53565b6103e88263ffffffff1611156122e35760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610954565b600e805463ffffffff84169182905560408051828152602081019390935290917f528d9479e9f9889a87a3c30c7f7ba537e5e59c4c85a37733b16e57c62df61302910160405180910390a1505050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061235f5761235f6141d2565b5f91825260208083206040805160c081018252600590940290910180546001600160a01b0316845260018101549284019290925260028201549083015260038101546060830181905260049091015463ffffffff8082166080850152600160201b9091041660a0830152600680549294509181106123df576123df6141d2565b5f9182526020918290206040805161018081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460608201526004820154608080830191909152600583015460a0830152600683015460c0830152600783015460e083015260088301546101008301526009830154610120830152600a9092015463ffffffff808216610140840152600160201b909104811661016083015291840151909250164210156124aa575f92505050610839565b5f81610160015163ffffffff1690505f8360a0015163ffffffff1642116124e55760808401516124e09063ffffffff1642614226565b6124e7565b815b90505f8285602001516124fa91906143b4565b90505f612507838361434a565b9050856020015181111561251c575060208501515b98975050505050505050565b5f81815260016020526040812061083990613563565b6001600160a01b0381165f908152600d60205260408120546060919067ffffffffffffffff811115612572576125726140a3565b60405190808252806020026020018201604052801561259b578160200160208202803683370190505b5090505f5b6001600160a01b0384165f908152600d602052604090205481101561261d576001600160a01b0384165f908152600d602052604090208054829081106125e8576125e86141d2565b905f5260205f2090600502016003015482828151811061260a5761260a6141d2565b60209081029190910101526001016125a0565b5092915050565b60058181548110612633575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f8281526020819052604090206001015461266681612f53565b610da88383612ff4565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e61269a81612f53565b6001600160a01b0382165f9081526009602052604090205460ff166126f95760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6001600160a01b0382165f81815260096020908152604091829020805460ff1916905590519182527f108cc7e243d7eb6c2052789466e0961bb24cd62395e2c99e704001b48107a0619101611143565b5f5f5160206144245f395f51905f5261276181612f53565b60035460ff16156127845760405162461bcd60e51b8152600401610954906141e6565b6001600160a01b0386166127d15760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b2103830bcb7baba103a37b5b2b760611b6044820152606401610954565b6001600160a01b03851661281d5760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21038bab7ba32903a37b5b2b760691b6044820152606401610954565b856001600160a01b0316856001600160a01b03160361287e5760405162461bcd60e51b815260206004820152601860248201527f546f6b656e73206d75737420626520646966666572656e7400000000000000006044820152606401610954565b6001600160a01b0386165f9081526009602052604090205460ff166128dd5760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6128e73386611c07565b1561293f5760405162461bcd60e51b815260206004820152602260248201527f416c726561647920686173206d61726b657420666f722071756f746520746f6b60448201526132b760f11b6064820152608401610954565b82514263ffffffff9091161161298c5760405162461bcd60e51b8152602060048201526012602482015271426f6e6420656e6420746f6f206561726c7960701b6044820152606401610954565b83516129cf5760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610954565b6020840151612a205760405162461bcd60e51b815260206004820152601c60248201527f436f6e74726f6c207661726961626c65206d757374206265203e2030000000006044820152606401610954565b6040840151612a715760405162461bcd60e51b815260206004820152601960248201527f4d696e696d756d207072696365206d757374206265203e2030000000000000006044820152606401610954565b6060840151612ab95760405162461bcd60e51b815260206004820152601460248201527304d61782064656274206d757374206265203e20360641b6044820152606401610954565b82515f90612ace90429063ffffffff16614226565b90505f8111612b185760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081d995cdd1a5b99c81c195c9a5bd960521b6044820152606401610954565b5f6127108660036020020151612b309061070861434a565b612b3a91906143b4565b905081612b4f82670de0b6b3a764000061434a565b612b5991906143b4565b90505f886001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b98573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bbc9190614239565b9050612bec3330612bce84600a61433c565b8a51612bda919061434a565b6001600160a01b038d169291906132a4565b60408051610180810182526001600160a01b03808b1682528b1660208201526006918101612c1b84600a61433c565b8a51612c27919061434a565b81525f6020808301919091528a01516040808301919091528a01516060820152608001612c5584600a61433c565b60608b0151612c64919061434a565b81526020018481526020015f8152602001428152602001885f60028110612c8d57612c8d6141d2565b602002015163ffffffff16815260200188600160028110612cb057612cb06141d2565b602002015163ffffffff16815250908060018154018082558091505060019003905f5260205f2090600b02015f909190919091505f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155610120820151816009015561014082015181600a015f6101000a81548163ffffffff021916908363ffffffff16021790555061016082015181600a0160046101000a81548163ffffffff021916908363ffffffff16021790555050505f6004549050600c5f8b6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600b5f8a6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f909190919091505533600a5f8381526020019081526020015f205f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060045f8154612eb4906143d3565b909155506001600160a01b03808a16908b16827fe2cf7d92fe44fee405e71ceedac936dbc3b0d18e7d9582e31f2f2a2a3db75c978b60016020020151604051612eff91815260200190565b60405180910390a49998505050505050505050565b5f611bd88383612333565b5f6001600160e01b03198216637965db0b60e01b148061083957506301ffc9a760e01b6001600160e01b0319831614610839565b612f5d813361356c565b50565b6040516001600160a01b03838116602483015260448201839052610de191859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b0383818316178352505050506135a5565b5f610839826132dd565b5f5f612fd58484613611565b90508015611bd8575f84815260016020526040902061091290846136a0565b5f5f61300084846136b4565b90508015611bd8575f848152600160205260409020610912908461371d565b60028054036130705760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610954565b60028055565b5f60028260ff1611156130995761308e6002836143eb565b61083990600a61433c565b506001919050565b5f81815260076020526040902060038101546004909101546130c39190614376565b421115612f5d575f600682815481106130de576130de6141d2565b5f91825260208083208584526007909152604090922054600b909102909101915060ff1615613169575f828152600760205260408120600101546004830180549192909161312d908490614376565b90915550505f82815260076020526040902060020154600482015410613164575f8281526007602052604090206002015460048201555b6131c6565b5f828152600760205260408120600101546004830180549192909161318f908490614226565b90915550505f828152600760205260409020600201546004820154116131c6575f8281526007602052604090206002015460048201555b505f9081526007602052604090204263ffffffff16600490910155565b5f600682815481106131f7576131f76141d2565b905f5260205f2090600b020190505f81600301549050805f0361321957505050565b5f82600901544261322a9190614226565b9050805f036132395750505050565b600a8301545f9061325890600160201b900463ffffffff166064614404565b63ffffffff16613268838561434a565b61327291906143b4565b905082811161328a576132858184614226565b61328c565b5f5b600385015550505063ffffffff421660099091015550565b6040516001600160a01b038481166024830152838116604483015260648201839052610da89186918216906323b872dd90608401612f8d565b5f5f600683815481106132f2576132f26141d2565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b039081168552600182015416848401819052600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa1580156133d4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133f89190614239565b90505f825f01516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561343a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345e9190614239565b90505f61346a86613731565b90505f61347687613968565b90505f836134858660246143eb565b61348f91906143eb565b61349a90600a61433c565b6134a4838561434a565b6134ae919061434a565b9050670de0b6b3a76400006134c381836143b4565b6134cd91906143b4565b96508560a001518710156134e3578560a0015196505b6134f6670de0b6b3a76400005f196143b4565b8711156135365760405162461bcd60e51b815260206004820152600e60248201526d5072696365206f766572666c6f7760901b6044820152606401610954565b505050505050919050565b5f611bd8828461434a565b5f611bd88383613b70565b60605f611bd883613b96565b5f610839825490565b6135768282611bdf565b61102c5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610954565b5f5f60205f8451602086015f885af1806135c4576040513d5f823e3d81fd5b50505f513d915081156135db5780600114156135e8565b6001600160a01b0384163b155b15610da857604051635274afe760e01b81526001600160a01b0385166004820152602401610954565b5f61361c8383611bdf565b613699575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556136513390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610839565b505f610839565b5f611bd8836001600160a01b038416613bed565b5f6136bf8383611bdf565b15613699575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610839565b5f611bd8836001600160a01b038416613c32565b5f5f60068381548110613746576137466141d2565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116855260018083015490911685850152600280830154868501526003808401546060808901919091526004808601546080808b01918252600588015460a0808d0191909152600689015460c08d01526007808a015460e08e015260088a01546101008e015260098a01546101208e0152600a9099015463ffffffff8082166101408f0152600160201b909104166101608d01528f8d52978a52888c2089519889018a52805460ff161515895296870154998801999099529385015496860196909652908301549084015292015492810192909252519193509161385086613968565b90505f84610140015163ffffffff16421161386b575f613881565b6101408501516138819063ffffffff1642614226565b90505f8560c0015183670de0b6b3a764000061389d919061434a565b6138a791906143b4565b90505f6138b5836001614376565b6138bf838761434a565b6138c991906143b4565b9050856060015186608001516138df9190614376565b421161393b578551156139165760208601516138fb9086614376565b9450856040015185111561391157856040015194505b61393b565b60208601516139259086614226565b9450856040015185101561393b57856040015194505b8085111561395a5761394d8186614226565b9998505050505050505050565b505f98975050505050505050565b5f5f6006838154811061397d5761397d6141d2565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116808652600183015490911685850152600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa158015613a60573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a849190614239565b90505f82602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ac7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613aeb9190614239565b90505f613af98260126143eb565b613b0490600a61433c565b8460600151613b13919061434a565b90505f613b218460126143eb565b613b2c90600a61433c565b856101000151613b3c919061434a565b9050805f03613b5257505f199695505050505050565b5f81613b6684670de0b6b3a764000061434a565b61251c91906143b4565b5f825f018281548110613b8557613b856141d2565b905f5260205f200154905092915050565b6060815f01805480602002602001604051908101604052809291908181526020018280548015610c8357602002820191905f5260205f2090815481526020019060010190808311610c6f5750505050509050919050565b5f81815260018301602052604081205461369957508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610839565b5f8181526001830160205260408120548015613d0c575f613c54600183614226565b85549091505f90613c6790600190614226565b9050808214613cc6575f865f018281548110613c8557613c856141d2565b905f5260205f200154905080875f018481548110613ca557613ca56141d2565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613cd757613cd7614389565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610839565b5f915050610839565b6040518061012001604052805f6001600160a01b031681526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f6001600160a01b031681526020015f151581526020015f81525090565b5f60208284031215613d85575f5ffd5b81356001600160e01b031981168114611bd8575f5ffd5b6001600160a01b0381168114612f5d575f5ffd5b5f5f60408385031215613dc1575f5ffd5b8235613dcc81613d9c565b946020939093013593505050565b5f5f60208385031215613deb575f5ffd5b823567ffffffffffffffff811115613e01575f5ffd5b8301601f81018513613e11575f5ffd5b803567ffffffffffffffff811115613e27575f5ffd5b8560208260051b8401011115613e3b575f5ffd5b6020919091019590945092505050565b80516001600160a01b03908116835260208083015182169084015260408083015190840152606080830151908401526080808301519084015260a0828101519084015260c080830151918216908401525060e0810151613eaf60e084018215159052565b5061010090810151910152565b602080825282518282018190525f918401906040840190835b81811015613eff57613ee8838551613e4b565b602093909301926101209290920191600101613ed5565b509095945050505050565b5f60208284031215613f1a575f5ffd5b5035919050565b61012081016108398284613e4b565b5f60208284031215613f40575f5ffd5b8135611bd881613d9c565b602080825282518282018190525f918401906040840190835b81811015613eff578351835260209384019390920191600101613f64565b5f5f60408385031215613f93575f5ffd5b823591506020830135613fa581613d9c565b809150509250929050565b5f5f5f60608486031215613fc2575f5ffd5b83359250602084013591506040840135613fdb81613d9c565b809150509250925092565b5f5f60408385031215613ff7575f5ffd5b50508035926020909101359150565b5f5f60408385031215614017575f5ffd5b823561402281613d9c565b91506020830135613fa581613d9c565b602080825282518282018190525f918401906040840190835b81811015613eff5783516001600160a01b031683526020938401939092019160010161404b565b803563ffffffff81168114614085575f5ffd5b919050565b5f6020828403121561409a575f5ffd5b611bd882614072565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156140ec57634e487b7160e01b5f52604160045260245ffd5b604052919050565b5f82601f830112614103575f5ffd5b61410d60406140b7565b80604084018581111561411e575f5ffd5b845b81811015613eff5761413181614072565b845260209384019301614120565b5f5f5f5f6101008587031215614153575f5ffd5b843561415e81613d9c565b9350602085013561416e81613d9c565b9250605f8501861361417e575f5ffd5b61418860806140b7565b8060c0870188811115614199575f5ffd5b604088015b818110156141b657803584526020938401930161419e565b508194506141c489826140f4565b935050505092959194509250565b634e487b7160e01b5f52603260045260245ffd5b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561083957610839614212565b5f60208284031215614249575f5ffd5b815160ff81168114611bd8575f5ffd5b6001815b60018411156142945780850481111561427857614278614212565b600184161561428657908102905b60019390931c92800261425d565b935093915050565b5f826142aa57506001610839565b816142b657505f610839565b81600181146142cc57600281146142d6576142f2565b6001915050610839565b60ff8411156142e7576142e7614212565b50506001821b610839565b5060208310610133831016604e8410600b8410161715614315575081810a610839565b6143215f198484614259565b805f190482111561433457614334614212565b029392505050565b5f611bd860ff84168361429c565b808202811582820484141761083957610839614212565b5f8161436f5761436f614212565b505f190190565b8082018082111561083957610839614212565b634e487b7160e01b5f52603160045260245ffd5b5f602082840312156143ad575f5ffd5b5051919050565b5f826143ce57634e487b7160e01b5f52601260045260245ffd5b500490565b5f600182016143e4576143e4614212565b5060010190565b60ff828116828216039081111561083957610839614212565b63ffffffff818116838216029081169081811461261d5761261d61421256fec1df76f4e50bdb95676f782d4b88b23904c5346d8bc7c986ae26f7e10e601891a264697066735822122018a126f49adda0aeda524ea197f5ac759df28bc871ad00e8a032bc3b76fb265c64736f6c634300081b0033
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:24420: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;68141:342:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;57629:493::-;;;;;;:::i;:::-;;:::i;:::-;;67535:598;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;65506:142::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;66312:107::-;;;;;;:::i;:::-;;:::i;65656:138::-;;;;;;:::i;:::-;;:::i;52230:28::-;;;;;;27549:122;;;;;;:::i;:::-;27614:7;27641:12;;;;;;;;;;:22;;;;27549:122;66131:162;;;;;;:::i;:::-;;:::i;27981:138::-;;;;;;:::i;:::-;;:::i;29118:251::-;;;;;;:::i;:::-;;:::i;64793:165::-;;;:::i;51309:18::-;;;;;;;;;64013:525;;;;;;:::i;:::-;;:::i;51220:80::-;;51267:33;51220:80;;58956:350;;;;;;:::i;:::-;;:::i;68637:174::-;;;;;;:::i;:::-;;:::i;61896: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;59431: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;74875:375::-;;;;;;:::i;:::-;;:::i;63209:489::-;;;;;;:::i;:::-;;:::i;66431:127::-;;;;;;:::i;:::-;;:::i;25877:49::-;;25922:4;25877:49;;46293:138;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;58128:816::-;;;;;;:::i;:::-;;:::i;64966: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;63706: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;65143:237:0;;;;;;:::i;:::-;;:::i;66566:959::-;;;;;;:::i;:::-;;:::i;45607:133::-;;;;;;:::i;:::-;;:::i;51052:70::-;;-1:-1:-1;;;;;;;;;;;51052:70:0;;65802:316;;;;;;:::i;:::-;;:::i;52265:31::-;;;;;;:::i;:::-;;:::i;28412:140::-;;;;;;:::i;:::-;;:::i;64546:232::-;;;;;;:::i;:::-;;:::i;52755:23::-;;;;;;55032:2588;;;;;;:::i;:::-;;:::i;52487:55::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;52487:55:0;;;52719:29;;;;;68489: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;68141:342::-;68226:23;68258:31;68313:9;68292:38;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;68258:72:0;-1:-1:-1;68348:9:0;68343:110;68363:20;;;68343:110;;;68414:31;68432:9;;68442:1;68432:12;;;;;;;:::i;:::-;;;;;;;68414:17;:31::i;:::-;68401:7;68409:1;68401:10;;;;;;;;:::i;:::-;;;;;;;;;;:44;68385:3;;68343:110;;;-1:-1:-1;68472:7:0;68141:342;-1:-1:-1;;;68141:342:0:o;57629:493::-;-1:-1:-1;;;;;;;;;;;26161:16:0;26172:4;26161:10;:16::i;:::-;75309:6:::1;::::0;::::1;;75308:7;75300:38;;;;-1:-1:-1::0;;;75300:38:0::1;;;;;;;:::i;:::-;;;;;;;;;57721:25:::2;::::0;;;:20:::2;:25;::::0;;;;;-1:-1:-1;;;;;57721:25:0::2;57750:10;57721:39;57717:69;;57762:24;::::0;-1:-1:-1;;;57762:24:0;;13417:2:1;57762: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;;57762:24:0::2;13215:337:1::0;57717:69:0::2;57822:15;57793:5;57799:3;57793:10;;;;;;;;:::i;:::-;;;;;;;;;;;:19;;;:45;;;;;;;;;;;;;;;;;;57847:18;57894:5;57900:3;57894:10;;;;;;;;:::i;:::-;;;;;;;;;;;:20;;;57868:5;57874:3;57868:10;;;;;;;;:::i;:::-;;;;;;;;;;;:23;;;:46;;;;:::i;:::-;57847:67;;57921:20;57959:5;57965:3;57959:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;;:22:::2;:10;::::0;;::::2;;:22;::::0;57944:49:::2;::::0;;-1:-1:-1;;;57944:49:0;;;;-1:-1:-1;;;;;57959:22:0;;::::2;::::0;57944:47:::2;::::0;:49:::2;::::0;;::::2;::::0;;;;;;57959:22;57944:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57921:72:::0;-1:-1:-1;58002:88:0::2;58046:10;58071:18;57921:72:::0;58071:2:::2;:18;:::i;:::-;58058:31;::::0;:10;:31:::2;:::i;:::-;58009:5;58015:3;58009:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;:22:::2;:10;::::0;;::::2;;:22;::::0;-1:-1:-1;;;;;58009:22:0::2;::::0;58002:88;:43:::2;:88::i;:::-;58104:14;::::0;58114:3;;58104:14:::2;::::0;;;::::2;57710:412;;57629:493:::0;;:::o;67535:598::-;67601:21;;:::i;:::-;67635:18;67656:5;67662:8;67656:15;;;;;;;;:::i;:::-;;;;;;;;;;67699:426;;;;;;;;67656:15;;;;;;;67741;;-1:-1:-1;;;;;67741:15:0;;;67699:426;;67741:15;67784:16;;;;67699:426;;;;;;;67656:15;;-1:-1:-1;67699:426:0;;;67822:24;67837:8;67822:14;:24::i;:::-;67699:426;;67872:14;;;;67699:426;;;;;;;;67914:16;;;;;-1:-1:-1;;;67914:16:0;;;;67699:426;;;;;;;;67960:17;;;;67699:426;;;;-1:-1:-1;68004:30:0;;;;;;;;;-1:-1:-1;;;;;68004:30:0;67699:426;;;;;;68057:16;68004:30;68057:6;:16::i;:::-;67699:426;;;;;;68099:4;:14;;;67699:426;;;67692:433;;;67535:598;;;:::o;65506:142::-;-1:-1:-1;;;;;65613:27:0;;;;;;:15;:27;;;;;;;;;65606:34;;;;;;;;;;;;;;;;;65576:16;;65606:34;;;65613:27;65606:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65506:142;;;:::o;66312:107::-;66364:7;66392:19;66407:3;66392:14;:19::i;65656:138::-;-1:-1:-1;;;;;65762:24:0;;;;;;:16;:24;;;;;;;;;65755:31;;;;;;;;;;;;;;;;;65723:16;;65755:31;;;65762:24;65755:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65656:138;;;:::o;66131:162::-;66181:4;66225:5;66231:3;66225:10;;;;;;;;:::i;:::-;;;;;;;;;:19;:10;;;;;:19;;;;66206:15;:38;;;;:83;;;66271:5;66277:3;66271:10;;;;;;;;:::i;:::-;;;;;;;;;;;:18;;;66248:5;66254:3;66248:10;;;;;;;;:::i;:::-;;;;;;;;;;;:20;;;:41;66199:90;66131:162;-1:-1:-1;;66131: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;64793:165::-;51267:33;26161:16;26172:4;26161:10;:16::i;:::-;64895:6:::1;:13:::0;;-1:-1:-1;;64895:13:0::1;64904:4;64895:13;::::0;;64924:26:::1;::::0;64939:10:::1;::::0;64924:26:::1;::::0;64895:6:::1;::::0;64924:26:::1;64793:165:::0;:::o;64013:525::-;51178:35;26161:16;26172:4;26161:10;:16::i;:::-;-1:-1:-1;;;;;64140:20:0;::::1;64132:54;;;::::0;-1:-1:-1;;;64132:54:0;;15907:2:1;64132: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;;64132:54:0::1;15705:345:1::0;64132:54:0::1;-1:-1:-1::0;;;;;64206:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;;::::1;;64205:26;64197:64;;;::::0;-1:-1:-1;;;64197:64:0;;16257:2:1;64197:64:0::1;::::0;::::1;16239:21:1::0;16296:2;16276:18;;;16269:30;16335:27;16315:18;;;16308:55;16380:18;;64197:64:0::1;16055:349:1::0;64197:64:0::1;64333:6;-1:-1:-1::0;;;;;64318:31:0::1;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;64318:33:0::1;::::0;;::::1;;::::0;;::::1;-1:-1:-1::0;;64318:33:0::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;;64314:217;;64490:29;::::0;-1:-1:-1;;;64490:29:0;;16611:2:1;64490: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;;64490:29:0::1;16409:343:1::0;64314:217:0::1;-1:-1:-1::0;;;;;;64383:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;:32;;-1:-1:-1;;64383:32:0::1;64411:4;64383:32:::0;;::::1;::::0;;;64430:13:::1;:26:::0;;;;::::1;::::0;;;;;;::::1;::::0;;-1:-1:-1;;;;;;64430:26:0::1;::::0;;::::1;::::0;;64314:217:::1;64013:525:::0;;:::o;58956:350::-;59045:30;;;;:20;:30;;;;;;-1:-1:-1;;;;;59045:30:0;59079:10;59045:44;59037:73;;;;-1:-1:-1;;;59037:73:0;;16959:2:1;59037:73:0;;;16941:21:1;16998:2;16978:18;;;16971:30;-1:-1:-1;;;17017:18:1;;;17010:46;17073:18;;59037:73:0;16757:340:1;59037:73:0;59125:39;-1:-1:-1;;;;;;;;;;;59150:13:0;59125:7;:39::i;:::-;59117:66;;;;-1:-1:-1;;;59117:66:0;;17304:2:1;59117:66:0;;;17286:21:1;17343:2;17323:18;;;17316:30;-1:-1:-1;;;17362:18:1;;;17355:44;17416:18;;59117:66:0;17102:338:1;59117:66:0;59190:30;;;;:20;:30;;;;;;;;;:46;;-1:-1:-1;;;;;;59190:46:0;-1:-1:-1;;;;;59190:46:0;;;;;;;;59248:54;;17647:25:1;;;59276:10:0;17688:18:1;;;17681:60;;;;17757:18;;;17750:60;;;;59248:54:0;;17635:2:1;17620:18;59248:54:0;;;;;;;;58956:350;;:::o;68637:174::-;-1:-1:-1;;;;;68739:14:0;;68707:4;68739:14;;;:8;:14;;;;;:23;;68707:4;;68739:14;68754:7;;68739:23;;;;;;:::i;:::-;;;;;;;;;;68720:42;;;;;;;;68739:23;;;;;;;68720:42;;-1:-1:-1;;;;;68720:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;68720:42:0;;;;;;;;;;;68776:15;:31;;;-1:-1:-1;;68637:174:0;;;;:::o;61896:1173::-;61970:22;49384:21;:19;:21::i;:::-;-1:-1:-1;;;;;62018:14:0;::::1;62001;62018::::0;;;:8:::1;:14;::::0;;;;:21;62117:5:::1;:10:::0;;62018:21;;62001:14;;;62117:5;62123:3;;62117:10;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;:22:::1;:10;::::0;;::::1;;:22;::::0;62102:49:::1;::::0;;-1:-1:-1;;;62102:49:0;;;;-1:-1:-1;;;;;62117:22:0;;::::1;::::0;62102:47:::1;::::0;:49:::1;::::0;;::::1;::::0;;;;;;62117:22;62102:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62079:72:::0;-1:-1:-1;62177:6:0;62160:873:::1;62185:5:::0;;62160:873:::1;;62204:3:::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;62257:14:0;::::1;62230:24;62257:14:::0;;;:8:::1;:14;::::0;;;;:17;;62204:3;;-1:-1:-1;62230:24:0;;-1:-1:-1;62257:14:0;62204:3;;62257:17;::::1;;;;;:::i;:::-;;;;;;;;;;;62230:44;;62313:3;62289:11;:20;;;:27:::0;62285:741:::1;;62333:14;62350:30;62372:4;62378:1;62350:21;:30::i;:::-;62333:47:::0;-1:-1:-1;62413:10:0;;62409:606:::1;;62470:6;62444:11;:22;;;:32;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;62495:23:0::1;::::0;-1:-1:-1;62512:6:0;62495:23;::::1;:::i;:::-;::::0;-1:-1:-1;62619:78:0::1;62663:4:::0;62678:18:::1;62682:14:::0;62678:2:::1;:18;:::i;:::-;62669:27;::::0;:6;:27:::1;:::i;:::-;62626:5;62632:3;62626:10;;;;;;;;:::i;62619:78::-;62738:11;:22;;;62764:1;62738:27:::0;62734:266:::1;;-1:-1:-1::0;;;;;62799:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;:21;:25:::1;::::0;62823:1:::1;::::0;62799:25:::1;:::i;:::-;62794:1;:30;62790:148;;-1:-1:-1::0;;;;;62873:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;62888:21;;:25:::1;::::0;62912:1:::1;::::0;62888:25:::1;:::i;:::-;62873:41;;;;;;;;:::i;:::-;;;;;;;;;;;62853:8;:14;62862:4;-1:-1:-1::0;;;;;62853:14:0::1;-1:-1:-1::0;;;;;62853:14:0::1;;;;;;;;;;;;62868:1;62853:17;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:61;;:17:::1;::::0;;::::1;;:61:::0;;-1:-1:-1;;;;;;62853:61:0::1;-1:-1:-1::0;;;;;62853: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;;62853:61:0;::::1;;::::0;;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;62853:61:0;;;::::1;::::0;;::::1;::::0;;::::1;-1:-1:-1::0;;62853:61:0;;;;;;;;;::::1;::::0;;62790:148:::1;-1:-1:-1::0;;;;;62960:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;:20;;;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;62960:20:0;;;;;::::1;;::::0;;-1:-1:-1;;;;;;62960:20:0::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;-1:-1:-1;;62960:20:0;;;;;62734:266:::1;62318:708;62285:741;62193:840;62160:873;;;-1:-1:-1::0;63052: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;59431:2459::-;49384:21;:19;:21::i;:::-;-1:-1:-1;;;;;59566:18:0;::::1;59558:51;;;::::0;-1:-1:-1;;;59558:51:0;;18426:2:1;59558: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;;59558:51:0::1;18224:344:1::0;59558:51:0::1;59634:5;:12:::0;59628:18;::::1;59620:48;;;::::0;-1:-1:-1;;;59620:48:0;;18775:2:1;59620: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;;59620:48:0::1;18573:341:1::0;59620:48:0::1;59730:18;59751:5;59757:3;59751:10;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;59852:13;::::0;::::1;::::0;59751:10;;-1:-1:-1;59852:13:0::1;;59833:15;:32;;59825:59;;;::::0;-1:-1:-1;;;59825:59:0;;19121:2:1;59825: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;;59825:59:0::1;18919:338:1::0;59825:59:0::1;59920:4;:12;;;59903:4;:14;;;:29;59895:71;;;::::0;-1:-1:-1;;;59895:71:0;;19464:2:1;59895:71:0::1;::::0;::::1;19446:21:1::0;19503:2;19483:18;;;19476:30;19542:31;19522:18;;;19515:59;19591:18;;59895:71:0::1;19262:353:1::0;59895:71:0::1;60078:15:::0;;60055:51:::1;::::0;;-1:-1:-1;;;60055:51:0;;;;60033:19:::1;::::0;-1:-1:-1;;;;;60078:15:0::1;::::0;60055:49:::1;::::0;:51:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;60078:15;60055:51:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60033:73;;60117:22;60142:38;60166:13;60142:23;:38::i;:::-;60117:63;;60250:14;60240:6;:24;;60232:68;;;::::0;-1:-1:-1;;;60232:68:0;;19822:2:1;60232:68:0::1;::::0;::::1;19804:21:1::0;19861:2;19841:18;;;19834:30;19900:33;19880:18;;;19873:61;19951:18;;60232:68:0::1;19620:355:1::0;60232:68:0::1;60329:4;:14;;;60319:6;:24;;60311:68;;;::::0;-1:-1:-1;;;60311:68:0;;20182:2:1;60311:68:0::1;::::0;::::1;20164:21:1::0;20221:2;20201:18;;;20194:30;20260:33;20240:18;;;20233:61;20311:18;;60311:68:0::1;19980:355:1::0;60311:68:0::1;60482:10;60488:3;60482:5;:10::i;:::-;60503:15;60514:3;60503:10;:15::i;:::-;60605::::0;;60656:35:::1;::::0;-1:-1:-1;;;60656:35:0;;60685:4:::1;60656:35;::::0;::::1;7546:51:1::0;-1:-1:-1;;;;;60605:15:0;;::::1;::::0;60578:17:::1;::::0;60605:15;;60656:20:::1;::::0;7519:18:1;;60656:35:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60632:59:::0;-1:-1:-1;60702:62:0::1;-1:-1:-1::0;;;;;60702:27:0;::::1;60730:10;60750:4;60757:6:::0;60702:27:::1;:62::i;:::-;60799:35;::::0;-1:-1:-1;;;60799:35:0;;60828:4:::1;60799:35;::::0;::::1;7546:51:1::0;60776:20:0::1;::::0;-1:-1:-1;;;;;60799:20:0;::::1;::::0;::::1;::::0;7519:18:1;;60799:35:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60776:58:::0;-1:-1:-1;60885:6:0;60853:28:::1;60868:13:::0;60776:58;60853:28:::1;:::i;:::-;:38;60845:76;;;::::0;-1:-1:-1;;;60845:76:0;;20731:2:1;60845:76:0::1;::::0;::::1;20713:21:1::0;20770:2;20750:18;;;20743:30;20809:27;20789:18;;;20782:55;20854:18;;60845:76:0::1;20529:349:1::0;60845:76:0::1;60964:6;60932:5;60938:3;60932:10;;;;;;;;:::i;:::-;;;;;;;;;;;:28;;;:38;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;61037:13:0::1;::::0;-1:-1:-1;61053:17:0::1;61066:3:::0;61053:12:::1;:17::i;:::-;61037:33;;61126:17;61146:33;61165:6;61173:5;61146:18;:33::i;:::-;61212:16;::::0;::::1;::::0;61343:12:::1;::::0;::::1;::::0;61313:14:::1;::::0;::::1;::::0;61126:53;;-1:-1:-1;;;;;;61212:16:0;;::::1;::::0;61313:26:::1;::::0;61126:53;;61313:26:::1;:::i;:::-;:42;;61305:80;;;::::0;-1:-1:-1;;;61305:80:0;;21085:2:1;61305:80:0::1;::::0;::::1;21067:21:1::0;21124:2;21104:18;;;21097:30;21163:27;21143:18;;;21136:55;21208:18;;61305:80:0::1;20883:349:1::0;61305:80:0::1;61456:8;:14;61465:4;-1:-1:-1::0;;;;;61456:14:0::1;-1:-1:-1::0;;;;;61456:14:0::1;;;;;;;;;;;;61476:267;;;;;;;;61509:11;-1:-1:-1::0;;;;;61476:267:0::1;;;;;61547:9;61476:267;;;;61583:5;61476:267;;;;61613:3;61476:267;;;;61649:15;61476:267;;;;;;61715:15;61696:4;:16;;;;;;;;;;;;:34;;;;;;:::i;:::-;61476:267;::::0;;::::1;::::0;;;61456:288;;::::1;::::0;;::::1;::::0;;-1:-1:-1;61456:288:0;;;::::1;::::0;;;;;::::1;::::0;;::::1;;::::0;;-1:-1:-1;;;;;61456:288:0;;::::1;-1:-1:-1::0;;;;;;61456: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;;;61456:288:0::1;-1:-1:-1::0;;61456:288:0;;;;;;::::1;::::0;;;;;;;::::1;::::0;;61787:14;::::1;:27:::0;;61805:9;;-1:-1:-1;61787:27:0::1;::::0;61805:9;;61787:27:::1;:::i;:::-;::::0;;;-1:-1:-1;;61832:50:0::1;::::0;;21439:25:1;;;21495:2;21480:18;;21473:34;;;21523:18;;;21516:34;;;61852:3:0;;-1:-1:-1;;;;;61832:50:0;::::1;::::0;::::1;::::0;21427:2:1;21412:18;61832:50:0::1;;;;;;;59511: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;74875:375::-;-1:-1:-1;;;;;75013:27:0;;74973:4;75013:27;;;:15;:27;;;;;;;;74986:54;;;;;;;;;;;;;;;;;74973:4;;74986:54;;75013:27;74986:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74986:54:0;;-1:-1:-1;75051:9:0;;-1:-1:-1;;;;75047:181:0;75070:7;:14;75066:1;:18;75047:181;;;75140:10;-1:-1:-1;;;;;75104:46:0;:20;:32;75125:7;75133:1;75125:10;;;;;;;;:::i;:::-;;;;;;;;;;;;75104:32;;;;;;;;;;-1:-1:-1;75104:32:0;;-1:-1:-1;;;;;75104:32:0;:46;:68;;;;;75154:18;75161:7;75169:1;75161:10;;;;;;;;:::i;:::-;;;;;;;75154:6;:18::i;:::-;75101:120;;;75205:4;75198:11;;;;;;75101:120;75086:3;;75047:181;;;-1:-1:-1;75241:5:0;;74875:375;-1:-1:-1;;;;74875:375:0:o;63209:489::-;25922:4;26161:16;25922:4;26161:10;:16::i;:::-;-1:-1:-1;;;;;63376:25:0;::::1;63368:64;;;::::0;-1:-1:-1;;;63368:64:0;;21763:2:1;63368:64:0::1;::::0;::::1;21745:21:1::0;21802:2;21782:18;;;21775:30;21841:28;21821:18;;;21814:56;21887:18;;63368:64:0::1;21561:350:1::0;63368:64:0::1;63452:37;-1:-1:-1::0;;;;;;;;;;;63477:11:0::1;63452:7;:37::i;:::-;63451:38;63443:72;;;::::0;-1:-1:-1;;;63443:72:0;;22118:2:1;63443: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;;63443:72:0::1;21916:345:1::0;63443:72:0::1;63528:40;-1:-1:-1::0;;;;;;;;;;;63556:11:0::1;63528:10;:40::i;:::-;-1:-1:-1::0;;;;;;63579:35:0;::::1;;::::0;;;:22:::1;:35;::::0;;;;;:42;;-1:-1:-1;;63579:42:0::1;63617:4;63579:42;::::0;;63637:53;63679:10:::1;::::0;63579:35;-1:-1:-1;;;;;;;;;;;51094:28:0;63637:53:::1;::::0;63579:35;63637:53:::1;63209:489:::0;;:::o;66431:127::-;66493:4;66517:33;-1:-1:-1;;;;;;;;;;;66542:7:0;66517;:33::i;46293:138::-;46396:18;;;;:12;:18;;;;;46360:16;;46396:27;;:25;:27::i;58128:816::-;-1:-1:-1;;;;;;;;;;;26161:16:0;26172:4;26161:10;:16::i;:::-;75309:6:::1;::::0;::::1;;75308:7;75300:38;;;;-1:-1:-1::0;;;75300:38:0::1;;;;;;;:::i;:::-;58234:25:::2;::::0;;;:20:::2;:25;::::0;;;;;-1:-1:-1;;;;;58234:25:0::2;58263:10;58234:39;58226:75;;;::::0;-1:-1:-1;;;58226:75:0;;22468:2:1;58226:75:0::2;::::0;::::2;22450:21:1::0;22507:2;22487:18;;;22480:30;22546:25;22526:18;;;22519:53;22589:18;;58226:75:0::2;22266:347:1::0;58226:75:0::2;58334:5;58340:3;58334:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;:19:::2;:10;::::0;;::::2;;:19;::::0;::::2;;58316:15;:37;58308:72;;;::::0;-1:-1:-1;;;58308:72:0;;22820:2:1;58308: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;;58308:72:0::2;22618:346:1::0;58308:72:0::2;58389:18;58410:5;58416:3;58410:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;::::2;::::0;;::::2;;:21:::0;58456:5:::2;:10:::0;;-1:-1:-1;;;;;58410:21:0;;::::2;::::0;-1:-1:-1;58456:5:0;58462:3;;58456:10;::::2;;;;;:::i;:::-;;;;;;;;;;;:28;;;58438:46;;58491:19;58528:10;-1:-1:-1::0;;;;;58513:35:0::2;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58588:8;::::0;58491:59;;-1:-1:-1;58559:14:0::2;::::0;58588:12;58584:102:::2;;58645:5;58633:8;;58623:7;:18;;;;:::i;:::-;58622:28;;;;:::i;:::-;58613:37:::0;-1:-1:-1;58661:17:0::2;58613:37:::0;58661:17;::::2;:::i;:::-;;;58584:102;58694:72;58726:10;58748:17;58752:13:::0;58748:2:::2;:17;:::i;:::-;58738:27;::::0;:7;:27:::2;:::i;:::-;-1:-1:-1::0;;;;;58694:31:0;::::2;::::0;:72;:31:::2;:72::i;:::-;58777:10:::0;;58773:100:::2;;58800:65;58832:4;58847:17;58851:13:::0;58847:2:::2;:17;:::i;:::-;58838:26;::::0;:6;:26:::2;:::i;58800:65::-;58886:54;::::0;;23365:25:1;;;23421:2;23406:18;;23399:34;;;58912:10:0::2;::::0;58907:3;;58886:54:::2;::::0;23338:18:1;58886:54:0::2;;;;;;;58219:725;;;;58128:816:::0;;:::o;64966:170::-;51267:33;26161:16;26172:4;26161:10;:16::i;:::-;65070:6:::1;:14:::0;;-1:-1:-1;;65070:14:0::1;::::0;;65100:28:::1;::::0;65117:10:::1;::::0;65100:28:::1;::::0;65079:5:::1;::::0;65100:28:::1;64966:170:::0;:::o;63706:298::-;25922:4;26161:16;25922:4;26161:10;:16::i;:::-;63832:41:::1;-1:-1:-1::0;;;;;;;;;;;63861:11:0::1;63832;:41::i;:::-;-1:-1:-1::0;;;;;;63884:35:0;::::1;63922:5;63884:35:::0;;;:22:::1;:35;::::0;;;;;:43;;-1:-1:-1;;63884:43:0::1;::::0;;63943:53;63985:10:::1;::::0;63884:35;-1:-1:-1;;;;;;;;;;;51094:28:0;63943:53:::1;::::0;63922:5;63943:53:::1;63706: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;65143:237::-;25922:4;26161:16;25922:4;26161:10;:16::i;:::-;52819:4:::1;65236:10;:21;;;;65228:46;;;::::0;-1:-1:-1;;;65228:46:0;;23646:2:1;65228: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;;65228:46:0::1;23444:336:1::0;65228:46:0::1;65298:8;::::0;;65313:21:::1;::::0;::::1;::::0;;;;65346:30:::1;::::0;;23958:25:1;;;24014:2;23999:18;;23992:51;;;;65298:8:0;;65346:30:::1;::::0;23931:18:1;65346:30:0::1;;;;;;;65221:159;65143:237:::0;;:::o;66566:959::-;-1:-1:-1;;;;;66684:14:0;;66649:7;66684:14;;;:8;:14;;;;;:23;;66649:7;;66684:14;66699:7;;66684:23;;;;;;:::i;:::-;;;;;;;;;66665:42;;;;;;;;66684:23;;;;;;;66665:42;;-1:-1:-1;;;;;66665:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66665:42:0;;;;;;;;66734:5;:20;;66665:42;;-1:-1:-1;66734:5:0;:20;;;;;;:::i;:::-;;;;;;;;;;66714:40;;;;;;;;66734:20;;;;;;;66714:40;;-1:-1:-1;;;;;66714:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66714:40:0;;;;;;;;;66817:14;;;;66714:40;;-1:-1:-1;66799:32:0;:15;:32;66795:65;;;66851:1;66844:8;;;;;;66795:65;66909:19;66931:4;:16;;;66909:38;;;;67004:19;67044:4;:12;;;67026:30;;:15;:30;:99;;67111:14;;;;67093:32;;;;:15;:32;:::i;:::-;67026:99;;;67069:11;67026:99;67004:121;;67170:23;67214:11;67196:4;:15;;;:29;;;;:::i;:::-;67170:55;-1:-1:-1;67277:24:0;67304:29;67322:11;67170:55;67304:29;:::i;:::-;67277:56;;67420:4;:15;;;67401:16;:34;67397:93;;;-1:-1:-1;67467:15:0;;;;67397:93;67505:16;66566:959;-1:-1:-1;;;;;;;;66566:959:0:o;45607:133::-;45678:7;45705:18;;;:12;:18;;;;;:27;;:25;:27::i;65802:316::-;-1:-1:-1;;;;;65943:14:0;;65898:28;65943:14;;;:8;:14;;;;;:21;65865:16;;65898:28;65929:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65929:36:0;-1:-1:-1;65898:67:0;-1:-1:-1;65977:9:0;65972:114;-1:-1:-1;;;;;65996:14:0;;;;;;:8;:14;;;;;:21;65992:25;;65972:114;;;-1:-1:-1;;;;;66052:14:0;;;;;;:8;:14;;;;;:17;;66067:1;;66052:17;;;;;;:::i;:::-;;;;;;;;;;;:26;;;66035:11;66047:1;66035:14;;;;;;;;:::i;:::-;;;;;;;;;;:43;66019:3;;65972:114;;;-1:-1:-1;66099:11:0;65802:316;-1:-1:-1;;65802: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;64546:232::-:0;51178:35;26161:16;26172:4;26161:10;:16::i;:::-;-1:-1:-1;;;;;64645:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;;::::1;;64637:59;;;::::0;-1:-1:-1;;;64637:59:0;;24256:2:1;64637: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;;64637:59:0::1;24054:345:1::0;64637:59:0::1;-1:-1:-1::0;;;;;64703:25:0;::::1;64731:5;64703:25:::0;;;:17:::1;:25;::::0;;;;;;;;:33;;-1:-1:-1;;64703:33:0::1;::::0;;64748:26;;7546:51:1;;;64748:26:0::1;::::0;7519:18:1;64748:26:0::1;7400:203:1::0;55032:2588:0;55321:16;-1:-1:-1;;;;;;;;;;;26161:16:0;26172:4;26161:10;:16::i;:::-;75309:6:::1;::::0;::::1;;75308:7;75300:38;;;;-1:-1:-1::0;;;75300: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;55928:9:::0;;55920:44:::2;;;::::0;-1:-1:-1;;;55920:44:0;;26406:2:1;55920:44:0::2;::::0;::::2;26388:21:1::0;26445:2;26425:18;;;26418:30;-1:-1:-1;;;26464:18:1;;;26457:48;26522:18;;55920:44:0::2;26204:342:1::0;55920:44:0::2;55979:9;::::0;::::2;::::0;55971:54:::2;;;::::0;-1:-1:-1;;;55971:54:0;;26753:2:1;55971:54:0::2;::::0;::::2;26735:21:1::0;26792:2;26772:18;;;26765:30;26831;26811:18;;;26804:58;26879:18;;55971:54:0::2;26551:352:1::0;55971:54:0::2;56040:9:::0;;::::2;::::0;56032:51:::2;;;::::0;-1:-1:-1;;;56032:51:0;;27110:2:1;56032:51:0::2;::::0;::::2;27092:21:1::0;27149:2;27129:18;;;27122:30;27188:27;27168:18;;;27161:55;27233:18;;56032:51:0::2;26908:349:1::0;56032:51:0::2;56098:9:::0;;::::2;::::0;56090:46:::2;;;::::0;-1:-1:-1;;;56090:46:0;;27464:2:1;56090:46:0::2;::::0;::::2;27446:21:1::0;27503:2;27483:18;;;27476:30;-1:-1:-1;;;27522:18:1;;;27515:50;27582:18;;56090:46:0::2;27262:344:1::0;56090:46:0::2;56179:16:::0;;56149:27:::2;::::0;56179:34:::2;::::0;56198:15:::2;::::0;56179:34:::2;;;:::i;:::-;56149:64;;56250:1;56228:19;:23;56220:58;;;::::0;-1:-1:-1;;;56220:58:0;;27813:2:1;56220:58:0::2;::::0;::::2;27795:21:1::0;27852:2;27832:18;;;27825:30;-1:-1:-1;;;27871:18:1;;;27864:52;27933:18;;56220:58:0::2;27611:346:1::0;56220:58:0::2;56342:18;56384:5;56364:6:::0;56371:1:::2;56364:9;;;::::0;:16:::2;::::0;56376:4:::2;56364:16;:::i;:::-;56363:26;;;;:::i;:::-;56342:47:::0;-1:-1:-1;56451:19:0;56430:17:::2;56342:47:::0;56443:4:::2;56430:17;:::i;:::-;56429:41;;;;:::i;:::-;56416:54;;56572:20;56610:12;-1:-1:-1::0;;;;;56595:37:0::2;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56572:62:::0;-1:-1:-1;56642:96:0::2;56680:10;56700:4;56719:18;56572:62:::0;56719:2:::2;:18;:::i;:::-;56707:9:::0;;:30:::2;::::0;;::::2;:::i;:::-;-1:-1:-1::0;;;;;56642:37:0;::::2;::::0;:96;;:37:::2;:96::i;:::-;56785:461;::::0;;::::2;::::0;::::2;::::0;;-1:-1:-1;;;;;56785:461:0;;::::2;::::0;;;::::2;;::::0;::::2;::::0;56774:5:::2;::::0;56785:461;;56904:18:::2;56908:14:::0;56904:2:::2;:18;:::i;:::-;56892:9:::0;;:30:::2;::::0;;::::2;:::i;:::-;56785:461:::0;;57237:1:::2;56785:461;::::0;;::::2;::::0;;;;56951:9;::::2;::::0;56785:461;;;;;;;;56984:9;::::2;::::0;56785:461;;;;;;57024:18:::2;57028:14:::0;57024:2:::2;:18;:::i;:::-;57012:9:::0;;::::2;::::0;:30:::2;::::0;;::::2;:::i;:::-;56785:461;;;;57065:10;56785:461;;;;57104:1;56785:461;;;;57126:15;56785:461;;;;57161:13;57175:1;57161:16;;;;;;;:::i;:::-;;;;;56785:461;;;;;;57200:13;57214:1;57200:16;;;;;;;:::i;:::-;;;;;56785:461;;;;::::0;56774:473:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;56774:473:0::2;;;;;-1:-1:-1::0;;;;;56774:473:0::2;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;56774:473:0::2;;;;;-1:-1:-1::0;;;;;56774:473:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57284:16;57303:13;;57284:32;;57323:16;:30;57340:12;-1:-1:-1::0;;;;;57323:30:0::2;-1:-1:-1::0;;;;;57323:30:0::2;;;;;;;;;;;;57359:8;57323:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57375:15;:37;57399:11;-1:-1:-1::0;;;;;57375:37:0::2;-1:-1:-1::0;;;;;57375:37:0::2;;;;;;;;;;;;57418:8;57375:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57467:10;57434:20;:30;57455:8;57434:30;;;;;;;;;;;;:43;;;;;-1:-1:-1::0;;;;;57434:43:0::2;;;;;-1:-1:-1::0;;;;;57434:43:0::2;;;;;;57492:13;;57490:15;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;57517:71:0;;::::2;::::0;;::::2;57532:8:::0;57517:71:::2;57578:6:::0;57585:1:::2;57578:9;;;;57517:71;;;;1247:25:1::0;;1235:2;1220:18;;1101:177;57517:71:0::2;;;;;;;;57608:8:::0;55032:2588;-1:-1:-1;;;;;;;;;55032:2588:0:o;68489:141::-;68560:14;68590:36;68612:4;68618:7;68590: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;;;;;28294:32:1;;;9386:43:0;;;28276:51:1;28343:18;;;28336:34;;;9359:71:0;;9379:5;;9401:14;;;;;28249:18:1;;9386:43:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9386:43:0;;;;;;;;;;;9359:19;:71::i;71578:139::-;71637:13;71688:17;71701:3;71688: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;;28583:2:1;49590:63:0;;;28565:21:1;28622:2;28602:18;;;28595:30;28661:33;28641:18;;;28634:61;28712:18;;49590:63:0;28381:355:1;49590:63:0;48866:1;49731:18;;49464:293::o;74327:340::-;74399:7;74517:1;74506:8;:12;;;74502:96;;;74547:12;74558:1;74547:8;:12;:::i;:::-;74540:20;;:2;:20;:::i;74502:96::-;-1:-1:-1;74615:1:0;;74327:340;-1:-1:-1;74327:340:0:o;69450:783::-;69552:16;;;;:11;:16;;;;;:23;;;;69523:26;;;;;:52;;69552:23;69523:52;:::i;:::-;69505:15;:70;69501:719;;;69588:18;69609:5;69615:3;69609:10;;;;;;;;:::i;:::-;;;;;;;;;69644:16;;;:11;:16;;;;;;;:20;69609:10;;;;;;;;-1:-1:-1;69644:20:0;;69640:500;;;69705:16;;;;:11;:16;;;;;:21;;;69681:20;;;:45;;69705:21;;69681:20;;:45;;69705:21;;69681:45;:::i;:::-;;;;-1:-1:-1;;69783:16:0;;;;:11;:16;;;;;:23;;;69759:20;;;;:47;69755:134;;69850:16;;;;:11;:16;;;;;:23;;;69827:20;;;:46;69755:134;69640:500;;;69945:16;;;;:11;:16;;;;;:21;;;69921:20;;;:45;;69945:21;;69921:20;;:45;;69945:21;;69921:45;:::i;:::-;;;;-1:-1:-1;;70023:16:0;;;;:11;:16;;;;;:23;;;69999:20;;;;:47;69995:134;;70090:16;;;;:11;:16;;;;;:23;;;70067:20;;;:46;69995:134;-1:-1:-1;70160:16:0;;;;:11;:16;;;;;70196:15;70160:52;;:26;;;;:52;69450:783::o;68941:495::-;68990:18;69011:5;69017:3;69011:10;;;;;;;;:::i;:::-;;;;;;;;;;;68990:31;;69034:19;69056:4;:14;;;69034:36;;69081:11;69096:1;69081:16;69077:29;;69099:7;;68941:495;:::o;69077:29::-;69114:26;69161:4;:14;;;69143:15;:32;;;;:::i;:::-;69114:61;;69186:18;69208:1;69186:23;69182:36;;69211:7;;;68941:495;:::o;69182:36::-;69286:16;;;;69232:13;;69286:22;;-1:-1:-1;;;69286:16:0;;;;69305:3;69286:22;:::i;:::-;69248:61;;69249:32;69263:18;69249:11;:32;:::i;:::-;69248:61;;;;:::i;:::-;69232:77;;69348:11;69340:5;:19;:45;;69366:19;69380:5;69366:11;:19;:::i;:::-;69340:45;;;69362:1;69340:45;69323:14;;;:62;-1:-1:-1;;;69392:40:0;69416:15;69392:40;:14;;;;:40;-1:-1:-1;68941:495:0:o;9683:190::-;9811:53;;-1:-1:-1;;;;;29366:32:1;;;9811:53:0;;;29348:51:1;29435:32;;;29415:18;;;29408:60;29484:18;;;29477:34;;;9784:81:0;;9804:5;;9826:18;;;;;29321::1;;9811:53:0;29146:371:1;70241:1315:0;70299:13;70321:17;70341:5;70347:3;70341:10;;;;;;;;:::i;:::-;;;;;;;;;70321:30;;;;;;;;70341:10;;;;;;;70321:30;;-1:-1:-1;;;;;70321:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70321:30:0;;;;;;;;70449:52;;-1:-1:-1;;;70449:52:0;;;;70321:30;;-1:-1:-1;70321:30:0;70449:50;;:52;;;;70341:10;;70449:52;;;;;;70321:30;70449:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70426:75;;70508:19;70553:4;:15;;;-1:-1:-1;;;;;70530:49:0;;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70508:73;;70646:17;70666:28;70690:3;70666:23;:28::i;:::-;70646:48;;70701:17;70721:15;70732:3;70721:10;:15::i;:::-;70701:35;-1:-1:-1;70897:19:0;70975:13;70953:19;70958:14;70953:2;:19;:::i;:::-;:35;;;;:::i;:::-;70946:43;;:2;:43;:::i;:::-;70920:21;70932:9;70920;:21;:::i;:::-;70919:71;;;;:::i;:::-;70897:93;-1:-1:-1;71190:4:0;71169:18;71190:4;70897:93;71169:18;:::i;:::-;:25;;;;:::i;:::-;71161:33;;71276:4;:17;;;71268:5;:25;71264:75;;;71314:4;:17;;;71306:25;;71264:75;71509:24;71529:4;-1:-1:-1;;71509:24:0;:::i;:::-;71500:5;:33;;71492:60;;;;-1:-1:-1;;;71492:60:0;;29724:2:1;71492:60:0;;;29706:21:1;29763:2;29743:18;;;29736:30;-1:-1:-1;;;29782:18:1;;;29775:44;29836:18;;71492:60:0;29522:338:1;71492:60:0;70314:1242;;;;;;70241:1315;;;:::o;74736:131::-;74818:7;74848:14;74857:5;74848: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;;;;;28294:32:1;;27294:47:0;;;28276:51:1;28343:18;;;28336:34;;;28249:18;;27294:47:0;28102: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;72679:1580::-;72748:7;72764:17;72784:5;72790:3;72784:10;;;;;;;;:::i;:::-;;;;;;;;;72764:30;;;;;;;;72784:10;;;;;;;72764:30;;-1:-1:-1;;;;;72764:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;72764:30:0;;;;;;;;72828:16;;;;;;;;;72801:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72900:20;72764:30;;-1:-1:-1;72801:43:0;72998:15;72840:3;72998:10;:15::i;:::-;72971:42;;73020:26;73067:4;:13;;;73049:31;;:15;:31;:89;;73137:1;73049:89;;;73111:13;;;;73093:31;;;;:15;:31;:::i;:::-;73020:118;;73243:25;73299:4;:12;;;73272:16;73291:4;73272:23;;;;:::i;:::-;73271:40;;;;:::i;:::-;73243:68;-1:-1:-1;73355:19:0;73409:22;:18;73430:1;73409:22;:::i;:::-;73378:26;73387:17;73378:6;:26;:::i;:::-;73377:55;;;;:::i;:::-;73355:77;;73548:10;:17;;;73525:10;:20;;;:40;;;;:::i;:::-;73506:15;:59;73502:633;;73582:14;;73578:550;;;73667:15;;;;73657:25;;;;:::i;:::-;;;73766:10;:17;;;73757:6;:26;73753:93;;;73813:10;:17;;;73804:26;;73753:93;73578:550;;;73932:15;;;;73922:25;;;;:::i;:::-;;;74037:10;:17;;;74028:6;:26;74024:93;;;74084:10;:17;;;74075:26;;74024:93;74176:11;74167:6;:20;74163:72;;;74207:20;74216:11;74207:6;:20;:::i;:::-;74200:27;72679:1580;-1:-1:-1;;;;;;;;;72679:1580:0:o;74163:72::-;-1:-1:-1;74254:1:0;;72679:1580;-1:-1:-1;;;;;;;;72679:1580:0:o;71726:940::-;71782:7;71802:17;71822:5;71828:3;71822:10;;;;;;;;:::i;:::-;;;;;;;;;71802:30;;;;;;;;71822:10;;;;;;;71802:30;;-1:-1:-1;;;;;71802:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71802:30:0;;;;;;;;71918:51;;-1:-1:-1;;;71918:51:0;;;;71802:30;;-1:-1:-1;71802:30:0;71918:49;;:51;;;;71822:10;;71918:51;;;;;;71802:30;71918:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71890:80;;71977:20;72029:4;:16;;;-1:-1:-1;;;;;72006:50:0;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71977:82;-1:-1:-1;72141:17:0;72184:19;71977:82;72184:2;:19;:::i;:::-;72179:25;;:2;:25;:::i;:::-;72161:4;:14;;;:44;;;;:::i;:::-;72141:64;-1:-1:-1;72271:20:0;72327:18;72332:13;72327:2;:18;:::i;:::-;72320:26;;:2;:26;:::i;:::-;72294:4;:22;;;:53;;;;:::i;:::-;72271:76;;72397:12;72413:1;72397:17;72393:97;;-1:-1:-1;;;72434:17:0;71726:940;-1:-1:-1;;;;;;71726:940:0:o;72393:97::-;72580:17;72621:12;72601:16;:9;72613:4;72601:16;:::i;:::-;72600: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;27962:135::-;28001:3;28022:17;;;28019:43;;28042:18;;:::i;:::-;-1:-1:-1;28089:1:1;28078:13;;27962:135::o;28741:151::-;28831:4;28824:12;;;28810;;;28806:31;;28849:14;;28846:40;;;28866:18;;:::i;28897:244::-;29008:10;28981:18;;;29001;;;28977:43;29040:28;;;;29087:24;;;29077:58;;29115:18;;:::i
Swarm Source
ipfs://18a126f49adda0aeda524ea197f5ac759df28bc871ad00e8a032bc3b76fb265c
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.