znn_sdk_dart library
Classes
- AccountBlock
- AccountBlockConfirmationDetail
- AccountBlockList
- AccountBlockTemplate
- AccountHeader
- AccountInfo
- Address
- AmountUtils
- BalanceInfoListItem
- BaseProject
- BlockUtils
- BytesUtils
- Client
- Crypto
- Definitions
- DelegationInfo
- Derivation
- DetailedMomentum
- DetailedMomentumList
- FindResponse
- FusionEntry
- FusionEntryList
- GetRequiredParam
- GetRequiredResponse
- Hash
- HashHeight
- KeyFile
- KeyPair
- KeyStore
- KeyStoreManager
- Level
- Levels to control logging output. Logging can be enabled to include all levels above certain Level. Levels are ordered using an integer value Level.value. The predefined Level constants below are sorted as follows (in descending order): Level.SHOUT, Level.SEVERE, Level.WARNING, Level.INFO, Level.CONFIG, Level.FINE, Level.FINER, Level.FINEST, and Level.ALL.
- Mnemonic
- Momentum
- MomentumList
- MomentumShort
- NetworkInfo
- OsInfo
- Peer
- Phase
- PillarEpochHistory
- PillarEpochHistoryList
- PillarEpochStats
- PillarInfo
- PillarInfoList
- PillarVote
- PillarVoteList
- PlasmaInfo
- ProcessInfo
- Project
- ProjectList
- RewardHistoryEntry
- RewardHistoryList
- SaveKeyStoreArguments
- SentinelInfo
- SentinelInfoList
- StakeEntry
- StakeList
- SwapAssetEntry
- SwapLegacyPillarEntry
- Token
- TokenList
- TokenStandard
- UncollectedReward
- Validations
- VoteBreakdown
- WsClient
- Zenon
- ZnnPaths
Extensions
Constants
- defaultHttpPort → const int
- defaultWsPort → const int
- defaultZnnGateway → const String
- emptyTokenStandard → const String
- intervalBetweenMomentums → const Duration
- memoryPoolPageSize → const int
- numRetries → const int
- ppTokenStandard → const String
- proposalActiveStatus → const int
- proposalClosedStatus → const int
- proposalCreationCostInZnn → const int
- proposalMaximumFundsInZnn → const int
- proposalMinimumFundsInZnn → const int
- proposalPaidStatus → const int
- proposalVotingStatus → const int
- qsrDecimals → const int
- qsrTokenStandard → const String
- rpcMaxPageSize → const int
- znnDecimals → const int
- znnRootDirectory → const String
- znnSdkVersion → const String
- znnTokenStandard → const String
Properties
- acceleratorAddress → Address
-
final
-
embeddedContractAddresses
→ List<
Address> -
final
- emptyAddress → Address
-
final
- emptyHash ↔ Hash
-
getter/setter pair
- emptyHashHeight → HashHeight
-
final
- emptyZts → TokenStandard
-
final
- fuseMinQsrAmount → int
-
final
- invalidPowLinksLibPathException ↔ ZnnSdkException
-
getter/setter pair
- logger → Logger
-
final
- minPlasmaAmount → int
-
final
- netId ↔ int
-
getter/setter pair
- noConnectionException → ZnnSdkException
-
final
- noKeyPairSelectedException ↔ ZnnSdkException
-
getter/setter pair
- oneQsr → int
-
final
- oneZnn → int
-
final
- pillarAddress → Address
-
final
- pillarNameMaxLength → int
-
final
- pillarNameRegExp → RegExp
-
final
- pillarRegisterQsrAmount → int
-
final
- pillarRegisterZnnAmount → int
-
final
- plasmaAddress → Address
-
final
- ppZts → TokenStandard
-
final
- proposalDescriptionMaxLength → int
-
final
- proposalNameMaxLength → int
-
final
- proposalUrlRegExp → RegExp
-
final
- qsrZts → TokenStandard
-
final
- sentinelAddress → Address
-
final
- sentinelRegisterQsrAmount → int
-
final
- sentinelRegisterZnnAmount → int
-
final
- sporkAddress → Address
-
final
- stakeAddress → Address
-
final
- stakeMinZnnAmount → int
-
final
- stakeTimeMaxSec → int
-
final
- stakeTimeUnitSec → int
-
final
- stakeUnitDurationName → String
-
final
- swapAddress → Address
-
final
- tokenAddress → Address
-
final
- tokenDomainRegExp → RegExp
-
final
- tokenNameMaxLength → int
-
final
- tokenNameRegExp → RegExp
-
final
-
tokenSymbolExceptions
→ List<
String> -
final
- tokenSymbolMaxLength → int
-
final
- tokenSymbolRegExp → RegExp
-
final
- tokenZtsIssueFeeInZnn → int
-
final
- znnDefaultCacheDirectory ↔ Directory
-
getter/setter pair
- znnDefaultDirectory ↔ Directory
-
getter/setter pair
- znnDefaultPaths ↔ ZnnPaths
-
getter/setter pair
- znnDefaultWalletDirectory ↔ Directory
-
getter/setter pair
- znnZts → TokenStandard
-
final
Functions
-
benchmarkPoW(
int difficulty) → String -
ensureDirectoriesExist(
) → void -
generatePoW(
Hash hash, int? difficulty) → Future< String> -
initializePoWLinks(
) → void -
saveKeyStoreFunction(
SaveKeyStoreArguments args) → void -
validateWsConnectionURL(
String url) → bool
Typedefs
-
ConnectionEstablishedCallback
= Future<
void> Function(Stream<Map< allResponseBroadcaster)String, dynamic> ?>