From affa6e96ab78ef80495bf248e4504b21143f5338 Mon Sep 17 00:00:00 2001 From: GoPlusBot Date: Thu, 27 Jul 2023 08:37:25 +0000 Subject: [PATCH] Update client code for 01ff9dd728daca09da03cb578a7d9193c3b3dca4 --- .../api/approve_controller_v_2_api.py | 18 ++++++++++++------ swagger_client/api/token_controller_v_1_api.py | 4 ++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/swagger_client/api/approve_controller_v_2_api.py b/swagger_client/api/approve_controller_v_2_api.py index 527de21..6b4aed5 100644 --- a/swagger_client/api/approve_controller_v_2_api.py +++ b/swagger_client/api/approve_controller_v_2_api.py @@ -33,8 +33,9 @@ def __init__(self, api_client=None): self.api_client = api_client def address_nft1155_approve_list_using_get1(self, addresses, chain_id, **kwargs): # noqa: E501 - """Check risk of all erc1155 approvals under one EOA. # noqa: E501 + """Returns the ERC-1155 approvals of an EOA address and associated risk items. # noqa: E501 + Reports the outstanding token approvals issued to ERC-1155 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.address_nft1155_approve_list_using_get1(addresses, chain_id, async_req=True) @@ -56,8 +57,9 @@ def address_nft1155_approve_list_using_get1(self, addresses, chain_id, **kwargs) return data def address_nft1155_approve_list_using_get1_with_http_info(self, addresses, chain_id, **kwargs): # noqa: E501 - """Check risk of all erc1155 approvals under one EOA. # noqa: E501 + """Returns the ERC-1155 approvals of an EOA address and associated risk items. # noqa: E501 + Reports the outstanding token approvals issued to ERC-1155 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.address_nft1155_approve_list_using_get1_with_http_info(addresses, chain_id, async_req=True) @@ -138,8 +140,9 @@ def address_nft1155_approve_list_using_get1_with_http_info(self, addresses, chai collection_formats=collection_formats) def address_nft721_approve_list_using_get1(self, addresses, chain_id, **kwargs): # noqa: E501 - """Check risk of all erc721 approvals under one EOA. # noqa: E501 + """Returns the ERC-721 approvals of an EOA address and associated risk items. # noqa: E501 + Reports the outstanding token approvals issued to ERC-721 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.address_nft721_approve_list_using_get1(addresses, chain_id, async_req=True) @@ -161,8 +164,9 @@ def address_nft721_approve_list_using_get1(self, addresses, chain_id, **kwargs): return data def address_nft721_approve_list_using_get1_with_http_info(self, addresses, chain_id, **kwargs): # noqa: E501 - """Check risk of all erc721 approvals under one EOA. # noqa: E501 + """Returns the ERC-721 approvals of an EOA address and associated risk items. # noqa: E501 + Reports the outstanding token approvals issued to ERC-721 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.address_nft721_approve_list_using_get1_with_http_info(addresses, chain_id, async_req=True) @@ -243,8 +247,9 @@ def address_nft721_approve_list_using_get1_with_http_info(self, addresses, chain collection_formats=collection_formats) def address_token_approve_list_using_get1(self, addresses, chain_id, **kwargs): # noqa: E501 - """Check risk of all erc20 approvals under one EOA. # noqa: E501 + """Returns the ERC-20 approvals of an EOA address and associated risk items. # noqa: E501 + Reports the outstanding token approvals issued to ERC-20 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.address_token_approve_list_using_get1(addresses, chain_id, async_req=True) @@ -266,8 +271,9 @@ def address_token_approve_list_using_get1(self, addresses, chain_id, **kwargs): return data def address_token_approve_list_using_get1_with_http_info(self, addresses, chain_id, **kwargs): # noqa: E501 - """Check risk of all erc20 approvals under one EOA. # noqa: E501 + """Returns the ERC-20 approvals of an EOA address and associated risk items. # noqa: E501 + Reports the outstanding token approvals issued to ERC-20 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.address_token_approve_list_using_get1_with_http_info(addresses, chain_id, async_req=True) diff --git a/swagger_client/api/token_controller_v_1_api.py b/swagger_client/api/token_controller_v_1_api.py index ad908b9..b94f5d7 100644 --- a/swagger_client/api/token_controller_v_1_api.py +++ b/swagger_client/api/token_controller_v_1_api.py @@ -134,7 +134,7 @@ def token_security_using_get1(self, chain_id, contract_addresses, **kwargs): # >>> result = thread.get() :param async_req bool - :param str chain_id: The chain_id of the blockchain. \"1\" means Ethereum; \"10\" means Optimism; \"25\" means Cronos; \"56\" means BSC; \"66\" means OKC; \"100\" means Gnosis; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"321\" means KCC; \"324\" means zkSync Era; \"10001\" means ETHW; \"201022\" means FON; \"42161\" means Arbitrum; \"43114\" means Avalanche; \"59140\" means Linea; \"1666600000\" means Harmony; \"tron\" means Tron. (required) + :param str chain_id: The chain_id of the blockchain. \"1\" means Ethereum; \"10\" means Optimism; \"25\" means Cronos; \"56\" means BSC; \"66\" means OKC; \"100\" means Gnosis; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"321\" means KCC; \"324\" means zkSync Era; \"10001\" means ETHW; \"201022\" means FON; \"42161\" means Arbitrum; \"43114\" means Avalanche; \"59144\" means Linea Mainet; \"59140\" means Linea Testnet; \"1666600000\" means Harmony; \"tron\" means Tron. (required) :param str contract_addresses: The contract address of tokens. (required) :param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) :return: ResponseWrapperTokenSecurity @@ -157,7 +157,7 @@ def token_security_using_get1_with_http_info(self, chain_id, contract_addresses, >>> result = thread.get() :param async_req bool - :param str chain_id: The chain_id of the blockchain. \"1\" means Ethereum; \"10\" means Optimism; \"25\" means Cronos; \"56\" means BSC; \"66\" means OKC; \"100\" means Gnosis; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"321\" means KCC; \"324\" means zkSync Era; \"10001\" means ETHW; \"201022\" means FON; \"42161\" means Arbitrum; \"43114\" means Avalanche; \"59140\" means Linea; \"1666600000\" means Harmony; \"tron\" means Tron. (required) + :param str chain_id: The chain_id of the blockchain. \"1\" means Ethereum; \"10\" means Optimism; \"25\" means Cronos; \"56\" means BSC; \"66\" means OKC; \"100\" means Gnosis; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"321\" means KCC; \"324\" means zkSync Era; \"10001\" means ETHW; \"201022\" means FON; \"42161\" means Arbitrum; \"43114\" means Avalanche; \"59144\" means Linea Mainet; \"59140\" means Linea Testnet; \"1666600000\" means Harmony; \"tron\" means Tron. (required) :param str contract_addresses: The contract address of tokens. (required) :param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) :return: ResponseWrapperTokenSecurity