{"sources":{"Revamp.sol":{"content":"// SPDX-License-Identifier: MIT\r\n// File: @openzeppelin/contracts/security/ReentrancyGuard.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Contract module that helps prevent reentrant calls to a function.\r\n *\r\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\r\n * available, which can be applied to functions to make sure there are no nested\r\n * (reentrant) calls to them.\r\n *\r\n * Note that because there is a single `nonReentrant` guard, functions marked as\r\n * `nonReentrant` may not call one another. This can be worked around by making\r\n * those functions `private`, and then adding `external` `nonReentrant` entry\r\n * points to them.\r\n *\r\n * TIP: If you would like to learn more about reentrancy and alternative ways\r\n * to protect against it, check out our blog post\r\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\r\n */\r\nabstract contract ReentrancyGuard {\r\n    // Booleans are more expensive than uint256 or any type that takes up a full\r\n    // word because each write operation emits an extra SLOAD to first read the\r\n    // slot's contents, replace the bits taken up by the boolean, and then write\r\n    // back. This is the compiler's defense against contract upgrades and\r\n    // pointer aliasing, and it cannot be disabled.\r\n\r\n    // The values being non-zero value makes deployment a bit more expensive,\r\n    // but in exchange the refund on every call to nonReentrant will be lower in\r\n    // amount. Since refunds are capped to a percentage of the total\r\n    // transaction's gas, it is best to keep them low in cases like this one, to\r\n    // increase the likelihood of the full refund coming into effect.\r\n    uint256 private constant _NOT_ENTERED = 1;\r\n    uint256 private constant _ENTERED = 2;\r\n\r\n    uint256 private _status;\r\n\r\n    constructor() {\r\n        _status = _NOT_ENTERED;\r\n    }\r\n\r\n    /**\r\n     * @dev Prevents a contract from calling itself, directly or indirectly.\r\n     * Calling a `nonReentrant` function from another `nonReentrant`\r\n     * function is not supported. It is possible to prevent this from happening\r\n     * by making the `nonReentrant` function external, and making it call a\r\n     * `private` function that does the actual work.\r\n     */\r\n    modifier nonReentrant() {\r\n        _nonReentrantBefore();\r\n        _;\r\n        _nonReentrantAfter();\r\n    }\r\n\r\n    function _nonReentrantBefore() private {\r\n        // On the first call to nonReentrant, _status will be _NOT_ENTERED\r\n        require(_status != _ENTERED, \"ReentrancyGuard: reentrant call\");\r\n\r\n        // Any calls to nonReentrant after this point will fail\r\n        _status = _ENTERED;\r\n    }\r\n\r\n    function _nonReentrantAfter() private {\r\n        // By storing the original value once again, a refund is triggered (see\r\n        // https://eips.ethereum.org/EIPS/eip-2200)\r\n        _status = _NOT_ENTERED;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\r\n     * `nonReentrant` function in the call stack.\r\n     */\r\n    function _reentrancyGuardEntered() internal view returns (bool) {\r\n        return _status == _ENTERED;\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n/**\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n    function _msgSender() internal view virtual returns (address) {\r\n        return msg.sender;\r\n    }\r\n\r\n    function _msgData() internal view virtual returns (bytes calldata) {\r\n        return msg.data;\r\n    }\r\n\r\n    function _contextSuffixLength() internal view virtual returns (uint256) {\r\n        return 0;\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts/access/Ownable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n\r\n/**\r\n * @dev Contract module which provides a basic access control mechanism, where\r\n * there is an account (an owner) that can be granted exclusive access to\r\n * specific functions.\r\n *\r\n * The initial owner is set to the address provided by the deployer. This can\r\n * later be changed with {transferOwnership}.\r\n *\r\n * This module is used through inheritance. It will make available the modifier\r\n * `onlyOwner`, which can be applied to your functions to restrict their use to\r\n * the owner.\r\n */\r\nabstract contract Ownable is Context {\r\n    address private _owner;\r\n\r\n    /**\r\n     * @dev The caller account is not authorized to perform an operation.\r\n     */\r\n    error OwnableUnauthorizedAccount(address account);\r\n\r\n    /**\r\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\r\n     */\r\n    error OwnableInvalidOwner(address owner);\r\n\r\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\r\n\r\n    /**\r\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\r\n     */\r\n    constructor(address initialOwner) {\r\n        if (initialOwner == address(0)) {\r\n            revert OwnableInvalidOwner(address(0));\r\n        }\r\n        _transferOwnership(initialOwner);\r\n    }\r\n\r\n    /**\r\n     * @dev Throws if called by any account other than the owner.\r\n     */\r\n    modifier onlyOwner() {\r\n        _checkOwner();\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the address of the current owner.\r\n     */\r\n    function owner() public view virtual returns (address) {\r\n        return _owner;\r\n    }\r\n\r\n    /**\r\n     * @dev Throws if the sender is not the owner.\r\n     */\r\n    function _checkOwner() internal view virtual {\r\n        if (owner() != _msgSender()) {\r\n            revert OwnableUnauthorizedAccount(_msgSender());\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Leaves the contract without owner. It will not be possible to call\r\n     * `onlyOwner` functions. Can only be called by the current owner.\r\n     *\r\n     * NOTE: Renouncing ownership will leave the contract without an owner,\r\n     * thereby disabling any functionality that is only available to the owner.\r\n     */\r\n    function renounceOwnership() public virtual onlyOwner {\r\n        _transferOwnership(address(0));\r\n    }\r\n\r\n    /**\r\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\r\n     * Can only be called by the current owner.\r\n     */\r\n    function transferOwnership(address newOwner) public virtual onlyOwner {\r\n        if (newOwner == address(0)) {\r\n            revert OwnableInvalidOwner(address(0));\r\n        }\r\n        _transferOwnership(newOwner);\r\n    }\r\n\r\n    /**\r\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\r\n     * Internal function without access restriction.\r\n     */\r\n    function _transferOwnership(address newOwner) internal virtual {\r\n        address oldOwner = _owner;\r\n        _owner = newOwner;\r\n        emit OwnershipTransferred(oldOwner, newOwner);\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC20/IERC20.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n/**\r\n * @dev Interface of the ERC-20 standard as defined in the ERC.\r\n */\r\ninterface IERC20 {\r\n    /**\r\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\r\n     * another (`to`).\r\n     *\r\n     * Note that `value` may be zero.\r\n     */\r\n    event Transfer(address indexed from, address indexed to, uint256 value);\r\n\r\n    /**\r\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\r\n     * a call to {approve}. `value` is the new allowance.\r\n     */\r\n    event Approval(address indexed owner, address indexed spender, uint256 value);\r\n\r\n    /**\r\n     * @dev Returns the value of tokens in existence.\r\n     */\r\n    function totalSupply() external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Returns the value of tokens owned by `account`.\r\n     */\r\n    function balanceOf(address account) external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * Emits a {Transfer} event.\r\n     */\r\n    function transfer(address to, uint256 value) external returns (bool);\r\n\r\n    /**\r\n     * @dev Returns the remaining number of tokens that `spender` will be\r\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\r\n     * zero by default.\r\n     *\r\n     * This value changes when {approve} or {transferFrom} are called.\r\n     */\r\n    function allowance(address owner, address spender) external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\r\n     * caller's tokens.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\r\n     * that someone may use both the old and the new allowance by unfortunate\r\n     * transaction ordering. One possible solution to mitigate this race\r\n     * condition is to first reduce the spender's allowance to 0 and set the\r\n     * desired value afterwards:\r\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n     *\r\n     * Emits an {Approval} event.\r\n     */\r\n    function approve(address spender, uint256 value) external returns (bool);\r\n\r\n    /**\r\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\r\n     * allowance mechanism. `value` is then deducted from the caller's\r\n     * allowance.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * Emits a {Transfer} event.\r\n     */\r\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n\r\n/**\r\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\r\n */\r\ninterface IERC20Metadata is IERC20 {\r\n    /**\r\n     * @dev Returns the name of the token.\r\n     */\r\n    function name() external view returns (string memory);\r\n\r\n    /**\r\n     * @dev Returns the symbol of the token.\r\n     */\r\n    function symbol() external view returns (string memory);\r\n\r\n    /**\r\n     * @dev Returns the decimals places of the token.\r\n     */\r\n    function decimals() external view returns (uint8);\r\n}\r\n\r\n// File: @openzeppelin/contracts/interfaces/IERC20.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n\r\n// File: @openzeppelin/contracts/utils/introspection/IERC165.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n/**\r\n * @dev Interface of the ERC-165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n    /**\r\n     * @dev Returns true if this contract implements the interface defined by\r\n     * `interfaceId`. See the corresponding\r\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\r\n     * to learn more about how these ids are created.\r\n     *\r\n     * This function call must use less than 30 000 gas.\r\n     */\r\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/interfaces/IERC165.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n\r\n// File: @openzeppelin/contracts/interfaces/IERC1363.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n\r\n\r\n/**\r\n * @title IERC1363\r\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\r\n *\r\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\r\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\r\n */\r\ninterface IERC1363 is IERC20, IERC165 {\r\n    /*\r\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\r\n     * 0xb0202a11 ===\r\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\r\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\r\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\r\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\r\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\r\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\r\n     */\r\n\r\n    /**\r\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\r\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\r\n     * @param to The address which you want to transfer to.\r\n     * @param value The amount of tokens to be transferred.\r\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\r\n     */\r\n    function transferAndCall(address to, uint256 value) external returns (bool);\r\n\r\n    /**\r\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\r\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\r\n     * @param to The address which you want to transfer to.\r\n     * @param value The amount of tokens to be transferred.\r\n     * @param data Additional data with no specified format, sent in call to `to`.\r\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\r\n     */\r\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\r\n\r\n    /**\r\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\r\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\r\n     * @param from The address which you want to send tokens from.\r\n     * @param to The address which you want to transfer to.\r\n     * @param value The amount of tokens to be transferred.\r\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\r\n     */\r\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\r\n\r\n    /**\r\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\r\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\r\n     * @param from The address which you want to send tokens from.\r\n     * @param to The address which you want to transfer to.\r\n     * @param value The amount of tokens to be transferred.\r\n     * @param data Additional data with no specified format, sent in call to `to`.\r\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\r\n     */\r\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\r\n\r\n    /**\r\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\r\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\r\n     * @param spender The address which will spend the funds.\r\n     * @param value The amount of tokens to be spent.\r\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\r\n     */\r\n    function approveAndCall(address spender, uint256 value) external returns (bool);\r\n\r\n    /**\r\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\r\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\r\n     * @param spender The address which will spend the funds.\r\n     * @param value The amount of tokens to be spent.\r\n     * @param data Additional data with no specified format, sent in call to `spender`.\r\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\r\n     */\r\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)\r\n\r\npragma solidity ^0.8.20;\r\n\r\n\r\n\r\n/**\r\n * @title SafeERC20\r\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\r\n * contract returns false). Tokens that return no value (and instead revert or\r\n * throw on failure) are also supported, non-reverting calls are assumed to be\r\n * successful.\r\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\r\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\r\n */\r\nlibrary SafeERC20 {\r\n    /**\r\n     * @dev An operation with an ERC-20 token failed.\r\n     */\r\n    error SafeERC20FailedOperation(address token);\r\n\r\n    /**\r\n     * @dev Indicates a failed `decreaseAllowance` request.\r\n     */\r\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\r\n\r\n    /**\r\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\r\n     * non-reverting calls are assumed to be successful.\r\n     */\r\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\r\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\r\n    }\r\n\r\n    /**\r\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\r\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\r\n     */\r\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\r\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\r\n    }\r\n\r\n    /**\r\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\r\n     */\r\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\r\n        return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));\r\n    }\r\n\r\n    /**\r\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\r\n     */\r\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\r\n        return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, value)));\r\n    }\r\n\r\n    /**\r\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\r\n     * non-reverting calls are assumed to be successful.\r\n     *\r\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\r\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\r\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\r\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\r\n     */\r\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\r\n        uint256 oldAllowance = token.allowance(address(this), spender);\r\n        forceApprove(token, spender, oldAllowance + value);\r\n    }\r\n\r\n    /**\r\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\r\n     * value, non-reverting calls are assumed to be successful.\r\n     *\r\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\r\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\r\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\r\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\r\n     */\r\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\r\n        unchecked {\r\n            uint256 currentAllowance = token.allowance(address(this), spender);\r\n            if (currentAllowance < requestedDecrease) {\r\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\r\n            }\r\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\r\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\r\n     * to be set to zero before setting it to a non-zero value, such as USDT.\r\n     *\r\n     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\r\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\r\n     * set here.\r\n     */\r\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\r\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\r\n\r\n        if (!_callOptionalReturnBool(token, approvalCall)) {\r\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\r\n            _callOptionalReturn(token, approvalCall);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\r\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\r\n     * targeting contracts.\r\n     *\r\n     * Reverts if the returned value is other than `true`.\r\n     */\r\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\r\n        if (to.code.length == 0) {\r\n            safeTransfer(token, to, value);\r\n        } else if (!token.transferAndCall(to, value, data)) {\r\n            revert SafeERC20FailedOperation(address(token));\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\r\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\r\n     * targeting contracts.\r\n     *\r\n     * Reverts if the returned value is other than `true`.\r\n     */\r\n    function transferFromAndCallRelaxed(\r\n        IERC1363 token,\r\n        address from,\r\n        address to,\r\n        uint256 value,\r\n        bytes memory data\r\n    ) internal {\r\n        if (to.code.length == 0) {\r\n            safeTransferFrom(token, from, to, value);\r\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\r\n            revert SafeERC20FailedOperation(address(token));\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\r\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\r\n     * targeting contracts.\r\n     *\r\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\r\n     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\r\n     * once without retrying, and relies on the returned value to be true.\r\n     *\r\n     * Reverts if the returned value is other than `true`.\r\n     */\r\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\r\n        if (to.code.length == 0) {\r\n            forceApprove(token, to, value);\r\n        } else if (!token.approveAndCall(to, value, data)) {\r\n            revert SafeERC20FailedOperation(address(token));\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\r\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\r\n     * @param token The token targeted by the call.\r\n     * @param data The call data (encoded using abi.encode or one of its variants).\r\n     *\r\n     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\r\n     */\r\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\r\n        uint256 returnSize;\r\n        uint256 returnValue;\r\n        assembly (\"memory-safe\") {\r\n            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\r\n            // bubble errors\r\n            if iszero(success) {\r\n                let ptr := mload(0x40)\r\n                returndatacopy(ptr, 0, returndatasize())\r\n                revert(ptr, returndatasize())\r\n            }\r\n            returnSize := returndatasize()\r\n            returnValue := mload(0)\r\n        }\r\n\r\n        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\r\n            revert SafeERC20FailedOperation(address(token));\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\r\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\r\n     * @param token The token targeted by the call.\r\n     * @param data The call data (encoded using abi.encode or one of its variants).\r\n     *\r\n     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.\r\n     */\r\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\r\n        bool success;\r\n        uint256 returnSize;\r\n        uint256 returnValue;\r\n        assembly (\"memory-safe\") {\r\n            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\r\n            returnSize := returndatasize()\r\n            returnValue := mload(0)\r\n        }\r\n        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\r\n    }\r\n}\r\n\r\n// File: contracts/Revamp.sol\r\n\r\n\r\npragma solidity ^0.8.17;\r\n\r\n/*─────────────────────────────────────────────\r\n│                EXTERNAL LIBRARIES\r\n└─────────────────────────────────────────────*/\r\n\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * @title Revamp\r\n * @notice Decentralized protocol for token listing, revamp (burn), referral rewards, and native value redistribution.\r\n *         Designed to operate trustlessly, support DAO-style evolution, and integrate with external shareholding protocols.\r\n */\r\ncontract Revamp is ReentrancyGuard, Ownable {\r\n    using SafeERC20 for IERC20;\r\n\r\n    // ────────────────────────────────────────\r\n    //   CONSTANTS\r\n    // ────────────────────────────────────────\r\n    uint256 public constant PRECISION = 1e18;\r\n\r\n    // ────────────────────────────────────────\r\n    //   STRUCTS\r\n    // ────────────────────────────────────────\r\n    struct UserInfo {\r\n        uint256 totalContributed;    // Native sent by user\r\n        uint256 rewardDebt;          // Used for claim calculations\r\n        uint256 claimedSoFar;        // Total claimed rewards\r\n    }\r\n\r\n    struct TokenInfo {\r\n        uint256 rate;                // Fixed revamp rate (token per native)\r\n        address lister;              // Who listed this token\r\n        string logoUrl;\r\n        uint8 decimals;\r\n        string name;\r\n        string symbol;\r\n    }\r\n\r\n    struct TokenData {\r\n        address token;\r\n        uint256 rate;\r\n        address lister;\r\n        string logoUrl;\r\n        uint8 decimals;\r\n        string name;\r\n        string symbol;\r\n    }\r\n\r\n    // ────────────────────────────────────────\r\n    //   STATE VARIABLES\r\n    // ────────────────────────────────────────\r\n    // Referral\r\n    mapping(address => address) public referrerOf;\r\n    address public genesisAddress;\r\n    uint256 public referralFeePercent;       // 100 = 1%\r\n\r\n    // Listed tokens\r\n    mapping(address => TokenInfo) public tokenInfos;\r\n    address[] private listedTokens;\r\n\r\n    // Fees\r\n    uint256 public listingFee;\r\n    uint256 public claimFee;\r\n    uint256 public delistFee;\r\n    address public feeRecipient;\r\n    uint256 public totalListingFees;\r\n\r\n    // Revenue Splits\r\n    uint256 public nativeFeePercent;\r\n    address public nativeFeeRecipient;\r\n    uint256 public shareholdingFeePercent;\r\n    address public shareholdingFeeRecipient;\r\n\r\n    // Global reward/accounting\r\n    uint256 public totalNativeContributed;\r\n    uint256 public accRewardPerShare;\r\n\r\n    mapping(address => UserInfo) public users;\r\n    address[] public topParticipants;\r\n\r\n    // Revamp token (\"burn\" target)\r\n    IERC20 public revampToken;\r\n    address public tokenCollector; // Blackhole (or collector) address\r\n\r\n    // ────────────────────────────────────────\r\n    //   EVENTS\r\n    // ────────────────────────────────────────\r\n    event AssetListed(address indexed token, uint256 rate, string logoUrl, uint8 decimals, string name, string symbol, uint256 feePaid);\r\n    event TokenDelisted(address indexed token, address indexed caller, uint256 feePaid);\r\n    event Revamped(address indexed user, address indexed token, uint256 tokenAmount, uint256 nativeAmount);\r\n    event WithdrawDone(address indexed user, uint256 withdrawnAmount);\r\n    event Claimed(address indexed user, uint256 amount);\r\n    event Reinvested(address indexed user, uint256 amount);\r\n    event TokenMetadataUpdated(address indexed token, string newLogoUrl, uint256 newRate);\r\n    event ListingFeeUpdated(uint256 newFee);\r\n    event DelistFeeUpdated(uint256 newFee);\r\n    event ClaimFeeUpdated(uint256 newFee);\r\n    event NativeFeeUpdated(uint256 newNativeFeePercent, address newNativeFeeRecipient);\r\n    event ShareholdingFeeUpdated(uint256 newShareholdingFeePercent, address newShareholdingFeeRecipient);\r\n    event RevampTokensLocked(address indexed user, uint256 amount);\r\n    event TokenCollectorUpdated(address indexed newCollector);\r\n    event ReferralRegistered(address indexed user, address indexed referrer);\r\n    event ReferralRewardPaid(address indexed user, address indexed referrer, uint256 amount);\r\n    event ReferralFeeUpdated(uint256 newFeePercent);\r\n    event GenesisAddressUpdated(address newGenesis);\r\n\r\n    /*─────────────────────────────────────────────\r\n    │                CONSTRUCTOR\r\n    └─────────────────────────────────────────────*/\r\n    constructor(\r\n        uint256 _listingFee,\r\n        address _feeRecipient,\r\n        uint256 _claimFee,\r\n        uint256 _nativeFeePercent,\r\n        address _nativeFeeRecipient,\r\n        uint256 _shareholdingFeePercent,\r\n        address _shareholdingFeeRecipient,\r\n        address _revampToken,\r\n        uint256 _delistFee,\r\n        uint256 _referralFeePercent,\r\n        address _genesisAddress\r\n    ) Ownable(msg.sender) {\r\n        require(_feeRecipient != address(0), \"Invalid fee recipient\");\r\n        require(_nativeFeeRecipient != address(0), \"Invalid native fee recipient\");\r\n        require(_shareholdingFeeRecipient != address(0), \"Invalid shareholding fee recipient\");\r\n        require(_revampToken != address(0), \"Invalid revamp token\");\r\n        require(_genesisAddress != address(0), \"Invalid genesis\");\r\n        listingFee = _listingFee;\r\n        delistFee = _delistFee;\r\n        feeRecipient = _feeRecipient;\r\n        claimFee = _claimFee;\r\n        nativeFeePercent = _nativeFeePercent;\r\n        nativeFeeRecipient = _nativeFeeRecipient;\r\n        shareholdingFeePercent = _shareholdingFeePercent;\r\n        shareholdingFeeRecipient = _shareholdingFeeRecipient;\r\n        revampToken = IERC20(_revampToken);\r\n        referralFeePercent = _referralFeePercent;\r\n        genesisAddress = _genesisAddress;\r\n    }\r\n\r\n    /*─────────────────────────────────────────────\r\n    │           REFERRAL MANAGEMENT\r\n    └─────────────────────────────────────────────*/\r\n    function updateReferralFeePercent(uint256 newFeePercent) external onlyOwner {\r\n        require(newFeePercent <= 10000, \"Too high\");\r\n        referralFeePercent = newFeePercent;\r\n        emit ReferralFeeUpdated(newFeePercent);\r\n    }\r\n\r\n    function updateGenesisAddress(address newGenesis) external onlyOwner {\r\n        require(newGenesis != address(0), \"Zero genesis\");\r\n        genesisAddress = newGenesis;\r\n        emit GenesisAddressUpdated(newGenesis);\r\n    }\r\n\r\n    /*─────────────────────────────────────────────\r\n    │                LISTING LOGIC\r\n    └─────────────────────────────────────────────*/\r\n    function listNewAsset(\r\n        address token,\r\n        uint256 rate,\r\n        string calldata logoUrl\r\n    ) external payable nonReentrant {\r\n        require(msg.value >= listingFee, \"Fee too low\");\r\n        require(rate > 0, \"Rate > 0\");\r\n        require(token != address(0), \"Bad token\");\r\n        require(tokenInfos[token].lister == address(0), \"Already listed\");\r\n\r\n        IERC20Metadata erc = IERC20Metadata(token);\r\n        uint8 _decimals = erc.decimals();\r\n        string memory _name = erc.name();\r\n        string memory _symbol = erc.symbol();\r\n\r\n        tokenInfos[token] = TokenInfo({\r\n            rate: rate,\r\n            lister: msg.sender,\r\n            logoUrl: logoUrl,\r\n            decimals: _decimals,\r\n            name: _name,\r\n            symbol: _symbol\r\n        });\r\n        listedTokens.push(token);\r\n\r\n        totalListingFees += msg.value;\r\n        (bool success, ) = feeRecipient.call{value: msg.value}(\"\");\r\n        require(success, \"Fee transfer fail\");\r\n\r\n        emit AssetListed(token, rate, logoUrl, _decimals, _name, _symbol, msg.value);\r\n    }\r\n\r\n    function delistAsset(address token) external payable nonReentrant {\r\n        TokenInfo storage info = tokenInfos[token];\r\n        require(info.lister != address(0), \"Asset not listed\");\r\n        require(msg.value >= delistFee, \"Insufficient delist fee\");\r\n\r\n        totalListingFees += msg.value;\r\n        (bool success, ) = feeRecipient.call{value: msg.value}(\"\");\r\n        require(success, \"Fee transfer fail\");\r\n\r\n        delete tokenInfos[token];\r\n        for (uint256 i = 0; i < listedTokens.length; i++) {\r\n            if (listedTokens[i] == token) {\r\n                listedTokens[i] = listedTokens[listedTokens.length - 1];\r\n                listedTokens.pop();\r\n                break;\r\n            }\r\n        }\r\n\r\n        emit TokenDelisted(token, msg.sender, msg.value);\r\n    }\r\n\r\n    /*─────────────────────────────────────────────\r\n    │     REVAMP / REFERRAL / REWARD LOGIC\r\n    └─────────────────────────────────────────────*/\r\n    function revamp(address token, uint256 tokenAmount, address referral) external payable nonReentrant {\r\n        TokenInfo storage info = tokenInfos[token];\r\n        require(info.lister != address(0), \"Asset not listed\");\r\n        require(tokenAmount > 0, \"Tokens > 0\");\r\n        require(msg.value > 0, \"Native > 0\");\r\n        require(info.decimals > 0 && info.decimals <= 77, \"Bad decimals\");\r\n\r\n        IERC20(token).safeTransferFrom(msg.sender, address(this), tokenAmount);\r\n\r\n        // Set referral if first time\r\n        if (referrerOf[msg.sender] == address(0)) {\r\n            address actualRef = (referral != address(0) && referral != msg.sender)\r\n                ? referral\r\n                : genesisAddress;\r\n            referrerOf[msg.sender] = actualRef;\r\n            emit ReferralRegistered(msg.sender, actualRef);\r\n        }\r\n        address ref = referrerOf[msg.sender];\r\n\r\n        // Fee calculations and allocations\r\n        uint256 nativeFee = (msg.value * nativeFeePercent) / 10000;\r\n        uint256 shareFee = (msg.value * shareholdingFeePercent) / 10000;\r\n        uint256 referralFee = (msg.value * referralFeePercent) / 10000;\r\n        uint256 netValue = msg.value - nativeFee - shareFee - referralFee;\r\n\r\n        if (totalNativeContributed > 0) {\r\n            accRewardPerShare += (netValue * PRECISION) / totalNativeContributed;\r\n        }\r\n\r\n        UserInfo storage user = users[msg.sender];\r\n        user.totalContributed += netValue;\r\n        totalNativeContributed += netValue;\r\n        user.rewardDebt = (user.totalContributed * accRewardPerShare) / PRECISION;\r\n\r\n        _updateTopParticipants(msg.sender);\r\n\r\n        if (nativeFee > 0) {\r\n            (bool successNative, ) = nativeFeeRecipient.call{value: nativeFee}(\"\");\r\n            require(successNative, \"Native fee fail\");\r\n        }\r\n        if (shareFee > 0) {\r\n            (bool successShare, ) = shareholdingFeeRecipient.call{value: shareFee}(\"\");\r\n            require(successShare, \"Share fee fail\");\r\n        }\r\n        if (referralFee > 0 && ref != address(0)) {\r\n            (bool successRef, ) = payable(ref).call{value: referralFee}(\"\");\r\n            require(successRef, \"Referral pay fail\");\r\n            emit ReferralRewardPaid(msg.sender, ref, referralFee);\r\n        }\r\n\r\n        emit Revamped(msg.sender, token, tokenAmount, netValue);\r\n    }\r\n\r\n    function withdraw(uint256 amount) public nonReentrant {\r\n        require(amount > 0, \"Amt > 0\");\r\n        UserInfo storage user = users[msg.sender];\r\n        require(user.totalContributed > 0, \"No principal\");\r\n        uint256 pending = pendingReward(msg.sender);\r\n\r\n        uint256 fromReward;\r\n        uint256 fromPrincipal = 0;\r\n        if (pending >= amount) {\r\n            fromReward = amount;\r\n        } else {\r\n            fromReward = pending;\r\n            fromPrincipal = amount - pending;\r\n        }\r\n        require(fromPrincipal <= user.totalContributed, \"Exceeds bal\");\r\n\r\n        uint256 feePart = 0;\r\n        if (fromReward > 0) {\r\n            require(fromReward > claimFee, \"Claim fee high\");\r\n            feePart = claimFee;\r\n        }\r\n        uint256 toUser = (fromReward - feePart) + fromPrincipal;\r\n        user.claimedSoFar += fromReward;\r\n        if (fromPrincipal > 0) {\r\n            user.totalContributed -= fromPrincipal;\r\n            totalNativeContributed -= fromPrincipal;\r\n        }\r\n        user.rewardDebt = (user.totalContributed * accRewardPerShare) / PRECISION;\r\n        if (feePart > 0) {\r\n            (bool feeOk, ) = feeRecipient.call{value: feePart}(\"\");\r\n            require(feeOk, \"Fee tx fail\");\r\n        }\r\n        (bool ok, ) = payable(msg.sender).call{value: toUser}(\"\");\r\n        require(ok, \"Withdraw tx fail\");\r\n\r\n        emit WithdrawDone(msg.sender, amount);\r\n    }\r\n\r\n    function claim() external {\r\n        uint256 pending = pendingReward(msg.sender);\r\n        require(pending > 0, \"No pending\");\r\n        withdraw(pending);\r\n        emit Claimed(msg.sender, pending);\r\n    }\r\n\r\n    function reinvest() external nonReentrant {\r\n        uint256 pending = pendingReward(msg.sender);\r\n        require(pending > 0, \"No pending\");\r\n        UserInfo storage user = users[msg.sender];\r\n        user.claimedSoFar += pending;\r\n        user.totalContributed += pending;\r\n        totalNativeContributed += pending;\r\n        user.rewardDebt = (user.totalContributed * accRewardPerShare) / PRECISION;\r\n        emit Reinvested(msg.sender, pending);\r\n    }\r\n\r\n    function pendingReward(address userAddr) public view returns (uint256) {\r\n        UserInfo storage user = users[userAddr];\r\n        uint256 accumulated = (user.totalContributed * accRewardPerShare) / PRECISION;\r\n        uint256 rawPending = accumulated > user.rewardDebt ? accumulated - user.rewardDebt : 0;\r\n        uint256 maxReward = user.totalContributed * 2;\r\n        uint256 used = user.claimedSoFar;\r\n        if (used >= maxReward) return 0;\r\n        uint256 leftover = maxReward - used;\r\n        return rawPending > leftover ? leftover : rawPending;\r\n    }\r\n\r\n    /*─────────────────────────────────────────────\r\n    │         TOP PARTICIPANT TRACKING\r\n    └─────────────────────────────────────────────*/\r\n    function _updateTopParticipants(address userAddr) internal {\r\n        bool exists = false;\r\n        uint256 len = topParticipants.length;\r\n        for (uint256 i = 0; i < len; i++) {\r\n            if (topParticipants[i] == userAddr) {\r\n                exists = true;\r\n                break;\r\n            }\r\n        }\r\n        if (!exists) {\r\n            topParticipants.push(userAddr);\r\n        }\r\n        // Bubble sort: descending order\r\n        for (uint256 i = 0; i < topParticipants.length; i++) {\r\n            for (uint256 j = i + 1; j < topParticipants.length; j++) {\r\n                if (users[topParticipants[j]].totalContributed > users[topParticipants[i]].totalContributed) {\r\n                    address temp = topParticipants[i];\r\n                    topParticipants[i] = topParticipants[j];\r\n                    topParticipants[j] = temp;\r\n                }\r\n            }\r\n        }\r\n        if (topParticipants.length > 20) {\r\n            topParticipants.pop();\r\n        }\r\n    }\r\n\r\n    function getTopParticipants() external view returns (address[] memory addrs, uint256[] memory amounts) {\r\n        uint256 len = topParticipants.length;\r\n        addrs = new address[](len);\r\n        amounts = new uint256[](len);\r\n        for (uint256 i = 0; i < len; i++) {\r\n            addrs[i] = topParticipants[i];\r\n            amounts[i] = users[topParticipants[i]].totalContributed;\r\n        }\r\n    }\r\n\r\n    /*─────────────────────────────────────────────\r\n    │           VIEW / DATA HELPERS\r\n    └─────────────────────────────────────────────*/\r\n    function getAllListedTokens() external view returns (TokenData[] memory) {\r\n        uint256 len = listedTokens.length;\r\n        TokenData[] memory arr = new TokenData[](len);\r\n        for (uint256 i = 0; i < len; i++) {\r\n            address t = listedTokens[i];\r\n            TokenInfo storage info = tokenInfos[t];\r\n            arr[i] = TokenData({\r\n                token: t,\r\n                rate: info.rate,\r\n                lister: info.lister,\r\n                logoUrl: info.logoUrl,\r\n                decimals: info.decimals,\r\n                name: info.name,\r\n                symbol: info.symbol\r\n            });\r\n        }\r\n        return arr;\r\n    }\r\n\r\n    /*─────────────────────────────────────────────\r\n    │     ADMIN FUNCTIONS (FEES/CONFIG/ETC)\r\n    └─────────────────────────────────────────────*/\r\n    function updateListingFee(uint256 newFee) external onlyOwner {\r\n        listingFee = newFee;\r\n        emit ListingFeeUpdated(newFee);\r\n    }\r\n    function updateDelistFee(uint256 newFee) external onlyOwner {\r\n        delistFee = newFee;\r\n        emit DelistFeeUpdated(newFee);\r\n    }\r\n    function updateClaimFee(uint256 newFee) external onlyOwner {\r\n        claimFee = newFee;\r\n        emit ClaimFeeUpdated(newFee);\r\n    }\r\n    function updateNativeFee(uint256 newNativeFeePercent, address newRecipient) external onlyOwner {\r\n        nativeFeePercent = newNativeFeePercent;\r\n        nativeFeeRecipient = newRecipient;\r\n        emit NativeFeeUpdated(newNativeFeePercent, newRecipient);\r\n    }\r\n    function updateShareholdingFee(uint256 newShareholdingFeePercent, address newRecipient) external onlyOwner {\r\n        shareholdingFeePercent = newShareholdingFeePercent;\r\n        shareholdingFeeRecipient = newRecipient;\r\n        emit ShareholdingFeeUpdated(newShareholdingFeePercent, newRecipient);\r\n    }\r\n    function exportVitalData() external view onlyOwner returns (\r\n        uint256 _totalNativeContributed,\r\n        uint256 _accRewardPerShare,\r\n        uint256 _totalListingFees\r\n    ) {\r\n        _totalNativeContributed = totalNativeContributed;\r\n        _accRewardPerShare = accRewardPerShare;\r\n        _totalListingFees = totalListingFees;\r\n    }\r\n    function updateMyTokenMetadata(address token, string calldata newLogoUrl, uint256 newRate) external nonReentrant {\r\n        TokenInfo storage info = tokenInfos[token];\r\n        require(info.lister != address(0), \"Asset not listed\");\r\n        require(info.lister == msg.sender, \"Not lister\");\r\n        info.logoUrl = newLogoUrl;\r\n        info.rate = newRate;\r\n        emit TokenMetadataUpdated(token, newLogoUrl, newRate);\r\n    }\r\n    // Revamp token collector/lock\r\n    function updateTokenCollector(address newCollector) external onlyOwner {\r\n        require(newCollector != address(0), \"Invalid collector\");\r\n        tokenCollector = newCollector;\r\n        emit TokenCollectorUpdated(newCollector);\r\n    }\r\n    function lockRevampTokens(uint256 amount) external nonReentrant {\r\n        require(amount > 0, \"Amt > 0\");\r\n        require(tokenCollector != address(0), \"No collector set\");\r\n        revampToken.safeTransferFrom(msg.sender, tokenCollector, amount);\r\n        emit RevampTokensLocked(msg.sender, amount);\r\n    }\r\n\r\n    /*─────────────────────────────────────────────\r\n    │         RECEIVE NATIVE FALLBACK\r\n    └─────────────────────────────────────────────*/\r\n    receive() external payable {}\r\n\r\n    /*─────────────────────────────────────────────\r\n    │      OWNER RENOUNCE: IMMUTABLE MODE\r\n    └─────────────────────────────────────────────*/\r\n    function renounceTrustless() external onlyOwner {\r\n        renounceOwnership();\r\n        // This makes contract “trustless trust” (immutable): all owner-only functions disabled.\r\n    }\r\n}"}},"matchId":"28926819","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-05-15T05:48:16Z","match":"match","chainId":"56","address":"0x46280C1A2e17CfC151f50a885363408368BB163A"}