Protected
_Protected
dryrunGets the current AO client instance being used by this process client.
The IAOClient instance currently in use
Gets AO proceeds data for all yield cycles.
Promise resolving to proceeds data indexed by yield cycle
Gets information about the Fair Launch Process.
Promise resolving to FairLaunchInfo with process information
Gets PI proceeds data for all yield cycles.
Promise resolving to proceeds data indexed by yield cycle
Boolean indicating whether or not the client is set to run dryruns as messages. (non default behavior)
Retrieves the transaction that created this process. This transaction contains the initial state and configuration of the process in its tags.
Promise resolving to the transaction data containing process creation details
Gets the wallet this client uses to sign messages
the wallet used for message signing
Gets the withdrawable AO amount for a specific time.
Optional
time: numberOptional timestamp to check withdrawable amount at (defaults to current time)
Promise resolving to withdrawable AO amount as string
Gets the withdrawable PI amount for a specific time.
Optional
time: numberOptional timestamp to check withdrawable amount at (defaults to current time)
Promise resolving to withdrawable PI amount as string
A Readonly Client can only perform dry run and result operations, however does not require a wallet to be used. If a wallet is specified on instantiation the client will additionally be able to use write operations (messages).
Boolean indicating whether or not the client is for read operations only.
Boolean indicating whether or not the client is set to run dryruns as messages. (non default behavior)
Protected
messageProtected
Optional
anchor: stringOptional
anchor: stringProtected
resultProtected
Protected
resultsProtected
Optional
from: stringOptional
to: stringControls whether dryrun executes as a message or simulation.
When true, dryrun will execute as a real message. When false (default), executes as a simulation.
Sets the wallet being used for this client. If the client is readonly it will now have write abilities.
the wallet to use with this client.
Withdraws available AO tokens to the treasury. Only the deployer can perform this action.
Promise resolving to the withdrawal result
Withdraws available PI tokens to the treasury. Only the deployer can perform this action.
Promise resolving to the withdrawal result
Static
fromOptional
wallet: any
Client for interacting with a Fair Launch Process.