From 92b0b68c4e809024c37cca5269ba812bc5d44768 Mon Sep 17 00:00:00 2001 From: jh <0xroll.onchain@gmail.com> Date: Fri, 29 Nov 2024 19:03:29 +0800 Subject: [PATCH] change datatype --- schemas/dex/SCHEMA.md | 2 +- schemas/dex/schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/dex/SCHEMA.md b/schemas/dex/SCHEMA.md index 3a70cab..5690cb7 100644 --- a/schemas/dex/SCHEMA.md +++ b/schemas/dex/SCHEMA.md @@ -34,7 +34,7 @@ Snapshot of LP positions. | chain_id | The standard id of the chain. | number | | pool_address | The contract address of the pool. | string | | user_address | The address of the liquidity provider. | string | -| nft_token_id | The token id of the NFT position. | string | +| nft_token_id | The token id of the NFT position. | number | | token_index | The token index based on the smart contract. | number | | token_address | The contract address of the token provided as liquidity. | string | | token_symbol | The symbol of the token. | string | diff --git a/schemas/dex/schema.json b/schemas/dex/schema.json index bbd9828..ba4066c 100644 --- a/schemas/dex/schema.json +++ b/schemas/dex/schema.json @@ -90,7 +90,7 @@ }, "nft_token_id": { "description": "The token id of the NFT position.", - "type": "string" + "type": "number" }, "token_index": { "description": "The token index based on the smart contract.",