Source Code
Overview
S Balance
0 S
Token Holdings
More Info
ContractCreator
Latest 10 from a total of 10 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit | 10585426 | 29 days ago | IN | 0 S | 0.00031621 | ||||
Deposit | 10584971 | 29 days ago | IN | 0 S | 0.00031621 | ||||
Grant Auctioneer... | 10516369 | 29 days ago | IN | 0 S | 0.00013546 | ||||
New Bond | 10416441 | 29 days ago | IN | 0 S | 0.0005454 | ||||
New Bond | 10365206 | 29 days ago | IN | 0 S | 0.00031827 | ||||
New Bond | 10364718 | 29 days ago | IN | 0 S | 0.00031827 | ||||
New Bond | 10363941 | 29 days ago | IN | 0 S | 0.00031844 | ||||
New Bond | 10357656 | 29 days ago | IN | 0 S | 0.0003185 | ||||
Whitelist Token | 10355387 | 29 days ago | IN | 0 S | 0.00013036 | ||||
Grant Auctioneer... | 10339464 | 29 days ago | IN | 0 S | 0.00019439 |
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-06 */ // 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); } 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; /** * @dev Collection of common custom errors used in multiple contracts * * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library. * It is recommended to avoid relying on the error API for critical functionality. * * _Available since v5.1._ */ library Errors { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error InsufficientBalance(uint256 balance, uint256 needed); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedCall(); /** * @dev The deployment failed. */ error FailedDeployment(); /** * @dev A necessary precompile is missing. */ error MissingPrecompile(address); } pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert Errors.InsufficientBalance(address(this).balance, amount); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert Errors.FailedCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {Errors.FailedCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert Errors.InsufficientBalance(address(this).balance, value); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case * of an unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {Errors.FailedCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly ("memory-safe") { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert Errors.FailedCall(); } } } 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); } } 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) IERC20(payoutToken_).safeTransferFrom(msg.sender, address(this), _terms[0]); // Create market terms.push(Terms({ quoteToken: address(_quoteToken), payoutToken: payoutToken_, amountToBond: _terms[0], controlVariable: _terms[1], minimumPrice: _terms[2], maxDebt: _terms[3], 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; IERC20(terms[_id].payoutToken).safeTransfer(msg.sender, amountLeft); emit BondEnded(_id); } function withdrawQuoteTokens(uint256 _id) external onlyRole(AUCTIONEER_ROLE) whenNotPaused { // Ensure only the original auctioneer for this market can withdraw require(marketsToAuctioneers[_id] == msg.sender, "Not market's auctioneer"); // Ensure bond has ended require(block.timestamp > terms[_id].bondEnds, "Bond not yet concluded"); // Get the quote token and its balance address quoteToken = terms[_id].quoteToken; uint256 balance = terms[_id].quoteTokensRaised; // Calculate DAO fee if applicable uint256 daoFee = 0; if (feeToDao > 0) { daoFee = (balance * feeToDao) / 10000; // Assuming feeToDao is in basis points balance -= daoFee; } // safeTransfer quote tokens to auctioneer IERC20(quoteToken).safeTransfer(msg.sender, balance); // safeTransfer DAO fee if applicable if (daoFee > 0) { IERC20(quoteToken).safeTransfer(mSig, daoFee); } 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; // Iterate backwards to safely remove elements for (uint256 i = length; i > 0;) { i--; // decrement here to avoid underflow Bond storage currentBond = bondInfo[user][i]; if (currentBond.marketId == _id) { uint256 amount = calculateLinearPayout(user, i); if (amount > 0) { // Update state before transfer currentBond.amountOwed -= amount; totalRedeemed += amount; // Perform transfer IERC20(terms[_id].payoutToken).safeTransfer(user, amount); // If fully redeemed, remove bond if (currentBond.amountOwed == 0) { // Move the last element to current position and pop 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]; // Get current debt and control variable uint256 currentDebt = term.totalDebt; if (currentDebt == 0) return; // Get seconds since market was created (block.timestamp - (bondEnds - length)) uint256 secondsSinceLastDecay = block.timestamp - term.lastDecay; // Return if market not active if (secondsSinceLastDecay == 0) return; // Calculate decay rate based on target vesting time uint256 decay = currentDebt * secondsSinceLastDecay / term.vestingTerm; // Update stored debt term.totalDebt = 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) / 1e18; } 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) { 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
60a060405234801561000f575f5ffd5b5060405161443738038061443783398101604081905261002e91610237565b60016002556001600160a01b03811661007f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640160405180910390fd5b6001600160a01b0381166080819052610099905f90610106565b506100cc7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6360805161010660201b60201c565b506100ff7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e60805161010660201b60201c565b505061025d565b5f80610112848461013c565b90508015610133575f84815260016020526040902061013190846101e3565b505b90505b92915050565b5f828152602081815260408083206001600160a01b038516845290915281205460ff166101dc575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556101943390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610136565b505f610136565b5f610133836001600160a01b0384165f8181526001830160205260408120546101dc57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610136565b5f60208284031215610247575f5ffd5b81516001600160a01b0381168114610133575f5ffd5b6080516141bb61027c5f395f81816107e00152611eb901526141bb5ff3fe608060405234801561000f575f5ffd5b50600436106102cb575f3560e01c806391de4d071161017b578063c5f0d05c116100e4578063d547741f1161009e578063ddb2924711610079578063ddb29247146107a0578063ea5e0c60146107b3578063ed421a9c146107db578063f9a6466414610802575f5ffd5b8063d547741f14610771578063d627d25e14610784578063d918a16e14610797575f5ffd5b8063c5f0d05c146106fe578063c8558f1b14610711578063ca15c87314610724578063cfe9232b14610737578063d04cffeb1461074b578063d1af1fbc1461075e575f5ffd5b8063b33712c511610135578063b33712c5146105dd578063bc063e1a146105e5578063bc3b2b12146105ee578063be32ee2614610658578063c0680e201461066b578063c0aa0e8a1461067e575f5ffd5b806391de4d071461056a5780639b299d9a1461057d5780639cd85b5b14610590578063a217fddf146105a3578063a3246ad3146105aa578063b2f5de94146105ca575f5ffd5b806336568abe116102375780637b30564e116101f15780638dbdbe6d116101cc5780638dbdbe6d146104f25780639010d07c14610505578063909b2bb81461053057806391d1485414610557575f5ffd5b80637b30564e146104795780637bde82f21461048c5780638ad59c701461049f575f5ffd5b806336568abe14610404578063439766ce146104175780635c975abb1461041f5780636247f6f21461042c5780636e76fc8f1461043f578063725dafe014610466575f5ffd5b8063172c44ec11610288578063172c44ec1461038d5780631b014e85146103a057806324760807146103b3578063248a9ca3146103bc57806327507458146103de5780632f2ff15d146103f1575f5ffd5b806301ffc9a7146102cf57806306b40ea3146102f75780630868335e146103185780630fb81eb4146103385780631227b4021461034d578063154347b51461036d575b5f5ffd5b6102e26102dd366004613ad6565b610815565b60405190151581526020015b60405180910390f35b61030a610305366004613b11565b61083f565b6040519081526020016102ee565b61032b610326366004613b3b565b61086a565b6040516102ee9190613c1d565b61034b610346366004613c6b565b61091a565b005b61036061035b366004613c6b565b610aaf565b6040516102ee9190613c82565b61038061037b366004613c91565b610b84565b6040516102ee9190613cac565b61030a61039b366004613c6b565b610bed565b6103806103ae366004613c91565b610bf7565b61030a60045481565b61030a6103ca366004613c6b565b5f9081526020819052604090206001015490565b6102e26103ec366004613c6b565b610c5e565b61034b6103ff366004613ce3565b610ce2565b61034b610412366004613ce3565b610d0c565b61034b610d44565b6003546102e29060ff1681565b61034b61043a366004613c91565b610da8565b61030a7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6381565b61034b610474366004613ce3565b610f8e565b6102e2610487366004613b11565b6110ad565b61030a61049a366004613ce3565b611151565b6104b26104ad366004613b11565b6113e6565b604080516001600160a01b039097168752602087019590955293850192909252606084015263ffffffff90811660808401521660a082015260c0016102ee565b61034b610500366004613d11565b61144b565b610518610513366004613d47565b611a77565b6040516001600160a01b0390911681526020016102ee565b61030a7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e81565b6102e2610565366004613ce3565b611a95565b6102e2610578366004613d67565b611abd565b61034b61058b366004613c91565b611b8f565b6102e261059e366004613c91565b611cc1565b61030a5f81565b6105bd6105b8366004613c6b565b611cd9565b6040516102ee9190613d93565b61034b6105d8366004613c6b565b611cf2565b61034b611f22565b61030a6103e881565b61062e6105fc366004613c6b565b60076020525f90815260409020805460018201546002830154600384015460049094015460ff90931693919290919085565b6040805195151586526020860194909452928401919091526060830152608082015260a0016102ee565b61034b610666366004613c91565b611f83565b61030a610679366004613b11565b612000565b61069161068c366004613c6b565b612019565b604080516001600160a01b039d8e1681529c909b1660208d0152998b019890985260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015263ffffffff90811661014084015216610160820152610180016102ee565b61034b61070c366004613deb565b61209f565b61030a61071f366004613b11565b612140565b61030a610732366004613c6b565b612335565b61030a5f5160206141665f395f51905f5281565b610380610759366004613c91565b61234b565b61051861076c366004613c6b565b612431565b61034b61077f366004613ce3565b612459565b61034b610792366004613c91565b61247d565b61030a600e5481565b61030a6107ae366004613ea0565b612556565b6105186107c1366004613c6b565b600a6020525f90815260409020546001600160a01b031681565b6105187f000000000000000000000000000000000000000000000000000000000000000081565b61030a610810366004613b11565b612c81565b5f6001600160e01b03198216635a05180f60e01b1480610839575061083982612c8c565b92915050565b600c602052815f5260405f208181548110610858575f80fd5b905f5260205f20015f91509150505481565b60605f8267ffffffffffffffff81111561088657610886613e04565b6040519080825280602002602001820160405280156108bf57816020015b6108ac613a76565b8152602001906001900390816108a45790505b5090505f5b83811015610912576108ed8585838181106108e1576108e1613f33565b90506020020135610aaf565b8282815181106108ff576108ff613f33565b60209081029190910101526001016108c4565b509392505050565b5f5160206141665f395f51905f5261093181612cc0565b60035460ff161561095d5760405162461bcd60e51b815260040161095490613f47565b60405180910390fd5b5f828152600a60205260409020546001600160a01b031633146109b25760405162461bcd60e51b815260206004820152600d60248201526c139bdd081e5bdd5c88109bdb99609a1b6044820152606401610954565b42600683815481106109c6576109c6613f33565b905f5260205f2090600b0201600a015f6101000a81548163ffffffff021916908363ffffffff1602179055505f60068381548110610a0657610a06613f33565b905f5260205f2090600b02016003015460068481548110610a2957610a29613f33565b905f5260205f2090600b020160020154610a439190613f87565b9050610a80338260068681548110610a5d57610a5d613f33565b5f91825260209091206001600b9092020101546001600160a01b03169190612ccd565b60405183907fc22a1d700260b389bc0ce34ad5cd517ce48733d9f3bf0f188725711b0f53940c905f90a2505050565b610ab7613a76565b5f60068381548110610acb57610acb613f33565b5f9182526020918290206040805161012081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352919250908101610b1385612d2c565b81526007830154602080830191909152600a80850154600160201b900463ffffffff16604080850191909152600286015460608501525f8881529190925220546001600160a01b0316608082015260a001610b6d85610c5e565b151581526020018260030154815250915050919050565b6001600160a01b0381165f908152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610be157602002820191905f5260205f20905b815481526020019060010190808311610bcd575b50505050509050919050565b5f61083982612d2c565b6001600160a01b0381165f908152600c6020908152604091829020805483518184028101840190945280845260609392830182828015610be157602002820191905f5260205f2090815481526020019060010190808311610bcd5750505050509050919050565b5f60068281548110610c7257610c72613f33565b5f9182526020909120600a600b90920201015463ffffffff164211801590610839575060068281548110610ca857610ca8613f33565b905f5260205f2090600b02016006015460068381548110610ccb57610ccb613f33565b905f5260205f2090600b0201600301541092915050565b5f82815260208190526040902060010154610cfc81612cc0565b610d068383612d36565b50505050565b6001600160a01b0381163314610d355760405163334bd91960e11b815260040160405180910390fd5b610d3f8282612d61565b505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a63610d6e81612cc0565b6003805460ff1916600117905560405133907f81990fd9a5c552b8e3677917d8a03c07678f0d2cb68f88b634aca2022e9bd19f905f90a250565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e610dd281612cc0565b6001600160a01b038216610e205760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610954565b6001600160a01b0382165f9081526009602052604090205460ff1615610e885760405162461bcd60e51b815260206004820152601960248201527f546f6b656e20616c72656164792077686974656c6973746564000000000000006044820152606401610954565b816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ee2575060408051601f3d908101601f19168201909252610edf91810190613f9a565b60015b610f245760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21022a9219918103a37b5b2b760691b6044820152606401610954565b506001600160a01b0382165f818152600960205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555b5050565b5f828152600a60205260409020546001600160a01b03163314610fe65760405162461bcd60e51b815260206004820152601060248201526f2737ba1036b0b935b2ba1037bbb732b960811b6044820152606401610954565b610ffd5f5160206141665f395f51905f5282611a95565b61103a5760405162461bcd60e51b815260206004820152600e60248201526d2737ba1030bab1ba34b7b732b2b960911b6044820152606401610954565b5f828152600a602090815260409182902080546001600160a01b0319166001600160a01b03851690811790915582518581523392810192909252918101919091527f2ce31ebb7c731534ab7267f7655a662e4a2bce5ffbf2c5ac9c197c0f5c554e79906060015b60405180910390a15050565b6001600160a01b0382165f908152600d602052604081208054829190849081106110d9576110d9613f33565b5f9182526020918290206040805160c081018252600590930290910180546001600160a01b031683526001810154938301939093526002830154908201526003820154606082015260049091015463ffffffff8082166080840152600160201b9091041660a090910181905242101591505092915050565b5f61115a612d8c565b6001600160a01b0382165f908152600d602052604081205490815b80156113d8578061118581613fba565b6001600160a01b0387165f908152600d60205260408120805492945090925090839081106111b5576111b5613f33565b905f5260205f2090600502019050868160030154036113d2575f6111d98784612140565b905080156113d05780826001015f8282546111f49190613f87565b9091555061120490508185613fcf565b935061121e878260068b81548110610a5d57610a5d613f33565b81600101545f036113d0576001600160a01b0387165f908152600d602052604090205461124d90600190613f87565b831461135e576001600160a01b0387165f908152600d60205260409020805461127890600190613f87565b8154811061128857611288613f33565b905f5260205f209060050201600d5f896001600160a01b03166001600160a01b031681526020019081526020015f2084815481106112c8576112c8613f33565b5f9182526020909120825460059092020180546001600160a01b0319166001600160a01b039092169190911781556001808301549082015560028083015490820155600380830154908201556004918201805492909101805463ffffffff19811663ffffffff94851690811783559254600160201b9081900490941690930267ffffffffffffffff199093169091179190911790555b6001600160a01b0387165f908152600d6020526040902080548061138457611384613fe2565b5f8281526020812060055f199093019283020180546001600160a01b031916815560018101829055600281018290556003810191909155600401805467ffffffffffffffff1916905590555b505b50611175565b509150506108396001600255565b600d602052815f5260405f2081815481106113ff575f80fd5b5f918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919063ffffffff80821691600160201b90041686565b611453612d8c565b6001600160a01b0381166114a05760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642075736572206164647265737360601b6044820152606401610954565b60065483106114e55760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081b585c9ad95d081251607a1b6044820152606401610954565b5f600684815481106114f9576114f9613f33565b5f9182526020909120600b90910201600a81015490915063ffffffff164211156115565760405162461bcd60e51b815260206004820152600e60248201526d109bdb99081a185cc8195b99195960921b6044820152606401610954565b80600601548160030154106115ad5760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d20626f6e6420636170616369747920726561636865640000006044820152606401610954565b80546040805163313ce56760e01b815290515f926001600160a01b03169163313ce5679160048083019260209291908290030181865afa1580156115f3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116179190613f9a565b90505f61162382612de3565b9050808510156116755760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742062656c6f77206d696e696d756d207468726573686f6c64006044820152606401610954565b82600701548511156116c95760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742065786365656473206d6178696d756d20616c6c6f776564006044820152606401610954565b6116d286612e0e565b6116db86612f50565b82546040516370a0823160e01b81523060048201526001600160a01b03909116905f9082906370a0823190602401602060405180830381865afa158015611724573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117489190613ff6565b905061175f6001600160a01b03831633308a612ff2565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156117a3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c79190613ff6565b9050876117d48383613f87565b146118215760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374207472616e7366657220616d6f756e74000000000000006044820152606401610954565b8760068a8154811061183557611835613f33565b905f5260205f2090600b02016008015f8282546118529190613fcf565b909155505f90506118628a61302b565b90505f61186f8a8361328f565b600189015460068a015460038b01549293506001600160a01b0390911691611898908490613fcf565b11156118e65760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d6178696d756d20626f6e642064656274000000000000006044820152606401610954565b600d5f8b6001600160a01b03166001600160a01b031681526020019081526020015f206040518060c00160405280836001600160a01b031681526020018481526020018581526020018e81526020014263ffffffff168152602001428c600a0160049054906101000a900463ffffffff1663ffffffff166119679190613fcf565b63ffffffff9081169091528254600181810185555f9485526020808620855160059094020180546001600160a01b039094166001600160a01b03199094169390931783558401519082015560408301516002820155606083015160038083019190915560808401516004909201805460a0909501518416600160201b0267ffffffffffffffff1990951692909316919091179290921790558a018054849290611a11908490613fcf565b9091555050604080518c8152602081018490529081018490528c906001600160a01b038c16907f105066e10d7040f371761942e4dcb5b97c51daf3acfe0295b7d4c42d32af86f29060600160405180910390a3505050505050505050610d3f6001600255565b5f828152600160205260408120611a8e90836132ad565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6001600160a01b0381165f908152600b6020908152604080832080548251818502810185019093528083528493830182828015611b1757602002820191905f5260205f20905b815481526020019060010190808311611b03575b509394505f93505050505b8151811015611b8557846001600160a01b0316600a5f848481518110611b4a57611b4a613f33565b60209081029190910181015182528101919091526040015f20546001600160a01b031603611b7d57600192505050610839565b600101611b22565b505f949350505050565b5f611b9981612cc0565b6001600160a01b038216611bef5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061756374696f6e65657220616464726573730000000000006044820152606401610954565b611c065f5160206141665f395f51905f5283611a95565b15611c4b5760405162461bcd60e51b815260206004820152601560248201527420b63932b0b23c9030b71030bab1ba34b7b732b2b960591b6044820152606401610954565b611c625f5160206141665f395f51905f5283612d36565b506001600160a01b0382165f81815260086020526040808220805460ff19166001179055513392915f5160206141665f395f51905f52917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b5f6108395f5160206141665f395f51905f5283611a95565b5f818152600160205260409020606090610839906132b8565b5f5160206141665f395f51905f52611d0981612cc0565b60035460ff1615611d2c5760405162461bcd60e51b815260040161095490613f47565b5f828152600a60205260409020546001600160a01b03163314611d915760405162461bcd60e51b815260206004820152601760248201527f4e6f74206d61726b657427732061756374696f6e6565720000000000000000006044820152606401610954565b60068281548110611da457611da4613f33565b5f9182526020909120600a600b90920201015463ffffffff164211611e045760405162461bcd60e51b8152602060048201526016602482015275109bdb99081b9bdd081e595d0818dbdb98db1d59195960521b6044820152606401610954565b5f60068381548110611e1857611e18613f33565b5f91825260208220600b9091020154600680546001600160a01b0390921693509085908110611e4957611e49613f33565b5f918252602082206008600b909202010154600e5490925015611e9057612710600e5483611e77919061400d565b611e819190614024565b9050611e8d8183613f87565b91505b611ea46001600160a01b0384163384612ccd565b8015611ede57611ede6001600160a01b0384167f000000000000000000000000000000000000000000000000000000000000000083612ccd565b6040805183815260208101839052339187917f6cdd4eeaadbfd702bff31856ddd6a8ac93f3e7683aed304c11ac132081146a1f910160405180910390a35050505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a63611f4c81612cc0565b6003805460ff1916905560405133907f5b65b0c1363b3003db9bcc5e1fd8805a6d6bf5bf6dc9d3431ee4494cd7d11766905f90a250565b5f611f8d81612cc0565b611fa45f5160206141665f395f51905f5283612d61565b506001600160a01b0382165f81815260086020526040808220805460ff19169055513392915f5160206141665f395f51905f52917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600b602052815f5260405f208181548110610858575f80fd5b60068181548110612028575f80fd5b5f9182526020909120600b9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a909a01546001600160a01b03998a169b5097909816989597949693959294919390929063ffffffff80821691600160201b9004168c565b5f6120a981612cc0565b6103e88263ffffffff1611156120f05760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610954565b600e805463ffffffff84169182905560408051828152602081019390935290917f528d9479e9f9889a87a3c30c7f7ba537e5e59c4c85a37733b16e57c62df61302910160405180910390a1505050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061216c5761216c613f33565b5f91825260208083206040805160c081018252600590940290910180546001600160a01b0316845260018101549284019290925260028201549083015260038101546060830181905260049091015463ffffffff8082166080850152600160201b9091041660a0830152600680549294509181106121ec576121ec613f33565b5f9182526020918290206040805161018081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460608201526004820154608080830191909152600583015460a0830152600683015460c0830152600783015460e083015260088301546101008301526009830154610120830152600a9092015463ffffffff808216610140840152600160201b909104811661016083015291840151909250164210156122b7575f92505050610839565b5f81610160015163ffffffff1690505f8360a0015163ffffffff1642116122f25760808401516122ed9063ffffffff1642613f87565b6122f4565b815b90505f8285602001516123079190614024565b90505f612314838361400d565b90508560200151811115612329575060208501515b98975050505050505050565b5f818152600160205260408120610839906132c4565b6001600160a01b0381165f908152600d60205260408120546060919067ffffffffffffffff81111561237f5761237f613e04565b6040519080825280602002602001820160405280156123a8578160200160208202803683370190505b5090505f5b6001600160a01b0384165f908152600d602052604090205481101561242a576001600160a01b0384165f908152600d602052604090208054829081106123f5576123f5613f33565b905f5260205f2090600502016003015482828151811061241757612417613f33565b60209081029190910101526001016123ad565b5092915050565b60058181548110612440575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f8281526020819052604090206001015461247381612cc0565b610d068383612d61565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e6124a781612cc0565b6001600160a01b0382165f9081526009602052604090205460ff166125065760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6001600160a01b0382165f81815260096020908152604091829020805460ff1916905590519182527f108cc7e243d7eb6c2052789466e0961bb24cd62395e2c99e704001b48107a06191016110a1565b5f5f5160206141665f395f51905f5261256e81612cc0565b60035460ff16156125915760405162461bcd60e51b815260040161095490613f47565b6001600160a01b0386166125de5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b2103830bcb7baba103a37b5b2b760611b6044820152606401610954565b6001600160a01b03851661262a5760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21038bab7ba32903a37b5b2b760691b6044820152606401610954565b856001600160a01b0316856001600160a01b03160361268b5760405162461bcd60e51b815260206004820152601860248201527f546f6b656e73206d75737420626520646966666572656e7400000000000000006044820152606401610954565b6001600160a01b0386165f9081526009602052604090205460ff166126ea5760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6126f43386611abd565b1561274c5760405162461bcd60e51b815260206004820152602260248201527f416c726561647920686173206d61726b657420666f722071756f746520746f6b60448201526132b760f11b6064820152608401610954565b82514263ffffffff909116116127995760405162461bcd60e51b8152602060048201526012602482015271426f6e6420656e6420746f6f206561726c7960701b6044820152606401610954565b83516127dc5760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610954565b602084015161282d5760405162461bcd60e51b815260206004820152601c60248201527f436f6e74726f6c207661726961626c65206d757374206265203e2030000000006044820152606401610954565b604084015161287e5760405162461bcd60e51b815260206004820152601960248201527f4d696e696d756d207072696365206d757374206265203e2030000000000000006044820152606401610954565b60608401516128c65760405162461bcd60e51b815260206004820152601460248201527304d61782064656274206d757374206265203e20360641b6044820152606401610954565b82515f906128db90429063ffffffff16613f87565b90505f81116129255760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081d995cdd1a5b99c81c195c9a5bd960521b6044820152606401610954565b5f612710866003602002015161293d9061070861400d565b6129479190614024565b90508161295c82670de0b6b3a764000061400d565b6129669190614024565b8651909150612983906001600160a01b038a169033903090612ff2565b60408051610180810182526001600160a01b0389811682528a166020808301919091528851828401525f606083015288015160808201529087015160a082015260069060c08101886003602002015181526020018381526020015f8152602001428152602001875f600281106129fb576129fb613f33565b602002015163ffffffff16815260200187600160028110612a1e57612a1e613f33565b602002015163ffffffff16815250908060018154018082558091505060019003905f5260205f2090600b02015f909190919091505f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155610120820151816009015561014082015181600a015f6101000a81548163ffffffff021916908363ffffffff16021790555061016082015181600a0160046101000a81548163ffffffff021916908363ffffffff16021790555050505f6004549050600c5f8a6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600b5f896001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f909190919091505533600a5f8381526020019081526020015f205f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060045f8154612c2290614043565b909155506001600160a01b03808916908a16827fe2cf7d92fe44fee405e71ceedac936dbc3b0d18e7d9582e31f2f2a2a3db75c978a60016020020151604051612c6d91815260200190565b60405180910390a498975050505050505050565b5f611a8e8383612140565b5f6001600160e01b03198216637965db0b60e01b148061083957506301ffc9a760e01b6001600160e01b0319831614610839565b612cca81336132cd565b50565b6040516001600160a01b03838116602483015260448201839052610d3f91859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613306565b5f6108398261302b565b5f5f612d428484613372565b90508015611a8e575f8481526001602052604090206109129084613401565b5f5f612d6d8484613415565b90508015611a8e575f848152600160205260409020610912908461347e565b6002805403612ddd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610954565b60028055565b5f60028260ff161115612e0657612dfb60028361405b565b61083990600a614157565b506001919050565b5f8181526007602052604090206003810154600490910154612e309190613fcf565b421115612cca575f60068281548110612e4b57612e4b613f33565b5f91825260208083208584526007909152604090922054600b909102909101915060ff1615612ed6575f8281526007602052604081206001015460048301805491929091612e9a908490613fcf565b90915550505f82815260076020526040902060020154600482015410612ed1575f8281526007602052604090206002015460048201555b612f33565b5f8281526007602052604081206001015460048301805491929091612efc908490613f87565b90915550505f82815260076020526040902060020154600482015411612f33575f8281526007602052604090206002015460048201555b505f9081526007602052604090204263ffffffff16600490910155565b5f60068281548110612f6457612f64613f33565b905f5260205f2090600b020190505f81600301549050805f03612f8657505050565b5f826009015442612f979190613f87565b9050805f03612fa65750505050565b600a8301545f90600160201b900463ffffffff16612fc4838561400d565b612fce9190614024565b9050612fda8184613f87565b600385015550505063ffffffff421660099091015550565b6040516001600160a01b038481166024830152838116604483015260648201839052610d069186918216906323b872dd90608401612cfa565b5f5f6006838154811061304057613040613f33565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b039081168552600182015416848401819052600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa158015613122573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131469190613f9a565b90505f825f01516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613188573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131ac9190613f9a565b90505f6131b886613492565b90505f6131c4876136c9565b90505f836131d386602461405b565b6131dd919061405b565b6131e890600a614157565b6131f2838561400d565b6131fc919061400d565b9050670de0b6b3a76400006132118183614024565b61321b9190614024565b96508560a00151871015613231578560a0015196505b613244670de0b6b3a76400005f19614024565b8711156132845760405162461bcd60e51b815260206004820152600e60248201526d5072696365206f766572666c6f7760901b6044820152606401610954565b505050505050919050565b5f670de0b6b3a76400006132a3838561400d565b611a8e9190614024565b5f611a8e83836138d1565b60605f611a8e836138f7565b5f610839825490565b6132d78282611a95565b610f8a5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610954565b5f5f60205f8451602086015f885af180613325576040513d5f823e3d81fd5b50505f513d9150811561333c578060011415613349565b6001600160a01b0384163b155b15610d0657604051635274afe760e01b81526001600160a01b0385166004820152602401610954565b5f61337d8383611a95565b6133fa575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556133b23390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610839565b505f610839565b5f611a8e836001600160a01b03841661394e565b5f6134208383611a95565b156133fa575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610839565b5f611a8e836001600160a01b038416613993565b5f5f600683815481106134a7576134a7613f33565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116855260018083015490911685850152600280830154868501526003808401546060808901919091526004808601546080808b01918252600588015460a0808d0191909152600689015460c08d01526007808a015460e08e015260088a01546101008e015260098a01546101208e0152600a9099015463ffffffff8082166101408f0152600160201b909104166101608d01528f8d52978a52888c2089519889018a52805460ff16151589529687015499880199909952938501549686019690965290830154908401529201549281019290925251919350916135b1866136c9565b90505f84610140015163ffffffff1642116135cc575f6135e2565b6101408501516135e29063ffffffff1642613f87565b90505f8560c0015183670de0b6b3a76400006135fe919061400d565b6136089190614024565b90505f613616836001613fcf565b613620838761400d565b61362a9190614024565b9050856060015186608001516136409190613fcf565b421161369c5785511561367757602086015161365c9086613fcf565b9450856040015185111561367257856040015194505b61369c565b60208601516136869086613f87565b9450856040015185101561369c57856040015194505b808511156136bb576136ae8186613f87565b9998505050505050505050565b505f98975050505050505050565b5f5f600683815481106136de576136de613f33565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116808652600183015490911685850152600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa1580156137c1573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137e59190613f9a565b90505f82602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613828573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061384c9190613f9a565b90505f61385a82601261405b565b61386590600a614157565b8460600151613874919061400d565b90505f61388284601261405b565b61388d90600a614157565b85610100015161389d919061400d565b9050805f036138b357505f199695505050505050565b5f816138c784670de0b6b3a764000061400d565b6123299190614024565b5f825f0182815481106138e6576138e6613f33565b905f5260205f200154905092915050565b6060815f01805480602002602001604051908101604052809291908181526020018280548015610be157602002820191905f5260205f2090815481526020019060010190808311610bcd5750505050509050919050565b5f8181526001830160205260408120546133fa57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610839565b5f8181526001830160205260408120548015613a6d575f6139b5600183613f87565b85549091505f906139c890600190613f87565b9050808214613a27575f865f0182815481106139e6576139e6613f33565b905f5260205f200154905080875f018481548110613a0657613a06613f33565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613a3857613a38613fe2565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610839565b5f915050610839565b6040518061012001604052805f6001600160a01b031681526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f6001600160a01b031681526020015f151581526020015f81525090565b5f60208284031215613ae6575f5ffd5b81356001600160e01b031981168114611a8e575f5ffd5b6001600160a01b0381168114612cca575f5ffd5b5f5f60408385031215613b22575f5ffd5b8235613b2d81613afd565b946020939093013593505050565b5f5f60208385031215613b4c575f5ffd5b823567ffffffffffffffff811115613b62575f5ffd5b8301601f81018513613b72575f5ffd5b803567ffffffffffffffff811115613b88575f5ffd5b8560208260051b8401011115613b9c575f5ffd5b6020919091019590945092505050565b80516001600160a01b03908116835260208083015182169084015260408083015190840152606080830151908401526080808301519084015260a0828101519084015260c080830151918216908401525060e0810151613c1060e084018215159052565b5061010090810151910152565b602080825282518282018190525f918401906040840190835b81811015613c6057613c49838551613bac565b602093909301926101209290920191600101613c36565b509095945050505050565b5f60208284031215613c7b575f5ffd5b5035919050565b61012081016108398284613bac565b5f60208284031215613ca1575f5ffd5b8135611a8e81613afd565b602080825282518282018190525f918401906040840190835b81811015613c60578351835260209384019390920191600101613cc5565b5f5f60408385031215613cf4575f5ffd5b823591506020830135613d0681613afd565b809150509250929050565b5f5f5f60608486031215613d23575f5ffd5b83359250602084013591506040840135613d3c81613afd565b809150509250925092565b5f5f60408385031215613d58575f5ffd5b50508035926020909101359150565b5f5f60408385031215613d78575f5ffd5b8235613d8381613afd565b91506020830135613d0681613afd565b602080825282518282018190525f918401906040840190835b81811015613c605783516001600160a01b0316835260209384019390920191600101613dac565b803563ffffffff81168114613de6575f5ffd5b919050565b5f60208284031215613dfb575f5ffd5b611a8e82613dd3565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613e4d57634e487b7160e01b5f52604160045260245ffd5b604052919050565b5f82601f830112613e64575f5ffd5b613e6e6040613e18565b806040840185811115613e7f575f5ffd5b845b81811015613c6057613e9281613dd3565b845260209384019301613e81565b5f5f5f5f6101008587031215613eb4575f5ffd5b8435613ebf81613afd565b93506020850135613ecf81613afd565b9250605f85018613613edf575f5ffd5b613ee96080613e18565b8060c0870188811115613efa575f5ffd5b604088015b81811015613f17578035845260209384019301613eff565b50819450613f258982613e55565b935050505092959194509250565b634e487b7160e01b5f52603260045260245ffd5b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561083957610839613f73565b5f60208284031215613faa575f5ffd5b815160ff81168114611a8e575f5ffd5b5f81613fc857613fc8613f73565b505f190190565b8082018082111561083957610839613f73565b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215614006575f5ffd5b5051919050565b808202811582820484141761083957610839613f73565b5f8261403e57634e487b7160e01b5f52601260045260245ffd5b500490565b5f6001820161405457614054613f73565b5060010190565b60ff828116828216039081111561083957610839613f73565b6001815b60018411156140af5780850481111561409357614093613f73565b60018416156140a157908102905b60019390931c928002614078565b935093915050565b5f826140c557506001610839565b816140d157505f610839565b81600181146140e757600281146140f15761410d565b6001915050610839565b60ff84111561410257614102613f73565b50506001821b610839565b5060208310610133831016604e8410600b8410161715614130575081810a610839565b61413c5f198484614074565b805f190482111561414f5761414f613f73565b029392505050565b5f611a8e60ff8416836140b756fec1df76f4e50bdb95676f782d4b88b23904c5346d8bc7c986ae26f7e10e601891a2646970667358221220a97ce20998f0d689efa6bc7161d7d54ebb7f83d59dbcd32d30b845645336861464736f6c634300081b00330000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d
Deployed Bytecode
0x608060405234801561000f575f5ffd5b50600436106102cb575f3560e01c806391de4d071161017b578063c5f0d05c116100e4578063d547741f1161009e578063ddb2924711610079578063ddb29247146107a0578063ea5e0c60146107b3578063ed421a9c146107db578063f9a6466414610802575f5ffd5b8063d547741f14610771578063d627d25e14610784578063d918a16e14610797575f5ffd5b8063c5f0d05c146106fe578063c8558f1b14610711578063ca15c87314610724578063cfe9232b14610737578063d04cffeb1461074b578063d1af1fbc1461075e575f5ffd5b8063b33712c511610135578063b33712c5146105dd578063bc063e1a146105e5578063bc3b2b12146105ee578063be32ee2614610658578063c0680e201461066b578063c0aa0e8a1461067e575f5ffd5b806391de4d071461056a5780639b299d9a1461057d5780639cd85b5b14610590578063a217fddf146105a3578063a3246ad3146105aa578063b2f5de94146105ca575f5ffd5b806336568abe116102375780637b30564e116101f15780638dbdbe6d116101cc5780638dbdbe6d146104f25780639010d07c14610505578063909b2bb81461053057806391d1485414610557575f5ffd5b80637b30564e146104795780637bde82f21461048c5780638ad59c701461049f575f5ffd5b806336568abe14610404578063439766ce146104175780635c975abb1461041f5780636247f6f21461042c5780636e76fc8f1461043f578063725dafe014610466575f5ffd5b8063172c44ec11610288578063172c44ec1461038d5780631b014e85146103a057806324760807146103b3578063248a9ca3146103bc57806327507458146103de5780632f2ff15d146103f1575f5ffd5b806301ffc9a7146102cf57806306b40ea3146102f75780630868335e146103185780630fb81eb4146103385780631227b4021461034d578063154347b51461036d575b5f5ffd5b6102e26102dd366004613ad6565b610815565b60405190151581526020015b60405180910390f35b61030a610305366004613b11565b61083f565b6040519081526020016102ee565b61032b610326366004613b3b565b61086a565b6040516102ee9190613c1d565b61034b610346366004613c6b565b61091a565b005b61036061035b366004613c6b565b610aaf565b6040516102ee9190613c82565b61038061037b366004613c91565b610b84565b6040516102ee9190613cac565b61030a61039b366004613c6b565b610bed565b6103806103ae366004613c91565b610bf7565b61030a60045481565b61030a6103ca366004613c6b565b5f9081526020819052604090206001015490565b6102e26103ec366004613c6b565b610c5e565b61034b6103ff366004613ce3565b610ce2565b61034b610412366004613ce3565b610d0c565b61034b610d44565b6003546102e29060ff1681565b61034b61043a366004613c91565b610da8565b61030a7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a6381565b61034b610474366004613ce3565b610f8e565b6102e2610487366004613b11565b6110ad565b61030a61049a366004613ce3565b611151565b6104b26104ad366004613b11565b6113e6565b604080516001600160a01b039097168752602087019590955293850192909252606084015263ffffffff90811660808401521660a082015260c0016102ee565b61034b610500366004613d11565b61144b565b610518610513366004613d47565b611a77565b6040516001600160a01b0390911681526020016102ee565b61030a7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e81565b6102e2610565366004613ce3565b611a95565b6102e2610578366004613d67565b611abd565b61034b61058b366004613c91565b611b8f565b6102e261059e366004613c91565b611cc1565b61030a5f81565b6105bd6105b8366004613c6b565b611cd9565b6040516102ee9190613d93565b61034b6105d8366004613c6b565b611cf2565b61034b611f22565b61030a6103e881565b61062e6105fc366004613c6b565b60076020525f90815260409020805460018201546002830154600384015460049094015460ff90931693919290919085565b6040805195151586526020860194909452928401919091526060830152608082015260a0016102ee565b61034b610666366004613c91565b611f83565b61030a610679366004613b11565b612000565b61069161068c366004613c6b565b612019565b604080516001600160a01b039d8e1681529c909b1660208d0152998b019890985260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015263ffffffff90811661014084015216610160820152610180016102ee565b61034b61070c366004613deb565b61209f565b61030a61071f366004613b11565b612140565b61030a610732366004613c6b565b612335565b61030a5f5160206141665f395f51905f5281565b610380610759366004613c91565b61234b565b61051861076c366004613c6b565b612431565b61034b61077f366004613ce3565b612459565b61034b610792366004613c91565b61247d565b61030a600e5481565b61030a6107ae366004613ea0565b612556565b6105186107c1366004613c6b565b600a6020525f90815260409020546001600160a01b031681565b6105187f0000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d81565b61030a610810366004613b11565b612c81565b5f6001600160e01b03198216635a05180f60e01b1480610839575061083982612c8c565b92915050565b600c602052815f5260405f208181548110610858575f80fd5b905f5260205f20015f91509150505481565b60605f8267ffffffffffffffff81111561088657610886613e04565b6040519080825280602002602001820160405280156108bf57816020015b6108ac613a76565b8152602001906001900390816108a45790505b5090505f5b83811015610912576108ed8585838181106108e1576108e1613f33565b90506020020135610aaf565b8282815181106108ff576108ff613f33565b60209081029190910101526001016108c4565b509392505050565b5f5160206141665f395f51905f5261093181612cc0565b60035460ff161561095d5760405162461bcd60e51b815260040161095490613f47565b60405180910390fd5b5f828152600a60205260409020546001600160a01b031633146109b25760405162461bcd60e51b815260206004820152600d60248201526c139bdd081e5bdd5c88109bdb99609a1b6044820152606401610954565b42600683815481106109c6576109c6613f33565b905f5260205f2090600b0201600a015f6101000a81548163ffffffff021916908363ffffffff1602179055505f60068381548110610a0657610a06613f33565b905f5260205f2090600b02016003015460068481548110610a2957610a29613f33565b905f5260205f2090600b020160020154610a439190613f87565b9050610a80338260068681548110610a5d57610a5d613f33565b5f91825260209091206001600b9092020101546001600160a01b03169190612ccd565b60405183907fc22a1d700260b389bc0ce34ad5cd517ce48733d9f3bf0f188725711b0f53940c905f90a2505050565b610ab7613a76565b5f60068381548110610acb57610acb613f33565b5f9182526020918290206040805161012081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352919250908101610b1385612d2c565b81526007830154602080830191909152600a80850154600160201b900463ffffffff16604080850191909152600286015460608501525f8881529190925220546001600160a01b0316608082015260a001610b6d85610c5e565b151581526020018260030154815250915050919050565b6001600160a01b0381165f908152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610be157602002820191905f5260205f20905b815481526020019060010190808311610bcd575b50505050509050919050565b5f61083982612d2c565b6001600160a01b0381165f908152600c6020908152604091829020805483518184028101840190945280845260609392830182828015610be157602002820191905f5260205f2090815481526020019060010190808311610bcd5750505050509050919050565b5f60068281548110610c7257610c72613f33565b5f9182526020909120600a600b90920201015463ffffffff164211801590610839575060068281548110610ca857610ca8613f33565b905f5260205f2090600b02016006015460068381548110610ccb57610ccb613f33565b905f5260205f2090600b0201600301541092915050565b5f82815260208190526040902060010154610cfc81612cc0565b610d068383612d36565b50505050565b6001600160a01b0381163314610d355760405163334bd91960e11b815260040160405180910390fd5b610d3f8282612d61565b505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a63610d6e81612cc0565b6003805460ff1916600117905560405133907f81990fd9a5c552b8e3677917d8a03c07678f0d2cb68f88b634aca2022e9bd19f905f90a250565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e610dd281612cc0565b6001600160a01b038216610e205760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610954565b6001600160a01b0382165f9081526009602052604090205460ff1615610e885760405162461bcd60e51b815260206004820152601960248201527f546f6b656e20616c72656164792077686974656c6973746564000000000000006044820152606401610954565b816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ee2575060408051601f3d908101601f19168201909252610edf91810190613f9a565b60015b610f245760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21022a9219918103a37b5b2b760691b6044820152606401610954565b506001600160a01b0382165f818152600960205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555b5050565b5f828152600a60205260409020546001600160a01b03163314610fe65760405162461bcd60e51b815260206004820152601060248201526f2737ba1036b0b935b2ba1037bbb732b960811b6044820152606401610954565b610ffd5f5160206141665f395f51905f5282611a95565b61103a5760405162461bcd60e51b815260206004820152600e60248201526d2737ba1030bab1ba34b7b732b2b960911b6044820152606401610954565b5f828152600a602090815260409182902080546001600160a01b0319166001600160a01b03851690811790915582518581523392810192909252918101919091527f2ce31ebb7c731534ab7267f7655a662e4a2bce5ffbf2c5ac9c197c0f5c554e79906060015b60405180910390a15050565b6001600160a01b0382165f908152600d602052604081208054829190849081106110d9576110d9613f33565b5f9182526020918290206040805160c081018252600590930290910180546001600160a01b031683526001810154938301939093526002830154908201526003820154606082015260049091015463ffffffff8082166080840152600160201b9091041660a090910181905242101591505092915050565b5f61115a612d8c565b6001600160a01b0382165f908152600d602052604081205490815b80156113d8578061118581613fba565b6001600160a01b0387165f908152600d60205260408120805492945090925090839081106111b5576111b5613f33565b905f5260205f2090600502019050868160030154036113d2575f6111d98784612140565b905080156113d05780826001015f8282546111f49190613f87565b9091555061120490508185613fcf565b935061121e878260068b81548110610a5d57610a5d613f33565b81600101545f036113d0576001600160a01b0387165f908152600d602052604090205461124d90600190613f87565b831461135e576001600160a01b0387165f908152600d60205260409020805461127890600190613f87565b8154811061128857611288613f33565b905f5260205f209060050201600d5f896001600160a01b03166001600160a01b031681526020019081526020015f2084815481106112c8576112c8613f33565b5f9182526020909120825460059092020180546001600160a01b0319166001600160a01b039092169190911781556001808301549082015560028083015490820155600380830154908201556004918201805492909101805463ffffffff19811663ffffffff94851690811783559254600160201b9081900490941690930267ffffffffffffffff199093169091179190911790555b6001600160a01b0387165f908152600d6020526040902080548061138457611384613fe2565b5f8281526020812060055f199093019283020180546001600160a01b031916815560018101829055600281018290556003810191909155600401805467ffffffffffffffff1916905590555b505b50611175565b509150506108396001600255565b600d602052815f5260405f2081815481106113ff575f80fd5b5f918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919063ffffffff80821691600160201b90041686565b611453612d8c565b6001600160a01b0381166114a05760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642075736572206164647265737360601b6044820152606401610954565b60065483106114e55760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081b585c9ad95d081251607a1b6044820152606401610954565b5f600684815481106114f9576114f9613f33565b5f9182526020909120600b90910201600a81015490915063ffffffff164211156115565760405162461bcd60e51b815260206004820152600e60248201526d109bdb99081a185cc8195b99195960921b6044820152606401610954565b80600601548160030154106115ad5760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d20626f6e6420636170616369747920726561636865640000006044820152606401610954565b80546040805163313ce56760e01b815290515f926001600160a01b03169163313ce5679160048083019260209291908290030181865afa1580156115f3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116179190613f9a565b90505f61162382612de3565b9050808510156116755760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742062656c6f77206d696e696d756d207468726573686f6c64006044820152606401610954565b82600701548511156116c95760405162461bcd60e51b815260206004820152601f60248201527f4465706f7369742065786365656473206d6178696d756d20616c6c6f776564006044820152606401610954565b6116d286612e0e565b6116db86612f50565b82546040516370a0823160e01b81523060048201526001600160a01b03909116905f9082906370a0823190602401602060405180830381865afa158015611724573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117489190613ff6565b905061175f6001600160a01b03831633308a612ff2565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156117a3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c79190613ff6565b9050876117d48383613f87565b146118215760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374207472616e7366657220616d6f756e74000000000000006044820152606401610954565b8760068a8154811061183557611835613f33565b905f5260205f2090600b02016008015f8282546118529190613fcf565b909155505f90506118628a61302b565b90505f61186f8a8361328f565b600189015460068a015460038b01549293506001600160a01b0390911691611898908490613fcf565b11156118e65760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d6178696d756d20626f6e642064656274000000000000006044820152606401610954565b600d5f8b6001600160a01b03166001600160a01b031681526020019081526020015f206040518060c00160405280836001600160a01b031681526020018481526020018581526020018e81526020014263ffffffff168152602001428c600a0160049054906101000a900463ffffffff1663ffffffff166119679190613fcf565b63ffffffff9081169091528254600181810185555f9485526020808620855160059094020180546001600160a01b039094166001600160a01b03199094169390931783558401519082015560408301516002820155606083015160038083019190915560808401516004909201805460a0909501518416600160201b0267ffffffffffffffff1990951692909316919091179290921790558a018054849290611a11908490613fcf565b9091555050604080518c8152602081018490529081018490528c906001600160a01b038c16907f105066e10d7040f371761942e4dcb5b97c51daf3acfe0295b7d4c42d32af86f29060600160405180910390a3505050505050505050610d3f6001600255565b5f828152600160205260408120611a8e90836132ad565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6001600160a01b0381165f908152600b6020908152604080832080548251818502810185019093528083528493830182828015611b1757602002820191905f5260205f20905b815481526020019060010190808311611b03575b509394505f93505050505b8151811015611b8557846001600160a01b0316600a5f848481518110611b4a57611b4a613f33565b60209081029190910181015182528101919091526040015f20546001600160a01b031603611b7d57600192505050610839565b600101611b22565b505f949350505050565b5f611b9981612cc0565b6001600160a01b038216611bef5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061756374696f6e65657220616464726573730000000000006044820152606401610954565b611c065f5160206141665f395f51905f5283611a95565b15611c4b5760405162461bcd60e51b815260206004820152601560248201527420b63932b0b23c9030b71030bab1ba34b7b732b2b960591b6044820152606401610954565b611c625f5160206141665f395f51905f5283612d36565b506001600160a01b0382165f81815260086020526040808220805460ff19166001179055513392915f5160206141665f395f51905f52917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b5f6108395f5160206141665f395f51905f5283611a95565b5f818152600160205260409020606090610839906132b8565b5f5160206141665f395f51905f52611d0981612cc0565b60035460ff1615611d2c5760405162461bcd60e51b815260040161095490613f47565b5f828152600a60205260409020546001600160a01b03163314611d915760405162461bcd60e51b815260206004820152601760248201527f4e6f74206d61726b657427732061756374696f6e6565720000000000000000006044820152606401610954565b60068281548110611da457611da4613f33565b5f9182526020909120600a600b90920201015463ffffffff164211611e045760405162461bcd60e51b8152602060048201526016602482015275109bdb99081b9bdd081e595d0818dbdb98db1d59195960521b6044820152606401610954565b5f60068381548110611e1857611e18613f33565b5f91825260208220600b9091020154600680546001600160a01b0390921693509085908110611e4957611e49613f33565b5f918252602082206008600b909202010154600e5490925015611e9057612710600e5483611e77919061400d565b611e819190614024565b9050611e8d8183613f87565b91505b611ea46001600160a01b0384163384612ccd565b8015611ede57611ede6001600160a01b0384167f0000000000000000000000005e4d8755c0cbd26e8670b27bc0bd21ef84cd881d83612ccd565b6040805183815260208101839052339187917f6cdd4eeaadbfd702bff31856ddd6a8ac93f3e7683aed304c11ac132081146a1f910160405180910390a35050505050565b7f5358bcfd81d1ef3da152b1755e1c3c6739686fa7e83dbcad0071568cc4b73a63611f4c81612cc0565b6003805460ff1916905560405133907f5b65b0c1363b3003db9bcc5e1fd8805a6d6bf5bf6dc9d3431ee4494cd7d11766905f90a250565b5f611f8d81612cc0565b611fa45f5160206141665f395f51905f5283612d61565b506001600160a01b0382165f81815260086020526040808220805460ff19169055513392915f5160206141665f395f51905f52917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600b602052815f5260405f208181548110610858575f80fd5b60068181548110612028575f80fd5b5f9182526020909120600b9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a909a01546001600160a01b03998a169b5097909816989597949693959294919390929063ffffffff80821691600160201b9004168c565b5f6120a981612cc0565b6103e88263ffffffff1611156120f05760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610954565b600e805463ffffffff84169182905560408051828152602081019390935290917f528d9479e9f9889a87a3c30c7f7ba537e5e59c4c85a37733b16e57c62df61302910160405180910390a1505050565b6001600160a01b0382165f908152600d6020526040812080548291908490811061216c5761216c613f33565b5f91825260208083206040805160c081018252600590940290910180546001600160a01b0316845260018101549284019290925260028201549083015260038101546060830181905260049091015463ffffffff8082166080850152600160201b9091041660a0830152600680549294509181106121ec576121ec613f33565b5f9182526020918290206040805161018081018252600b90930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460608201526004820154608080830191909152600583015460a0830152600683015460c0830152600783015460e083015260088301546101008301526009830154610120830152600a9092015463ffffffff808216610140840152600160201b909104811661016083015291840151909250164210156122b7575f92505050610839565b5f81610160015163ffffffff1690505f8360a0015163ffffffff1642116122f25760808401516122ed9063ffffffff1642613f87565b6122f4565b815b90505f8285602001516123079190614024565b90505f612314838361400d565b90508560200151811115612329575060208501515b98975050505050505050565b5f818152600160205260408120610839906132c4565b6001600160a01b0381165f908152600d60205260408120546060919067ffffffffffffffff81111561237f5761237f613e04565b6040519080825280602002602001820160405280156123a8578160200160208202803683370190505b5090505f5b6001600160a01b0384165f908152600d602052604090205481101561242a576001600160a01b0384165f908152600d602052604090208054829081106123f5576123f5613f33565b905f5260205f2090600502016003015482828151811061241757612417613f33565b60209081029190910101526001016123ad565b5092915050565b60058181548110612440575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f8281526020819052604090206001015461247381612cc0565b610d068383612d61565b7fd5b31c46cc75555bed852936261f4e95cbe813f3d32342d2d830a8fb4561ff8e6124a781612cc0565b6001600160a01b0382165f9081526009602052604090205460ff166125065760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6001600160a01b0382165f81815260096020908152604091829020805460ff1916905590519182527f108cc7e243d7eb6c2052789466e0961bb24cd62395e2c99e704001b48107a06191016110a1565b5f5f5160206141665f395f51905f5261256e81612cc0565b60035460ff16156125915760405162461bcd60e51b815260040161095490613f47565b6001600160a01b0386166125de5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b2103830bcb7baba103a37b5b2b760611b6044820152606401610954565b6001600160a01b03851661262a5760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21038bab7ba32903a37b5b2b760691b6044820152606401610954565b856001600160a01b0316856001600160a01b03160361268b5760405162461bcd60e51b815260206004820152601860248201527f546f6b656e73206d75737420626520646966666572656e7400000000000000006044820152606401610954565b6001600160a01b0386165f9081526009602052604090205460ff166126ea5760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881b9bdd081dda1a5d195b1a5cdd1959605a1b6044820152606401610954565b6126f43386611abd565b1561274c5760405162461bcd60e51b815260206004820152602260248201527f416c726561647920686173206d61726b657420666f722071756f746520746f6b60448201526132b760f11b6064820152608401610954565b82514263ffffffff909116116127995760405162461bcd60e51b8152602060048201526012602482015271426f6e6420656e6420746f6f206561726c7960701b6044820152606401610954565b83516127dc5760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610954565b602084015161282d5760405162461bcd60e51b815260206004820152601c60248201527f436f6e74726f6c207661726961626c65206d757374206265203e2030000000006044820152606401610954565b604084015161287e5760405162461bcd60e51b815260206004820152601960248201527f4d696e696d756d207072696365206d757374206265203e2030000000000000006044820152606401610954565b60608401516128c65760405162461bcd60e51b815260206004820152601460248201527304d61782064656274206d757374206265203e20360641b6044820152606401610954565b82515f906128db90429063ffffffff16613f87565b90505f81116129255760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081d995cdd1a5b99c81c195c9a5bd960521b6044820152606401610954565b5f612710866003602002015161293d9061070861400d565b6129479190614024565b90508161295c82670de0b6b3a764000061400d565b6129669190614024565b8651909150612983906001600160a01b038a169033903090612ff2565b60408051610180810182526001600160a01b0389811682528a166020808301919091528851828401525f606083015288015160808201529087015160a082015260069060c08101886003602002015181526020018381526020015f8152602001428152602001875f600281106129fb576129fb613f33565b602002015163ffffffff16815260200187600160028110612a1e57612a1e613f33565b602002015163ffffffff16815250908060018154018082558091505060019003905f5260205f2090600b02015f909190919091505f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155610120820151816009015561014082015181600a015f6101000a81548163ffffffff021916908363ffffffff16021790555061016082015181600a0160046101000a81548163ffffffff021916908363ffffffff16021790555050505f6004549050600c5f8a6001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600b5f896001600160a01b03166001600160a01b031681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f909190919091505533600a5f8381526020019081526020015f205f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060045f8154612c2290614043565b909155506001600160a01b03808916908a16827fe2cf7d92fe44fee405e71ceedac936dbc3b0d18e7d9582e31f2f2a2a3db75c978a60016020020151604051612c6d91815260200190565b60405180910390a498975050505050505050565b5f611a8e8383612140565b5f6001600160e01b03198216637965db0b60e01b148061083957506301ffc9a760e01b6001600160e01b0319831614610839565b612cca81336132cd565b50565b6040516001600160a01b03838116602483015260448201839052610d3f91859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050613306565b5f6108398261302b565b5f5f612d428484613372565b90508015611a8e575f8481526001602052604090206109129084613401565b5f5f612d6d8484613415565b90508015611a8e575f848152600160205260409020610912908461347e565b6002805403612ddd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610954565b60028055565b5f60028260ff161115612e0657612dfb60028361405b565b61083990600a614157565b506001919050565b5f8181526007602052604090206003810154600490910154612e309190613fcf565b421115612cca575f60068281548110612e4b57612e4b613f33565b5f91825260208083208584526007909152604090922054600b909102909101915060ff1615612ed6575f8281526007602052604081206001015460048301805491929091612e9a908490613fcf565b90915550505f82815260076020526040902060020154600482015410612ed1575f8281526007602052604090206002015460048201555b612f33565b5f8281526007602052604081206001015460048301805491929091612efc908490613f87565b90915550505f82815260076020526040902060020154600482015411612f33575f8281526007602052604090206002015460048201555b505f9081526007602052604090204263ffffffff16600490910155565b5f60068281548110612f6457612f64613f33565b905f5260205f2090600b020190505f81600301549050805f03612f8657505050565b5f826009015442612f979190613f87565b9050805f03612fa65750505050565b600a8301545f90600160201b900463ffffffff16612fc4838561400d565b612fce9190614024565b9050612fda8184613f87565b600385015550505063ffffffff421660099091015550565b6040516001600160a01b038481166024830152838116604483015260648201839052610d069186918216906323b872dd90608401612cfa565b5f5f6006838154811061304057613040613f33565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b039081168552600182015416848401819052600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa158015613122573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131469190613f9a565b90505f825f01516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613188573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131ac9190613f9a565b90505f6131b886613492565b90505f6131c4876136c9565b90505f836131d386602461405b565b6131dd919061405b565b6131e890600a614157565b6131f2838561400d565b6131fc919061400d565b9050670de0b6b3a76400006132118183614024565b61321b9190614024565b96508560a00151871015613231578560a0015196505b613244670de0b6b3a76400005f19614024565b8711156132845760405162461bcd60e51b815260206004820152600e60248201526d5072696365206f766572666c6f7760901b6044820152606401610954565b505050505050919050565b5f670de0b6b3a76400006132a3838561400d565b611a8e9190614024565b5f611a8e83836138d1565b60605f611a8e836138f7565b5f610839825490565b6132d78282611a95565b610f8a5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610954565b5f5f60205f8451602086015f885af180613325576040513d5f823e3d81fd5b50505f513d9150811561333c578060011415613349565b6001600160a01b0384163b155b15610d0657604051635274afe760e01b81526001600160a01b0385166004820152602401610954565b5f61337d8383611a95565b6133fa575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556133b23390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610839565b505f610839565b5f611a8e836001600160a01b03841661394e565b5f6134208383611a95565b156133fa575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610839565b5f611a8e836001600160a01b038416613993565b5f5f600683815481106134a7576134a7613f33565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116855260018083015490911685850152600280830154868501526003808401546060808901919091526004808601546080808b01918252600588015460a0808d0191909152600689015460c08d01526007808a015460e08e015260088a01546101008e015260098a01546101208e0152600a9099015463ffffffff8082166101408f0152600160201b909104166101608d01528f8d52978a52888c2089519889018a52805460ff16151589529687015499880199909952938501549686019690965290830154908401529201549281019290925251919350916135b1866136c9565b90505f84610140015163ffffffff1642116135cc575f6135e2565b6101408501516135e29063ffffffff1642613f87565b90505f8560c0015183670de0b6b3a76400006135fe919061400d565b6136089190614024565b90505f613616836001613fcf565b613620838761400d565b61362a9190614024565b9050856060015186608001516136409190613fcf565b421161369c5785511561367757602086015161365c9086613fcf565b9450856040015185111561367257856040015194505b61369c565b60208601516136869086613f87565b9450856040015185101561369c57856040015194505b808511156136bb576136ae8186613f87565b9998505050505050505050565b505f98975050505050505050565b5f5f600683815481106136de576136de613f33565b5f91825260208083206040805161018081018252600b90940290910180546001600160a01b03908116808652600183015490911685850152600282015485840152600382015460608601526004808301546080870152600583015460a0870152600683015460c0870152600783015460e087015260088301546101008701526009830154610120870152600a9092015463ffffffff808216610140880152600160201b90910416610160860152825163313ce56760e01b815292519496509363313ce56793838301939092908290030181865afa1580156137c1573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137e59190613f9a565b90505f82602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613828573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061384c9190613f9a565b90505f61385a82601261405b565b61386590600a614157565b8460600151613874919061400d565b90505f61388284601261405b565b61388d90600a614157565b85610100015161389d919061400d565b9050805f036138b357505f199695505050505050565b5f816138c784670de0b6b3a764000061400d565b6123299190614024565b5f825f0182815481106138e6576138e6613f33565b905f5260205f200154905092915050565b6060815f01805480602002602001604051908101604052809291908181526020018280548015610be157602002820191905f5260205f2090815481526020019060010190808311610bcd5750505050509050919050565b5f8181526001830160205260408120546133fa57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610839565b5f8181526001830160205260408120548015613a6d575f6139b5600183613f87565b85549091505f906139c890600190613f87565b9050808214613a27575f865f0182815481106139e6576139e6613f33565b905f5260205f200154905080875f018481548110613a0657613a06613f33565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613a3857613a38613fe2565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610839565b5f915050610839565b6040518061012001604052805f6001600160a01b031681526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f6001600160a01b031681526020015f151581526020015f81525090565b5f60208284031215613ae6575f5ffd5b81356001600160e01b031981168114611a8e575f5ffd5b6001600160a01b0381168114612cca575f5ffd5b5f5f60408385031215613b22575f5ffd5b8235613b2d81613afd565b946020939093013593505050565b5f5f60208385031215613b4c575f5ffd5b823567ffffffffffffffff811115613b62575f5ffd5b8301601f81018513613b72575f5ffd5b803567ffffffffffffffff811115613b88575f5ffd5b8560208260051b8401011115613b9c575f5ffd5b6020919091019590945092505050565b80516001600160a01b03908116835260208083015182169084015260408083015190840152606080830151908401526080808301519084015260a0828101519084015260c080830151918216908401525060e0810151613c1060e084018215159052565b5061010090810151910152565b602080825282518282018190525f918401906040840190835b81811015613c6057613c49838551613bac565b602093909301926101209290920191600101613c36565b509095945050505050565b5f60208284031215613c7b575f5ffd5b5035919050565b61012081016108398284613bac565b5f60208284031215613ca1575f5ffd5b8135611a8e81613afd565b602080825282518282018190525f918401906040840190835b81811015613c60578351835260209384019390920191600101613cc5565b5f5f60408385031215613cf4575f5ffd5b823591506020830135613d0681613afd565b809150509250929050565b5f5f5f60608486031215613d23575f5ffd5b83359250602084013591506040840135613d3c81613afd565b809150509250925092565b5f5f60408385031215613d58575f5ffd5b50508035926020909101359150565b5f5f60408385031215613d78575f5ffd5b8235613d8381613afd565b91506020830135613d0681613afd565b602080825282518282018190525f918401906040840190835b81811015613c605783516001600160a01b0316835260209384019390920191600101613dac565b803563ffffffff81168114613de6575f5ffd5b919050565b5f60208284031215613dfb575f5ffd5b611a8e82613dd3565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613e4d57634e487b7160e01b5f52604160045260245ffd5b604052919050565b5f82601f830112613e64575f5ffd5b613e6e6040613e18565b806040840185811115613e7f575f5ffd5b845b81811015613c6057613e9281613dd3565b845260209384019301613e81565b5f5f5f5f6101008587031215613eb4575f5ffd5b8435613ebf81613afd565b93506020850135613ecf81613afd565b9250605f85018613613edf575f5ffd5b613ee96080613e18565b8060c0870188811115613efa575f5ffd5b604088015b81811015613f17578035845260209384019301613eff565b50819450613f258982613e55565b935050505092959194509250565b634e487b7160e01b5f52603260045260245ffd5b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561083957610839613f73565b5f60208284031215613faa575f5ffd5b815160ff81168114611a8e575f5ffd5b5f81613fc857613fc8613f73565b505f190190565b8082018082111561083957610839613f73565b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215614006575f5ffd5b5051919050565b808202811582820484141761083957610839613f73565b5f8261403e57634e487b7160e01b5f52601260045260245ffd5b500490565b5f6001820161405457614054613f73565b5060010190565b60ff828116828216039081111561083957610839613f73565b6001815b60018411156140af5780850481111561409357614093613f73565b60018416156140a157908102905b60019390931c928002614078565b935093915050565b5f826140c557506001610839565b816140d157505f610839565b81600181146140e757600281146140f15761410d565b6001915050610839565b60ff84111561410257614102613f73565b50506001821b610839565b5060208310610133831016604e8410600b8410161715614130575081810a610839565b61413c5f198484614074565b805f190482111561414f5761414f613f73565b029392505050565b5f611a8e60ff8416836140b756fec1df76f4e50bdb95676f782d4b88b23904c5346d8bc7c986ae26f7e10e601891a2646970667358221220a97ce20998f0d689efa6bc7161d7d54ebb7f83d59dbcd32d30b845645336861464736f6c634300081b0033
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
57369:24794:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50907:214;;;;;;:::i;:::-;;:::i;:::-;;;566:14:1;;559:22;541:41;;529:2;514:18;50907:214:0;;;;;;;;59033:53;;;;;;:::i;:::-;;:::i;:::-;;;1247:25:1;;;1235:2;1220:18;59033:53:0;1101:177:1;74741:342:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;63929:436::-;;;;;;:::i;:::-;;:::i;:::-;;74135:598;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;72106:142::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;72912:107::-;;;;;;:::i;:::-;;:::i;72256:138::-;;;;;;:::i;:::-;;:::i;58655:28::-;;;;;;33982:122;;;;;;:::i;:::-;34047:7;34074:12;;;;;;;;;;:22;;;;33982:122;72731:162;;;;;;:::i;:::-;;:::i;34414:138::-;;;;;;:::i;:::-;;:::i;35551:251::-;;;;;;:::i;:::-;;:::i;71393:165::-;;;:::i;57734:18::-;;;;;;;;;70613:525;;;;;;:::i;:::-;;:::i;57645:80::-;;57692:33;57645:80;;65421:350;;;;;;:::i;:::-;;:::i;75237:174::-;;;;;;:::i;:::-;;:::i;68361:1308::-;;;;;;:::i;:::-;;:::i;59093: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;59093:43:0;5961:591:1;65896:2459:0;;;;;;:::i;:::-;;:::i;51720:144::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7564:32:1;;;7546:51;;7534:2;7519:18;51720:144:0;7400:203:1;57554:84:0;;57603:35;57554:84;;32998:138;;;;;;:::i;:::-;;:::i;81704:345::-;;;;;;:::i;:::-;;:::i;69809:489::-;;;;;;:::i;:::-;;:::i;73031:127::-;;;;;;:::i;:::-;;:::i;32310:49::-;;32355:4;32310:49;;52724:138;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;64377:1032::-;;;;;;:::i;:::-;;:::i;71566:170::-;;;:::i;59210:38::-;;59244:4;59210:38;;58755: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;58755:45:0;8643:473:1;70306:298:0;;;;;;:::i;:::-;;:::i;58974:52::-;;;;;;:::i;:::-;;:::i;58728: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;58728:20:0;9121:1053:1;71743:237:0;;;;;;:::i;:::-;;:::i;73166:959::-;;;;;;:::i;:::-;;:::i;52038:133::-;;;;;;:::i;:::-;;:::i;57477:70::-;;-1:-1:-1;;;;;;;;;;;57477:70:0;;72402:316;;;;;;:::i;:::-;;:::i;58690:31::-;;;;;;:::i;:::-;;:::i;34845:140::-;;;;;;:::i;:::-;;:::i;71146:232::-;;;;;;:::i;:::-;;:::i;59180:23::-;;;;;;61457:2462;;;;;;:::i;:::-;;:::i;58912:55::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;58912:55:0;;;59144:29;;;;;75089:141;;;;;;:::i;:::-;;:::i;50907:214::-;50992:4;-1:-1:-1;;;;;;51016:57:0;;-1:-1:-1;;;51016:57:0;;:97;;;51077:36;51101:11;51077:23;:36::i;:::-;51009:104;50907:214;-1:-1:-1;;50907:214:0:o;59033:53::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;74741:342::-;74826:23;74858:31;74913:9;74892:38;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;74858:72:0;-1:-1:-1;74948:9:0;74943:110;74963:20;;;74943:110;;;75014:31;75032:9;;75042:1;75032:12;;;;;;;:::i;:::-;;;;;;;75014:17;:31::i;:::-;75001:7;75009:1;75001:10;;;;;;;;:::i;:::-;;;;;;;;;;:44;74985:3;;74943:110;;;-1:-1:-1;75072:7:0;74741:342;-1:-1:-1;;;74741:342:0:o;63929:436::-;-1:-1:-1;;;;;;;;;;;32594:16:0;32605:4;32594:10;:16::i;:::-;82108:6:::1;::::0;::::1;;82107:7;82099:38;;;;-1:-1:-1::0;;;82099:38:0::1;;;;;;;:::i;:::-;;;;;;;;;64038:25:::2;::::0;;;:20:::2;:25;::::0;;;;;-1:-1:-1;;;;;64038:25:0::2;64067:10;64038:39;64034:69;;64079:24;::::0;-1:-1:-1;;;64079:24:0;;13417:2:1;64079: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;;64079:24:0::2;13215:337:1::0;64034:69:0::2;64143:15;64114:5;64120:3;64114:10;;;;;;;;:::i;:::-;;;;;;;;;;;:19;;;:45;;;;;;;;;;;;;;;;;;64172:18;64219:5;64225:3;64219:10;;;;;;;;:::i;:::-;;;;;;;;;;;:20;;;64193:5;64199:3;64193:10;;;;;;;;:::i;:::-;;;;;;;;;;;:23;;;:46;;;;:::i;:::-;64172:67;;64253;64297:10;64309;64260:5;64266:3;64260:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;:22:::2;:10;::::0;;::::2;;:22;::::0;-1:-1:-1;;;;;64260:22:0::2;::::0;64253:67;:43:::2;:67::i;:::-;64339:14;::::0;64349:3;;64339:14:::2;::::0;;;::::2;64023:342;63929:436:::0;;:::o;74135:598::-;74201:21;;:::i;:::-;74235:18;74256:5;74262:8;74256:15;;;;;;;;:::i;:::-;;;;;;;;;;74299:426;;;;;;;;74256:15;;;;;;;74341;;-1:-1:-1;;;;;74341:15:0;;;74299:426;;74341:15;74384:16;;;;74299:426;;;;;;;74256:15;;-1:-1:-1;74299:426:0;;;74422:24;74437:8;74422:14;:24::i;:::-;74299:426;;74472:14;;;;74299:426;;;;;;;;74514:16;;;;;-1:-1:-1;;;74514:16:0;;;;74299:426;;;;;;;;74560:17;;;;74299:426;;;;-1:-1:-1;74604:30:0;;;;;;;;;-1:-1:-1;;;;;74604:30:0;74299:426;;;;;;74657:16;74604:30;74657:6;:16::i;:::-;74299:426;;;;;;74699:4;:14;;;74299:426;;;74292:433;;;74135:598;;;:::o;72106:142::-;-1:-1:-1;;;;;72213:27:0;;;;;;:15;:27;;;;;;;;;72206:34;;;;;;;;;;;;;;;;;72176:16;;72206:34;;;72213:27;72206:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72106:142;;;:::o;72912:107::-;72964:7;72992:19;73007:3;72992:14;:19::i;72256:138::-;-1:-1:-1;;;;;72362:24:0;;;;;;:16;:24;;;;;;;;;72355:31;;;;;;;;;;;;;;;;;72323:16;;72355:31;;;72362:24;72355:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72256:138;;;:::o;72731:162::-;72781:4;72825:5;72831:3;72825:10;;;;;;;;:::i;:::-;;;;;;;;;:19;:10;;;;;:19;;;;72806:15;:38;;;;:83;;;72871:5;72877:3;72871:10;;;;;;;;:::i;:::-;;;;;;;;;;;:18;;;72848:5;72854:3;72848:10;;;;;;;;:::i;:::-;;;;;;;;;;;:20;;;:41;72799:90;72731:162;-1:-1:-1;;72731:162:0:o;34414:138::-;34047:7;34074:12;;;;;;;;;;:22;;;32594:16;32605:4;32594:10;:16::i;:::-;34519:25:::1;34530:4;34536:7;34519:10;:25::i;:::-;;34414:138:::0;;;:::o;35551:251::-;-1:-1:-1;;;;;35645:34:0;;29303:10;35645:34;35641:104;;35703:30;;-1:-1:-1;;;35703:30:0;;;;;;;;;;;35641:104;35757:37;35769:4;35775:18;35757:11;:37::i;:::-;;35551:251;;:::o;71393:165::-;57692:33;32594:16;32605:4;32594:10;:16::i;:::-;71495:6:::1;:13:::0;;-1:-1:-1;;71495:13:0::1;71504:4;71495:13;::::0;;71524:26:::1;::::0;71539:10:::1;::::0;71524:26:::1;::::0;71495:6:::1;::::0;71524:26:::1;71393:165:::0;:::o;70613:525::-;57603:35;32594:16;32605:4;32594:10;:16::i;:::-;-1:-1:-1;;;;;70740:20:0;::::1;70732:54;;;::::0;-1:-1:-1;;;70732:54:0;;14024:2:1;70732:54:0::1;::::0;::::1;14006:21:1::0;14063:2;14043:18;;;14036:30;-1:-1:-1;;;14082:18:1;;;14075:51;14143:18;;70732:54:0::1;13822:345:1::0;70732:54:0::1;-1:-1:-1::0;;;;;70806:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;;::::1;;70805:26;70797:64;;;::::0;-1:-1:-1;;;70797:64:0;;14374:2:1;70797:64:0::1;::::0;::::1;14356:21:1::0;14413:2;14393:18;;;14386:30;14452:27;14432:18;;;14425:55;14497:18;;70797:64:0::1;14172:349:1::0;70797:64:0::1;70933:6;-1:-1:-1::0;;;;;70918:31:0::1;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;70918:33:0::1;::::0;;::::1;;::::0;;::::1;-1:-1:-1::0;;70918:33:0::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;;70914:217;;71090:29;::::0;-1:-1:-1;;;71090:29:0;;15006:2:1;71090:29:0::1;::::0;::::1;14988:21:1::0;15045:2;15025:18;;;15018:30;-1:-1:-1;;;15064:18:1;;;15057:49;15123:18;;71090:29:0::1;14804:343:1::0;70914:217:0::1;-1:-1:-1::0;;;;;;70983:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;:32;;-1:-1:-1;;70983:32:0::1;71011:4;70983:32:::0;;::::1;::::0;;;71030:13:::1;:26:::0;;;;::::1;::::0;;;;;;::::1;::::0;;-1:-1:-1;;;;;;71030:26:0::1;::::0;;::::1;::::0;;70914:217:::1;70613:525:::0;;:::o;65421:350::-;65510:30;;;;:20;:30;;;;;;-1:-1:-1;;;;;65510:30:0;65544:10;65510:44;65502:73;;;;-1:-1:-1;;;65502:73:0;;15354:2:1;65502:73:0;;;15336:21:1;15393:2;15373:18;;;15366:30;-1:-1:-1;;;15412:18:1;;;15405:46;15468:18;;65502:73:0;15152:340:1;65502:73:0;65590:39;-1:-1:-1;;;;;;;;;;;65615:13:0;65590:7;:39::i;:::-;65582:66;;;;-1:-1:-1;;;65582:66:0;;15699:2:1;65582:66:0;;;15681:21:1;15738:2;15718:18;;;15711:30;-1:-1:-1;;;15757:18:1;;;15750:44;15811:18;;65582:66:0;15497:338:1;65582:66:0;65655:30;;;;:20;:30;;;;;;;;;:46;;-1:-1:-1;;;;;;65655:46:0;-1:-1:-1;;;;;65655:46:0;;;;;;;;65713:54;;16042:25:1;;;65741:10:0;16083:18:1;;;16076:60;;;;16152:18;;;16145:60;;;;65713:54:0;;16030:2:1;16015:18;65713:54:0;;;;;;;;65421:350;;:::o;75237:174::-;-1:-1:-1;;;;;75339:14:0;;75307:4;75339:14;;;:8;:14;;;;;:23;;75307:4;;75339:14;75354:7;;75339:23;;;;;;:::i;:::-;;;;;;;;;;75320:42;;;;;;;;75339:23;;;;;;;75320:42;;-1:-1:-1;;;;;75320:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;75320:42:0;;;;;;;;;;;75376:15;:31;;;-1:-1:-1;;75237:174:0;;;;:::o;68361:1308::-;68435:22;55813:21;:19;:21::i;:::-;-1:-1:-1;;;;;68483:14:0;::::1;68466;68483::::0;;;:8:::1;:14;::::0;;;;:21;;;68598:1035:::1;68623:5:::0;;68598:1035:::1;;68642:3:::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;68731:14:0;::::1;68704:24;68731:14:::0;;;:8:::1;:14;::::0;;;;:17;;68642:3;;-1:-1:-1;68704:24:0;;-1:-1:-1;68731:14:0;68642:3;;68731:17;::::1;;;;;:::i;:::-;;;;;;;;;;;68704:44;;68787:3;68763:11;:20;;;:27:::0;68759:867:::1;;68807:14;68824:30;68846:4;68852:1;68824:21;:30::i;:::-;68807:47:::0;-1:-1:-1;68887:10:0;;68883:732:::1;;68993:6;68967:11;:22;;;:32;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;69018:23:0::1;::::0;-1:-1:-1;69035:6:0;69018:23;::::1;:::i;:::-;;;69115:57;69159:4;69165:6;69122:5;69128:3;69122:10;;;;;;;;:::i;69115:57::-;69264:11;:22;;;69290:1;69264:27:::0;69260:340:::1;;-1:-1:-1::0;;;;;69399:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;:21;:25:::1;::::0;69423:1:::1;::::0;69399:25:::1;:::i;:::-;69394:1;:30;69390:148;;-1:-1:-1::0;;;;;69473:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;69488:21;;:25:::1;::::0;69512:1:::1;::::0;69488:25:::1;:::i;:::-;69473:41;;;;;;;;:::i;:::-;;;;;;;;;;;69453:8;:14;69462:4;-1:-1:-1::0;;;;;69453:14:0::1;-1:-1:-1::0;;;;;69453:14:0::1;;;;;;;;;;;;69468:1;69453:17;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:61;;:17:::1;::::0;;::::1;;:61:::0;;-1:-1:-1;;;;;;69453:61:0::1;-1:-1:-1::0;;;;;69453: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;;69453:61:0;::::1;;::::0;;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;69453:61:0;;;::::1;::::0;;::::1;::::0;;::::1;-1:-1:-1::0;;69453:61:0;;;;;;;;;::::1;::::0;;69390:148:::1;-1:-1:-1::0;;;;;69560:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;:20;;;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;69560:20:0;;;;;::::1;;::::0;;-1:-1:-1;;;;;;69560:20:0::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;-1:-1:-1;;69560:20:0;;;;;69260:340:::1;68792:834;68759:867;68631:1002;68598:1035;;;-1:-1:-1::0;69652:13:0;-1:-1:-1;;55857:20:0;55251:1;56377:7;:22;56194:213;59093:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59093:43:0;;;;-1:-1:-1;59093:43:0;;-1:-1:-1;59093:43:0;;;;;;;-1:-1:-1;;;59093:43:0;;;;:::o;65896:2459::-;55813:21;:19;:21::i;:::-;-1:-1:-1;;;;;66031:18:0;::::1;66023:51;;;::::0;-1:-1:-1;;;66023:51:0;;16821:2:1;66023:51:0::1;::::0;::::1;16803:21:1::0;16860:2;16840:18;;;16833:30;-1:-1:-1;;;16879:18:1;;;16872:50;16939:18;;66023:51:0::1;16619:344:1::0;66023:51:0::1;66099:5;:12:::0;66093:18;::::1;66085:48;;;::::0;-1:-1:-1;;;66085:48:0;;17170:2:1;66085:48:0::1;::::0;::::1;17152:21:1::0;17209:2;17189:18;;;17182:30;-1:-1:-1;;;17228:18:1;;;17221:47;17285:18;;66085:48:0::1;16968:341:1::0;66085:48:0::1;66195:18;66216:5;66222:3;66216:10;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;66317:13;::::0;::::1;::::0;66216:10;;-1:-1:-1;66317:13:0::1;;66298:15;:32;;66290:59;;;::::0;-1:-1:-1;;;66290:59:0;;17516:2:1;66290:59:0::1;::::0;::::1;17498:21:1::0;17555:2;17535:18;;;17528:30;-1:-1:-1;;;17574:18:1;;;17567:44;17628:18;;66290:59:0::1;17314:338:1::0;66290:59:0::1;66385:4;:12;;;66368:4;:14;;;:29;66360:71;;;::::0;-1:-1:-1;;;66360:71:0;;17859:2:1;66360:71:0::1;::::0;::::1;17841:21:1::0;17898:2;17878:18;;;17871:30;17937:31;17917:18;;;17910:59;17986:18;;66360:71:0::1;17657:353:1::0;66360:71:0::1;66543:15:::0;;66520:51:::1;::::0;;-1:-1:-1;;;66520:51:0;;;;66498:19:::1;::::0;-1:-1:-1;;;;;66543:15:0::1;::::0;66520:49:::1;::::0;:51:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;66543:15;66520:51:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;66498:73;;66582:22;66607:38;66631:13;66607:23;:38::i;:::-;66582:63;;66715:14;66705:6;:24;;66697:68;;;::::0;-1:-1:-1;;;66697:68:0;;18217:2:1;66697:68:0::1;::::0;::::1;18199:21:1::0;18256:2;18236:18;;;18229:30;18295:33;18275:18;;;18268:61;18346:18;;66697:68:0::1;18015:355:1::0;66697:68:0::1;66794:4;:14;;;66784:6;:24;;66776:68;;;::::0;-1:-1:-1;;;66776:68:0;;18577:2:1;66776:68:0::1;::::0;::::1;18559:21:1::0;18616:2;18596:18;;;18589:30;18655:33;18635:18;;;18628:61;18706:18;;66776:68:0::1;18375:355:1::0;66776:68:0::1;66947:10;66953:3;66947:5;:10::i;:::-;66968:15;66979:3;66968:10;:15::i;:::-;67070::::0;;67121:35:::1;::::0;-1:-1:-1;;;67121:35:0;;67150:4:::1;67121:35;::::0;::::1;7546:51:1::0;-1:-1:-1;;;;;67070:15:0;;::::1;::::0;67043:17:::1;::::0;67070:15;;67121:20:::1;::::0;7519:18:1;;67121:35:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67097:59:::0;-1:-1:-1;67167:62:0::1;-1:-1:-1::0;;;;;67167:27:0;::::1;67195:10;67215:4;67222:6:::0;67167:27:::1;:62::i;:::-;67264:35;::::0;-1:-1:-1;;;67264:35:0;;67293:4:::1;67264:35;::::0;::::1;7546:51:1::0;67241:20:0::1;::::0;-1:-1:-1;;;;;67264:20:0;::::1;::::0;::::1;::::0;7519:18:1;;67264:35:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67241:58:::0;-1:-1:-1;67350:6:0;67318:28:::1;67333:13:::0;67241:58;67318:28:::1;:::i;:::-;:38;67310:76;;;::::0;-1:-1:-1;;;67310:76:0;;19126:2:1;67310:76:0::1;::::0;::::1;19108:21:1::0;19165:2;19145:18;;;19138:30;19204:27;19184:18;;;19177:55;19249:18;;67310:76:0::1;18924:349:1::0;67310:76:0::1;67429:6;67397:5;67403:3;67397:10;;;;;;;;:::i;:::-;;;;;;;;;;;:28;;;:38;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;67502:13:0::1;::::0;-1:-1:-1;67518:17:0::1;67531:3:::0;67518:12:::1;:17::i;:::-;67502:33;;67591:17;67611:33;67630:6;67638:5;67611:18;:33::i;:::-;67677:16;::::0;::::1;::::0;67808:12:::1;::::0;::::1;::::0;67778:14:::1;::::0;::::1;::::0;67591:53;;-1:-1:-1;;;;;;67677:16:0;;::::1;::::0;67778:26:::1;::::0;67591:53;;67778:26:::1;:::i;:::-;:42;;67770:80;;;::::0;-1:-1:-1;;;67770:80:0;;19480:2:1;67770:80:0::1;::::0;::::1;19462:21:1::0;19519:2;19499:18;;;19492:30;19558:27;19538:18;;;19531:55;19603:18;;67770:80:0::1;19278:349:1::0;67770:80:0::1;67921:8;:14;67930:4;-1:-1:-1::0;;;;;67921:14:0::1;-1:-1:-1::0;;;;;67921:14:0::1;;;;;;;;;;;;67941:267;;;;;;;;67974:11;-1:-1:-1::0;;;;;67941:267:0::1;;;;;68012:9;67941:267;;;;68048:5;67941:267;;;;68078:3;67941:267;;;;68114:15;67941:267;;;;;;68180:15;68161:4;:16;;;;;;;;;;;;:34;;;;;;:::i;:::-;67941:267;::::0;;::::1;::::0;;;67921:288;;::::1;::::0;;::::1;::::0;;-1:-1:-1;67921:288:0;;;::::1;::::0;;;;;::::1;::::0;;::::1;;::::0;;-1:-1:-1;;;;;67921:288:0;;::::1;-1:-1:-1::0;;;;;;67921: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;;;67921:288:0::1;-1:-1:-1::0;;67921:288:0;;;;;;::::1;::::0;;;;;;;::::1;::::0;;68252:14;::::1;:27:::0;;68270:9;;-1:-1:-1;68252:27:0::1;::::0;68270:9;;68252:27:::1;:::i;:::-;::::0;;;-1:-1:-1;;68297:50:0::1;::::0;;19834:25:1;;;19890:2;19875:18;;19868:34;;;19918:18;;;19911:34;;;68317:3:0;;-1:-1:-1;;;;;68297:50:0;::::1;::::0;::::1;::::0;19822:2:1;19807:18;68297:50:0::1;;;;;;;65976:2379;;;;;;;;;55857:20:::0;55251:1;56377:7;:22;56194:213;51720:144;51801:7;51828:18;;;:12;:18;;;;;:28;;51850:5;51828:21;:28::i;:::-;51821:35;51720:144;-1:-1:-1;;;51720:144:0:o;32998:138::-;33075:4;33099:12;;;;;;;;;;;-1:-1:-1;;;;;33099:29:0;;;;;;;;;;;;;;;32998:138::o;81704:345::-;-1:-1:-1;;;;;81842:27:0;;81802:4;81842:27;;;:15;:27;;;;;;;;81815:54;;;;;;;;;;;;;;;;;81802:4;;81815:54;;81842:27;81815:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81815:54:0;;-1:-1:-1;81880:9:0;;-1:-1:-1;;;;81876:151:0;81899:7;:14;81895:1;:18;81876:151;;;81970:10;-1:-1:-1;;;;;81934:46:0;:20;:32;81955:7;81963:1;81955:10;;;;;;;;:::i;:::-;;;;;;;;;;;;81934:32;;;;;;;;;;-1:-1:-1;81934:32:0;;-1:-1:-1;;;;;81934:32:0;:46;81931:89;;82004:4;81997:11;;;;;;81931:89;81915:3;;81876:151;;;-1:-1:-1;82040:5:0;;81704:345;-1:-1:-1;;;;81704:345:0:o;69809:489::-;32355:4;32594:16;32355:4;32594:10;:16::i;:::-;-1:-1:-1;;;;;69976:25:0;::::1;69968:64;;;::::0;-1:-1:-1;;;69968:64:0;;20158:2:1;69968:64:0::1;::::0;::::1;20140:21:1::0;20197:2;20177:18;;;20170:30;20236:28;20216:18;;;20209:56;20282:18;;69968:64:0::1;19956:350:1::0;69968:64:0::1;70052:37;-1:-1:-1::0;;;;;;;;;;;70077:11:0::1;70052:7;:37::i;:::-;70051:38;70043:72;;;::::0;-1:-1:-1;;;70043:72:0;;20513:2:1;70043:72:0::1;::::0;::::1;20495:21:1::0;20552:2;20532:18;;;20525:30;-1:-1:-1;;;20571:18:1;;;20564:51;20632:18;;70043:72:0::1;20311:345:1::0;70043:72:0::1;70128:40;-1:-1:-1::0;;;;;;;;;;;70156:11:0::1;70128:10;:40::i;:::-;-1:-1:-1::0;;;;;;70179:35:0;::::1;;::::0;;;:22:::1;:35;::::0;;;;;:42;;-1:-1:-1;;70179:42:0::1;70217:4;70179:42;::::0;;70237:53;70279:10:::1;::::0;70179:35;-1:-1:-1;;;;;;;;;;;57519:28:0;70237:53:::1;::::0;70179:35;70237:53:::1;69809:489:::0;;:::o;73031:127::-;73093:4;73117:33;-1:-1:-1;;;;;;;;;;;73142:7:0;73117;:33::i;52724:138::-;52827:18;;;;:12;:18;;;;;52791:16;;52827:27;;:25;:27::i;64377:1032::-;-1:-1:-1;;;;;;;;;;;32594:16:0;32605:4;32594:10;:16::i;:::-;82108:6:::1;::::0;::::1;;82107:7;82099:38;;;;-1:-1:-1::0;;;82099:38:0::1;;;;;;;:::i;:::-;64556:25:::2;::::0;;;:20:::2;:25;::::0;;;;;-1:-1:-1;;;;;64556:25:0::2;64585:10;64556:39;64548:75;;;::::0;-1:-1:-1;;;64548:75:0;;20863:2:1;64548:75:0::2;::::0;::::2;20845:21:1::0;20902:2;20882:18;;;20875:30;20941:25;20921:18;;;20914:53;20984:18;;64548:75:0::2;20661:347:1::0;64548:75:0::2;64688:5;64694:3;64688:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;:19:::2;:10;::::0;;::::2;;:19;::::0;::::2;;64670:15;:37;64662:72;;;::::0;-1:-1:-1;;;64662:72:0;;21215:2:1;64662:72:0::2;::::0;::::2;21197:21:1::0;21254:2;21234:18;;;21227:30;-1:-1:-1;;;21273:18:1;;;21266:52;21335:18;;64662:72:0::2;21013:346:1::0;64662:72:0::2;64787:18;64808:5;64814:3;64808:10;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;::::2;::::0;;::::2;;:21:::0;64854:5:::2;:10:::0;;-1:-1:-1;;;;;64808:21:0;;::::2;::::0;-1:-1:-1;64854:5:0;64860:3;;64854:10;::::2;;;;;:::i;:::-;;::::0;;;::::2;::::0;;:28:::2;:10;::::0;;::::2;;:28;::::0;64960:8:::2;::::0;64854:28;;-1:-1:-1;64960:12:0;64956:142:::2;;65017:5;65005:8;;64995:7;:18;;;;:::i;:::-;64994:28;;;;:::i;:::-;64985:37:::0;-1:-1:-1;65073:17:0::2;64985:37:::0;65073:17;::::2;:::i;:::-;;;64956:142;65154:52;-1:-1:-1::0;;;;;65154:31:0;::::2;65186:10;65198:7:::0;65154:31:::2;:52::i;:::-;65262:10:::0;;65258:80:::2;;65285:45;-1:-1:-1::0;;;;;65285:31:0;::::2;65317:4;65323:6:::0;65285:31:::2;:45::i;:::-;65351:54;::::0;;21933:25:1;;;21989:2;21974:18;;21967:34;;;65377:10:0::2;::::0;65372:3;;65351:54:::2;::::0;21906:18:1;65351:54:0::2;;;;;;;64468:941;;;64377:1032:::0;;:::o;71566:170::-;57692:33;32594:16;32605:4;32594:10;:16::i;:::-;71670:6:::1;:14:::0;;-1:-1:-1;;71670:14:0::1;::::0;;71700:28:::1;::::0;71717:10:::1;::::0;71700:28:::1;::::0;71679:5:::1;::::0;71700:28:::1;71566:170:::0;:::o;70306:298::-;32355:4;32594:16;32355:4;32594:10;:16::i;:::-;70432:41:::1;-1:-1:-1::0;;;;;;;;;;;70461:11:0::1;70432;:41::i;:::-;-1:-1:-1::0;;;;;;70484:35:0;::::1;70522:5;70484:35:::0;;;:22:::1;:35;::::0;;;;;:43;;-1:-1:-1;;70484:43:0::1;::::0;;70543:53;70585:10:::1;::::0;70484:35;-1:-1:-1;;;;;;;;;;;57519:28:0;70543:53:::1;::::0;70522:5;70543:53:::1;70306:298:::0;;:::o;58974:52::-;;;;;;;;;;;;;;;;;;;;58728:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58728:20:0;;;;-1:-1:-1;58728:20:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;58728:20:0;;;;:::o;71743:237::-;32355:4;32594:16;32355:4;32594:10;:16::i;:::-;59244:4:::1;71836:10;:21;;;;71828:46;;;::::0;-1:-1:-1;;;71828:46:0;;22214:2:1;71828:46:0::1;::::0;::::1;22196:21:1::0;22253:2;22233:18;;;22226:30;-1:-1:-1;;;22272:18:1;;;22265:42;22324:18;;71828:46:0::1;22012:336:1::0;71828:46:0::1;71898:8;::::0;;71913:21:::1;::::0;::::1;::::0;;;;71946:30:::1;::::0;;22526:25:1;;;22582:2;22567:18;;22560:51;;;;71898:8:0;;71946:30:::1;::::0;22499:18:1;71946:30:0::1;;;;;;;71821:159;71743:237:::0;;:::o;73166:959::-;-1:-1:-1;;;;;73284:14:0;;73249:7;73284:14;;;:8;:14;;;;;:23;;73249:7;;73284:14;73299:7;;73284:23;;;;;;:::i;:::-;;;;;;;;;73265:42;;;;;;;;73284:23;;;;;;;73265:42;;-1:-1:-1;;;;;73265:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73265:42:0;;;;;;;;73334:5;:20;;73265:42;;-1:-1:-1;73334:5:0;:20;;;;;;:::i;:::-;;;;;;;;;;73314:40;;;;;;;;73334:20;;;;;;;73314:40;;-1:-1:-1;;;;;73314:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73314:40:0;;;;;;;;;73417:14;;;;73314:40;;-1:-1:-1;73399:32:0;:15;:32;73395:65;;;73451:1;73444:8;;;;;;73395:65;73509:19;73531:4;:16;;;73509:38;;;;73604:19;73644:4;:12;;;73626:30;;:15;:30;:99;;73711:14;;;;73693:32;;;;:15;:32;:::i;:::-;73626:99;;;73669:11;73626:99;73604:121;;73770:23;73814:11;73796:4;:15;;;:29;;;;:::i;:::-;73770:55;-1:-1:-1;73877:24:0;73904:29;73922:11;73770:55;73904:29;:::i;:::-;73877:56;;74020:4;:15;;;74001:16;:34;73997:93;;;-1:-1:-1;74067:15:0;;;;73997:93;74105:16;73166:959;-1:-1:-1;;;;;;;;73166:959:0:o;52038:133::-;52109:7;52136:18;;;:12;:18;;;;;:27;;:25;:27::i;72402:316::-;-1:-1:-1;;;;;72543:14:0;;72498:28;72543:14;;;:8;:14;;;;;:21;72465:16;;72498:28;72529:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72529:36:0;-1:-1:-1;72498:67:0;-1:-1:-1;72577:9:0;72572:114;-1:-1:-1;;;;;72596:14:0;;;;;;:8;:14;;;;;:21;72592:25;;72572:114;;;-1:-1:-1;;;;;72652:14:0;;;;;;:8;:14;;;;;:17;;72667:1;;72652:17;;;;;;:::i;:::-;;;;;;;;;;;:26;;;72635:11;72647:1;72635:14;;;;;;;;:::i;:::-;;;;;;;;;;:43;72619:3;;72572:114;;;-1:-1:-1;72699:11:0;72402:316;-1:-1:-1;;72402:316:0:o;58690:31::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58690:31:0;;-1:-1:-1;58690:31:0;:::o;34845:140::-;34047:7;34074:12;;;;;;;;;;:22;;;32594:16;32605:4;32594:10;:16::i;:::-;34951:26:::1;34963:4;34969:7;34951:11;:26::i;71146:232::-:0;57603:35;32594:16;32605:4;32594:10;:16::i;:::-;-1:-1:-1;;;;;71245:25:0;::::1;;::::0;;;:17:::1;:25;::::0;;;;;::::1;;71237:59;;;::::0;-1:-1:-1;;;71237:59:0;;22824:2:1;71237:59:0::1;::::0;::::1;22806:21:1::0;22863:2;22843:18;;;22836:30;-1:-1:-1;;;22882:18:1;;;22875:51;22943:18;;71237:59:0::1;22622:345:1::0;71237:59:0::1;-1:-1:-1::0;;;;;71303:25:0;::::1;71331:5;71303:25:::0;;;:17:::1;:25;::::0;;;;;;;;:33;;-1:-1:-1;;71303:33:0::1;::::0;;71348:26;;7546:51:1;;;71348:26:0::1;::::0;7519:18:1;71348:26:0::1;7400:203:1::0;61457:2462:0;61746:16;-1:-1:-1;;;;;;;;;;;32594:16:0;32605:4;32594:10;:16::i;:::-;82108:6:::1;::::0;::::1;;82107:7;82099:38;;;;-1:-1:-1::0;;;82099:38:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;61807:26:0;::::2;61799:59;;;::::0;-1:-1:-1;;;61799:59:0;;23174:2:1;61799:59:0::2;::::0;::::2;23156:21:1::0;23213:2;23193:18;;;23186:30;-1:-1:-1;;;23232:18:1;;;23225:50;23292:18;;61799:59:0::2;22972:344:1::0;61799:59:0::2;-1:-1:-1::0;;;;;61873:34:0;::::2;61865:66;;;::::0;-1:-1:-1;;;61865:66:0;;23523:2:1;61865:66:0::2;::::0;::::2;23505:21:1::0;23562:2;23542:18;;;23535:30;-1:-1:-1;;;23581:18:1;;;23574:49;23640:18;;61865:66:0::2;23321:343:1::0;61865:66:0::2;61970:12;-1:-1:-1::0;;;;;61946:36:0::2;61954:11;-1:-1:-1::0;;;;;61946:36:0::2;::::0;61938:73:::2;;;::::0;-1:-1:-1;;;61938:73:0;;23871:2:1;61938:73:0::2;::::0;::::2;23853:21:1::0;23910:2;23890:18;;;23883:30;23949:26;23929:18;;;23922:54;23993:18;;61938:73:0::2;23669:348:1::0;61938:73:0::2;-1:-1:-1::0;;;;;62026:31:0;::::2;;::::0;;;:17:::2;:31;::::0;;;;;::::2;;62018:65;;;::::0;-1:-1:-1;;;62018:65:0;;22824:2:1;62018:65:0::2;::::0;::::2;22806:21:1::0;22863:2;22843:18;;;22836:30;-1:-1:-1;;;22882:18:1;;;22875:51;22943:18;;62018:65:0::2;22622:345:1::0;62018:65:0::2;62099:61;62127:10;62147:11;62099:27;:61::i;:::-;62098:62;62090:109;;;::::0;-1:-1:-1;;;62090:109:0;;24224:2:1;62090:109:0::2;::::0;::::2;24206:21:1::0;24263:2;24243:18;;;24236:30;24302:34;24282:18;;;24275:62;-1:-1:-1;;;24353:18:1;;;24346:32;24395:19;;62090:109:0::2;24022:398:1::0;62090:109:0::2;62245:16:::0;;62264:15:::2;62245:34;::::0;;::::2;;62237:65;;;::::0;-1:-1:-1;;;62237:65:0;;24627:2:1;62237:65:0::2;::::0;::::2;24609:21:1::0;24666:2;24646:18;;;24639:30;-1:-1:-1;;;24685:18:1;;;24678:48;24743:18;;62237:65:0::2;24425:342:1::0;62237:65:0::2;62353:9:::0;;62345:44:::2;;;::::0;-1:-1:-1;;;62345:44:0;;24974:2:1;62345:44:0::2;::::0;::::2;24956:21:1::0;25013:2;24993:18;;;24986:30;-1:-1:-1;;;25032:18:1;;;25025:48;25090:18;;62345:44:0::2;24772:342:1::0;62345:44:0::2;62404:9;::::0;::::2;::::0;62396:54:::2;;;::::0;-1:-1:-1;;;62396:54:0;;25321:2:1;62396:54:0::2;::::0;::::2;25303:21:1::0;25360:2;25340:18;;;25333:30;25399;25379:18;;;25372:58;25447:18;;62396:54:0::2;25119:352:1::0;62396:54:0::2;62465:9:::0;;::::2;::::0;62457:51:::2;;;::::0;-1:-1:-1;;;62457:51:0;;25678:2:1;62457:51:0::2;::::0;::::2;25660:21:1::0;25717:2;25697:18;;;25690:30;25756:27;25736:18;;;25729:55;25801:18;;62457:51:0::2;25476:349:1::0;62457:51:0::2;62523:9:::0;;::::2;::::0;62515:46:::2;;;::::0;-1:-1:-1;;;62515:46:0;;26032:2:1;62515:46:0::2;::::0;::::2;26014:21:1::0;26071:2;26051:18;;;26044:30;-1:-1:-1;;;26090:18:1;;;26083:50;26150:18;;62515:46:0::2;25830:344:1::0;62515:46:0::2;62604:16:::0;;62574:27:::2;::::0;62604:34:::2;::::0;62623:15:::2;::::0;62604:34:::2;;;:::i;:::-;62574:64;;62675:1;62653:19;:23;62645:58;;;::::0;-1:-1:-1;;;62645:58:0;;26381:2:1;62645:58:0::2;::::0;::::2;26363:21:1::0;26420:2;26400:18;;;26393:30;-1:-1:-1;;;26439:18:1;;;26432:52;26501:18;;62645:58:0::2;26179:346:1::0;62645:58:0::2;62767:18;62809:5;62789:6:::0;62796:1:::2;62789:9;;;::::0;:16:::2;::::0;62801:4:::2;62789:16;:::i;:::-;62788:26;;;;:::i;:::-;62767:47:::0;-1:-1:-1;62876:19:0;62855:17:::2;62767:47:::0;62868:4:::2;62855:17;:::i;:::-;62854:41;;;;:::i;:::-;63062:9:::0;;62841:54;;-1:-1:-1;62997:75:0::2;::::0;-1:-1:-1;;;;;62997:37:0;::::2;::::0;63035:10:::2;::::0;63055:4:::2;::::0;62997:37:::2;:75::i;:::-;63118:427;::::0;;::::2;::::0;::::2;::::0;;-1:-1:-1;;;;;63118:427:0;;::::2;::::0;;;::::2;;::::0;;::::2;::::0;;;;63228:9;;63118:427;;;;-1:-1:-1;63118:427:0;;;;63265:9;::::2;::::0;63118:427;;;;63299:9;;::::2;::::0;63118:427;;;;63107:5:::2;::::0;63118:427;;;63228:9;63335:1:::2;63328:9;;;;63118:427;;;;63359:10;63118:427;;;;63399:1;63118:427;;;;63422:15;63118:427;;;;63458:13;63472:1;63458:16;;;;;;;:::i;:::-;;;;;63118:427;;;;;;63498:13;63512:1;63498:16;;;;;;;:::i;:::-;;;;;63118:427;;;;::::0;63107:439:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;63107:439:0::2;;;;;-1:-1:-1::0;;;;;63107:439:0::2;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;63107:439:0::2;;;;;-1:-1:-1::0;;;;;63107:439:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63583:16;63602:13;;63583:32;;63622:16;:30;63639:12;-1:-1:-1::0;;;;;63622:30:0::2;-1:-1:-1::0;;;;;63622:30:0::2;;;;;;;;;;;;63658:8;63622:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63674:15;:37;63698:11;-1:-1:-1::0;;;;;63674:37:0::2;-1:-1:-1::0;;;;;63674:37:0::2;;;;;;;;;;;;63717:8;63674:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63766:10;63733:20;:30;63754:8;63733:30;;;;;;;;;;;;:43;;;;;-1:-1:-1::0;;;;;63733:43:0::2;;;;;-1:-1:-1::0;;;;;63733:43:0::2;;;;;;63791:13;;63789:15;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;63816:71:0;;::::2;::::0;;::::2;63831:8:::0;63816:71:::2;63877:6:::0;63884:1:::2;63877:9;;;;63816:71;;;;1247:25:1::0;;1235:2;1220:18;;1101:177;63816:71:0::2;;;;;;;;63907:8:::0;61457:2462;-1:-1:-1;;;;;;;;61457:2462:0:o;75089:141::-;75160:14;75190:36;75212:4;75218:7;75190:21;:36::i;32702:204::-;32787:4;-1:-1:-1;;;;;;32811:47:0;;-1:-1:-1;;;32811:47:0;;:87;;-1:-1:-1;;;;;;;;;;30277:40:0;;;32862:36;30177:148;33351:105;33418:30;33429:4;29303:10;33418;:30::i;:::-;33351:105;:::o;15850:162::-;15960:43;;-1:-1:-1;;;;;26862:32:1;;;15960:43:0;;;26844:51:1;26911:18;;;26904:34;;;15933:71:0;;15953:5;;15975:14;;;;;26817:18:1;;15960:43:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15960:43:0;;;;;;;;;;;15933:19;:71::i;78399:139::-;78458:13;78509:17;78522:3;78509:12;:17::i;52969:263::-;53055:4;53072:12;53087:31;53104:4;53110:7;53087:16;:31::i;:::-;53072:46;;53133:7;53129:71;;;53157:18;;;;:12;:18;;;;;:31;;53180:7;53157:22;:31::i;53340:268::-;53427:4;53444:12;53459:32;53477:4;53483:7;53459:17;:32::i;:::-;53444:47;;53506:7;53502:74;;;53530:18;;;;:12;:18;;;;;:34;;53556:7;53530:25;:34::i;55893:293::-;55295:1;56027:7;;:19;56019:63;;;;-1:-1:-1;;;56019:63:0;;27151:2:1;56019:63:0;;;27133:21:1;27190:2;27170:18;;;27163:30;27229:33;27209:18;;;27202:61;27280:18;;56019:63:0;26949:355:1;56019:63:0;55295:1;56160:18;;55893:293::o;81148:340::-;81220:7;81338:1;81327:8;:12;;;81323:96;;;81368:12;81379:1;81368:8;:12;:::i;:::-;81361:20;;:2;:20;:::i;81323:96::-;-1:-1:-1;81436:1:0;;81148:340;-1:-1:-1;81148:340:0:o;76271:783::-;76373:16;;;;:11;:16;;;;;:23;;;;76344:26;;;;;:52;;76373:23;76344:52;:::i;:::-;76326:15;:70;76322:719;;;76409:18;76430:5;76436:3;76430:10;;;;;;;;:::i;:::-;;;;;;;;;76465:16;;;:11;:16;;;;;;;:20;76430:10;;;;;;;;-1:-1:-1;76465:20:0;;76461:500;;;76526:16;;;;:11;:16;;;;;:21;;;76502:20;;;:45;;76526:21;;76502:20;;:45;;76526:21;;76502:45;:::i;:::-;;;;-1:-1:-1;;76604:16:0;;;;:11;:16;;;;;:23;;;76580:20;;;;:47;76576:134;;76671:16;;;;:11;:16;;;;;:23;;;76648:20;;;:46;76576:134;76461:500;;;76766:16;;;;:11;:16;;;;;:21;;;76742:20;;;:45;;76766:21;;76742:20;;:45;;76766:21;;76742:45;:::i;:::-;;;;-1:-1:-1;;76844:16:0;;;;:11;:16;;;;;:23;;;76820:20;;;;:47;76816:134;;76911:16;;;;:11;:16;;;;;:23;;;76888:20;;;:46;76816:134;-1:-1:-1;76981:16:0;;;;:11;:16;;;;;77017:15;76981:52;;:26;;;;:52;76271:783::o;75542:715::-;75591:18;75612:5;75618:3;75612:10;;;;;;;;:::i;:::-;;;;;;;;;;;75591:31;;75677:19;75699:4;:14;;;75677:36;;75724:11;75739:1;75724:16;75720:29;;75742:7;;75542:715;:::o;75720:29::-;75842;75892:4;:14;;;75874:15;:32;;;;:::i;:::-;75842:64;;75959:21;75984:1;75959:26;75955:39;;75987:7;;;75542:715;:::o;75955:39::-;76114:16;;;;76060:13;;-1:-1:-1;;;76114:16:0;;;;76076:35;76090:21;76076:11;:35;:::i;:::-;:54;;;;:::i;:::-;76060:70;-1:-1:-1;76187:19:0;76060:70;76187:11;:19;:::i;:::-;76170:14;;;:36;-1:-1:-1;;;76213:40:0;76237:15;76213:40;:14;;;;:40;-1:-1:-1;75542:715:0:o;16257:190::-;16385:53;;-1:-1:-1;;;;;29117:32:1;;;16385:53:0;;;29099:51:1;29186:32;;;29166:18;;;29159:60;29235:18;;;29228:34;;;16358:81:0;;16378:5;;16400:18;;;;;29072::1;;16385:53:0;28897:371:1;77062:1315:0;77120:13;77142:17;77162:5;77168:3;77162:10;;;;;;;;:::i;:::-;;;;;;;;;77142:30;;;;;;;;77162:10;;;;;;;77142:30;;-1:-1:-1;;;;;77142:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;77142:30:0;;;;;;;;77270:52;;-1:-1:-1;;;77270:52:0;;;;77142:30;;-1:-1:-1;77142:30:0;77270:50;;:52;;;;77162:10;;77270:52;;;;;;77142:30;77270:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77247:75;;77329:19;77374:4;:15;;;-1:-1:-1;;;;;77351:49:0;;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77329:73;;77467:17;77487:28;77511:3;77487:23;:28::i;:::-;77467:48;;77522:17;77542:15;77553:3;77542:10;:15::i;:::-;77522:35;-1:-1:-1;77718:19:0;77796:13;77774:19;77779:14;77774:2;:19;:::i;:::-;:35;;;;:::i;:::-;77767:43;;:2;:43;:::i;:::-;77741:21;77753:9;77741;:21;:::i;:::-;77740:71;;;;:::i;:::-;77718:93;-1:-1:-1;78011:4:0;77990:18;78011:4;77718:93;77990:18;:::i;:::-;:25;;;;:::i;:::-;77982:33;;78097:4;:17;;;78089:5;:25;78085:75;;;78135:4;:17;;;78127:25;;78085:75;78330:24;78350:4;-1:-1:-1;;78330:24:0;:::i;:::-;78321:5;:33;;78313:60;;;;-1:-1:-1;;;78313:60:0;;29475:2:1;78313:60:0;;;29457:21:1;29514:2;29494:18;;;29487:30;-1:-1:-1;;;29533:18:1;;;29526:44;29587:18;;78313:60:0;29273:338:1;78313:60:0;77135:1242;;;;;;77062:1315;;;:::o;81557:139::-;81639:7;81688:4;81670:14;81679:5;81670:6;:14;:::i;:::-;81669:23;;;;:::i;47040:158::-;47114:7;47165:22;47169:3;47181:5;47165:3;:22::i;47748:282::-;47811:16;47840:22;47865:19;47873:3;47865:7;:19::i;46569:117::-;46632:7;46659:19;46667:3;41897:18;;41814:109;33592:201;33681:22;33689:4;33695:7;33681;:22::i;:::-;33676:110;;33727:47;;-1:-1:-1;;;33727:47:0;;-1:-1:-1;;;;;26862:32:1;;33727:47:0;;;26844:51:1;26911:18;;;26904:34;;;26817:18;;33727:47:0;26670:274:1;22443:738:0;22524:18;22553:19;22693:4;22690:1;22683:4;22677:11;22670:4;22664;22660:15;22657:1;22650:5;22643;22638:60;22752:7;22742:180;;22797:4;22791:11;22843:16;22840:1;22835:3;22820:40;22890:16;22885:3;22878:29;22742:180;-1:-1:-1;;23001:1:0;22995:8;22950:16;;-1:-1:-1;23030:15:0;;:68;;23082:11;23097:1;23082:16;;23030:68;;;-1:-1:-1;;;;;23048:26:0;;;:31;23030:68;23026:148;;;23122:40;;-1:-1:-1;;;23122:40:0;;-1:-1:-1;;;;;7564:32:1;;23122:40:0;;;7546:51:1;7519:18;;23122:40:0;7400:203:1;36428:324:0;36505:4;36527:22;36535:4;36541:7;36527;:22::i;:::-;36522:223;;36566:6;:12;;;;;;;;;;;-1:-1:-1;;;;;36566:29:0;;;;;;;;;:36;;-1:-1:-1;;36566:36:0;36598:4;36566:36;;;36649:12;29303:10;;29223:98;36649:12;-1:-1:-1;;;;;36622:40:0;36640:7;-1:-1:-1;;;;;36622:40:0;36634:4;36622:40;;;;;;;;;;-1:-1:-1;36684:4:0;36677:11;;36522:223;-1:-1:-1;36728:5:0;36721:12;;45744:152;45814:4;45838:50;45843:3;-1:-1:-1;;;;;45863:23:0;;45838:4;:50::i;36996:325::-;37074:4;37095:22;37103:4;37109:7;37095;:22::i;:::-;37091:223;;;37166:5;37134:12;;;;;;;;;;;-1:-1:-1;;;;;37134:29:0;;;;;;;;;;:37;;-1:-1:-1;;37134:37:0;;;37191:40;29303:10;;37134:12;;37191:40;;37166:5;37191:40;-1:-1:-1;37253:4:0;37246:11;;46072:158;46145:4;46169:53;46177:3;-1:-1:-1;;;;;46197:23:0;;46169:7;:53::i;79500:1580::-;79569:7;79585:17;79605:5;79611:3;79605:10;;;;;;;;:::i;:::-;;;;;;;;;79585:30;;;;;;;;79605:10;;;;;;;79585:30;;-1:-1:-1;;;;;79585:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;79585:30:0;;;;;;;;79649:16;;;;;;;;;79622:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79721:20;79585:30;;-1:-1:-1;79622:43:0;79819:15;79661:3;79819:10;:15::i;:::-;79792:42;;79841:26;79888:4;:13;;;79870:31;;:15;:31;:89;;79958:1;79870:89;;;79932:13;;;;79914:31;;;;:15;:31;:::i;:::-;79841:118;;80064:25;80120:4;:12;;;80093:16;80112:4;80093:23;;;;:::i;:::-;80092:40;;;;:::i;:::-;80064:68;-1:-1:-1;80176:19:0;80230:22;:18;80251:1;80230:22;:::i;:::-;80199:26;80208:17;80199:6;:26;:::i;:::-;80198:55;;;;:::i;:::-;80176:77;;80369:10;:17;;;80346:10;:20;;;:40;;;;:::i;:::-;80327:15;:59;80323:633;;80403:14;;80399:550;;;80488:15;;;;80478:25;;;;:::i;:::-;;;80587:10;:17;;;80578:6;:26;80574:93;;;80634:10;:17;;;80625:26;;80574:93;80399:550;;;80753:15;;;;80743:25;;;;:::i;:::-;;;80858:10;:17;;;80849:6;:26;80845:93;;;80905:10;:17;;;80896:26;;80845:93;80997:11;80988:6;:20;80984:72;;;81028:20;81037:11;81028:6;:20;:::i;:::-;81021:27;79500:1580;-1:-1:-1;;;;;;;;;79500:1580:0:o;80984:72::-;-1:-1:-1;81075:1:0;;79500:1580;-1:-1:-1;;;;;;;;79500:1580:0:o;78547:940::-;78603:7;78623:17;78643:5;78649:3;78643:10;;;;;;;;:::i;:::-;;;;;;;;;78623:30;;;;;;;;78643:10;;;;;;;78623:30;;-1:-1:-1;;;;;78623:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;78623:30:0;;;;;;;;78739:51;;-1:-1:-1;;;78739:51:0;;;;78623:30;;-1:-1:-1;78623:30:0;78739:49;;:51;;;;78643:10;;78739:51;;;;;;78623:30;78739:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78711:80;;78798:20;78850:4;:16;;;-1:-1:-1;;;;;78827:50:0;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78798:82;-1:-1:-1;78962:17:0;79005:19;78798:82;79005:2;:19;:::i;:::-;79000:25;;:2;:25;:::i;:::-;78982:4;:14;;;:44;;;;:::i;:::-;78962:64;-1:-1:-1;79092:20:0;79148:18;79153:13;79148:2;:18;:::i;:::-;79141:26;;:2;:26;:::i;:::-;79115:4;:22;;;:53;;;;:::i;:::-;79092:76;;79218:12;79234:1;79218:17;79214:97;;-1:-1:-1;;;79255:17:0;78547:940;-1:-1:-1;;;;;;78547:940:0:o;79214:97::-;79401:17;79442:12;79422:16;:9;79434:4;79422:16;:::i;:::-;79421:33;;;;:::i;42277:120::-;42344:7;42371:3;:11;;42383:5;42371:18;;;;;;;;:::i;:::-;;;;;;;;;42364:25;;42277:120;;;;:::o;42947:111::-;43003:16;43039:3;:11;;43032:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42947:111;;;:::o;39519:416::-;39582:4;41694:21;;;:14;;;:21;;;;;;39599:329;;-1:-1:-1;39642:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;39827:18;;39803:21;;;:14;;;:21;;;;;;:42;;;;39860:11;;40111:1400;40177:4;40308:21;;;:14;;;:21;;;;;;40346:13;;40342:1162;;40719:18;40740:12;40751:1;40740:8;:12;:::i;:::-;40787:18;;40719:33;;-1:-1:-1;40767:17:0;;40787:22;;40808:1;;40787:22;:::i;:::-;40767:42;;40844:9;40830:10;:23;40826:385;;40874:17;40894:3;:11;;40906:9;40894:22;;;;;;;;:::i;:::-;;;;;;;;;40874:42;;41044:9;41018:3;:11;;41030:10;41018:23;;;;;;;;:::i;:::-;;;;;;;;;;;;:35;;;;41159:25;;;:14;;;:25;;;;;:36;;;40826:385;41292:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;41398:3;:14;;:21;41413:5;41398:21;;;;;;;;;;;41391:28;;;41443:4;41436:11;;;;;;;40342:1162;41487:5;41480: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;14526:273::-;14594:6;14647:2;14635:9;14626:7;14622:23;14618:32;14615:52;;;14663:1;14660;14653:12;14615:52;14695:9;14689:16;14745:4;14738:5;14734:16;14727:5;14724:27;14714:55;;14765:1;14762;14755:12;16216:136;16255:3;16283:5;16273:39;;16292:18;;:::i;:::-;-1:-1:-1;;;16328:18:1;;16216:136::o;16357:125::-;16422:9;;;16443:10;;;16440:36;;;16456:18;;:::i;16487:127::-;16548:10;16543:3;16539:20;16536:1;16529:31;16579:4;16576:1;16569:15;16603:4;16600:1;16593:15;18735:184;18805:6;18858:2;18846:9;18837:7;18833:23;18829:32;18826:52;;;18874:1;18871;18864:12;18826:52;-1:-1:-1;18897:16:1;;18735:184;-1:-1:-1;18735:184:1:o;21364:168::-;21437:9;;;21468;;21485:15;;;21479:22;;21465:37;21455:71;;21506:18;;:::i;21537:217::-;21577:1;21603;21593:132;;21647:10;21642:3;21638:20;21635:1;21628:31;21682:4;21679:1;21672:15;21710:4;21707:1;21700:15;21593:132;-1:-1:-1;21739:9:1;;21537:217::o;26530:135::-;26569:3;26590:17;;;26587:43;;26610:18;;:::i;:::-;-1:-1:-1;26657:1:1;26646:13;;26530:135::o;27309:151::-;27399:4;27392:12;;;27378;;;27374:31;;27417:14;;27414:40;;;27434:18;;:::i;27465:375::-;27553:1;27571:5;27585:249;27606:1;27596:8;27593:15;27585:249;;;27656:4;27651:3;27647:14;27641:4;27638:24;27635:50;;;27665:18;;:::i;:::-;27715:1;27705:8;27701:16;27698:49;;;27729:16;;;;27698:49;27812:1;27808:16;;;;;27768:15;;27585:249;;;27465:375;;;;;;:::o;27845:902::-;27894:5;27924:8;27914:80;;-1:-1:-1;27965:1:1;27979:5;;27914:80;28013:4;28003:76;;-1:-1:-1;28050:1:1;28064:5;;28003:76;28095:4;28113:1;28108:59;;;;28181:1;28176:174;;;;28088:262;;28108:59;28138:1;28129:10;;28152:5;;;28176:174;28213:3;28203:8;28200:17;28197:43;;;28220:18;;:::i;:::-;-1:-1:-1;;28276:1:1;28262:16;;28335:5;;28088:262;;28434:2;28424:8;28421:16;28415:3;28409:4;28406:13;28402:36;28396:2;28386:8;28383:16;28378:2;28372:4;28369:12;28365:35;28362:77;28359:203;;;-1:-1:-1;28471:19:1;;;28547:5;;28359:203;28594:42;-1:-1:-1;;28619:8:1;28613:4;28594:42;:::i;:::-;28672:6;28668:1;28664:6;28660:19;28651:7;28648:32;28645:58;;;28683:18;;:::i;:::-;28721:20;;27845:902;-1:-1:-1;;;27845:902:1:o;28752:140::-;28810:5;28839:47;28880:4;28870:8;28866:19;28860:4;28839:47;:::i
Swarm Source
ipfs://a97ce20998f0d689efa6bc7161d7d54ebb7f83d59dbcd32d30b8456453368614
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.