Address Details
contract

0x82D062DE292987581e348a5Edb1011321DEA994B

Contract Name
CASProject
Creator
0xb156c1–ebc770 at 0x4d7df2–61c508
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
1 Transactions
Transfers
0 Transfers
Gas Used
46,314
Last Balance Update
16133060
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
CASProject




Optimization enabled
false
Compiler version
v0.8.7+commit.e28d00a7




EVM Version
istanbul




Verified at
2023-02-01T16:14:29.279820Z

project:/contracts/CASProject.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./CASBundle.sol";

// get needed function and put them here
import "./BytesLib.sol";

contract CASProject is CASBundle, Ownable, AccessControl {
    /**
     * @dev key:value mapping to save project info
     * where the key is a project address,
     * the value is a project struct
     */
    mapping(address => ProjectVariables) private projects;
    /**
     * @dev Project struct to save data on mapping
     */
    struct ProjectVariables {
        uint projectId;
        uint startDate;
        uint endDate;
    }
    /**
     * @dev Constant value to set up new role
     */
    bytes32 public constant REGISTRY_ROLE = keccak256("REGISTRY_ROLE");
    /**
     * @dev modifier to check if the sender has access to a function
     */
    modifier checkAccess {
        require(hasRole(REGISTRY_ROLE, msg.sender), "Caller is not an admin or Registry Manager contract");
        _;
    }
    /**
     * @dev Setter to add access to registry functions
     * (more precisely to give access to other our contracts call the function)
     * @param newAddress the address to which the role is assigned
     */
    function addToRegistryRole(address newAddress) public onlyOwner {
        _setupRole(REGISTRY_ROLE, newAddress);
    }
    /**
     * @dev Remove an account from the registry role
     */
    function removeFromRegistryRole(address account) public virtual onlyOwner {
        revokeRole(REGISTRY_ROLE, account);
    }
    /**
     * @dev Initialization of a new project
     * @param bytesParams (
     *     project_address: bytes(address),
     *     project_id: bytes(int),
     *     start_date: bytes(string),
     *     end_date: bytes(string)
     * )
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function createProject(bytes[] memory bytesParams) external checkAccess {
        address projectAddress = BytesLib.toAddress(bytesParams[0], 0);

        projects[projectAddress] = ProjectVariables(
            BytesLib.toUint256(bytesParams[1], 0),
            BytesLib.toUint256(bytesParams[2], 0),
            BytesLib.toUint256(bytesParams[3], 0)
        );
    }
    /**
     * @dev Function to change end date parameter
     * @param bytesParams (
     *     projectAddress: bytes(address),
     *     end_date: bytes(string)
     * )
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function changeProjectEndDate(bytes[] memory bytesParams) external checkAccess {
        address projectAddress = BytesLib.toAddress(bytesParams[0], 0);

        projects[projectAddress].endDate = BytesLib.toUint256(bytesParams[1], 0);
    }
    /**
     * @dev Get project parameters
     * @param bytesParams (
     *     project_address: bytes(address)
     * )
     * `projectAddress` parameter must be passed in bytes and opened in the contract as the required type
     * @return projectId Returns `projectId`, `startDate`, `endDate` of a given project
     * @return startDate Returns `projectId`, `startDate`, `endDate` of a given project
     * @return endDate Returns `projectId`, `startDate`, `endDate` of a given project
     */
    function getProject(bytes[] memory bytesParams) external view
    returns(uint projectId, uint startDate, uint endDate) {
        address projectAddress = BytesLib.toAddress(bytesParams[0], 0);
        return (projects[projectAddress].projectId, projects[projectAddress].startDate, projects[projectAddress].endDate);
    }
    /**
     * @dev create new bundle and assign them to the project
     * @param projectOutput (
     *     projectAddress: bytes(address),
     *     bundleId: bytes(string),
     *     bundleVolume: bytes(int),
     *     unitType: bytes(string),
     *     metadataUrl: bytes(string)
     *     projectAddress: bytes(address)
     * )
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function addBundleVolume(bytes[] memory projectOutput) public override checkAccess {
        super.addBundleVolume(projectOutput);
    }
    /**
     * @dev subtract tokens from bundle to assign them to holder
     * @param projectInput (
     *     projectAddress: bytes(address),
     *     bundleId: bytes(string),
     *     bundleVolume: bytes(int),
     *     unitType: bytes(string),
     *     metadataUrl: bytes(string)
     *     projectAddress: bytes(address)
     * )
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function subtractBundleVolume(bytes[] memory projectInput) public override checkAccess {
        super.subtractBundleVolume(projectInput);
    }
    /**
     * @dev overrided transfer function to create FCRU revoke
     * @param projectInput (
     *     projectAddress: bytes(address),
     *     bundleId: bytes(string),
     *     bundleVolume: bytes(int),
     *     unitType: bytes(string),
     *     metadataUrl: bytes(string)
     *     projectAddress: bytes(address)
     * )
     * @param projectOutput (
     *     projectAddress: bytes(address),
     *     outputBundleId: bytes(string),
     *     bundleVolume: bytes(int),
     *     unitType: bytes(string),
     *     metadataUrl: bytes(string)
     *     projectAddress: bytes(address)
     * )
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function transferFrom(bytes[] memory projectInput, bytes[] memory projectOutput) public checkAccess {
        super.subtractBundleVolume(projectInput);
        super.addBundleVolume(projectOutput);
    }

}
        

/_openzeppelin/contracts/access/AccessControl.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @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:
 *
 * ```
 * 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}:
 *
 * ```
 * 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.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @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 override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @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 override 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.
     */
    function grantRole(bytes32 role, address account) public virtual override 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.
     */
    function revokeRole(bytes32 role, address account) public virtual override 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 `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @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 Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}
          

/_openzeppelin/contracts/access/IAccessControl.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @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.
     *
     * _Available since v3.1._
     */
    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, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    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 `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}
          

/_openzeppelin/contracts/access/Ownable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

/_openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

/_openzeppelin/contracts/utils/Strings.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}
          

/_openzeppelin/contracts/utils/introspection/ERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 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);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}
          

/_openzeppelin/contracts/utils/introspection/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * 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[EIP 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);
}
          

/project_/contracts/BytesLib.sol

// SPDX-License-Identifier: Unlicense
/*
 * @title Solidity Bytes Arrays Utils
 * @author Gonçalo Sá <goncalo.sa@consensys.net>
 *
 * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.
 *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.
 */
pragma solidity >=0.8.0 <0.9.0;


library BytesLib {
    function concat(
        bytes memory _preBytes,
        bytes memory _postBytes
    )
        internal
        pure
        returns (bytes memory)
    {
        bytes memory tempBytes;

        assembly {
            // Get a location of some free memory and store it in tempBytes as
            // Solidity does for memory variables.
            tempBytes := mload(0x40)

            // Store the length of the first bytes array at the beginning of
            // the memory for tempBytes.
            let length := mload(_preBytes)
            mstore(tempBytes, length)

            // Maintain a memory counter for the current write location in the
            // temp bytes array by adding the 32 bytes for the array length to
            // the starting location.
            let mc := add(tempBytes, 0x20)
            // Stop copying when the memory counter reaches the length of the
            // first bytes array.
            let end := add(mc, length)

            for {
                // Initialize a copy counter to the start of the _preBytes data,
                // 32 bytes into its memory.
                let cc := add(_preBytes, 0x20)
            } lt(mc, end) {
                // Increase both counters by 32 bytes each iteration.
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                // Write the _preBytes data into the tempBytes memory 32 bytes
                // at a time.
                mstore(mc, mload(cc))
            }

            // Add the length of _postBytes to the current length of tempBytes
            // and store it as the new length in the first 32 bytes of the
            // tempBytes memory.
            length := mload(_postBytes)
            mstore(tempBytes, add(length, mload(tempBytes)))

            // Move the memory counter back from a multiple of 0x20 to the
            // actual end of the _preBytes data.
            mc := end
            // Stop copying when the memory counter reaches the new combined
            // length of the arrays.
            end := add(mc, length)

            for {
                let cc := add(_postBytes, 0x20)
            } lt(mc, end) {
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                mstore(mc, mload(cc))
            }

            // Update the free-memory pointer by padding our last write location
            // to 32 bytes: add 31 bytes to the end of tempBytes to move to the
            // next 32 byte block, then round down to the nearest multiple of
            // 32. If the sum of the length of the two arrays is zero then add
            // one before rounding down to leave a blank 32 bytes (the length block with 0).
            mstore(0x40, and(
              add(add(end, iszero(add(length, mload(_preBytes)))), 31),
              not(31) // Round down to the nearest 32 bytes.
            ))
        }

        return tempBytes;
    }

    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {
        assembly {
            // Read the first 32 bytes of _preBytes storage, which is the length
            // of the array. (We don't need to use the offset into the slot
            // because arrays use the entire slot.)
            let fslot := sload(_preBytes.slot)
            // Arrays of 31 bytes or less have an even value in their slot,
            // while longer arrays have an odd value. The actual length is
            // the slot divided by two for odd values, and the lowest order
            // byte divided by two for even values.
            // If the slot is even, bitwise and the slot with 255 and divide by
            // two to get the length. If the slot is odd, bitwise and the slot
            // with -1 and divide by two.
            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
            let mlength := mload(_postBytes)
            let newlength := add(slength, mlength)
            // slength can contain both the length and contents of the array
            // if length < 32 bytes so let's prepare for that
            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
            switch add(lt(slength, 32), lt(newlength, 32))
            case 2 {
                // Since the new array still fits in the slot, we just need to
                // update the contents of the slot.
                // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length
                sstore(
                    _preBytes.slot,
                    // all the modifications to the slot are inside this
                    // next block
                    add(
                        // we can just add to the slot contents because the
                        // bytes we want to change are the LSBs
                        fslot,
                        add(
                            mul(
                                div(
                                    // load the bytes from memory
                                    mload(add(_postBytes, 0x20)),
                                    // zero all bytes to the right
                                    exp(0x100, sub(32, mlength))
                                ),
                                // and now shift left the number of bytes to
                                // leave space for the length in the slot
                                exp(0x100, sub(32, newlength))
                            ),
                            // increase length by the double of the memory
                            // bytes length
                            mul(mlength, 2)
                        )
                    )
                )
            }
            case 1 {
                // The stored value fits in the slot, but the combined value
                // will exceed it.
                // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

                // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

                // The contents of the _postBytes array start 32 bytes into
                // the structure. Our first read should obtain the `submod`
                // bytes that can fit into the unused space in the last word
                // of the stored array. To get this, we read 32 bytes starting
                // from `submod`, so the data we read overlaps with the array
                // contents by `submod` bytes. Masking the lowest-order
                // `submod` bytes allows us to add that value directly to the
                // stored value.

                let submod := sub(32, slength)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(
                    sc,
                    add(
                        and(
                            fslot,
                            0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00
                        ),
                        and(mload(mc), mask)
                    )
                )

                for {
                    mc := add(mc, 0x20)
                    sc := add(sc, 1)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
            default {
                // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                // Start copying to the last used word of the stored array.
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

                // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

                // Copy over the first `submod` bytes of the new data as in
                // case 1 above.
                let slengthmod := mod(slength, 32)
                let mlengthmod := mod(mlength, 32)
                let submod := sub(32, slengthmod)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(sc, add(sload(sc), and(mload(mc), mask)))

                for {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
        }
    }

    function slice(
        bytes memory _bytes,
        uint256 _start,
        uint256 _length
    )
        internal
        pure
        returns (bytes memory)
    {
        require(_length + 31 >= _length, "slice_overflow");
        require(_bytes.length >= _start + _length, "slice_outOfBounds");

        bytes memory tempBytes;

        assembly {
            switch iszero(_length)
            case 0 {
                // Get a location of some free memory and store it in tempBytes as
                // Solidity does for memory variables.
                tempBytes := mload(0x40)

                // The first word of the slice result is potentially a partial
                // word read from the original array. To read it, we calculate
                // the length of that partial word and start copying that many
                // bytes into the array. The first word we copy will start with
                // data we don't care about, but the last `lengthmod` bytes will
                // land at the beginning of the contents of the new array. When
                // we're done copying, we overwrite the full first word with
                // the actual length of the slice.
                let lengthmod := and(_length, 31)

                // The multiplication in the next line is necessary
                // because when slicing multiples of 32 bytes (lengthmod == 0)
                // the following copy loop was copying the origin's length
                // and then ending prematurely not copying everything it should.
                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))
                let end := add(mc, _length)

                for {
                    // The multiplication in the next line has the same exact purpose
                    // as the one above.
                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)
                } lt(mc, end) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    mstore(mc, mload(cc))
                }

                mstore(tempBytes, _length)

                //update free-memory pointer
                //allocating the array padded to 32 bytes like the compiler does now
                mstore(0x40, and(add(mc, 31), not(31)))
            }
            //if we want a zero-length slice let's just return a zero-length array
            default {
                tempBytes := mload(0x40)
                //zero out the 32 bytes slice we are about to return
                //we need to do it because Solidity does not garbage collect
                mstore(tempBytes, 0)

                mstore(0x40, add(tempBytes, 0x20))
            }
        }

        return tempBytes;
    }

    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {
        require(_bytes.length >= _start + 20, "toAddress_outOfBounds");
        address tempAddress;

        assembly {
            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)
        }

        return tempAddress;
    }

    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {
        require(_bytes.length >= _start + 1 , "toUint8_outOfBounds");
        uint8 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x1), _start))
        }

        return tempUint;
    }

    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {
        require(_bytes.length >= _start + 2, "toUint16_outOfBounds");
        uint16 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x2), _start))
        }

        return tempUint;
    }

    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {
        require(_bytes.length >= _start + 4, "toUint32_outOfBounds");
        uint32 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x4), _start))
        }

        return tempUint;
    }

    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {
        require(_bytes.length >= _start + 8, "toUint64_outOfBounds");
        uint64 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x8), _start))
        }

        return tempUint;
    }

    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {
        require(_bytes.length >= _start + 12, "toUint96_outOfBounds");
        uint96 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0xc), _start))
        }

        return tempUint;
    }

    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {
        require(_bytes.length >= _start + 16, "toUint128_outOfBounds");
        uint128 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x10), _start))
        }

        return tempUint;
    }

    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {
        require(_bytes.length >= _start + 32, "toUint256_outOfBounds");
        uint256 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x20), _start))
        }

        return tempUint;
    }

    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {
        require(_bytes.length >= _start + 32, "toBytes32_outOfBounds");
        bytes32 tempBytes32;

        assembly {
            tempBytes32 := mload(add(add(_bytes, 0x20), _start))
        }

        return tempBytes32;
    }

    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {
        bool success = true;

        assembly {
            let length := mload(_preBytes)

            // if lengths don't match the arrays are not equal
            switch eq(length, mload(_postBytes))
            case 1 {
                // cb is a circuit breaker in the for loop since there's
                //  no said feature for inline assembly loops
                // cb = 1 - don't breaker
                // cb = 0 - break
                let cb := 1

                let mc := add(_preBytes, 0x20)
                let end := add(mc, length)

                for {
                    let cc := add(_postBytes, 0x20)
                // the next line is the loop condition:
                // while(uint256(mc < end) + cb == 2)
                } eq(add(lt(mc, end), cb), 2) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    // if any of these checks fails then arrays are not equal
                    if iszero(eq(mload(mc), mload(cc))) {
                        // unsuccess:
                        success := 0
                        cb := 0
                    }
                }
            }
            default {
                // unsuccess:
                success := 0
            }
        }

        return success;
    }

    function equalStorage(
        bytes storage _preBytes,
        bytes memory _postBytes
    )
        internal
        view
        returns (bool)
    {
        bool success = true;

        assembly {
            // we know _preBytes_offset is 0
            let fslot := sload(_preBytes.slot)
            // Decode the length of the stored array like in concatStorage().
            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
            let mlength := mload(_postBytes)

            // if lengths don't match the arrays are not equal
            switch eq(slength, mlength)
            case 1 {
                // slength can contain both the length and contents of the array
                // if length < 32 bytes so let's prepare for that
                // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
                if iszero(iszero(slength)) {
                    switch lt(slength, 32)
                    case 1 {
                        // blank the last byte which is the length
                        fslot := mul(div(fslot, 0x100), 0x100)

                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {
                            // unsuccess:
                            success := 0
                        }
                    }
                    default {
                        // cb is a circuit breaker in the for loop since there's
                        //  no said feature for inline assembly loops
                        // cb = 1 - don't breaker
                        // cb = 0 - break
                        let cb := 1

                        // get the keccak hash to get the contents of the array
                        mstore(0x0, _preBytes.slot)
                        let sc := keccak256(0x0, 0x20)

                        let mc := add(_postBytes, 0x20)
                        let end := add(mc, mlength)

                        // the next line is the loop condition:
                        // while(uint256(mc < end) + cb == 2)
                        for {} eq(add(lt(mc, end), cb), 2) {
                            sc := add(sc, 1)
                            mc := add(mc, 0x20)
                        } {
                            if iszero(eq(sload(sc), mload(mc))) {
                                // unsuccess:
                                success := 0
                                cb := 0
                            }
                        }
                    }
                }
            }
            default {
                // unsuccess:
                success := 0
            }
        }

        return success;
    }
}
          

/project_/contracts/CASBundle.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8;

// get needed function and put them here
import "./BytesLib.sol";

contract CASBundle {
    /**
     * @dev key:value mapping to save bundle info
     * where the key is a bundle id,
     * the value is a BundleStruct 
     */
    mapping(string => BundleStruct) private bundleInfos;
    /**
     * @dev Bundle struct to save bundle info
     */
    struct BundleStruct {
        string unitType;
        uint date;
        string metadataUrl;
        address projectAddress;
    }
    /**
     * @dev Volume struct to save volume
     */
    struct VolumeStruct {
        uint volume;
        bool isValue;
    }
    /**
     * @dev 2d key:value mapping to save volume
     * where the first key is an address,
     * the second key is and bundle id,
     * the value is a VolumeStruct 
     */
    mapping(address => mapping(string => VolumeStruct)) private bundlesVolume;
    /**
     * @dev private function to store bundle struct to bundleInfos mapping
     * @param projectAddress: address,
     * @param bundleId: string,
     * @param unitType: string,
     * @param metadataUrl: string,
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function storeOutputBandleInfo(
        address projectAddress,
        string memory bundleId,
        string memory unitType,
        string memory metadataUrl
    ) private {
        bundleInfos[bundleId] = BundleStruct(
            unitType,
            block.timestamp,
            metadataUrl,
            projectAddress
        );
    }
    /**
     * @dev create a new bundle
     * @param output (
     *     toAddress: bytes(address),
     *     outputBundleId: bytes(string),
     *     bundleVolume: bytes(int),
     *     unitType: bytes(string),
     *     metadataUrl: bytes(string)
     *     projectAddress: bytes(address)
     * )
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function addBundleVolume(bytes[] memory output) public virtual {
        address toAddress = BytesLib.toAddress(output[0], 0);
        string memory bundleId = string(abi.encodePacked(output[1]));
        uint volume = BytesLib.toUint256(output[2], 0);
        string memory unitType = string(abi.encodePacked(output[3]));
        string memory metadataUrl = string(abi.encodePacked(output[4]));
        address projectAddress = BytesLib.toAddress(output[5], 0);

        require(toAddress != address(0), "address(0) cannot be a holder");

        require(!bundlesVolume[toAddress][bundleId].isValue, "sorry, you cannot override existing bundle id");

        bundlesVolume[toAddress][bundleId] = VolumeStruct(volume, true);

        storeOutputBandleInfo(toAddress, bundleId, unitType, metadataUrl);
    }
    /**
     * @dev subtract tokens from a bundle
     * @param input (
     *     fromAddress: bytes(address),
     *     bundleId: bytes(string),
     *     bundleVolume: bytes(int),
     *     unitType: bytes(string),
     *     metadataUrl: bytes(string)
     *     projectAddress: bytes(address)
     * )
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function subtractBundleVolume(bytes[] memory input) public virtual {
        address fromAddress = BytesLib.toAddress(input[0], 0);
        string memory bundleId = string(abi.encodePacked(input[1]));
        uint volumeToSubtract = BytesLib.toUint256(input[2], 0);

        require(volumeToSubtract != 0, "cannot subtract 0 tokens");
        require(bundlesVolume[fromAddress][bundleId].volume >= volumeToSubtract, "not enough tokens");

        bundlesVolume[fromAddress][bundleId].volume -= volumeToSubtract;
    }
    /**
     * @dev get bundle info
     * @param bundleId: string,
     * @return unitType type of the unit (FCRU or VCRU),
     * @return date creation date in timestamp
     * @return metadataUrl link to the metadata
     * @return projectAddress project address
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function getBundleInfo(string memory bundleId) public view
    returns(string memory unitType, uint date, string memory metadataUrl, address projectAddress) {
        return (
            bundleInfos[bundleId].unitType,
            bundleInfos[bundleId].date,
            bundleInfos[bundleId].metadataUrl,
            bundleInfos[bundleId].projectAddress);
    }
    /**
     * @dev get bundle info
     * @param ownerAddress: address,
     * @param bundleId: string,
     * @return volume volume amount on current address and bundle id
     * @notice All parameters must be passed in bytes and opened in the contract as the required type
     */
    function getBundleVolume(address ownerAddress, string memory bundleId) public view returns(uint volume) {
        return bundlesVolume[ownerAddress][bundleId].volume;
    }
}
          

Contract ABI

[{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"REGISTRY_ROLE","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addBundleVolume","inputs":[{"type":"bytes[]","name":"projectOutput","internalType":"bytes[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addToRegistryRole","inputs":[{"type":"address","name":"newAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeProjectEndDate","inputs":[{"type":"bytes[]","name":"bytesParams","internalType":"bytes[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"createProject","inputs":[{"type":"bytes[]","name":"bytesParams","internalType":"bytes[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"unitType","internalType":"string"},{"type":"uint256","name":"date","internalType":"uint256"},{"type":"string","name":"metadataUrl","internalType":"string"},{"type":"address","name":"projectAddress","internalType":"address"}],"name":"getBundleInfo","inputs":[{"type":"string","name":"bundleId","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"volume","internalType":"uint256"}],"name":"getBundleVolume","inputs":[{"type":"address","name":"ownerAddress","internalType":"address"},{"type":"string","name":"bundleId","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"projectId","internalType":"uint256"},{"type":"uint256","name":"startDate","internalType":"uint256"},{"type":"uint256","name":"endDate","internalType":"uint256"}],"name":"getProject","inputs":[{"type":"bytes[]","name":"bytesParams","internalType":"bytes[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeFromRegistryRole","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"subtractBundleVolume","inputs":[{"type":"bytes[]","name":"projectInput","internalType":"bytes[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"bytes[]","name":"projectInput","internalType":"bytes[]"},{"type":"bytes[]","name":"projectOutput","internalType":"bytes[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b5062000032620000266200003860201b60201c565b6200004060201b60201c565b62000106565b600033905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e2880620001166000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806342f1e879116100b8578063a217fddf1161007c578063a217fddf1461034f578063b45e81bc1461036d578063ba028f7514610389578063d547741f146103a5578063e652cacb146103c1578063f2fde38b146103dd57610137565b806342f1e879146102bd578063715018a6146102db57806389d8dbb0146102e55780638da5cb5b1461030157806391d148541461031f57610137565b8063248a9ca3116100ff578063248a9ca3146101f05780632f2ff15d1461022057806334c100831461023c57806336568abe1461026e57806341e43ae11461028a57610137565b806301ffc9a71461013c5780630d5ab2621461016c57806311cec365146101885780631437c309146101b85780631f07be6c146101d4575b600080fd5b61015660048036038101906101519190612105565b6103f9565b604051610163919061249c565b60405180910390f35b61018660048036038101906101819190611f4e565b610473565b005b6101a2600480360381019061019d9190611f7b565b61051c565b6040516101af91906126a7565b60405180910390f35b6101d260048036038101906101cd9190611f4e565b610585565b005b6101ee60048036038101906101e99190612020565b61062e565b005b61020a60048036038101906102059190612098565b6106ad565b60405161021791906124b7565b60405180910390f35b61023a600480360381019061023591906120c5565b6106cd565b005b61025660048036038101906102519190611fd7565b6106f6565b604051610265939291906126c2565b60405180910390f35b610288600480360381019061028391906120c5565b6107fb565b005b6102a4600480360381019061029f9190612132565b61087e565b6040516102b494939291906124f4565b60405180910390f35b6102c5610a52565b6040516102d291906124b7565b60405180910390f35b6102e3610a76565b005b6102ff60048036038101906102fa9190611fd7565b610afe565b005b610309610c7f565b6040516103169190612481565b60405180910390f35b610339600480360381019061033491906120c5565b610ca9565b604051610346919061249c565b60405180910390f35b610357610d14565b60405161036491906124b7565b60405180910390f35b61038760048036038101906103829190611fd7565b610d1b565b005b6103a3600480360381019061039e9190611fd7565b610d90565b005b6103bf60048036038101906103ba91906120c5565b610e05565b005b6103db60048036038101906103d69190611fd7565b610e2e565b005b6103f760048036038101906103f29190611f4e565b610f31565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061046c575061046b82611029565b5b9050919050565b61047b611093565b73ffffffffffffffffffffffffffffffffffffffff16610499610c7f565b73ffffffffffffffffffffffffffffffffffffffff16146104ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e690612627565b60405180910390fd5b6105197fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc8261109b565b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208260405161056b9190612430565b908152602001604051809103902060000154905092915050565b61058d611093565b73ffffffffffffffffffffffffffffffffffffffff166105ab610c7f565b73ffffffffffffffffffffffffffffffffffffffff1614610601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f890612627565b60405180910390fd5b61062b7fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc82610e05565b50565b6106587fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068e90612667565b60405180910390fd5b6106a0826110a9565b6106a98161129c565b5050565b600060036000838152602001908152602001600020600101549050919050565b6106d6826106ad565b6106e7816106e2611093565b6115a8565b6106f18383611645565b505050565b6000806000806107228560008151811061071357610712612a78565b5b60200260200101516000611726565b9050600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154935093509350509193909250565b610803611093565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086790612687565b60405180910390fd5b61087a828261179c565b5050565b606060006060600080856040516108959190612430565b90815260200160405180910390206000016000866040516108b69190612430565b9081526020016040518091039020600101546000876040516108d89190612430565b90815260200160405180910390206002016000886040516108f99190612430565b908152602001604051809103902060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838054610937906129b7565b80601f0160208091040260200160405190810160405280929190818152602001828054610963906129b7565b80156109b05780601f10610985576101008083540402835291602001916109b0565b820191906000526020600020905b81548152906001019060200180831161099357829003601f168201915b505050505093508180546109c3906129b7565b80601f01602080910402602001604051908101604052809291908181526020018280546109ef906129b7565b8015610a3c5780601f10610a1157610100808354040283529160200191610a3c565b820191906000526020600020905b815481529060010190602001808311610a1f57829003601f168201915b5050505050915093509350935093509193509193565b7fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc81565b610a7e611093565b73ffffffffffffffffffffffffffffffffffffffff16610a9c610c7f565b73ffffffffffffffffffffffffffffffffffffffff1614610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990612627565b60405180910390fd5b610afc600061187e565b565b610b287fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e90612667565b60405180910390fd5b6000610b8f82600081518110610b8057610b7f612a78565b5b60200260200101516000611726565b90506040518060600160405280610bc284600181518110610bb357610bb2612a78565b5b60200260200101516000611944565b8152602001610bed84600281518110610bde57610bdd612a78565b5b60200260200101516000611944565b8152602001610c1884600381518110610c0957610c08612a78565b5b60200260200101516000611944565b815250600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000820151816000015560208201518160010155604082015181600201559050505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b610d457fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90612667565b60405180910390fd5b610d8d816110a9565b50565b610dba7fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df090612667565b60405180910390fd5b610e028161129c565b50565b610e0e826106ad565b610e1f81610e1a611093565b6115a8565b610e29838361179c565b505050565b610e587fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8e90612667565b60405180910390fd5b6000610ebf82600081518110610eb057610eaf612a78565b5b60200260200101516000611726565b9050610ee782600181518110610ed857610ed7612a78565b5b60200260200101516000611944565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505050565b610f39611093565b73ffffffffffffffffffffffffffffffffffffffff16610f57610c7f565b73ffffffffffffffffffffffffffffffffffffffff1614610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa490612627565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561101d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101490612587565b60405180910390fd5b6110268161187e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6110a58282611645565b5050565b60006110d1826000815181106110c2576110c1612a78565b5b60200260200101516000611726565b90506000826001815181106110e9576110e8612a78565b5b60200260200101516040516020016111019190612419565b6040516020818303038152906040529050600061113a8460028151811061112b5761112a612a78565b5b60200260200101516000611944565b90506000811415611180576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611177906125a7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020836040516111ce9190612430565b9081526020016040518091039020600001541015611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906125e7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208360405161126f9190612430565b9081526020016040518091039020600001600082825461128f9190612899565b9250508190555050505050565b60006112c4826000815181106112b5576112b4612a78565b5b60200260200101516000611726565b90506000826001815181106112dc576112db612a78565b5b60200260200101516040516020016112f49190612419565b6040516020818303038152906040529050600061132d8460028151811061131e5761131d612a78565b5b60200260200101516000611944565b905060008460038151811061134557611344612a78565b5b602002602001015160405160200161135d9190612419565b604051602081830303815290604052905060008560048151811061138457611383612a78565b5b602002602001015160405160200161139c9190612419565b604051602081830303815290604052905060006113d5876005815181106113c6576113c5612a78565b5b60200260200101516000611726565b9050600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e906125c7565b60405180910390fd5b600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020856040516114949190612430565b908152602001604051809103902060010160009054906101000a900460ff16156114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90612567565b60405180910390fd5b604051806040016040528085815260200160011515815250600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020866040516115589190612430565b90815260200160405180910390206000820151816000015560208201518160010160006101000a81548160ff02191690831515021790555090505061159f868685856119ab565b50505050505050565b6115b28282610ca9565b611641576115d78173ffffffffffffffffffffffffffffffffffffffff166014611a94565b6115e58360001c6020611a94565b6040516020016115f6929190612447565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163891906124d2565b60405180910390fd5b5050565b61164f8282610ca9565b6117225760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116c7611093565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600060148261173591906127e9565b83511015611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f90612647565b60405180910390fd5b60006c01000000000000000000000000836020860101510490508091505092915050565b6117a68282610ca9565b1561187a5760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061181f611093565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060208261195391906127e9565b83511015611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198d90612607565b60405180910390fd5b60008260208501015190508091505092915050565b60405180608001604052808381526020014281526020018281526020018573ffffffffffffffffffffffffffffffffffffffff168152506000846040516119f29190612430565b90815260200160405180910390206000820151816000019080519060200190611a1c929190611cd0565b50602082015181600101556040820151816002019080519060200190611a43929190611cd0565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050505050565b606060006002836002611aa7919061283f565b611ab191906127e9565b67ffffffffffffffff811115611aca57611ac9612aa7565b5b6040519080825280601f01601f191660200182016040528015611afc5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611b3457611b33612a78565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611b9857611b97612a78565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611bd8919061283f565b611be291906127e9565b90505b6001811115611c82577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611c2457611c23612a78565b5b1a60f81b828281518110611c3b57611c3a612a78565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611c7b9061298d565b9050611be5565b5060008414611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd90612547565b60405180910390fd5b8091505092915050565b828054611cdc906129b7565b90600052602060002090601f016020900481019282611cfe5760008555611d45565b82601f10611d1757805160ff1916838001178555611d45565b82800160010185558215611d45579182015b82811115611d44578251825591602001919060010190611d29565b5b509050611d529190611d56565b5090565b5b80821115611d6f576000816000905550600101611d57565b5090565b6000611d86611d818461271e565b6126f9565b90508083825260208201905082856020860282011115611da957611da8612adb565b5b60005b85811015611df757813567ffffffffffffffff811115611dcf57611dce612ad6565b5b808601611ddc8982611ef2565b85526020850194506020840193505050600181019050611dac565b5050509392505050565b6000611e14611e0f8461274a565b6126f9565b905082815260208101848484011115611e3057611e2f612ae0565b5b611e3b84828561294b565b509392505050565b6000611e56611e518461277b565b6126f9565b905082815260208101848484011115611e7257611e71612ae0565b5b611e7d84828561294b565b509392505050565b600081359050611e9481612dad565b92915050565b600082601f830112611eaf57611eae612ad6565b5b8135611ebf848260208601611d73565b91505092915050565b600081359050611ed781612dc4565b92915050565b600081359050611eec81612ddb565b92915050565b600082601f830112611f0757611f06612ad6565b5b8135611f17848260208601611e01565b91505092915050565b600082601f830112611f3557611f34612ad6565b5b8135611f45848260208601611e43565b91505092915050565b600060208284031215611f6457611f63612aea565b5b6000611f7284828501611e85565b91505092915050565b60008060408385031215611f9257611f91612aea565b5b6000611fa085828601611e85565b925050602083013567ffffffffffffffff811115611fc157611fc0612ae5565b5b611fcd85828601611f20565b9150509250929050565b600060208284031215611fed57611fec612aea565b5b600082013567ffffffffffffffff81111561200b5761200a612ae5565b5b61201784828501611e9a565b91505092915050565b6000806040838503121561203757612036612aea565b5b600083013567ffffffffffffffff81111561205557612054612ae5565b5b61206185828601611e9a565b925050602083013567ffffffffffffffff81111561208257612081612ae5565b5b61208e85828601611e9a565b9150509250929050565b6000602082840312156120ae576120ad612aea565b5b60006120bc84828501611ec8565b91505092915050565b600080604083850312156120dc576120db612aea565b5b60006120ea85828601611ec8565b92505060206120fb85828601611e85565b9150509250929050565b60006020828403121561211b5761211a612aea565b5b600061212984828501611edd565b91505092915050565b60006020828403121561214857612147612aea565b5b600082013567ffffffffffffffff81111561216657612165612ae5565b5b61217284828501611f20565b91505092915050565b612184816128cd565b82525050565b612193816128df565b82525050565b6121a2816128eb565b82525050565b60006121b3826127ac565b6121bd81856127c2565b93506121cd81856020860161295a565b80840191505092915050565b60006121e4826127b7565b6121ee81856127cd565b93506121fe81856020860161295a565b61220781612aef565b840191505092915050565b600061221d826127b7565b61222781856127de565b935061223781856020860161295a565b80840191505092915050565b60006122506020836127cd565b915061225b82612b00565b602082019050919050565b6000612273602d836127cd565b915061227e82612b29565b604082019050919050565b60006122966026836127cd565b91506122a182612b78565b604082019050919050565b60006122b96018836127cd565b91506122c482612bc7565b602082019050919050565b60006122dc601d836127cd565b91506122e782612bf0565b602082019050919050565b60006122ff6011836127cd565b915061230a82612c19565b602082019050919050565b60006123226015836127cd565b915061232d82612c42565b602082019050919050565b60006123456020836127cd565b915061235082612c6b565b602082019050919050565b60006123686015836127cd565b915061237382612c94565b602082019050919050565b600061238b6033836127cd565b915061239682612cbd565b604082019050919050565b60006123ae6017836127de565b91506123b982612d0c565b601782019050919050565b60006123d16011836127de565b91506123dc82612d35565b601182019050919050565b60006123f4602f836127cd565b91506123ff82612d5e565b604082019050919050565b61241381612941565b82525050565b600061242582846121a8565b915081905092915050565b600061243c8284612212565b915081905092915050565b6000612452826123a1565b915061245e8285612212565b9150612469826123c4565b91506124758284612212565b91508190509392505050565b6000602082019050612496600083018461217b565b92915050565b60006020820190506124b1600083018461218a565b92915050565b60006020820190506124cc6000830184612199565b92915050565b600060208201905081810360008301526124ec81846121d9565b905092915050565b6000608082019050818103600083015261250e81876121d9565b905061251d602083018661240a565b818103604083015261252f81856121d9565b905061253e606083018461217b565b95945050505050565b6000602082019050818103600083015261256081612243565b9050919050565b6000602082019050818103600083015261258081612266565b9050919050565b600060208201905081810360008301526125a081612289565b9050919050565b600060208201905081810360008301526125c0816122ac565b9050919050565b600060208201905081810360008301526125e0816122cf565b9050919050565b60006020820190508181036000830152612600816122f2565b9050919050565b6000602082019050818103600083015261262081612315565b9050919050565b6000602082019050818103600083015261264081612338565b9050919050565b600060208201905081810360008301526126608161235b565b9050919050565b600060208201905081810360008301526126808161237e565b9050919050565b600060208201905081810360008301526126a0816123e7565b9050919050565b60006020820190506126bc600083018461240a565b92915050565b60006060820190506126d7600083018661240a565b6126e4602083018561240a565b6126f1604083018461240a565b949350505050565b6000612703612714565b905061270f82826129e9565b919050565b6000604051905090565b600067ffffffffffffffff82111561273957612738612aa7565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561276557612764612aa7565b5b61276e82612aef565b9050602081019050919050565b600067ffffffffffffffff82111561279657612795612aa7565b5b61279f82612aef565b9050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006127f482612941565b91506127ff83612941565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561283457612833612a1a565b5b828201905092915050565b600061284a82612941565b915061285583612941565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561288e5761288d612a1a565b5b828202905092915050565b60006128a482612941565b91506128af83612941565b9250828210156128c2576128c1612a1a565b5b828203905092915050565b60006128d882612921565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561297857808201518184015260208101905061295d565b83811115612987576000848401525b50505050565b600061299882612941565b915060008214156129ac576129ab612a1a565b5b600182039050919050565b600060028204905060018216806129cf57607f821691505b602082108114156129e3576129e2612a49565b5b50919050565b6129f282612aef565b810181811067ffffffffffffffff82111715612a1157612a10612aa7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f736f7272792c20796f752063616e6e6f74206f7665727269646520657869737460008201527f696e672062756e646c6520696400000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f63616e6e6f74207375627472616374203020746f6b656e730000000000000000600082015250565b7f616464726573732830292063616e6e6f74206265206120686f6c646572000000600082015250565b7f6e6f7420656e6f75676820746f6b656e73000000000000000000000000000000600082015250565b7f746f55696e743235365f6f75744f66426f756e64730000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f746f416464726573735f6f75744f66426f756e64730000000000000000000000600082015250565b7f43616c6c6572206973206e6f7420616e2061646d696e206f722052656769737460008201527f7279204d616e6167657220636f6e747261637400000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b612db6816128cd565b8114612dc157600080fd5b50565b612dcd816128eb565b8114612dd857600080fd5b50565b612de4816128f5565b8114612def57600080fd5b5056fea2646970667358221220ca9dcf38e6973b8fe2d58fff8810a971f7e37ef56e6733b4c0cb20c6a45412b864736f6c63430008070033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c806342f1e879116100b8578063a217fddf1161007c578063a217fddf1461034f578063b45e81bc1461036d578063ba028f7514610389578063d547741f146103a5578063e652cacb146103c1578063f2fde38b146103dd57610137565b806342f1e879146102bd578063715018a6146102db57806389d8dbb0146102e55780638da5cb5b1461030157806391d148541461031f57610137565b8063248a9ca3116100ff578063248a9ca3146101f05780632f2ff15d1461022057806334c100831461023c57806336568abe1461026e57806341e43ae11461028a57610137565b806301ffc9a71461013c5780630d5ab2621461016c57806311cec365146101885780631437c309146101b85780631f07be6c146101d4575b600080fd5b61015660048036038101906101519190612105565b6103f9565b604051610163919061249c565b60405180910390f35b61018660048036038101906101819190611f4e565b610473565b005b6101a2600480360381019061019d9190611f7b565b61051c565b6040516101af91906126a7565b60405180910390f35b6101d260048036038101906101cd9190611f4e565b610585565b005b6101ee60048036038101906101e99190612020565b61062e565b005b61020a60048036038101906102059190612098565b6106ad565b60405161021791906124b7565b60405180910390f35b61023a600480360381019061023591906120c5565b6106cd565b005b61025660048036038101906102519190611fd7565b6106f6565b604051610265939291906126c2565b60405180910390f35b610288600480360381019061028391906120c5565b6107fb565b005b6102a4600480360381019061029f9190612132565b61087e565b6040516102b494939291906124f4565b60405180910390f35b6102c5610a52565b6040516102d291906124b7565b60405180910390f35b6102e3610a76565b005b6102ff60048036038101906102fa9190611fd7565b610afe565b005b610309610c7f565b6040516103169190612481565b60405180910390f35b610339600480360381019061033491906120c5565b610ca9565b604051610346919061249c565b60405180910390f35b610357610d14565b60405161036491906124b7565b60405180910390f35b61038760048036038101906103829190611fd7565b610d1b565b005b6103a3600480360381019061039e9190611fd7565b610d90565b005b6103bf60048036038101906103ba91906120c5565b610e05565b005b6103db60048036038101906103d69190611fd7565b610e2e565b005b6103f760048036038101906103f29190611f4e565b610f31565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061046c575061046b82611029565b5b9050919050565b61047b611093565b73ffffffffffffffffffffffffffffffffffffffff16610499610c7f565b73ffffffffffffffffffffffffffffffffffffffff16146104ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e690612627565b60405180910390fd5b6105197fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc8261109b565b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208260405161056b9190612430565b908152602001604051809103902060000154905092915050565b61058d611093565b73ffffffffffffffffffffffffffffffffffffffff166105ab610c7f565b73ffffffffffffffffffffffffffffffffffffffff1614610601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f890612627565b60405180910390fd5b61062b7fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc82610e05565b50565b6106587fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068e90612667565b60405180910390fd5b6106a0826110a9565b6106a98161129c565b5050565b600060036000838152602001908152602001600020600101549050919050565b6106d6826106ad565b6106e7816106e2611093565b6115a8565b6106f18383611645565b505050565b6000806000806107228560008151811061071357610712612a78565b5b60200260200101516000611726565b9050600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154935093509350509193909250565b610803611093565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086790612687565b60405180910390fd5b61087a828261179c565b5050565b606060006060600080856040516108959190612430565b90815260200160405180910390206000016000866040516108b69190612430565b9081526020016040518091039020600101546000876040516108d89190612430565b90815260200160405180910390206002016000886040516108f99190612430565b908152602001604051809103902060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838054610937906129b7565b80601f0160208091040260200160405190810160405280929190818152602001828054610963906129b7565b80156109b05780601f10610985576101008083540402835291602001916109b0565b820191906000526020600020905b81548152906001019060200180831161099357829003601f168201915b505050505093508180546109c3906129b7565b80601f01602080910402602001604051908101604052809291908181526020018280546109ef906129b7565b8015610a3c5780601f10610a1157610100808354040283529160200191610a3c565b820191906000526020600020905b815481529060010190602001808311610a1f57829003601f168201915b5050505050915093509350935093509193509193565b7fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc81565b610a7e611093565b73ffffffffffffffffffffffffffffffffffffffff16610a9c610c7f565b73ffffffffffffffffffffffffffffffffffffffff1614610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990612627565b60405180910390fd5b610afc600061187e565b565b610b287fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e90612667565b60405180910390fd5b6000610b8f82600081518110610b8057610b7f612a78565b5b60200260200101516000611726565b90506040518060600160405280610bc284600181518110610bb357610bb2612a78565b5b60200260200101516000611944565b8152602001610bed84600281518110610bde57610bdd612a78565b5b60200260200101516000611944565b8152602001610c1884600381518110610c0957610c08612a78565b5b60200260200101516000611944565b815250600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000820151816000015560208201518160010155604082015181600201559050505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b610d457fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90612667565b60405180910390fd5b610d8d816110a9565b50565b610dba7fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df090612667565b60405180910390fd5b610e028161129c565b50565b610e0e826106ad565b610e1f81610e1a611093565b6115a8565b610e29838361179c565b505050565b610e587fc2979137d1774e40fe2638d355bf7a7b092be4c67f242aad1655e1e27f9df9cc33610ca9565b610e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8e90612667565b60405180910390fd5b6000610ebf82600081518110610eb057610eaf612a78565b5b60200260200101516000611726565b9050610ee782600181518110610ed857610ed7612a78565b5b60200260200101516000611944565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505050565b610f39611093565b73ffffffffffffffffffffffffffffffffffffffff16610f57610c7f565b73ffffffffffffffffffffffffffffffffffffffff1614610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa490612627565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561101d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101490612587565b60405180910390fd5b6110268161187e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6110a58282611645565b5050565b60006110d1826000815181106110c2576110c1612a78565b5b60200260200101516000611726565b90506000826001815181106110e9576110e8612a78565b5b60200260200101516040516020016111019190612419565b6040516020818303038152906040529050600061113a8460028151811061112b5761112a612a78565b5b60200260200101516000611944565b90506000811415611180576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611177906125a7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020836040516111ce9190612430565b9081526020016040518091039020600001541015611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906125e7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208360405161126f9190612430565b9081526020016040518091039020600001600082825461128f9190612899565b9250508190555050505050565b60006112c4826000815181106112b5576112b4612a78565b5b60200260200101516000611726565b90506000826001815181106112dc576112db612a78565b5b60200260200101516040516020016112f49190612419565b6040516020818303038152906040529050600061132d8460028151811061131e5761131d612a78565b5b60200260200101516000611944565b905060008460038151811061134557611344612a78565b5b602002602001015160405160200161135d9190612419565b604051602081830303815290604052905060008560048151811061138457611383612a78565b5b602002602001015160405160200161139c9190612419565b604051602081830303815290604052905060006113d5876005815181106113c6576113c5612a78565b5b60200260200101516000611726565b9050600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e906125c7565b60405180910390fd5b600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020856040516114949190612430565b908152602001604051809103902060010160009054906101000a900460ff16156114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90612567565b60405180910390fd5b604051806040016040528085815260200160011515815250600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020866040516115589190612430565b90815260200160405180910390206000820151816000015560208201518160010160006101000a81548160ff02191690831515021790555090505061159f868685856119ab565b50505050505050565b6115b28282610ca9565b611641576115d78173ffffffffffffffffffffffffffffffffffffffff166014611a94565b6115e58360001c6020611a94565b6040516020016115f6929190612447565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163891906124d2565b60405180910390fd5b5050565b61164f8282610ca9565b6117225760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116c7611093565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600060148261173591906127e9565b83511015611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f90612647565b60405180910390fd5b60006c01000000000000000000000000836020860101510490508091505092915050565b6117a68282610ca9565b1561187a5760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061181f611093565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060208261195391906127e9565b83511015611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198d90612607565b60405180910390fd5b60008260208501015190508091505092915050565b60405180608001604052808381526020014281526020018281526020018573ffffffffffffffffffffffffffffffffffffffff168152506000846040516119f29190612430565b90815260200160405180910390206000820151816000019080519060200190611a1c929190611cd0565b50602082015181600101556040820151816002019080519060200190611a43929190611cd0565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050505050565b606060006002836002611aa7919061283f565b611ab191906127e9565b67ffffffffffffffff811115611aca57611ac9612aa7565b5b6040519080825280601f01601f191660200182016040528015611afc5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611b3457611b33612a78565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611b9857611b97612a78565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611bd8919061283f565b611be291906127e9565b90505b6001811115611c82577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611c2457611c23612a78565b5b1a60f81b828281518110611c3b57611c3a612a78565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611c7b9061298d565b9050611be5565b5060008414611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd90612547565b60405180910390fd5b8091505092915050565b828054611cdc906129b7565b90600052602060002090601f016020900481019282611cfe5760008555611d45565b82601f10611d1757805160ff1916838001178555611d45565b82800160010185558215611d45579182015b82811115611d44578251825591602001919060010190611d29565b5b509050611d529190611d56565b5090565b5b80821115611d6f576000816000905550600101611d57565b5090565b6000611d86611d818461271e565b6126f9565b90508083825260208201905082856020860282011115611da957611da8612adb565b5b60005b85811015611df757813567ffffffffffffffff811115611dcf57611dce612ad6565b5b808601611ddc8982611ef2565b85526020850194506020840193505050600181019050611dac565b5050509392505050565b6000611e14611e0f8461274a565b6126f9565b905082815260208101848484011115611e3057611e2f612ae0565b5b611e3b84828561294b565b509392505050565b6000611e56611e518461277b565b6126f9565b905082815260208101848484011115611e7257611e71612ae0565b5b611e7d84828561294b565b509392505050565b600081359050611e9481612dad565b92915050565b600082601f830112611eaf57611eae612ad6565b5b8135611ebf848260208601611d73565b91505092915050565b600081359050611ed781612dc4565b92915050565b600081359050611eec81612ddb565b92915050565b600082601f830112611f0757611f06612ad6565b5b8135611f17848260208601611e01565b91505092915050565b600082601f830112611f3557611f34612ad6565b5b8135611f45848260208601611e43565b91505092915050565b600060208284031215611f6457611f63612aea565b5b6000611f7284828501611e85565b91505092915050565b60008060408385031215611f9257611f91612aea565b5b6000611fa085828601611e85565b925050602083013567ffffffffffffffff811115611fc157611fc0612ae5565b5b611fcd85828601611f20565b9150509250929050565b600060208284031215611fed57611fec612aea565b5b600082013567ffffffffffffffff81111561200b5761200a612ae5565b5b61201784828501611e9a565b91505092915050565b6000806040838503121561203757612036612aea565b5b600083013567ffffffffffffffff81111561205557612054612ae5565b5b61206185828601611e9a565b925050602083013567ffffffffffffffff81111561208257612081612ae5565b5b61208e85828601611e9a565b9150509250929050565b6000602082840312156120ae576120ad612aea565b5b60006120bc84828501611ec8565b91505092915050565b600080604083850312156120dc576120db612aea565b5b60006120ea85828601611ec8565b92505060206120fb85828601611e85565b9150509250929050565b60006020828403121561211b5761211a612aea565b5b600061212984828501611edd565b91505092915050565b60006020828403121561214857612147612aea565b5b600082013567ffffffffffffffff81111561216657612165612ae5565b5b61217284828501611f20565b91505092915050565b612184816128cd565b82525050565b612193816128df565b82525050565b6121a2816128eb565b82525050565b60006121b3826127ac565b6121bd81856127c2565b93506121cd81856020860161295a565b80840191505092915050565b60006121e4826127b7565b6121ee81856127cd565b93506121fe81856020860161295a565b61220781612aef565b840191505092915050565b600061221d826127b7565b61222781856127de565b935061223781856020860161295a565b80840191505092915050565b60006122506020836127cd565b915061225b82612b00565b602082019050919050565b6000612273602d836127cd565b915061227e82612b29565b604082019050919050565b60006122966026836127cd565b91506122a182612b78565b604082019050919050565b60006122b96018836127cd565b91506122c482612bc7565b602082019050919050565b60006122dc601d836127cd565b91506122e782612bf0565b602082019050919050565b60006122ff6011836127cd565b915061230a82612c19565b602082019050919050565b60006123226015836127cd565b915061232d82612c42565b602082019050919050565b60006123456020836127cd565b915061235082612c6b565b602082019050919050565b60006123686015836127cd565b915061237382612c94565b602082019050919050565b600061238b6033836127cd565b915061239682612cbd565b604082019050919050565b60006123ae6017836127de565b91506123b982612d0c565b601782019050919050565b60006123d16011836127de565b91506123dc82612d35565b601182019050919050565b60006123f4602f836127cd565b91506123ff82612d5e565b604082019050919050565b61241381612941565b82525050565b600061242582846121a8565b915081905092915050565b600061243c8284612212565b915081905092915050565b6000612452826123a1565b915061245e8285612212565b9150612469826123c4565b91506124758284612212565b91508190509392505050565b6000602082019050612496600083018461217b565b92915050565b60006020820190506124b1600083018461218a565b92915050565b60006020820190506124cc6000830184612199565b92915050565b600060208201905081810360008301526124ec81846121d9565b905092915050565b6000608082019050818103600083015261250e81876121d9565b905061251d602083018661240a565b818103604083015261252f81856121d9565b905061253e606083018461217b565b95945050505050565b6000602082019050818103600083015261256081612243565b9050919050565b6000602082019050818103600083015261258081612266565b9050919050565b600060208201905081810360008301526125a081612289565b9050919050565b600060208201905081810360008301526125c0816122ac565b9050919050565b600060208201905081810360008301526125e0816122cf565b9050919050565b60006020820190508181036000830152612600816122f2565b9050919050565b6000602082019050818103600083015261262081612315565b9050919050565b6000602082019050818103600083015261264081612338565b9050919050565b600060208201905081810360008301526126608161235b565b9050919050565b600060208201905081810360008301526126808161237e565b9050919050565b600060208201905081810360008301526126a0816123e7565b9050919050565b60006020820190506126bc600083018461240a565b92915050565b60006060820190506126d7600083018661240a565b6126e4602083018561240a565b6126f1604083018461240a565b949350505050565b6000612703612714565b905061270f82826129e9565b919050565b6000604051905090565b600067ffffffffffffffff82111561273957612738612aa7565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561276557612764612aa7565b5b61276e82612aef565b9050602081019050919050565b600067ffffffffffffffff82111561279657612795612aa7565b5b61279f82612aef565b9050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006127f482612941565b91506127ff83612941565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561283457612833612a1a565b5b828201905092915050565b600061284a82612941565b915061285583612941565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561288e5761288d612a1a565b5b828202905092915050565b60006128a482612941565b91506128af83612941565b9250828210156128c2576128c1612a1a565b5b828203905092915050565b60006128d882612921565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561297857808201518184015260208101905061295d565b83811115612987576000848401525b50505050565b600061299882612941565b915060008214156129ac576129ab612a1a565b5b600182039050919050565b600060028204905060018216806129cf57607f821691505b602082108114156129e3576129e2612a49565b5b50919050565b6129f282612aef565b810181811067ffffffffffffffff82111715612a1157612a10612aa7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f736f7272792c20796f752063616e6e6f74206f7665727269646520657869737460008201527f696e672062756e646c6520696400000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f63616e6e6f74207375627472616374203020746f6b656e730000000000000000600082015250565b7f616464726573732830292063616e6e6f74206265206120686f6c646572000000600082015250565b7f6e6f7420656e6f75676820746f6b656e73000000000000000000000000000000600082015250565b7f746f55696e743235365f6f75744f66426f756e64730000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f746f416464726573735f6f75744f66426f756e64730000000000000000000000600082015250565b7f43616c6c6572206973206e6f7420616e2061646d696e206f722052656769737460008201527f7279204d616e6167657220636f6e747261637400000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b612db6816128cd565b8114612dc157600080fd5b50565b612dcd816128eb565b8114612dd857600080fd5b50565b612de4816128f5565b8114612def57600080fd5b5056fea2646970667358221220ca9dcf38e6973b8fe2d58fff8810a971f7e37ef56e6733b4c0cb20c6a45412b864736f6c63430008070033