bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class Pool<T>

    Base class that implements the CustomType interface. It provides default implementations for all methods.

    IMPORTANT: You must implement the getNumberFieldNames method yourself for this class to work properly. Also, you will need to implement the convert method yourself if you want to use it in a typed manner. This can be done by simply calling convertClassPropertiesAndMaintainNumberTypes(this, convertFunction, options) and casting the result to the correct type.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    address: string
    id: T
    poolAssets: iPoolAsset<T>[]
    poolParams: iPoolParams<T>
    totalShares: iCosmosCoin<T>
    totalWeight: T

    Methods