Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions swagger_client/api/approve_controller_v_2_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions swagger_client/api/token_controller_v_1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down