From 0a6da70b0fd5b3552a9538b0b438f4cfc42eceeb Mon Sep 17 00:00:00 2001 From: GoPlus Bot <130978499+goplusbot@users.noreply.github.com> Date: Mon, 25 Dec 2023 14:55:39 +0800 Subject: [PATCH] Update client code for 6cf40a8d51fecb6ec59287329b50d7f8c69ff5d0 (#32) --- src/lib/client/Api/ApproveControllerV1Api.php | 10 +- src/lib/client/Api/NftControllerApi.php | 10 +- src/lib/client/Api/TokenControllerV1Api.php | 10 +- .../client/Model/GetAccessTokenRequest.php | 2 +- .../ResponseWrapperTokenSecurityFakeToken.php | 331 ++++++++++++ .../ResponseWrapperTokenSecurityHolders.php | 480 ++++++++++++++++++ .../ResponseWrapperTokenSecurityLpHolders.php | 30 ++ .../ResponseWrapperTokenSecurityNFTList.php | 420 +++++++++++++++ .../ResponseWrapperTokenSecurityResult.php | 36 +- 9 files changed, 1310 insertions(+), 19 deletions(-) create mode 100644 src/lib/client/Model/ResponseWrapperTokenSecurityFakeToken.php create mode 100644 src/lib/client/Model/ResponseWrapperTokenSecurityHolders.php create mode 100644 src/lib/client/Model/ResponseWrapperTokenSecurityNFTList.php diff --git a/src/lib/client/Api/ApproveControllerV1Api.php b/src/lib/client/Api/ApproveControllerV1Api.php index ee30caf..12170c9 100644 --- a/src/lib/client/Api/ApproveControllerV1Api.php +++ b/src/lib/client/Api/ApproveControllerV1Api.php @@ -93,7 +93,7 @@ public function getConfig() * * @param string $address address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) - * @param string $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. (optional) + * @param string $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; (optional) * * @throws \Swagger\Client\ApiException on non-2xx response * @throws \InvalidArgumentException @@ -112,7 +112,7 @@ public function addressContractUsingGET1($address, $authorization = null, $chain * * @param string $address address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) - * @param string $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. (optional) + * @param string $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; (optional) * * @throws \Swagger\Client\ApiException on non-2xx response * @throws \InvalidArgumentException @@ -189,7 +189,7 @@ public function addressContractUsingGET1WithHttpInfo($address, $authorization = * * @param string $address address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) - * @param string $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. (optional) + * @param string $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; (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface @@ -211,7 +211,7 @@ function ($response) { * * @param string $address address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) - * @param string $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. (optional) + * @param string $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; (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface @@ -263,7 +263,7 @@ function ($exception) { * * @param string $address address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) - * @param string $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. (optional) + * @param string $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; (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request diff --git a/src/lib/client/Api/NftControllerApi.php b/src/lib/client/Api/NftControllerApi.php index a7ec973..5865ce9 100644 --- a/src/lib/client/Api/NftControllerApi.php +++ b/src/lib/client/Api/NftControllerApi.php @@ -91,7 +91,7 @@ public function getConfig() * * Get NFT's security and risk data. * - * @param string $chain_id Chain id, (eth: 1, bsc: 56, Polygon: 137, Avalanche: 43114) (required) + * @param string $chain_id The chain_id of the blockchain.\"1\" means Ethereum; \"10\" means Optimism;\"25\" means Cronos;\"56\" means BSC; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required) * @param string $contract_addresses NFT contract address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @param string $token_id tokenId (optional) @@ -111,7 +111,7 @@ public function getNftInfoUsingGET1($chain_id, $contract_addresses, $authorizati * * Get NFT's security and risk data. * - * @param string $chain_id Chain id, (eth: 1, bsc: 56, Polygon: 137, Avalanche: 43114) (required) + * @param string $chain_id The chain_id of the blockchain.\"1\" means Ethereum; \"10\" means Optimism;\"25\" means Cronos;\"56\" means BSC; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required) * @param string $contract_addresses NFT contract address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @param string $token_id tokenId (optional) @@ -189,7 +189,7 @@ public function getNftInfoUsingGET1WithHttpInfo($chain_id, $contract_addresses, * * Get NFT's security and risk data. * - * @param string $chain_id Chain id, (eth: 1, bsc: 56, Polygon: 137, Avalanche: 43114) (required) + * @param string $chain_id The chain_id of the blockchain.\"1\" means Ethereum; \"10\" means Optimism;\"25\" means Cronos;\"56\" means BSC; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required) * @param string $contract_addresses NFT contract address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @param string $token_id tokenId (optional) @@ -212,7 +212,7 @@ function ($response) { * * Get NFT's security and risk data. * - * @param string $chain_id Chain id, (eth: 1, bsc: 56, Polygon: 137, Avalanche: 43114) (required) + * @param string $chain_id The chain_id of the blockchain.\"1\" means Ethereum; \"10\" means Optimism;\"25\" means Cronos;\"56\" means BSC; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required) * @param string $contract_addresses NFT contract address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @param string $token_id tokenId (optional) @@ -265,7 +265,7 @@ function ($exception) { /** * Create request for operation 'getNftInfoUsingGET1' * - * @param string $chain_id Chain id, (eth: 1, bsc: 56, Polygon: 137, Avalanche: 43114) (required) + * @param string $chain_id The chain_id of the blockchain.\"1\" means Ethereum; \"10\" means Optimism;\"25\" means Cronos;\"56\" means BSC; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required) * @param string $contract_addresses NFT contract address (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @param string $token_id tokenId (optional) diff --git a/src/lib/client/Api/TokenControllerV1Api.php b/src/lib/client/Api/TokenControllerV1Api.php index ecf1ed6..758874a 100644 --- a/src/lib/client/Api/TokenControllerV1Api.php +++ b/src/lib/client/Api/TokenControllerV1Api.php @@ -352,7 +352,7 @@ protected function getChainsListUsingGETRequest($authorization = null, $name = n * * Get token's security and risk data. * - * @param string $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; \"8453\" Base; \"1666600000\" means Harmony; \"tron\" means Tron. (required) + * @param string $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 Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (required) * @param string $contract_addresses The contract address of tokens. (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @@ -371,7 +371,7 @@ public function tokenSecurityUsingGET1($chain_id, $contract_addresses, $authoriz * * Get token's security and risk data. * - * @param string $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; \"8453\" Base; \"1666600000\" means Harmony; \"tron\" means Tron. (required) + * @param string $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 Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (required) * @param string $contract_addresses The contract address of tokens. (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @@ -448,7 +448,7 @@ public function tokenSecurityUsingGET1WithHttpInfo($chain_id, $contract_addresse * * Get token's security and risk data. * - * @param string $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; \"8453\" Base; \"1666600000\" means Harmony; \"tron\" means Tron. (required) + * @param string $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 Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (required) * @param string $contract_addresses The contract address of tokens. (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @@ -470,7 +470,7 @@ function ($response) { * * Get token's security and risk data. * - * @param string $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; \"8453\" Base; \"1666600000\" means Harmony; \"tron\" means Tron. (required) + * @param string $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 Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (required) * @param string $contract_addresses The contract address of tokens. (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * @@ -522,7 +522,7 @@ function ($exception) { /** * Create request for operation 'tokenSecurityUsingGET1' * - * @param string $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; \"8453\" Base; \"1666600000\" means Harmony; \"tron\" means Tron. (required) + * @param string $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 Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (required) * @param string $contract_addresses The contract address of tokens. (required) * @param string $authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional) * diff --git a/src/lib/client/Model/GetAccessTokenRequest.php b/src/lib/client/Model/GetAccessTokenRequest.php index 7b6705f..04a6ae5 100644 --- a/src/lib/client/Model/GetAccessTokenRequest.php +++ b/src/lib/client/Model/GetAccessTokenRequest.php @@ -283,7 +283,7 @@ public function getTime() /** * Sets time * - * @param int $time Quest timestamp (Second) + * @param int $time Quest timestamp (Second), should be within +-1000s around current timestamp * * @return $this */ diff --git a/src/lib/client/Model/ResponseWrapperTokenSecurityFakeToken.php b/src/lib/client/Model/ResponseWrapperTokenSecurityFakeToken.php new file mode 100644 index 0000000..806fe02 --- /dev/null +++ b/src/lib/client/Model/ResponseWrapperTokenSecurityFakeToken.php @@ -0,0 +1,331 @@ + 'string', + 'value' => 'int' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'true_token_address' => null, + 'value' => 'int32' + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'true_token_address' => 'true_token_address', + 'value' => 'value' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'true_token_address' => 'setTrueTokenAddress', + 'value' => 'setValue' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'true_token_address' => 'getTrueTokenAddress', + 'value' => 'getValue' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['true_token_address'] = isset($data['true_token_address']) ? $data['true_token_address'] : null; + $this->container['value'] = isset($data['value']) ? $data['value'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets true_token_address + * + * @return string + */ + public function getTrueTokenAddress() + { + return $this->container['true_token_address']; + } + + /** + * Sets true_token_address + * + * @param string $true_token_address If the value is set to 1, and true_token_address is the address of the authentic mainstream asset that the token is imitating on this public chain. If there are multiple mainstream assets with the same name, they will be separated by commas. + * + * @return $this + */ + public function setTrueTokenAddress($true_token_address) + { + $this->container['true_token_address'] = $true_token_address; + + return $this; + } + + /** + * Gets value + * + * @return int + */ + public function getValue() + { + return $this->container['value']; + } + + /** + * Sets value + * + * @param int $value If the value is set to 1, and true_token_address is the address of the authentic mainstream asset that the token is imitating on this public chain. If there are multiple mainstream assets with the same name, they will be separated by commas. + * + * @return $this + */ + public function setValue($value) + { + $this->container['value'] = $value; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + #[\ReturnTypeWillChange] + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} diff --git a/src/lib/client/Model/ResponseWrapperTokenSecurityHolders.php b/src/lib/client/Model/ResponseWrapperTokenSecurityHolders.php new file mode 100644 index 0000000..f45f277 --- /dev/null +++ b/src/lib/client/Model/ResponseWrapperTokenSecurityHolders.php @@ -0,0 +1,480 @@ + 'int', + 'is_contract' => 'int', + 'address' => 'string', + 'balance' => 'string', + 'locked_detail' => '\Swagger\Client\Model\ResponseWrapperTokenSecurityLockedDetail[]', + 'tag' => 'string', + 'percent' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'is_locked' => 'int32', + 'is_contract' => 'int32', + 'address' => null, + 'balance' => null, + 'locked_detail' => null, + 'tag' => null, + 'percent' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'is_locked' => 'is_locked', + 'is_contract' => 'is_contract', + 'address' => 'address', + 'balance' => 'balance', + 'locked_detail' => 'locked_detail', + 'tag' => 'tag', + 'percent' => 'percent' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'is_locked' => 'setIsLocked', + 'is_contract' => 'setIsContract', + 'address' => 'setAddress', + 'balance' => 'setBalance', + 'locked_detail' => 'setLockedDetail', + 'tag' => 'setTag', + 'percent' => 'setPercent' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'is_locked' => 'getIsLocked', + 'is_contract' => 'getIsContract', + 'address' => 'getAddress', + 'balance' => 'getBalance', + 'locked_detail' => 'getLockedDetail', + 'tag' => 'getTag', + 'percent' => 'getPercent' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['is_locked'] = isset($data['is_locked']) ? $data['is_locked'] : null; + $this->container['is_contract'] = isset($data['is_contract']) ? $data['is_contract'] : null; + $this->container['address'] = isset($data['address']) ? $data['address'] : null; + $this->container['balance'] = isset($data['balance']) ? $data['balance'] : null; + $this->container['locked_detail'] = isset($data['locked_detail']) ? $data['locked_detail'] : null; + $this->container['tag'] = isset($data['tag']) ? $data['tag'] : null; + $this->container['percent'] = isset($data['percent']) ? $data['percent'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets is_locked + * + * @return int + */ + public function getIsLocked() + { + return $this->container['is_locked']; + } + + /** + * Sets is_locked + * + * @param int $is_locked It describes whether the tokens owned by the holder are locked \"1\" means true; \"0\" means false; (3) \"tag\" describes the address's public tag. Example:Burn (Notice:About \"locked\": We only support the token lock addresses or black hole addresses that we have included. ) + * + * @return $this + */ + public function setIsLocked($is_locked) + { + $this->container['is_locked'] = $is_locked; + + return $this; + } + + /** + * Gets is_contract + * + * @return int + */ + public function getIsContract() + { + return $this->container['is_contract']; + } + + /** + * Sets is_contract + * + * @param int $is_contract It describes whether the holder is a contract \"1\" means true; \"0\" means false. + * + * @return $this + */ + public function setIsContract($is_contract) + { + $this->container['is_contract'] = $is_contract; + + return $this; + } + + /** + * Gets address + * + * @return string + */ + public function getAddress() + { + return $this->container['address']; + } + + /** + * Sets address + * + * @param string $address It describes the holder address; + * + * @return $this + */ + public function setAddress($address) + { + $this->container['address'] = $address; + + return $this; + } + + /** + * Gets balance + * + * @return string + */ + public function getBalance() + { + return $this->container['balance']; + } + + /** + * Sets balance + * + * @param string $balance It describes the balance of the holder. + * + * @return $this + */ + public function setBalance($balance) + { + $this->container['balance'] = $balance; + + return $this; + } + + /** + * Gets locked_detail + * + * @return \Swagger\Client\Model\ResponseWrapperTokenSecurityLockedDetail[] + */ + public function getLockedDetail() + { + return $this->container['locked_detail']; + } + + /** + * Sets locked_detail + * + * @param \Swagger\Client\Model\ResponseWrapperTokenSecurityLockedDetail[] $locked_detail It is an array, decribes lock position info of this holder, only shows when \"locked\": 1. This Array may contain multiple objects for multiple locking info. (Notice:When \"locked\":0, or lock address is a black hole address, \"locked_detail\" will be no return.) + * + * @return $this + */ + public function setLockedDetail($locked_detail) + { + $this->container['locked_detail'] = $locked_detail; + + return $this; + } + + /** + * Gets tag + * + * @return string + */ + public function getTag() + { + return $this->container['tag']; + } + + /** + * Sets tag + * + * @param string $tag It describes the address's public tag. Example:Burn Address/Deployer; + * + * @return $this + */ + public function setTag($tag) + { + $this->container['tag'] = $tag; + + return $this; + } + + /** + * Gets percent + * + * @return string + */ + public function getPercent() + { + return $this->container['percent']; + } + + /** + * Sets percent + * + * @param string $percent It describes the percentage of tokens held by this holder (Notice:About \"percent\": 1 means 100% here.) + * + * @return $this + */ + public function setPercent($percent) + { + $this->container['percent'] = $percent; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + #[\ReturnTypeWillChange] + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} diff --git a/src/lib/client/Model/ResponseWrapperTokenSecurityLpHolders.php b/src/lib/client/Model/ResponseWrapperTokenSecurityLpHolders.php index 2650266..5c35a3a 100644 --- a/src/lib/client/Model/ResponseWrapperTokenSecurityLpHolders.php +++ b/src/lib/client/Model/ResponseWrapperTokenSecurityLpHolders.php @@ -60,6 +60,7 @@ class ResponseWrapperTokenSecurityLpHolders implements ModelInterface, ArrayAcce 'is_contract' => 'int', 'address' => 'string', 'balance' => 'string', + 'nft_list' => '\Swagger\Client\Model\ResponseWrapperTokenSecurityNFTList[]', 'locked_detail' => '\Swagger\Client\Model\ResponseWrapperTokenSecurityLockedDetail[]', 'tag' => 'string', 'percent' => 'string' @@ -75,6 +76,7 @@ class ResponseWrapperTokenSecurityLpHolders implements ModelInterface, ArrayAcce 'is_contract' => 'int32', 'address' => null, 'balance' => null, + 'nft_list' => null, 'locked_detail' => null, 'tag' => null, 'percent' => null @@ -111,6 +113,7 @@ public static function swaggerFormats() 'is_contract' => 'is_contract', 'address' => 'address', 'balance' => 'balance', + 'nft_list' => 'NFT_list', 'locked_detail' => 'locked_detail', 'tag' => 'tag', 'percent' => 'percent' @@ -126,6 +129,7 @@ public static function swaggerFormats() 'is_contract' => 'setIsContract', 'address' => 'setAddress', 'balance' => 'setBalance', + 'nft_list' => 'setNftList', 'locked_detail' => 'setLockedDetail', 'tag' => 'setTag', 'percent' => 'setPercent' @@ -141,6 +145,7 @@ public static function swaggerFormats() 'is_contract' => 'getIsContract', 'address' => 'getAddress', 'balance' => 'getBalance', + 'nft_list' => 'getNftList', 'locked_detail' => 'getLockedDetail', 'tag' => 'getTag', 'percent' => 'getPercent' @@ -208,6 +213,7 @@ public function __construct(array $data = null) $this->container['is_contract'] = isset($data['is_contract']) ? $data['is_contract'] : null; $this->container['address'] = isset($data['address']) ? $data['address'] : null; $this->container['balance'] = isset($data['balance']) ? $data['balance'] : null; + $this->container['nft_list'] = isset($data['nft_list']) ? $data['nft_list'] : null; $this->container['locked_detail'] = isset($data['locked_detail']) ? $data['locked_detail'] : null; $this->container['tag'] = isset($data['tag']) ? $data['tag'] : null; $this->container['percent'] = isset($data['percent']) ? $data['percent'] : null; @@ -333,6 +339,30 @@ public function setBalance($balance) return $this; } + /** + * Gets nft_list + * + * @return \Swagger\Client\Model\ResponseWrapperTokenSecurityNFTList[] + */ + public function getNftList() + { + return $this->container['nft_list']; + } + + /** + * Sets nft_list + * + * @param \Swagger\Client\Model\ResponseWrapperTokenSecurityNFTList[] $nft_list It is an array, decribes nft list + * + * @return $this + */ + public function setNftList($nft_list) + { + $this->container['nft_list'] = $nft_list; + + return $this; + } + /** * Gets locked_detail * diff --git a/src/lib/client/Model/ResponseWrapperTokenSecurityNFTList.php b/src/lib/client/Model/ResponseWrapperTokenSecurityNFTList.php new file mode 100644 index 0000000..d00252a --- /dev/null +++ b/src/lib/client/Model/ResponseWrapperTokenSecurityNFTList.php @@ -0,0 +1,420 @@ + 'string', + 'nft_id' => 'string', + 'amount' => 'string', + 'in_effect' => 'string', + 'value' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'nft_percentage' => null, + 'nft_id' => null, + 'amount' => null, + 'in_effect' => null, + 'value' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'nft_percentage' => 'NFT_percentage', + 'nft_id' => 'NFT_id', + 'amount' => 'amount', + 'in_effect' => 'in_effect', + 'value' => 'value' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'nft_percentage' => 'setNftPercentage', + 'nft_id' => 'setNftId', + 'amount' => 'setAmount', + 'in_effect' => 'setInEffect', + 'value' => 'setValue' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'nft_percentage' => 'getNftPercentage', + 'nft_id' => 'getNftId', + 'amount' => 'getAmount', + 'in_effect' => 'getInEffect', + 'value' => 'getValue' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['nft_percentage'] = isset($data['nft_percentage']) ? $data['nft_percentage'] : null; + $this->container['nft_id'] = isset($data['nft_id']) ? $data['nft_id'] : null; + $this->container['amount'] = isset($data['amount']) ? $data['amount'] : null; + $this->container['in_effect'] = isset($data['in_effect']) ? $data['in_effect'] : null; + $this->container['value'] = isset($data['value']) ? $data['value'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets nft_percentage + * + * @return string + */ + public function getNftPercentage() + { + return $this->container['nft_percentage']; + } + + /** + * Sets nft_percentage + * + * @param string $nft_percentage \"NFT_percentage\" represents the proportion of that NFT in the total liquidity. When the LP holder is a lockup address, this information will also appear in the \"locked_detail\" section. + * + * @return $this + */ + public function setNftPercentage($nft_percentage) + { + $this->container['nft_percentage'] = $nft_percentage; + + return $this; + } + + /** + * Gets nft_id + * + * @return string + */ + public function getNftId() + { + return $this->container['nft_id']; + } + + /** + * Sets nft_id + * + * @param string $nft_id \"NFT_id\" is the NFTID corresponding to that NFT. + * + * @return $this + */ + public function setNftId($nft_id) + { + $this->container['nft_id'] = $nft_id; + + return $this; + } + + /** + * Gets amount + * + * @return string + */ + public function getAmount() + { + return $this->container['amount']; + } + + /** + * Sets amount + * + * @param string $amount \"amount\" is the liquidity quantity corresponding to the NFT. + * + * @return $this + */ + public function setAmount($amount) + { + $this->container['amount'] = $amount; + + return $this; + } + + /** + * Gets in_effect + * + * @return string + */ + public function getInEffect() + { + return $this->container['in_effect']; + } + + /** + * Sets in_effect + * + * @param string $in_effect \"in_effect\" indicates whether the liquidity corresponding to that NFT is effective at the current price. + * + * @return $this + */ + public function setInEffect($in_effect) + { + $this->container['in_effect'] = $in_effect; + + return $this; + } + + /** + * Gets value + * + * @return string + */ + public function getValue() + { + return $this->container['value']; + } + + /** + * Sets value + * + * @param string $value \"value\" is the total USD value corresponding to the NFT. + * + * @return $this + */ + public function setValue($value) + { + $this->container['value'] = $value; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + #[\ReturnTypeWillChange] + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} diff --git a/src/lib/client/Model/ResponseWrapperTokenSecurityResult.php b/src/lib/client/Model/ResponseWrapperTokenSecurityResult.php index bba8a8e..c8db716 100644 --- a/src/lib/client/Model/ResponseWrapperTokenSecurityResult.php +++ b/src/lib/client/Model/ResponseWrapperTokenSecurityResult.php @@ -72,11 +72,12 @@ class ResponseWrapperTokenSecurityResult implements ModelInterface, ArrayAccess 'trust_list' => 'string', 'is_honeypot' => 'string', 'honeypot_with_same_creator' => 'string', - 'holders' => '\Swagger\Client\Model\ResponseWrapperTokenSecurityLpHolders[]', + 'holders' => '\Swagger\Client\Model\ResponseWrapperTokenSecurityHolders[]', 'dex' => '\Swagger\Client\Model\ResponseWrapperTokenSecurityDex[]', 'is_open_source' => 'string', 'sell_tax' => 'string', 'token_name' => 'string', + 'fake_token' => '\Swagger\Client\Model\ResponseWrapperTokenSecurityFakeToken', 'creator_address' => 'string', 'creator_percent' => 'string', 'is_proxy' => 'string', @@ -128,6 +129,7 @@ class ResponseWrapperTokenSecurityResult implements ModelInterface, ArrayAccess 'is_open_source' => null, 'sell_tax' => null, 'token_name' => null, + 'fake_token' => null, 'creator_address' => null, 'creator_percent' => null, 'is_proxy' => null, @@ -200,6 +202,7 @@ public static function swaggerFormats() 'is_open_source' => 'is_open_source', 'sell_tax' => 'sell_tax', 'token_name' => 'token_name', + 'fake_token' => 'fake_token', 'creator_address' => 'creator_address', 'creator_percent' => 'creator_percent', 'is_proxy' => 'is_proxy', @@ -251,6 +254,7 @@ public static function swaggerFormats() 'is_open_source' => 'setIsOpenSource', 'sell_tax' => 'setSellTax', 'token_name' => 'setTokenName', + 'fake_token' => 'setFakeToken', 'creator_address' => 'setCreatorAddress', 'creator_percent' => 'setCreatorPercent', 'is_proxy' => 'setIsProxy', @@ -302,6 +306,7 @@ public static function swaggerFormats() 'is_open_source' => 'getIsOpenSource', 'sell_tax' => 'getSellTax', 'token_name' => 'getTokenName', + 'fake_token' => 'getFakeToken', 'creator_address' => 'getCreatorAddress', 'creator_percent' => 'getCreatorPercent', 'is_proxy' => 'getIsProxy', @@ -405,6 +410,7 @@ public function __construct(array $data = null) $this->container['is_open_source'] = isset($data['is_open_source']) ? $data['is_open_source'] : null; $this->container['sell_tax'] = isset($data['sell_tax']) ? $data['sell_tax'] : null; $this->container['token_name'] = isset($data['token_name']) ? $data['token_name'] : null; + $this->container['fake_token'] = isset($data['fake_token']) ? $data['fake_token'] : null; $this->container['creator_address'] = isset($data['creator_address']) ? $data['creator_address'] : null; $this->container['creator_percent'] = isset($data['creator_percent']) ? $data['creator_percent'] : null; $this->container['is_proxy'] = isset($data['is_proxy']) ? $data['is_proxy'] : null; @@ -817,7 +823,7 @@ public function setHoneypotWithSameCreator($honeypot_with_same_creator) /** * Gets holders * - * @return \Swagger\Client\Model\ResponseWrapperTokenSecurityLpHolders[] + * @return \Swagger\Client\Model\ResponseWrapperTokenSecurityHolders[] */ public function getHolders() { @@ -827,7 +833,7 @@ public function getHolders() /** * Sets holders * - * @param \Swagger\Client\Model\ResponseWrapperTokenSecurityLpHolders[] $holders Top10 holders info + * @param \Swagger\Client\Model\ResponseWrapperTokenSecurityHolders[] $holders Top10 holders info * * @return $this */ @@ -934,6 +940,30 @@ public function setTokenName($token_name) return $this; } + /** + * Gets fake_token + * + * @return \Swagger\Client\Model\ResponseWrapperTokenSecurityFakeToken + */ + public function getFakeToken() + { + return $this->container['fake_token']; + } + + /** + * Sets fake_token + * + * @param \Swagger\Client\Model\ResponseWrapperTokenSecurityFakeToken $fake_token fake_token + * + * @return $this + */ + public function setFakeToken($fake_token) + { + $this->container['fake_token'] = $fake_token; + + return $this; + } + /** * Gets creator_address *