Skip to content

Client Code Update #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
54 changes: 51 additions & 3 deletions swagger_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@
from __future__ import absolute_import

# import apis into sdk package
from swagger_client.api.approve_controller_v_1_api import ApproveControllerV1Api
from swagger_client.api.approve_controller_v_2_api import ApproveControllerV2Api
from swagger_client.api.approve_api_v1_api import ApproveAPIV1Api
from swagger_client.api.approve_api_v2_api import ApproveAPIV2Api
from swagger_client.api.token_security_api_for_solana__beta_api import TokenSecurityAPIForSolanaBetaApi
from swagger_client.api.token_security_api_for_sui_api import TokenSecurityAPIForSuiApi
from swagger_client.api.transaction_simulation_for_solana_api import TransactionSimulationForSolanaApi
from swagger_client.api.contract_abi_controller_api import ContractAbiControllerApi
from swagger_client.api.dapp_controller_api import DappControllerApi
from swagger_client.api.defi_controller_api import DefiControllerApi
from swagger_client.api.lock_controller_api import LockControllerApi
from swagger_client.api.nft_controller_api import NftControllerApi
from swagger_client.api.token_controller_api import TokenControllerApi
from swagger_client.api.token_controller_v_1_api import TokenControllerV1Api
from swagger_client.api.token_controller_v1_api import TokenControllerV1Api
from swagger_client.api.website_controller_api import WebsiteControllerApi
# import ApiClient
from swagger_client.api_client import ApiClient
Expand All @@ -49,6 +53,8 @@
from swagger_client.models.get_defi_info_response_result_owner import GetDefiInfoResponseResultOwner
from swagger_client.models.json_object import JSONObject
from swagger_client.models.map_string_string import MapStringString
from swagger_client.models.new_allowance import NewAllowance
from swagger_client.models.nft_locker_response import NftLockerResponse
from swagger_client.models.parse_abi_data_request import ParseAbiDataRequest
from swagger_client.models.parse_abi_data_response import ParseAbiDataResponse
from swagger_client.models.response_wrapper_address_contract import ResponseWrapperAddressContract
Expand All @@ -71,6 +77,7 @@
from swagger_client.models.response_wrapper_list_get_chains_list_result import ResponseWrapperListGetChainsListResult
from swagger_client.models.response_wrapper_list_json_object import ResponseWrapperListJSONObject
from swagger_client.models.response_wrapper_map_string_string import ResponseWrapperMapStringString
from swagger_client.models.response_wrapper_nft_locker_response import ResponseWrapperNftLockerResponse
from swagger_client.models.response_wrapper_parse_abi_data_response import ResponseWrapperParseAbiDataResponse
from swagger_client.models.response_wrapper_phishing_site import ResponseWrapperPhishingSite
from swagger_client.models.response_wrapper_phishing_site_result import ResponseWrapperPhishingSiteResult
Expand All @@ -80,7 +87,37 @@
from swagger_client.models.response_wrapper_phishing_site_result_nft_risk_self_destruct import ResponseWrapperPhishingSiteResultNftRiskSelfDestruct
from swagger_client.models.response_wrapper_phishing_site_result_nft_risk_transfer_without_approval import ResponseWrapperPhishingSiteResultNftRiskTransferWithoutApproval
from swagger_client.models.response_wrapper_phishing_site_result_website_contract_security import ResponseWrapperPhishingSiteResultWebsiteContractSecurity
from swagger_client.models.response_wrapper_solana_prerun_tx_response import ResponseWrapperSolanaPrerunTxResponse
from swagger_client.models.response_wrapper_solana_token_security import ResponseWrapperSolanaTokenSecurity
from swagger_client.models.response_wrapper_solana_token_security_balance_mutable_authority import ResponseWrapperSolanaTokenSecurityBalanceMutableAuthority
from swagger_client.models.response_wrapper_solana_token_security_closable import ResponseWrapperSolanaTokenSecurityClosable
from swagger_client.models.response_wrapper_solana_token_security_closable_authority import ResponseWrapperSolanaTokenSecurityClosableAuthority
from swagger_client.models.response_wrapper_solana_token_security_creator import ResponseWrapperSolanaTokenSecurityCreator
from swagger_client.models.response_wrapper_solana_token_security_day import ResponseWrapperSolanaTokenSecurityDay
from swagger_client.models.response_wrapper_solana_token_security_default_account_state_upgradable import ResponseWrapperSolanaTokenSecurityDefaultAccountStateUpgradable
from swagger_client.models.response_wrapper_solana_token_security_dex import ResponseWrapperSolanaTokenSecurityDex
from swagger_client.models.response_wrapper_solana_token_security_freezable import ResponseWrapperSolanaTokenSecurityFreezable
from swagger_client.models.response_wrapper_solana_token_security_lp_holders import ResponseWrapperSolanaTokenSecurityLpHolders
from swagger_client.models.response_wrapper_solana_token_security_metadata import ResponseWrapperSolanaTokenSecurityMetadata
from swagger_client.models.response_wrapper_solana_token_security_metadata_mutable import ResponseWrapperSolanaTokenSecurityMetadataMutable
from swagger_client.models.response_wrapper_solana_token_security_mintable import ResponseWrapperSolanaTokenSecurityMintable
from swagger_client.models.response_wrapper_solana_token_security_month import ResponseWrapperSolanaTokenSecurityMonth
from swagger_client.models.response_wrapper_solana_token_security_result import ResponseWrapperSolanaTokenSecurityResult
from swagger_client.models.response_wrapper_solana_token_security_transfer_fee import ResponseWrapperSolanaTokenSecurityTransferFee
from swagger_client.models.response_wrapper_solana_token_security_transfer_fee_current_fee_rate import ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate
from swagger_client.models.response_wrapper_solana_token_security_transfer_fee_scheduled_fee_rate import ResponseWrapperSolanaTokenSecurityTransferFeeScheduledFeeRate
from swagger_client.models.response_wrapper_solana_token_security_transfer_fee_upgradable import ResponseWrapperSolanaTokenSecurityTransferFeeUpgradable
from swagger_client.models.response_wrapper_solana_token_security_transfer_hook import ResponseWrapperSolanaTokenSecurityTransferHook
from swagger_client.models.response_wrapper_solana_token_security_transfer_hook_upgradable import ResponseWrapperSolanaTokenSecurityTransferHookUpgradable
from swagger_client.models.response_wrapper_solana_token_security_week import ResponseWrapperSolanaTokenSecurityWeek
from swagger_client.models.response_wrapper_sui_token_security import ResponseWrapperSuiTokenSecurity
from swagger_client.models.response_wrapper_sui_token_security_blacklist import ResponseWrapperSuiTokenSecurityBlacklist
from swagger_client.models.response_wrapper_sui_token_security_contract_upgradeable import ResponseWrapperSuiTokenSecurityContractUpgradeable
from swagger_client.models.response_wrapper_sui_token_security_metadata_modifiable import ResponseWrapperSuiTokenSecurityMetadataModifiable
from swagger_client.models.response_wrapper_sui_token_security_mintable import ResponseWrapperSuiTokenSecurityMintable
from swagger_client.models.response_wrapper_sui_token_security_result import ResponseWrapperSuiTokenSecurityResult
from swagger_client.models.response_wrapper_ta_token_security_response import ResponseWrapperTaTokenSecurityResponse
from swagger_client.models.response_wrapper_token_locker_response import ResponseWrapperTokenLockerResponse
from swagger_client.models.response_wrapper_token_security import ResponseWrapperTokenSecurity
from swagger_client.models.response_wrapper_token_security_dex import ResponseWrapperTokenSecurityDex
from swagger_client.models.response_wrapper_token_security_fake_token import ResponseWrapperTokenSecurityFakeToken
Expand All @@ -90,4 +127,15 @@
from swagger_client.models.response_wrapper_token_security_nft_list import ResponseWrapperTokenSecurityNFTList
from swagger_client.models.response_wrapper_token_security_result import ResponseWrapperTokenSecurityResult
from swagger_client.models.response_wrapperobject import ResponseWrapperobject
from swagger_client.models.solana_allowance_upgrade import SolanaAllowanceUpgrade
from swagger_client.models.solana_ownership_change import SolanaOwnershipChange
from swagger_client.models.solana_prerun_tx_request import SolanaPrerunTxRequest
from swagger_client.models.solana_prerun_tx_response import SolanaPrerunTxResponse
from swagger_client.models.solana_tx_asset_change import SolanaTxAssetChange
from swagger_client.models.solana_tx_asset_changes import SolanaTxAssetChanges
from swagger_client.models.solana_tx_change_detail import SolanaTxChangeDetail
from swagger_client.models.solana_tx_sol_change import SolanaTxSolChange
from swagger_client.models.ta_nft_locker_lock_infoobject import TaNftLockerLockInfoobject
from swagger_client.models.ta_token_locker_lock_infoobject import TaTokenLockerLockInfoobject
from swagger_client.models.ta_token_security_response import TaTokenSecurityResponse
from swagger_client.models.token_locker_response import TokenLockerResponse
10 changes: 7 additions & 3 deletions swagger_client/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
# flake8: noqa

# import apis into api package
from swagger_client.api.approve_controller_v_1_api import ApproveControllerV1Api
from swagger_client.api.approve_controller_v_2_api import ApproveControllerV2Api
from swagger_client.api.approve_api_v1_api import ApproveAPIV1Api
from swagger_client.api.approve_api_v2_api import ApproveAPIV2Api
from swagger_client.api.token_security_api_for_solana__beta_api import TokenSecurityAPIForSolanaBetaApi
from swagger_client.api.token_security_api_for_sui_api import TokenSecurityAPIForSuiApi
from swagger_client.api.transaction_simulation_for_solana_api import TransactionSimulationForSolanaApi
from swagger_client.api.contract_abi_controller_api import ContractAbiControllerApi
from swagger_client.api.dapp_controller_api import DappControllerApi
from swagger_client.api.defi_controller_api import DefiControllerApi
from swagger_client.api.lock_controller_api import LockControllerApi
from swagger_client.api.nft_controller_api import NftControllerApi
from swagger_client.api.token_controller_api import TokenControllerApi
from swagger_client.api.token_controller_v_1_api import TokenControllerV1Api
from swagger_client.api.token_controller_v1_api import TokenControllerV1Api
from swagger_client.api.website_controller_api import WebsiteControllerApi
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from swagger_client.api_client import ApiClient


class ApproveControllerV1Api(object):
class ApproveAPIV1Api(object):
"""NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.
Expand All @@ -42,8 +42,8 @@ def address_contract_using_get1(self, address, **kwargs): # noqa: E501

:param async_req bool
:param str address: address (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
: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; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; \"solana\" means Solana; Solana and Tron address are case-sensitive;
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:param str chain_id: The chain_id of the blockchain. To check the corresponding blockchain name for a given chain_id, please visit: https://docs.gopluslabs.io/reference/response-details-9
:return: ResponseWrapperAddressContract
If the method is called asynchronously,
returns the request thread.
Expand All @@ -65,8 +65,8 @@ def address_contract_using_get1_with_http_info(self, address, **kwargs): # noqa

:param async_req bool
:param str address: address (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
: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; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; \"solana\" means Solana; Solana and Tron address are case-sensitive;
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:param str chain_id: The chain_id of the blockchain. To check the corresponding blockchain name for a given chain_id, please visit: https://docs.gopluslabs.io/reference/response-details-9
:return: ResponseWrapperAddressContract
If the method is called asynchronously,
returns the request thread.
Expand Down Expand Up @@ -144,7 +144,7 @@ def approval_contract_using_get(self, chain_id, contract_addresses, **kwargs):
:param async_req bool
:param str chain_id: Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)
:param str contract_addresses: Contract needs to be detected (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperContractApproveResponse
If the method is called asynchronously,
returns the request thread.
Expand All @@ -167,7 +167,7 @@ def approval_contract_using_get_with_http_info(self, chain_id, contract_addresse
:param async_req bool
:param str chain_id: Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)
:param str contract_addresses: Contract needs to be detected (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperContractApproveResponse
If the method is called asynchronously,
returns the request thread.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from swagger_client.api_client import ApiClient


class ApproveControllerV2Api(object):
class ApproveAPIV2Api(object):
"""NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.
Expand All @@ -44,7 +44,7 @@ def address_nft1155_approve_list_using_get1(self, addresses, chain_id, **kwargs)
:param async_req bool
:param str addresses: contract address (required)
:param str chain_id: chain id (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperListApproveNFT1155ListResponse
If the method is called asynchronously,
returns the request thread.
Expand All @@ -68,7 +68,7 @@ def address_nft1155_approve_list_using_get1_with_http_info(self, addresses, chai
:param async_req bool
:param str addresses: contract address (required)
:param str chain_id: chain id (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperListApproveNFT1155ListResponse
If the method is called asynchronously,
returns the request thread.
Expand Down Expand Up @@ -151,7 +151,7 @@ def address_nft721_approve_list_using_get1(self, addresses, chain_id, **kwargs):
:param async_req bool
:param str addresses: contract address (required)
:param str chain_id: chain id (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperListApproveNFTListResponse
If the method is called asynchronously,
returns the request thread.
Expand All @@ -175,7 +175,7 @@ def address_nft721_approve_list_using_get1_with_http_info(self, addresses, chain
:param async_req bool
:param str addresses: contract address (required)
:param str chain_id: chain id (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperListApproveNFTListResponse
If the method is called asynchronously,
returns the request thread.
Expand Down Expand Up @@ -258,7 +258,7 @@ def address_token_approve_list_using_get1(self, addresses, chain_id, **kwargs):
:param async_req bool
:param str addresses: contract address (required)
:param str chain_id: chain id (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperListApproveTokenOutListResponse
If the method is called asynchronously,
returns the request thread.
Expand All @@ -282,7 +282,7 @@ def address_token_approve_list_using_get1_with_http_info(self, addresses, chain_
:param async_req bool
:param str addresses: contract address (required)
:param str chain_id: chain id (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperListApproveTokenOutListResponse
If the method is called asynchronously,
returns the request thread.
Expand Down
4 changes: 2 additions & 2 deletions swagger_client/api/contract_abi_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_abi_data_info_using_post(self, body, **kwargs): # noqa: E501

:param async_req bool
:param ParseAbiDataRequest body: abiDataRequest (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperParseAbiDataResponse
If the method is called asynchronously,
returns the request thread.
Expand All @@ -64,7 +64,7 @@ def get_abi_data_info_using_post_with_http_info(self, body, **kwargs): # noqa:

:param async_req bool
:param ParseAbiDataRequest body: abiDataRequest (required)
:param str authorization: Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
:param str authorization: Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
:return: ResponseWrapperParseAbiDataResponse
If the method is called asynchronously,
returns the request thread.
Expand Down
Loading
Loading