Skip to content

Commit 0f87280

Browse files
committed
Update client code for 50ac326cbea671dbe3720dbc3349b81a3d57bda4
1 parent f174b66 commit 0f87280

File tree

56 files changed

+19179
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+19179
-76
lines changed

src/lib/client/Api/ApproveControllerV1Api.php renamed to src/lib/client/Api/ApproveAPIV1Api.php

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* ApproveControllerV1Api
3+
* ApproveAPIV1Api
44
* PHP version 5
55
*
66
* @category Class
@@ -39,14 +39,14 @@
3939
use Swagger\Client\ObjectSerializer;
4040

4141
/**
42-
* ApproveControllerV1Api Class Doc Comment
42+
* ApproveAPIV1Api Class Doc Comment
4343
*
4444
* @category Class
4545
* @package Swagger\Client
4646
* @author Swagger Codegen team
4747
* @link https://github.com/swagger-api/swagger-codegen
4848
*/
49-
class ApproveControllerV1Api
49+
class ApproveAPIV1Api
5050
{
5151
/**
5252
* @var ClientInterface
@@ -92,8 +92,8 @@ public function getConfig()
9292
* Check if the address is malicious
9393
*
9494
* @param string $address address (required)
95-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
96-
* @param string $chain_id The chain_id of the blockchain. \&quot;1\&quot; means Ethereum; \&quot;10\&quot; means Optimism; \&quot;25\&quot; means Cronos; \&quot;56\&quot; means BSC; \&quot;66\&quot; means OKC; \&quot;100\&quot; means Gnosis; \&quot;128\&quot; means HECO; \&quot;137\&quot; means Polygon; \&quot;250\&quot; means Fantom; \&quot;321\&quot; means KCC; \&quot;324\&quot; means zkSync Era; \&quot;10001\&quot; means ETHW; \&quot;201022\&quot; means FON; \&quot;42161\&quot; means Arbitrum; \&quot;43114\&quot; means Avalanche; \&quot;59140\&quot; means Linea; \&quot;tron\&quot; means Tron; \&quot;534352\&quot; means Scroll; \&quot;204\&quot; means opBNB; \&quot;solana\&quot; means Solana; Solana and Tron address are case-sensitive; (optional)
95+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
96+
* @param string $chain_id The chain_id of the blockchain. For the full list of supported chain IDs and their corresponding names, please refer to: https://docs.gopluslabs.io/reference/response-details-9 (optional)
9797
*
9898
* @throws \Swagger\Client\ApiException on non-2xx response
9999
* @throws \InvalidArgumentException
@@ -111,8 +111,8 @@ public function addressContractUsingGET1($address, $authorization = null, $chain
111111
* Check if the address is malicious
112112
*
113113
* @param string $address address (required)
114-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
115-
* @param string $chain_id The chain_id of the blockchain. \&quot;1\&quot; means Ethereum; \&quot;10\&quot; means Optimism; \&quot;25\&quot; means Cronos; \&quot;56\&quot; means BSC; \&quot;66\&quot; means OKC; \&quot;100\&quot; means Gnosis; \&quot;128\&quot; means HECO; \&quot;137\&quot; means Polygon; \&quot;250\&quot; means Fantom; \&quot;321\&quot; means KCC; \&quot;324\&quot; means zkSync Era; \&quot;10001\&quot; means ETHW; \&quot;201022\&quot; means FON; \&quot;42161\&quot; means Arbitrum; \&quot;43114\&quot; means Avalanche; \&quot;59140\&quot; means Linea; \&quot;tron\&quot; means Tron; \&quot;534352\&quot; means Scroll; \&quot;204\&quot; means opBNB; \&quot;solana\&quot; means Solana; Solana and Tron address are case-sensitive; (optional)
114+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
115+
* @param string $chain_id The chain_id of the blockchain. For the full list of supported chain IDs and their corresponding names, please refer to: https://docs.gopluslabs.io/reference/response-details-9 (optional)
116116
*
117117
* @throws \Swagger\Client\ApiException on non-2xx response
118118
* @throws \InvalidArgumentException
@@ -188,8 +188,8 @@ public function addressContractUsingGET1WithHttpInfo($address, $authorization =
188188
* Check if the address is malicious
189189
*
190190
* @param string $address address (required)
191-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
192-
* @param string $chain_id The chain_id of the blockchain. \&quot;1\&quot; means Ethereum; \&quot;10\&quot; means Optimism; \&quot;25\&quot; means Cronos; \&quot;56\&quot; means BSC; \&quot;66\&quot; means OKC; \&quot;100\&quot; means Gnosis; \&quot;128\&quot; means HECO; \&quot;137\&quot; means Polygon; \&quot;250\&quot; means Fantom; \&quot;321\&quot; means KCC; \&quot;324\&quot; means zkSync Era; \&quot;10001\&quot; means ETHW; \&quot;201022\&quot; means FON; \&quot;42161\&quot; means Arbitrum; \&quot;43114\&quot; means Avalanche; \&quot;59140\&quot; means Linea; \&quot;tron\&quot; means Tron; \&quot;534352\&quot; means Scroll; \&quot;204\&quot; means opBNB; \&quot;solana\&quot; means Solana; Solana and Tron address are case-sensitive; (optional)
191+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
192+
* @param string $chain_id The chain_id of the blockchain. For the full list of supported chain IDs and their corresponding names, please refer to: https://docs.gopluslabs.io/reference/response-details-9 (optional)
193193
*
194194
* @throws \InvalidArgumentException
195195
* @return \GuzzleHttp\Promise\PromiseInterface
@@ -210,8 +210,8 @@ function ($response) {
210210
* Check if the address is malicious
211211
*
212212
* @param string $address address (required)
213-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
214-
* @param string $chain_id The chain_id of the blockchain. \&quot;1\&quot; means Ethereum; \&quot;10\&quot; means Optimism; \&quot;25\&quot; means Cronos; \&quot;56\&quot; means BSC; \&quot;66\&quot; means OKC; \&quot;100\&quot; means Gnosis; \&quot;128\&quot; means HECO; \&quot;137\&quot; means Polygon; \&quot;250\&quot; means Fantom; \&quot;321\&quot; means KCC; \&quot;324\&quot; means zkSync Era; \&quot;10001\&quot; means ETHW; \&quot;201022\&quot; means FON; \&quot;42161\&quot; means Arbitrum; \&quot;43114\&quot; means Avalanche; \&quot;59140\&quot; means Linea; \&quot;tron\&quot; means Tron; \&quot;534352\&quot; means Scroll; \&quot;204\&quot; means opBNB; \&quot;solana\&quot; means Solana; Solana and Tron address are case-sensitive; (optional)
213+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
214+
* @param string $chain_id The chain_id of the blockchain. For the full list of supported chain IDs and their corresponding names, please refer to: https://docs.gopluslabs.io/reference/response-details-9 (optional)
215215
*
216216
* @throws \InvalidArgumentException
217217
* @return \GuzzleHttp\Promise\PromiseInterface
@@ -262,8 +262,8 @@ function ($exception) {
262262
* Create request for operation 'addressContractUsingGET1'
263263
*
264264
* @param string $address address (required)
265-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
266-
* @param string $chain_id The chain_id of the blockchain. \&quot;1\&quot; means Ethereum; \&quot;10\&quot; means Optimism; \&quot;25\&quot; means Cronos; \&quot;56\&quot; means BSC; \&quot;66\&quot; means OKC; \&quot;100\&quot; means Gnosis; \&quot;128\&quot; means HECO; \&quot;137\&quot; means Polygon; \&quot;250\&quot; means Fantom; \&quot;321\&quot; means KCC; \&quot;324\&quot; means zkSync Era; \&quot;10001\&quot; means ETHW; \&quot;201022\&quot; means FON; \&quot;42161\&quot; means Arbitrum; \&quot;43114\&quot; means Avalanche; \&quot;59140\&quot; means Linea; \&quot;tron\&quot; means Tron; \&quot;534352\&quot; means Scroll; \&quot;204\&quot; means opBNB; \&quot;solana\&quot; means Solana; Solana and Tron address are case-sensitive; (optional)
265+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
266+
* @param string $chain_id The chain_id of the blockchain. For the full list of supported chain IDs and their corresponding names, please refer to: https://docs.gopluslabs.io/reference/response-details-9 (optional)
267267
*
268268
* @throws \InvalidArgumentException
269269
* @return \GuzzleHttp\Psr7\Request
@@ -373,7 +373,7 @@ protected function addressContractUsingGET1Request($address, $authorization = nu
373373
*
374374
* @param string $chain_id Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)
375375
* @param string $contract_addresses Contract needs to be detected (required)
376-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
376+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
377377
*
378378
* @throws \Swagger\Client\ApiException on non-2xx response
379379
* @throws \InvalidArgumentException
@@ -392,7 +392,7 @@ public function approvalContractUsingGET($chain_id, $contract_addresses, $author
392392
*
393393
* @param string $chain_id Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)
394394
* @param string $contract_addresses Contract needs to be detected (required)
395-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
395+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
396396
*
397397
* @throws \Swagger\Client\ApiException on non-2xx response
398398
* @throws \InvalidArgumentException
@@ -469,7 +469,7 @@ public function approvalContractUsingGETWithHttpInfo($chain_id, $contract_addres
469469
*
470470
* @param string $chain_id Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)
471471
* @param string $contract_addresses Contract needs to be detected (required)
472-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
472+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
473473
*
474474
* @throws \InvalidArgumentException
475475
* @return \GuzzleHttp\Promise\PromiseInterface
@@ -491,7 +491,7 @@ function ($response) {
491491
*
492492
* @param string $chain_id Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)
493493
* @param string $contract_addresses Contract needs to be detected (required)
494-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
494+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
495495
*
496496
* @throws \InvalidArgumentException
497497
* @return \GuzzleHttp\Promise\PromiseInterface
@@ -543,7 +543,7 @@ function ($exception) {
543543
*
544544
* @param string $chain_id Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)
545545
* @param string $contract_addresses Contract needs to be detected (required)
546-
* @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
546+
* @param string $authorization Authorization token in the format: Bearer &lt;token&gt; (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...) (optional)
547547
*
548548
* @throws \InvalidArgumentException
549549
* @return \GuzzleHttp\Psr7\Request

0 commit comments

Comments
 (0)