{
  "openrpc": "1.2.6",
  "info": {
    "title": "ComprehensiveTypes",
    "version": "1.0.0",
    "description": "JSON-RPC interface generated from the Solidity ABI."
  },
  "methods": [
    {
      "name": "rpc.discover",
      "summary": "Returns the OpenRPC schema of this API.",
      "params": [],
      "result": {
        "name": "OpenRPC Schema",
        "schema": {
          "$ref": "#/result"
        }
      }
    },
    {
      "name": "abi.discover",
      "summary": "Returns the ABI of the smart contract.",
      "params": [],
      "result": {
        "name": "ABI",
        "schema": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    {
      "name": "compute_addressFunction",
      "summary": "Function addressFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "addr",
          "required": true,
          "schema": {
            "title": "Address",
            "description": "20-byte Ethereum address, 0x-prefixed.",
            "type": "string",
            "format": "address",
            "pattern": "^0x[0-9a-fA-F]{40}$",
            "examples": [
              "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C758dFe"
            ]
          }
        },
        {
          "name": "payableAddr",
          "required": true,
          "schema": {
            "title": "Address",
            "description": "20-byte Ethereum address, 0x-prefixed.",
            "type": "string",
            "format": "address",
            "pattern": "^0x[0-9a-fA-F]{40}$",
            "examples": [
              "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C758dFe"
            ]
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(address,address)",
          "items": [
            {
              "title": "Address",
              "description": "20-byte Ethereum address, 0x-prefixed.",
              "type": "string",
              "format": "address",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "examples": [
                "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C758dFe"
              ]
            },
            {
              "title": "Address",
              "description": "20-byte Ethereum address, 0x-prefixed.",
              "type": "string",
              "format": "address",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "examples": [
                "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C758dFe"
              ]
            }
          ],
          "minItems": 2,
          "maxItems": 2
        }
      }
    },
    {
      "name": "compute_booleanFunction",
      "summary": "Function booleanFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "flag",
          "required": true,
          "schema": {
            "type": "boolean",
            "format": "bool",
            "description": "Boolean value"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "boolean",
          "format": "bool",
          "description": "Boolean value"
        }
      }
    },
    {
      "name": "compute_bytesFunction",
      "summary": "Function bytesFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "data",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "string",
          "format": "bytes",
          "pattern": "^0x[0-9a-fA-F]*$",
          "description": "Hex-encoded bytes"
        }
      }
    },
    {
      "name": "compute_calldataFunction",
      "summary": "Function calldataFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "calldataArray",
          "required": true,
          "schema": {
            "title": "uint256[]",
            "description": "uint256[] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "calldataString",
          "required": true,
          "schema": {
            "type": "string",
            "format": "string",
            "description": "UTF-8 string"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(uint256[],string)",
          "items": [
            {
              "title": "uint256[]",
              "description": "uint256[] integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256[]",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "type": "string",
              "format": "string",
              "description": "UTF-8 string"
            }
          ],
          "minItems": 2,
          "maxItems": 2
        }
      }
    },
    {
      "name": "compute_contractTypeFunction",
      "summary": "View function contractTypeFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "contract_",
          "required": true,
          "schema": {
            "title": "Address",
            "description": "20-byte Ethereum address, 0x-prefixed.",
            "type": "string",
            "format": "address",
            "pattern": "^0x[0-9a-fA-F]{40}$",
            "examples": [
              "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C758dFe"
            ]
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "title": "Address",
          "description": "20-byte Ethereum address, 0x-prefixed.",
          "type": "string",
          "format": "address",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "examples": [
            "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C758dFe"
          ]
        }
      }
    },
    {
      "name": "compute_dynamicArrayFunction",
      "summary": "Function dynamicArrayFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "uintArray",
          "required": true,
          "schema": {
            "title": "uint256[]",
            "description": "uint256[] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "stringArray",
          "required": true,
          "schema": {
            "type": "string",
            "format": "string[]",
            "description": "Solidity type: string[]"
          }
        },
        {
          "name": "bytesArray",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes[]",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes[]"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(uint256[],string[],bytes[])",
          "items": [
            {
              "title": "uint256[]",
              "description": "uint256[] integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256[]",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "type": "string",
              "format": "string[]",
              "description": "Solidity type: string[]"
            },
            {
              "type": "string",
              "format": "bytes[]",
              "pattern": "^0x[0-9a-fA-F]*$",
              "description": "Hex-encoded bytes[]"
            }
          ],
          "minItems": 3,
          "maxItems": 3
        }
      }
    },
    {
      "name": "compute_enumFunction",
      "summary": "Function enumFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "status",
          "required": true,
          "schema": {
            "title": "uint8",
            "description": "uint8 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint8",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "title": "uint8",
          "description": "uint8 integer, serialized as a hex string.",
          "type": "string",
          "format": "uint8",
          "pattern": "^0x[0-9a-fA-F]+$",
          "examples": [
            "0x2386F26FC10000"
          ]
        }
      }
    },
    {
      "name": "compute_fixedArrayFunction",
      "summary": "Function fixedArrayFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "fixedUintArray",
          "required": true,
          "schema": {
            "title": "uint256[5]",
            "description": "uint256[5] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[5]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "fixedBytesArray",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes32[3]",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes32[3]"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(uint256[5],bytes32[3])",
          "items": [
            {
              "title": "uint256[5]",
              "description": "uint256[5] integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256[5]",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "type": "string",
              "format": "bytes32[3]",
              "pattern": "^0x[0-9a-fA-F]*$",
              "description": "Hex-encoded bytes32[3]"
            }
          ],
          "minItems": 2,
          "maxItems": 2
        }
      }
    },
    {
      "name": "compute_fixedBytesFunction",
      "summary": "Function fixedBytesFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "b1",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes1",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes1"
          }
        },
        {
          "name": "b2",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes2",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes2"
          }
        },
        {
          "name": "b4",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes4",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes4"
          }
        },
        {
          "name": "b8",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes8",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes8"
          }
        },
        {
          "name": "b16",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes16",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes16"
          }
        },
        {
          "name": "b32",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes32",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes32"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(bytes1,bytes2,bytes4,bytes8,bytes16,bytes32)",
          "items": [
            {
              "type": "string",
              "format": "bytes1",
              "pattern": "^0x[0-9a-fA-F]*$",
              "description": "Hex-encoded bytes1"
            },
            {
              "type": "string",
              "format": "bytes2",
              "pattern": "^0x[0-9a-fA-F]*$",
              "description": "Hex-encoded bytes2"
            },
            {
              "type": "string",
              "format": "bytes4",
              "pattern": "^0x[0-9a-fA-F]*$",
              "description": "Hex-encoded bytes4"
            },
            {
              "type": "string",
              "format": "bytes8",
              "pattern": "^0x[0-9a-fA-F]*$",
              "description": "Hex-encoded bytes8"
            },
            {
              "type": "string",
              "format": "bytes16",
              "pattern": "^0x[0-9a-fA-F]*$",
              "description": "Hex-encoded bytes16"
            },
            {
              "type": "string",
              "format": "bytes32",
              "pattern": "^0x[0-9a-fA-F]*$",
              "description": "Hex-encoded bytes32"
            }
          ],
          "minItems": 6,
          "maxItems": 6
        }
      }
    },
    {
      "name": "compute_kitchenSinkFunction",
      "summary": "Function kitchenSinkFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "flag",
          "required": true,
          "schema": {
            "type": "boolean",
            "format": "bool",
            "description": "Boolean value"
          }
        },
        {
          "name": "number",
          "required": true,
          "schema": {
            "title": "Uint256",
            "description": "uint256 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "addr",
          "required": true,
          "schema": {
            "title": "Address",
            "description": "20-byte Ethereum address, 0x-prefixed.",
            "type": "string",
            "format": "address",
            "pattern": "^0x[0-9a-fA-F]{40}$",
            "examples": [
              "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C758dFe"
            ]
          }
        },
        {
          "name": "hash",
          "required": true,
          "schema": {
            "type": "string",
            "format": "bytes32",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes32"
          }
        },
        {
          "name": "status",
          "required": true,
          "schema": {
            "title": "uint8",
            "description": "uint8 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint8",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "text",
          "required": true,
          "schema": {
            "type": "string",
            "format": "string",
            "description": "UTF-8 string"
          }
        },
        {
          "name": "array",
          "required": true,
          "schema": {
            "title": "uint256[]",
            "description": "uint256[] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "struct_",
          "required": true,
          "schema": {
            "$ref": "#/components/schemas/BasicStruct"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(bool,uint256,string,tuple)",
          "items": [
            {
              "type": "boolean",
              "format": "bool",
              "description": "Boolean value"
            },
            {
              "title": "Uint256",
              "description": "uint256 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "type": "string",
              "format": "string",
              "description": "UTF-8 string"
            },
            {
              "$ref": "#/components/schemas/BasicStruct"
            }
          ],
          "minItems": 4,
          "maxItems": 4
        }
      }
    },
    {
      "name": "compute_memoryFunction",
      "summary": "Function memoryFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "memArray",
          "required": true,
          "schema": {
            "title": "uint256[]",
            "description": "uint256[] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "memString",
          "required": true,
          "schema": {
            "type": "string",
            "format": "string",
            "description": "UTF-8 string"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(uint256[],string)",
          "items": [
            {
              "title": "uint256[]",
              "description": "uint256[] integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256[]",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "type": "string",
              "format": "string",
              "description": "UTF-8 string"
            }
          ],
          "minItems": 2,
          "maxItems": 2
        }
      }
    },
    {
      "name": "compute_multiDimensionalArrayFunction",
      "summary": "Function multiDimensionalArrayFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "twoDArray",
          "required": true,
          "schema": {
            "title": "uint256[][]",
            "description": "uint256[][] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[][]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "fixedMultiArray",
          "required": true,
          "schema": {
            "title": "uint256[3][4]",
            "description": "uint256[3][4] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[3][4]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(uint256[][],uint256[3][4])",
          "items": [
            {
              "title": "uint256[][]",
              "description": "uint256[][] integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256[][]",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "uint256[3][4]",
              "description": "uint256[3][4] integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256[3][4]",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            }
          ],
          "minItems": 2,
          "maxItems": 2
        }
      }
    },
    {
      "name": "compute_namedReturnsFunction",
      "summary": "Function namedReturnsFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "input",
          "required": true,
          "schema": {
            "title": "Uint256",
            "description": "uint256 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(uint256,bool,string)",
          "items": [
            {
              "title": "Uint256",
              "description": "uint256 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "type": "boolean",
              "format": "bool",
              "description": "Boolean value"
            },
            {
              "type": "string",
              "format": "string",
              "description": "UTF-8 string"
            }
          ],
          "minItems": 3,
          "maxItems": 3
        }
      }
    },
    {
      "name": "compute_signedIntegerFunction",
      "summary": "Function signedIntegerFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "i8",
          "required": true,
          "schema": {
            "title": "int8",
            "description": "int8 integer, serialized as a hex string.",
            "type": "string",
            "format": "int8",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "i16",
          "required": true,
          "schema": {
            "title": "int16",
            "description": "int16 integer, serialized as a hex string.",
            "type": "string",
            "format": "int16",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "i32",
          "required": true,
          "schema": {
            "title": "int32",
            "description": "int32 integer, serialized as a hex string.",
            "type": "string",
            "format": "int32",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "i64",
          "required": true,
          "schema": {
            "title": "int64",
            "description": "int64 integer, serialized as a hex string.",
            "type": "string",
            "format": "int64",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "i128",
          "required": true,
          "schema": {
            "title": "int128",
            "description": "int128 integer, serialized as a hex string.",
            "type": "string",
            "format": "int128",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "i256",
          "required": true,
          "schema": {
            "title": "int256",
            "description": "int256 integer, serialized as a hex string.",
            "type": "string",
            "format": "int256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "defaultInt",
          "required": true,
          "schema": {
            "title": "int256",
            "description": "int256 integer, serialized as a hex string.",
            "type": "string",
            "format": "int256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(int8,int16,int32,int64,int128,int256,int256)",
          "items": [
            {
              "title": "int8",
              "description": "int8 integer, serialized as a hex string.",
              "type": "string",
              "format": "int8",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "int16",
              "description": "int16 integer, serialized as a hex string.",
              "type": "string",
              "format": "int16",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "int32",
              "description": "int32 integer, serialized as a hex string.",
              "type": "string",
              "format": "int32",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "int64",
              "description": "int64 integer, serialized as a hex string.",
              "type": "string",
              "format": "int64",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "int128",
              "description": "int128 integer, serialized as a hex string.",
              "type": "string",
              "format": "int128",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "int256",
              "description": "int256 integer, serialized as a hex string.",
              "type": "string",
              "format": "int256",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "int256",
              "description": "int256 integer, serialized as a hex string.",
              "type": "string",
              "format": "int256",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            }
          ],
          "minItems": 7,
          "maxItems": 7
        }
      }
    },
    {
      "name": "compute_stringFunction",
      "summary": "Function stringFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "text",
          "required": true,
          "schema": {
            "type": "string",
            "format": "string",
            "description": "UTF-8 string"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "string",
          "format": "string",
          "description": "UTF-8 string"
        }
      }
    },
    {
      "name": "compute_structArrayFunction",
      "summary": "Function structArrayFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "structArray",
          "required": true,
          "schema": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BasicStruct"
            }
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/BasicStruct"
          }
        }
      }
    },
    {
      "name": "compute_structFunction",
      "summary": "Function structFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "basic",
          "required": true,
          "schema": {
            "$ref": "#/components/schemas/BasicStruct"
          }
        },
        {
          "name": "nested",
          "required": true,
          "schema": {
            "$ref": "#/components/schemas/NestedStruct"
          }
        },
        {
          "name": "complex",
          "required": true,
          "schema": {
            "$ref": "#/components/schemas/ComplexStruct"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(tuple,tuple,tuple)",
          "items": [
            {
              "$ref": "#/components/schemas/BasicStruct"
            },
            {
              "$ref": "#/components/schemas/NestedStruct"
            },
            {
              "$ref": "#/components/schemas/ComplexStruct"
            }
          ],
          "minItems": 3,
          "maxItems": 3
        }
      }
    },
    {
      "name": "compute_tupleFunction",
      "summary": "Function tupleFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "a",
          "required": true,
          "schema": {
            "title": "Uint256",
            "description": "uint256 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "b",
          "required": true,
          "schema": {
            "type": "string",
            "format": "string",
            "description": "UTF-8 string"
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(uint256,string,bool)",
          "items": [
            {
              "title": "Uint256",
              "description": "uint256 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "type": "string",
              "format": "string",
              "description": "UTF-8 string"
            },
            {
              "type": "boolean",
              "format": "bool",
              "description": "Boolean value"
            }
          ],
          "minItems": 3,
          "maxItems": 3
        }
      }
    },
    {
      "name": "compute_unsignedIntegerFunction",
      "summary": "Function unsignedIntegerFunction from IComprehensiveTypes",
      "paramStructure": "by-position",
      "params": [
        {
          "name": "u8",
          "required": true,
          "schema": {
            "title": "uint8",
            "description": "uint8 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint8",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "u16",
          "required": true,
          "schema": {
            "title": "uint16",
            "description": "uint16 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint16",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "u32",
          "required": true,
          "schema": {
            "title": "uint32",
            "description": "uint32 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint32",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "u64",
          "required": true,
          "schema": {
            "title": "uint64",
            "description": "uint64 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint64",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "u128",
          "required": true,
          "schema": {
            "title": "uint128",
            "description": "uint128 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint128",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "u256",
          "required": true,
          "schema": {
            "title": "Uint256",
            "description": "uint256 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        {
          "name": "defaultUint",
          "required": true,
          "schema": {
            "title": "Uint256",
            "description": "uint256 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        }
      ],
      "result": {
        "name": "result",
        "schema": {
          "type": "array",
          "format": "tuple(uint8,uint16,uint32,uint64,uint128,uint256,uint256)",
          "items": [
            {
              "title": "uint8",
              "description": "uint8 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint8",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "uint16",
              "description": "uint16 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint16",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "uint32",
              "description": "uint32 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint32",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "uint64",
              "description": "uint64 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint64",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "uint128",
              "description": "uint128 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint128",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "Uint256",
              "description": "uint256 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            },
            {
              "title": "Uint256",
              "description": "uint256 integer, serialized as a hex string.",
              "type": "string",
              "format": "uint256",
              "pattern": "^0x[0-9a-fA-F]+$",
              "examples": [
                "0x2386F26FC10000"
              ]
            }
          ],
          "minItems": 7,
          "maxItems": 7
        }
      }
    }
  ],
  "components": {
    "schemas": {
      "BasicStruct": {
        "type": "object",
        "title": "BasicStruct",
        "description": "Solidity struct BasicStruct",
        "properties": {
          "id": {
            "title": "Uint256",
            "description": "uint256 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          },
          "name": {
            "type": "string",
            "format": "string",
            "description": "UTF-8 string"
          },
          "active": {
            "type": "boolean",
            "format": "bool",
            "description": "Boolean value"
          }
        },
        "required": [
          "id",
          "name",
          "active"
        ]
      },
      "NestedStruct": {
        "type": "object",
        "title": "NestedStruct",
        "description": "Solidity struct NestedStruct",
        "properties": {
          "basic": {
            "$ref": "#/components/schemas/BasicStruct"
          },
          "numbers": {
            "title": "uint256[]",
            "description": "uint256[] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        "required": [
          "basic",
          "numbers"
        ]
      },
      "ComplexStruct": {
        "type": "object",
        "title": "ComplexStruct",
        "description": "Solidity struct ComplexStruct",
        "properties": {
          "owner": {
            "title": "Address",
            "description": "20-byte Ethereum address, 0x-prefixed.",
            "type": "string",
            "format": "address",
            "pattern": "^0x[0-9a-fA-F]{40}$",
            "examples": [
              "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C758dFe"
            ]
          },
          "timestamp": {
            "title": "Uint256",
            "description": "uint256 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          },
          "hash": {
            "type": "string",
            "format": "bytes32",
            "pattern": "^0x[0-9a-fA-F]*$",
            "description": "Hex-encoded bytes32"
          },
          "dynamicArray": {
            "title": "uint256[]",
            "description": "uint256[] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          },
          "fixedArray": {
            "title": "uint256[5]",
            "description": "uint256[5] integer, serialized as a hex string.",
            "type": "string",
            "format": "uint256[5]",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          },
          "status": {
            "title": "uint8",
            "description": "uint8 integer, serialized as a hex string.",
            "type": "string",
            "format": "uint8",
            "pattern": "^0x[0-9a-fA-F]+$",
            "examples": [
              "0x2386F26FC10000"
            ]
          }
        },
        "required": [
          "owner",
          "timestamp",
          "hash",
          "dynamicArray",
          "fixedArray",
          "status"
        ]
      }
    }
  }
}
