alan library

Classes

ABCIMessageLog
AccountI
AccountImpl
Contains the data to properly register an AccountI implementation so that it can be later deserialized starting from an Any by the Codec.
Any
Attribute
AuthInfo
AuthQuerier
Allows to query the x/auth module endpoints easily.
BaseAccount
BaseVestingAccount
BigIntBigEndian
Helper class used internally to encode/decode BigInt values in Big-Endian because of the breaking changes inside Pointycastle 2.0.1 See: https://github.com/bcgit/pc-dart/blob/master/CHANGELOG.md#version-201-2021-01-16
Bip32
Bip32EccCurve
Bip32Type
Bip39
Wrapper around the Bip-39 library making it easier to deal with mnemonic phrases.
BroadcastMode
BroadcastTxRequest
BroadcastTxResponse
Codec
Represents the codec that is used to serialize StdMsg instances properly during transactions signature processes.
Coin
ContinuousVestingAccount
DecCoin
DecProto
DefaultTxConfig
DefaultTxConfig represents the default TxConfig implementation.
DelayedVestingAccount
DirectSignModeHandler
DirectSignModeHandler defines the SIGN_MODE_DIRECT SignModeHandler.
Duration
Fee
GasInfo
GetBlockWithTxsRequest
GetBlockWithTxsResponse
GetTxRequest
GetTxResponse
GetTxsEventRequest
GetTxsEventResponse
GrpcHeaders
Contains a set of utility methods used to create commonly used gRPC headers.
GRPCInfo
Contains the information about the GRPC endpoint
IntProto
LCDInfo
Contains the information about the LCD endpoint
ModeInfo
ModeInfo_Multi
ModeInfo_Single
ModuleAccount
MsgData
NetworkInfo
Contains the information of a generic Cosmos-based network.
NetworkType
NodeQuerier
Allows to query a full node for its information.
OrderBy
PageRequest
PageResponse
PeriodicVestingAccount
QueryHelper
Allows to easily query the current chain state.
RequestResult<T>
Contains the data returned when performing a chain query.
Result
SearchTxsResult
ServiceBase
ServiceClient
SignatureData
SignatureData represents either a SingleSignatureData or MultiSignatureData. It is a convenience type that is easier to use in business logic than the encoded protobuf ModeInfo's and raw signatures.
SignatureDescriptor
SignatureDescriptor_Data
SignatureDescriptor_Data_Multi
SignatureDescriptor_Data_Single
SignatureDescriptors
SignatureV2
SignatureV2 is a convenience type that is easier to use in application logic than the protobuf SignerInfo's and raw signature bytes. It goes beyond the first sdk.Signature types by supporting sign modes and explicitly nested multi-signatures. It is intended to be used for both building and verifying signatures.
SignDoc
SignerData
SignerData is the specific information needed to sign a transaction that generally isn't included in the transaction body itself
SignerInfo
SignMode
SignModeHandler
SignModeHandler defines a interface to be implemented by types which will handle SignMode's by generating sign bytes from a Tx and SignerData.
SimulateRequest
SimulateResponse
SimulationResponse
SingleSignatureData
SingleSignatureData represents the signature and SignMode of a single (non-multisig) signer
StringEvent
Timestamp
Tx
TxBody
TxBuilder
Allows to easily build and sign a Tx that can later be sent over the network.
TxConfig
TxConfig defines an interface a client can utilize to generate an application-defined concrete transaction type. The type returned must implement TxBuilder.
TxMsgData
TxRaw
TxResponse
TxSender
Allows to easily send a StdTx using the data contained inside the specified Wallet.
TxSigner
Allows to create and sign a Tx object so that it can later be sent to the chain.
Wallet
Represents a wallet which contains the hex private key, the hex public key and the hex address. In order to create one properly, the Wallet.derive method should always be used. The associated networkInfo will be used when computing the bech32Address associated with the wallet.

Extensions

BigIntExtension on BigInt
Extensions on the BigInt class.
CoinExt on Coin
Contains the data of a specific coin amount.
CoinsExt on List<Coin>
Useful method on list of coins.
IntExtensions on int
Extensions on the int class.
TxResponseExt on TxResponse
Extends TxResponse with useful methods.
Uin8ListExt on Uint8List
Extension methods on the Uint8List class.

Constants

ABCIMessageLog$json → const Map<String, Object>
Any$json → const Map<String, Object>
Attribute$json → const Map<String, Object>
AuthInfo$json → const Map<String, Object>
BroadcastMode$json → const Map<String, Object>
BroadcastTxRequest$json → const Map<String, Object>
BroadcastTxResponse$json → const Map<String, Object>
Coin$json → const Map<String, Object>
DecCoin$json → const Map<String, Object>
DecProto$json → const Map<String, Object>
Duration$json → const Map<String, Object>
Fee$json → const Map<String, Object>
GasInfo$json → const Map<String, Object>
GetBlockWithTxsRequest$json → const Map<String, Object>
GetBlockWithTxsResponse$json → const Map<String, Object>
GetTxRequest$json → const Map<String, Object>
GetTxResponse$json → const Map<String, Object>
GetTxsEventRequest$json → const Map<String, Object>
GetTxsEventResponse$json → const Map<String, Object>
IntProto$json → const Map<String, Object>
ModeInfo$json → const Map<String, Object>
ModeInfo_Multi$json → const Map<String, Object>
ModeInfo_Single$json → const Map<String, Object>
MsgData$json → const Map<String, Object>
OrderBy$json → const Map<String, Object>
PageRequest$json → const Map<String, Object>
PageResponse$json → const Map<String, Object>
Result$json → const Map<String, Object>
SearchTxsResult$json → const Map<String, Object>
SignatureDescriptor$json → const Map<String, Object>
SignatureDescriptor_Data$json → const Map<String, Object>
SignatureDescriptor_Data_Multi$json → const Map<String, Object>
SignatureDescriptor_Data_Single$json → const Map<String, Object>
SignatureDescriptors$json → const Map<String, Object>
SignDoc$json → const Map<String, Object>
SignerInfo$json → const Map<String, Object>
SignMode$json → const Map<String, Object>
SimulateRequest$json → const Map<String, Object>
SimulateResponse$json → const Map<String, Object>
SimulationResponse$json → const Map<String, Object>
StringEvent$json → const Map<String, Object>
Timestamp$json → const Map<String, Object>
Tx$json → const Map<String, Object>
TxBody$json → const Map<String, Object>
TxMsgData$json → const Map<String, Object>
TxRaw$json → const Map<String, Object>
TxResponse$json → const Map<String, Object>

Properties

aBCIMessageLogDescriptor Uint8List
Descriptor for ABCIMessageLog. Decode as a google.protobuf.DescriptorProto.
final
anyDescriptor Uint8List
Descriptor for Any. Decode as a google.protobuf.DescriptorProto.
final
attributeDescriptor Uint8List
Descriptor for Attribute. Decode as a google.protobuf.DescriptorProto.
final
authInfoDescriptor Uint8List
Descriptor for AuthInfo. Decode as a google.protobuf.DescriptorProto.
final
broadcastModeDescriptor Uint8List
Descriptor for BroadcastMode. Decode as a google.protobuf.EnumDescriptorProto.
final
broadcastTxRequestDescriptor Uint8List
Descriptor for BroadcastTxRequest. Decode as a google.protobuf.DescriptorProto.
final
broadcastTxResponseDescriptor Uint8List
Descriptor for BroadcastTxResponse. Decode as a google.protobuf.DescriptorProto.
final
coinDescriptor Uint8List
Descriptor for Coin. Decode as a google.protobuf.DescriptorProto.
final
decCoinDescriptor Uint8List
Descriptor for DecCoin. Decode as a google.protobuf.DescriptorProto.
final
decProtoDescriptor Uint8List
Descriptor for DecProto. Decode as a google.protobuf.DescriptorProto.
final
durationDescriptor Uint8List
Descriptor for Duration. Decode as a google.protobuf.DescriptorProto.
final
feeDescriptor Uint8List
Descriptor for Fee. Decode as a google.protobuf.DescriptorProto.
final
gasInfoDescriptor Uint8List
Descriptor for GasInfo. Decode as a google.protobuf.DescriptorProto.
final
getBlockWithTxsRequestDescriptor Uint8List
Descriptor for GetBlockWithTxsRequest. Decode as a google.protobuf.DescriptorProto.
final
getBlockWithTxsResponseDescriptor Uint8List
Descriptor for GetBlockWithTxsResponse. Decode as a google.protobuf.DescriptorProto.
final
getTxRequestDescriptor Uint8List
Descriptor for GetTxRequest. Decode as a google.protobuf.DescriptorProto.
final
getTxResponseDescriptor Uint8List
Descriptor for GetTxResponse. Decode as a google.protobuf.DescriptorProto.
final
getTxsEventRequestDescriptor Uint8List
Descriptor for GetTxsEventRequest. Decode as a google.protobuf.DescriptorProto.
final
getTxsEventResponseDescriptor Uint8List
Descriptor for GetTxsEventResponse. Decode as a google.protobuf.DescriptorProto.
final
intProtoDescriptor Uint8List
Descriptor for IntProto. Decode as a google.protobuf.DescriptorProto.
final
modeInfoDescriptor Uint8List
Descriptor for ModeInfo. Decode as a google.protobuf.DescriptorProto.
final
msgDataDescriptor Uint8List
Descriptor for MsgData. Decode as a google.protobuf.DescriptorProto.
final
orderByDescriptor Uint8List
Descriptor for OrderBy. Decode as a google.protobuf.EnumDescriptorProto.
final
pageRequestDescriptor Uint8List
Descriptor for PageRequest. Decode as a google.protobuf.DescriptorProto.
final
pageResponseDescriptor Uint8List
Descriptor for PageResponse. Decode as a google.protobuf.DescriptorProto.
final
resultDescriptor Uint8List
Descriptor for Result. Decode as a google.protobuf.DescriptorProto.
final
searchTxsResultDescriptor Uint8List
Descriptor for SearchTxsResult. Decode as a google.protobuf.DescriptorProto.
final
signatureDescriptorDescriptor Uint8List
Descriptor for SignatureDescriptor. Decode as a google.protobuf.DescriptorProto.
final
signatureDescriptorsDescriptor Uint8List
Descriptor for SignatureDescriptors. Decode as a google.protobuf.DescriptorProto.
final
signDocDescriptor Uint8List
Descriptor for SignDoc. Decode as a google.protobuf.DescriptorProto.
final
signerInfoDescriptor Uint8List
Descriptor for SignerInfo. Decode as a google.protobuf.DescriptorProto.
final
signModeDescriptor Uint8List
Descriptor for SignMode. Decode as a google.protobuf.EnumDescriptorProto.
final
simulateRequestDescriptor Uint8List
Descriptor for SimulateRequest. Decode as a google.protobuf.DescriptorProto.
final
simulateResponseDescriptor Uint8List
Descriptor for SimulateResponse. Decode as a google.protobuf.DescriptorProto.
final
simulationResponseDescriptor Uint8List
Descriptor for SimulationResponse. Decode as a google.protobuf.DescriptorProto.
final
stringEventDescriptor Uint8List
Descriptor for StringEvent. Decode as a google.protobuf.DescriptorProto.
final
timestampDescriptor Uint8List
Descriptor for Timestamp. Decode as a google.protobuf.DescriptorProto.
final
txBodyDescriptor Uint8List
Descriptor for TxBody. Decode as a google.protobuf.DescriptorProto.
final
txDescriptor Uint8List
Descriptor for Tx. Decode as a google.protobuf.DescriptorProto.
final
txMsgDataDescriptor Uint8List
Descriptor for TxMsgData. Decode as a google.protobuf.DescriptorProto.
final
txRawDescriptor Uint8List
Descriptor for TxRaw. Decode as a google.protobuf.DescriptorProto.
final
txResponseDescriptor Uint8List
Descriptor for TxResponse. Decode as a google.protobuf.DescriptorProto.
final

Functions

channelCredentialsToJson(ChannelCredentials credentials) Object
channelOptionsFromJson(String value) → ChannelCredentials
copy(Uint8List source, int start, int end, Uint8List destination) → void
Copies the source array into the destination one, starting from the start position and ending at the end position.
defaultEncoder() TxEncoder
Returns a default protobuf TxEncoder.

Typedefs

AccountDeserializer = AccountI Function(Any any)
Represents a function that can read an Any as a particular AccountI implementation.
TxEncoder = Uint8List Function(Tx tx)
TxEncoder marshals a transaction to bytes