# Objects

### BondingCurveType

| Field | Type    |
| ----- | ------- |
| id    | ID!     |
| name  | String! |
| impl  | Bytes!  |

### CounterEntity

| Field     | Type        |
| --------- | ----------- |
| id        | ID!         |
| count     | BigDecimal! |
| type      | String!     |
| timestamp | BigInt!     |

### Hook

| Field   | Type         |
| ------- | ------------ |
| id      | ID!          |
| token   | TokenEntity! |
| data    | Bytes!       |
| encoder | String!      |
| name    | String!      |
| addr    | Bytes!       |

### HookEntity

| Field   | Type    |
| ------- | ------- |
| id      | ID!     |
| name    | String! |
| addr    | Bytes!  |
| encoder | String! |

### Member

| Field   | Type         |
| ------- | ------------ |
| id      | ID!          |
| token   | TokenEntity! |
| user    | User!        |
| ids     | \[BigInt!]   |
| balance | BigDecimal   |

### MintBurnEntity

| Field        | Type         |
| ------------ | ------------ |
| id           | ID!          |
| hash         | Bytes!       |
| blockNum     | BigInt!      |
| timestamp    | BigInt!      |
| direction    | Int!         |
| from         | Bytes!       |
| to           | Bytes!       |
| erc20Amount  | BigDecimal!  |
| nativeAmount | BigDecimal!  |
| platformFee  | BigDecimal!  |
| projectFee   | BigDecimal!  |
| price        | BigDecimal!  |
| tvl          | BigDecimal!  |
| tradeVolumes | BigDecimal!  |
| token        | TokenEntity! |

### PlatformEntity

| Field    | Type       |
| -------- | ---------- |
| id       | ID!        |
| net      | String!    |
| addr     | Bytes!     |
| admin    | Bytes!     |
| treasury | Bytes!     |
| route    | Bytes!     |
| mintTax  | BigInt!    |
| burnTax  | BigInt!    |
| klines   | \[String!] |

### Price

| Field      | Type         |
| ---------- | ------------ |
| id         | ID!          |
| type       | String!      |
| minPrice   | BigDecimal!  |
| maxPrice   | BigDecimal!  |
| openPrice  | BigDecimal!  |
| closePrice | BigDecimal!  |
| tokenTvl   | BigDecimal!  |
| timestamp  | BigInt!      |
| token      | TokenEntity! |
| volume     | BigDecimal!  |

### TokenEntity

| Field            | Type                    |
| ---------------- | ----------------------- |
| id               | ID!                     |
| index            | BigInt!                 |
| net              | String!                 |
| addr             | Bytes!                  |
| factory          | Bytes!                  |
| name             | String!                 |
| symbol           | String!                 |
| metaUri          | String!                 |
| supply           | BigDecimal!             |
| tokenType        | String!                 |
| bondingCurveType | String!                 |
| raisingToken     | Bytes!                  |
| params           | String!                 |
| mintTax          | BigInt!                 |
| burnTax          | BigInt!                 |
| paused           | Boolean!                |
| doomsDays        | Boolean!                |
| destoryed        | Boolean!                |
| treasury         | Bytes!                  |
| admin            | Bytes!                  |
| creator          | Bytes!                  |
| marketCap        | BigDecimal!             |
| currentPrice     | BigDecimal!             |
| lockValue        | BigDecimal!             |
| treasuryFee      | BigDecimal!             |
| memberCount      | BigInt!                 |
| decimal          | Int8!                   |
| baseDecimal      | Int8!                   |
| txCount          | BigInt!                 |
| createTimestamp  | BigInt!                 |
| prices           | \[Price!]               |
| skip             | Int                     |
| first            | Int                     |
| orderBy          | Price\_orderBy          |
| orderDirection   | OrderDirection          |
| where            | Price\_filter           |
| hooks            | \[Hook!]                |
| skip             | Int                     |
| first            | Int                     |
| orderBy          | Hook\_orderBy           |
| orderDirection   | OrderDirection          |
| where            | Hook\_filter            |
| mintBurnTxs      | \[MintBurnEntity!]      |
| skip             | Int                     |
| first            | Int                     |
| orderBy          | MintBurnEntity\_orderBy |
| orderDirection   | OrderDirection          |
| where            | MintBurnEntity\_filter  |
| members          | \[Member!]              |
| skip             | Int                     |
| first            | Int                     |
| orderBy          | Member\_orderBy         |
| orderDirection   | OrderDirection          |
| where            | Member\_filter          |

### TokenType

| Field | Type    |
| ----- | ------- |
| id    | ID!     |
| name  | String! |
| impl  | Bytes!  |

### TokenUpgradeHistory

| Field     | Type         |
| --------- | ------------ |
| id        | ID!          |
| token     | TokenEntity! |
| upgradeTo | Bytes!       |
| data      | String!      |
| timestamp | BigInt!      |
| operator  | Bytes!       |
| tx        | Bytes!       |
| type      | String!      |

### User

| Field          | Type            |
| -------------- | --------------- |
| id             | ID!             |
| members        | \[Member!]      |
| skip           | Int             |
| first          | Int             |
| orderBy        | Member\_orderBy |
| orderDirection | OrderDirection  |
| where          | Member\_filter  |

### Block

| Field     | Argument |
| --------- | -------- |
| hash      | Bytes    |
| number    | Int!     |
| timestamp | Int      |

### Meta

The type for the top-level \_meta field

| Field             | Type       |
| ----------------- | ---------- |
| block             | \_Block\_! |
| deployment        | String!    |
| hasIndexingErrors | Boolean!   |
