ao-js-sdk - v0.4.0
    Preparing search index...

    Interface IFairLaunchProcessClient

    Interface for interacting with a Fair Launch Process.

    interface IFairLaunchProcessClient {
        getAoProceeds(): Promise<ProceedsData>;
        getInfo(): Promise<FairLaunchInfo>;
        getPiProceeds(): Promise<ProceedsData>;
        getWithdrawableAo(time?: number): Promise<string>;
        getWithdrawablePi(time?: number): Promise<string>;
        withdrawAo(): Promise<any>;
        withdrawPi(): Promise<any>;
    }

    Implemented by

    Index

    Methods

    • Gets the withdrawable AO amount for a specific time.

      Parameters

      • Optionaltime: number

        Optional timestamp to check withdrawable amount at (defaults to current time)

      Returns Promise<string>

      Promise resolving to withdrawable AO amount as string

    • Gets the withdrawable PI amount for a specific time.

      Parameters

      • Optionaltime: number

        Optional timestamp to check withdrawable amount at (defaults to current time)

      Returns Promise<string>

      Promise resolving to withdrawable PI amount as string