Options
All
  • Public
  • Public/Protected
  • All
Menu

Module types

Index

Enumerations

Interfaces

Type aliases

Type aliases

ActivityNftInfo: { chain: string; contractAddress: string; network: string; tokenId: string; userAddress: string }

Type declaration

  • chain: string
  • contractAddress: string
  • network: string
  • tokenId: string
  • userAddress: string
AppCreditInfo: { burnedSupply: number; createdAt: number; maxSupply: number | null; name: string; symbol: string; totalSupply: number }

Type declaration

  • burnedSupply: number

    The amount of credit burned.

  • createdAt: number

    The timestamp of credit creation.

  • maxSupply: number | null

    The max supply of credit.

  • name: string

    The name of credit.

  • symbol: string

    The symbol of credit

  • totalSupply: number

    The total supply of credit.

DailyRewardDetail: {}

Type declaration

History<Type>: {}

Type parameters

  • Type

Type declaration

  • [year: string]: {}
    • [month: string]: {}
      • [date: string]: {}
        • [id: string]: Type
ItemGiveHistory: { appId: string; createdAt: number; id: string; quantity: number; reason?: string; status: ItemGiveStatus; subtype: string; type: string; value: string }

Type declaration

  • appId: string
  • createdAt: number
  • id: string
  • quantity: number
  • Optional reason?: string
  • status: ItemGiveStatus
  • subtype: string
  • type: string
  • value: string
NftCollections: {}

Type declaration

NftContract: { info: NftContractInfo; tokens: NftTokens }

Type declaration

NftContractBySymbol: { chain: string; contractAddress: string; name: string; network: string; symbol: string }

Type declaration

  • chain: string
  • contractAddress: string
  • name: string
  • network: string
  • symbol: string
NftContractInfo: { chain: string; contractAddress: string; deployAddress: string; lastBlockNumber: number; name: string; network: string; symbol: string; totalSupply: number }

Type declaration

  • chain: string
  • contractAddress: string
  • deployAddress: string
  • lastBlockNumber: number
  • name: string
  • network: string
  • symbol: string
  • totalSupply: number
NftMetadata: { attributes?: object[]; description?: string; image?: string; name?: string }

Type declaration

  • [additionalFields: string]: any

    The additional fields of NFT metadata.

  • Optional attributes?: object[]

    The attributes of NFT.

  • Optional description?: string

    The description of NFT.

  • Optional image?: string

    The image of NFT.

  • Optional name?: string

    The name of NFT.

NftToken: { isBurnt: boolean; metadata: NftMetadata; owner: string; tokenURI: string }

Type declaration

  • isBurnt: boolean
  • metadata: NftMetadata
  • owner: string
  • tokenURI: string
NftTokens: {}

Type declaration

OpenAIModel: "gpt-4-1106-preview" | "gpt-4" | "gpt-4-32k" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-instruct"

Name of the model to use. You can see the OpenAI model overview for description of them. Please note that image-related models are currently not supported.

RewardDetail: RewardAmount & { activities?: Activity[] }
ServiceNickname: string | "openai"

Nickname of the service.

UseItemReturnType: { NFT: Promise<string>; NFT_TRAIT: Promise<NftMetadata>; TICKET: Promise<void> }

Type declaration

  • NFT: Promise<string>
  • NFT_TRAIT: Promise<NftMetadata>
  • TICKET: Promise<void>

Generated using TypeDoc