vite library
Classes
- AbiEntry
- AbiEntryParam
- AccountBlock
- AccountBlock class represents an on chain Account Block
- AccountBlockMessage
- AccountBlockWithHeightMessage
- AccountInfo
- AccountService
- Address
- AddressType
- Amount
- ArrayType
- BalanceInfo
- BlockTypeConverter
- BoolType
- Bytes32Type
- BytesType
- CallbackParam
- ConstructorEntry
- Contract
- ContractAbi
- ContractApi
- ContractCallParams
- DynamicArrayType
- Ed25519Blake2b
- EventEntry
- FunctionEntry
- FunctionType
- GidType
- Hash
- HashHeight
- HashPrefix
- HeightRange
- HttpService
- IntType
- IpcService
- KeyPair
- LedgerApi
- NetApi
- NoOpService
- NumericType
- OffchainEntry
- PowClient
- PowDifficultyParams
- PowDifficultyResult
- QueryParams
- RawTransaction
- RpcAccountBlock
- RpcAccountBlockMessage
- RpcAccountBlockRange
- RpcAccountBlockWithHeightMessage
- RpcAccountInfo
- RpcAddressLocation
- RpcApi
- RpcApiBase
- RpcBalanceInfo
- RpcClient
- RpcClientBase
- RpcContract
- RpcContractCallParams
- RpcContractInfo
- RpcDerivedAddress
- RpcEntropyFile
- RpcFilteredVmLog
- RpcFilterResponse
- RpcHashHeight
- RpcHeightRange
- RpcLedger
- RpcLedgerChunk
- RpcNet
- RpcNodeInfo
- RpcPeerInfo
- RpcPowDifficultyParams
- RpcPowDifficultyResult
- RpcQueryParams
- RpcQuotaInfo
- RpcRawTransaction
- RpcRewardByDayInfo
- RpcRewardInfo
- RpcSbpInfo
- RpcSbpVoteDetail
- RpcSbpVoteInfo
- RpcService
- RpcSnapshotBlock
- RpcSnapshotBlockMessage
- RpcStakeInfo
- RpcStakeInfoRequest
- RpcStakeListInfo
- RpcSubscribe
- RpcSyncCache
- RpcSyncChunk
- RpcSyncConnection
- RpcSyncDetail
- RpcSyncInfo
- RpcTokenInfo
- RpcTokenListInfo
- RpcTxWithPassphrase
- RpcUnreceivedBlockMessage
- RpcUtil
- RpcVmLog
- RpcVmLogFilter
- RpcVoteInfo
- RpcWallet
- Signature
- A modified implementation of tweetnacl that uses blake2b instead of sha256 Signature algorithm, Implements ed25519.
- SignerBase
- SnapshotBlock
- SnapshotBlockMessage
- SolidityType
- Solidity types
- StaticArrayType
- StringType
- SubscribeApi
- Token
- TokenIdType
- TokenInfo
- TokenInfoList
- UintType
- UnreceivedBlockMessage
- UtilApi
- ViteClient
- VmLog
- VmLogFilter
- VmLogMessage
- Wallet
- WalletApi
- WsService
Extensions
Constants
-
abiEntryTypeMapping
→ const Map<
String, AbiEntryType> - addressTypeKey → const String
- boolTypeKey → const String
- bytesTypeKey → const String
- consensusContract → const Contract
- consensusContractAddress → const String
- delegateGid → const String
- dexFundContractAddress → const String
- dexTradeContractAddress → const String
- functionTypeKey → const String
- gidTypeKey → const String
- int256TypeKey → const String
- intTypeKey → const String
- kAddressChecksumSize → const int
- kAddressCoreSize → const int
-
kBip39EnglishWords
→ const Set<
String> - kEmptyHashHex → const String
- kHashHexLength → const int
- kHashSize → const int
- kPrivateKeyLength → const int
- kPublicKeyLength → const int
- kSeedSize → const int
- kTokenChecksumSize → const int
- kTokenCoreSize → const int
- kTokenIdLength → const int
- kTokenIdPrefix → const String
- kViteAddressLength → const int
- kViteAddressPrefix → const String
- quotaContract → const Contract
- snapshotGid → const String
- stakingContractAddress → const String
- stringTypeKey → const String
- tokenIdTypeKey → const String
- tokenIssuanceContract → const Contract
- tokenIssuanceContractAddress → const String
- uint256TypeKey → const String
- uintTypeKey → const String
- vcpTokenDecimals → const int
- vcpTokenId → const String
- viteTokenDecimals → const int
- viteTokenId → const String
- vxTokenDecimals → const int
- vxTokenId → const String
Properties
- createContractFee → BigInt
-
final
- issueTokenFee → BigInt
-
final
- minStakeForQuotaAmount → BigInt
-
final
- registerSbpStakeAmount → BigInt
-
final
Functions
-
base64ToBytes(
String data) → Uint8List -
bigIntToBytes(
BigInt bigInt) → Uint8List -
bigIntToBytesUnsigned(
BigInt bigInt) → Uint8List -
blockTypeFromValue(
int value) → BlockType -
blockTypeToValue(
BlockType type) → int -
bytesToBase64(
Uint8List bytes) → String -
bytesToBigInt(
Uint8List bytes) → BigInt -
bytesToBigIntUnsigned(
Uint8List bytes) → BigInt -
bytesToHex(
Uint8List bytes) → String -
bytesUtf8ToString(
Uint8List bytes) → String -
computePowDataHash(
Address address, Hash previousHash) → Hash -
computeTxHash(
RawTransaction transaction) → Hash -
defaultSubscribeCallback<
T> (T object) → void -
digest(
{required Uint8List data, int digestSize = 32}) → Uint8List -
entropyHexToMnemonic(
String entropyHex) → String -
fromJson(
TypeMapping typeMapping) → TypeFactory -
generateMnemonic(
{int strength = 256}) → String -
hexToBytes(
String hex) → Uint8List -
isContractReceiveSuccess(
{required Address address, required BlockType blockType, required Uint8List data}) → bool -
isHex(
String hex) → bool -
isValidMnemonic(
String mnemonic, {bool verifyChecksum = true}) → bool -
isValidMnemonicWord(
String word) → bool -
leftPadBytes(
Uint8List bytes, int size) → Uint8List -
mnemonicToEntropyHex(
String mnemonic) → String -
mnemonicToSeed(
String mnemonic, {String passphrase = ''}) → Uint8List -
powDataForTx(
RawTransaction tx) → Hash -
publicKeyFromPrivateKey(
Uint8List privateKey) → Uint8List -
rightPadBytes(
Uint8List bytes, int size) → Uint8List -
sign(
{required Uint8List message, required Uint8List privateKey}) → Uint8List -
stringToBytesUtf8(
String str) → Uint8List -
unixSocketChannel(
String path) → StreamChannel< List< int> > -
verify(
{required Uint8List signature, required Uint8List message, required Uint8List publicKey}) → bool
Typedefs
-
FromJson<
T> = T Function(Map< String, dynamic> ) - RpcBase64 = String
- RpcBigInt = String
- RpcFilterId = String
- RpcHash = String
- RpcHex = String
- RpcSubscribeCallback = void Function(RpcFilterResponse)
- RpcSubscriptionId = String
- RpcUint64 = String
-
SubscribeCallback
= void Function(Map<
String, dynamic> ) - TokenId = String
-
TypedSubscribeCallback<
T> = void Function(CallbackParam) -
TypeFactory
= T Function<
T>(dynamic) -
TypeMapping
= Map<
Type, FromJson> - ViteAddress = String