flutter_nekoton_bridge
library
Classes
-
AbiParam
-
-
AccountsList
-
-
AccountsStorage
-
Implementations of nekoton's AccountsStorage
-
AccountsStorageImpl
-
-
AccountToAdd
-
-
AdditionalAssets
-
-
Address
-
-
ArcAccountsStorageBoxTrait
-
-
ArcAccountsStorageBoxTraitImpl
-
-
ArcGenericContractBoxTrait
-
-
ArcGenericContractBoxTraitImpl
-
-
ArcGqlConnectionBoxTrait
-
-
ArcGqlConnectionBoxTraitImpl
-
-
ArcJettonWalletBoxTrait
-
-
ArcJettonWalletBoxTraitImpl
-
-
ArcJrpcConnectionBoxTrait
-
-
ArcJrpcConnectionBoxTraitImpl
-
-
ArcKeyStoreApiBoxTrait
-
-
ArcKeyStoreApiBoxTraitImpl
-
-
ArcLedgerConnectionBoxTrait
-
-
ArcLedgerConnectionBoxTraitImpl
-
-
ArcProtoConnectionBoxTrait
-
-
ArcProtoConnectionBoxTraitImpl
-
-
ArcStorageBoxTrait
-
-
ArcStorageBoxTraitImpl
-
-
ArcTokenWalletBoxTrait
-
-
ArcTokenWalletBoxTraitImpl
-
-
ArcTonWalletBoxTrait
-
-
ArcTonWalletBoxTraitImpl
-
-
ArcTransportBoxTrait
-
-
ArcTransportBoxTraitImpl
-
-
ArcUnsignedMessageBoxTrait
-
-
ArcUnsignedMessageBoxTraitImpl
-
-
AssetsList
-
-
BaseHandler
-
Generically handles a Dart-Rust call.
-
Bip39MnemonicData
-
Mirror struct of Bip39MnemonicData
-
BlockchainConfig
-
Config of transport that could be used in executeLocal
-
CallerTestClass
-
-
CommonCurrencies
-
Provides a list of the most common currencies.
-
ContractState
-
-
CreateKeyInput
-
-
Currencies
-
A factory for registering, parsing and finding Currency instances.
-
Currency
-
Allows you to create a Currency which is then used to construct
Money instances.
-
DartCallback
-
-
DartCallStub
-
Instruction for dart side that should call some method of some class instance.
-
DartCallStubRegistred
-
Registered call of dart function that is tracked in rust side
-
DecodedEvent
-
-
DecodedInput
-
-
DecodedOutput
-
-
DecodedTransaction
-
-
DecodedTransactionEvent
-
-
DePoolAsset
-
-
DePoolOnRoundCompleteNotification
-
-
DePoolReceiveAnswerNotification
-
-
DerivedKeyCreateInput
-
Input for creating labs key
-
DerivedKeyCreateInputDerive
-
-
DerivedKeyCreateInputImport
-
-
DerivedKeyExportOutput
-
-
DerivedKeyExportSeedParams
-
-
DerivedKeyGetPublicKeys
-
-
DerivedKeyPassword
-
-
DerivedKeyPasswordByAccountId
-
-
DerivedKeyPasswordByPublicKey
-
-
DerivedKeyUpdateParams
-
-
DerivedKeyUpdateParamsChangePassword
-
-
DerivedKeyUpdateParamsRenameKey
-
-
DynamicNamedValue
-
Value of function call that should be placed in dart as named parameter.
EX: void funcCall({int? valueName}) -> DynamicNamedValue(name: "valueName", value: DynamicValue::U32(10))
-
DynamicValue
-
-
EncryptedData
-
-
EncryptedKeyCreateInput
-
Input for creating legacy key
-
EncryptedKeyExportSeedOutput
-
-
EncryptedKeyGetPublicKeys
-
-
EncryptedKeyPassword
-
-
EncryptedKeyUpdateParams
-
-
EncryptedKeyUpdateParamsChangePassword
-
-
EncryptedKeyUpdateParamsRename
-
-
ExchangePlatform
-
The ExchangePlatform allows you to register a set of ExchangeRate
which you can then use to do currency conversions.
-
ExchangeRate
-
When defining an exchange rate we need to specify
the conditions under which the exchange is calculated.
-
ExecutionOutput
-
-
ExistingContract
-
-
ExistingWalletInfo
-
-
Expiration
-
-
ExportKeyInput
-
-
ExportKeyOutput
-
-
FeeFactors
-
-
Fixed
-
Represents a fixed scale decimal no.
-
FullContractState
-
-
FunctionCall
-
-
GeneratedKeyG
-
Wrapper struct above GeneratedKey with suitable type for generation
-
GenericContract
-
Implementation of nekoton's GenericContract.
-
GenericContractDartWrapper
-
-
GenTimings
-
-
GetPublicKeys
-
-
GqlConnection
-
-
GqlConnectionDartWrapper
-
-
GqlConnectionHttpClient
-
-
GqlNetworkSettings
-
-
GqlTransport
-
Implementation of jrpc transport
-
GqlTransportImpl
-
Wrapper structure above GqlTransport that provides interface to communicate with it
via TransportBoxTrait.
-
Int64List
-
A strict version of $data.Int64List which always returns a BigInt.
-
InternalMessage
-
-
JettonIncomingTransfer
-
-
JettonMetaData
-
-
JettonOutgoingTransfer
-
-
JettonRootData
-
-
JettonWallet
-
Implementation of nekoton's JettonWallet.
-
JettonWalletDartWrapper
-
-
JettonWalletData
-
-
JrpcConnection
-
-
JrpcConnectionDartWrapper
-
-
JrpcConnectionHttpClient
-
Interface for http client to make post requests.
-
JrpcNetworkSettings
-
-
JrpcTransport
-
Implementation of jrpc transport
-
JrpcTransportImpl
-
-
Keypair
-
-
KeySigner
-
-
KeyStore
-
Implementation of nekoton's KeyStore
For all of method:
signer - is one of strings to identify type of key (ENCRYPTED_KEY_SIGNER_NAME,
DERIVED_KEY_SIGNER_NAME or LEDGER_KEY_SIGNER_NAME)
-
KeystoreDartWrapper
-
-
KeyStoreEntry
-
-
KnownPayload
-
-
LastTransactionId
-
-
LatestBlock
-
-
LedgerConnection
-
-
LedgerConnectionDartWrapper
-
-
LedgerConnectionHandler
-
-
LedgerConnectionImpl
-
Implementation of nekoton's LedgerConnection
-
LedgerKeyCreateInput
-
-
LedgerKeyGetPublicKeys
-
-
LedgerSignatureContext
-
-
LedgerSignInput
-
-
LedgerUpdateKeyInput
-
-
LedgerUpdateKeyInputRename
-
-
LogEntry
-
Log entry
-
Message
-
-
MnemonicType
-
-
MnemonicTypeJsonConverter
-
Json converter for MnemonicType
-
Money
-
Allows you to store, print and perform mathematically operations on money
whilst maintaining precision.
-
MoneyData
-
DTO for exchange of data between an instance of Money and
PatternEncoder
or PatternDecoder
.
-
MoneyDecoder<T>
-
Bases class for implementing a decoder for money.
-
MoneyEncoder<T>
-
Bases class for implementing a encoder for money.
-
MultisigConfirmTransaction
-
-
MultisigPendingTransaction
-
-
MultisigSendTransaction
-
-
MultisigSubmitTransaction
-
-
MultisigTransaction
-
-
MyClass
-
-
MyFormat
-
-
NekotonBridge
-
Main entrypoint of the Rust API
-
NekotonBridgeApi
-
-
NekotonBridgeApiImpl
-
-
NormalTask<S, E extends Object>
-
A task to call FFI function.
-
OnBalanceChangedPayload
-
-
OnMessageExpiredPayload
-
-
OnMessageSentPayload
-
-
OnStateChangedPayload
-
-
OnTransactionsFoundPayload
-
-
Password
-
-
PasswordCacheBehavior
-
-
PasswordExplicit
-
-
PendingTransaction
-
-
Percentage
-
Helper class to allow us to do percentage
calculations on Money amounts.
Percentage is described as a decimal Fixed
so 20% is expressed as 20.0
-
ProtoConnection
-
-
ProtoConnectionDartWrapper
-
-
ProtoConnectionHttpClient
-
Interface for http client to make post requests.
-
ProtoNetworkSettings
-
-
ProtoTransport
-
Implementation of proto transport
-
ProtoTransportImpl
-
-
PublicKey
-
Public key of the account
-
RawContractState
-
-
RawTransaction
-
-
RefreshingInterface
-
Interface, that should be implemented by any wallet or contract
that supports functionality of refreshing.
-
RootTokenContractDetails
-
-
RustStreamSink<T>
-
The Rust
StreamSink<T>
on the Dart side.
-
RustToDartCaller
-
Class that is used to unify calls from rust to dart for any types and count of instances.
-
RustToDartMirrorInterface
-
Mirroring interface for classes that is used with RustToDartCaller to specify which instance
should invoke calls from rust by instanceHash.
-
SignatureParts
-
Structure that is used with signing data
high and low looks like: 0x{hex_data}
-
SignedData
-
Structure that is used with signing data
-
SignedDataRaw
-
Structure that is used with signing data
-
SignedMessage
-
-
SignInput
-
-
Storage
-
-
StorageDartWrapper
-
-
StorageFeeInfo
-
-
StorageImpl
-
Implementation of nekoton's Storage
-
SubscriptionHandlerMessage
-
-
Symbol
-
-
SyncTask<S, E extends Object, WireSyncType>
-
A task to call FFI function, but it is synchronous.
-
TokenIncomingTransfer
-
-
TokenOutgoingTransfer
-
-
TokenSwapBack
-
-
TokenWallet
-
Implementation of nekoton's TonWallet.
-
TokenWalletAsset
-
-
TokenWalletDartWrapper
-
-
TokenWalletDeployedNotification
-
-
TokenWalletDetails
-
-
TokenWalletTransaction
-
-
TonWallet
-
Implementation of nekoton's TonWallet.
-
TonWalletAsset
-
-
TonWalletDartWrapper
-
-
TonWalletDetails
-
-
TonWalletTransactionWithData
-
-
TonWalletTransferParams
-
-
Transaction
-
-
TransactionAdditionalInfo
-
-
TransactionExecutionOptions
-
-
TransactionId
-
-
TransactionsBatchInfo
-
-
TransactionsList
-
-
TransactionWithData<T>
-
-
TransferRecipient
-
-
Transport
-
Abstract class for transport, so we can combine both implementations into single list
-
TxTreeSimulationError
-
-
TxTreeSimulationErrorItem
-
-
Uint64List
-
A strict version of $data.Uint64List which always returns a BigInt.
-
UnsignedMessage
-
Wrapper above nekoton's UnsignedMessage
-
UnsignedMessageImpl
-
This struct creates only in rust side and describes UnsignedMessage
-
UpdateKeyInput
-
-
WalletInteractionInfo
-
-
WalletInteractionMethod
-
-
WalletType
-
Functions
-
callSendResult({required String id, required DynamicValue value})
→ void
-
Callback functions for returning Dart method result
-
checkPublicKey(PublicKey publicKey)
→ bool
-
Check if public key is correct.
Return true or false
-
codeToTvc(String code)
→ (String, String)
-
Convert code to base64 tvc string and return (tvc, hash) or throw error
-
computeStorageFee({required String config, required String account, required int utime, bool? isMasterchain})
→ Future<StorageFeeInfo>
-
config
- value from Transport.getBlockchainConfig
account
- base64-encoded boc
utime
- seconds
isMasterchain
- default: false
-
computeTonWalletAddress({required PublicKey publicKey, required WalletType walletType, required int workchain})
→ Address
-
-
createExternalMessage({required String dst, required String contractAbi, required String method, String? stateInit, required TokensObject input, required PublicKey publicKey, required Duration timeout})
→ Future<UnsignedMessage>
-
Create external unsigned message that can be listened and handled or throws error
-
createExternalMessageWithoutSignature({required Address dst, required String contractAbi, required String method, String? stateInit, required TokensObject input, required Duration timeout})
→ Future<SignedMessage>
-
Returns SignedMessage from nekoton or throws error
-
createLogStream()
→ Stream<LogEntry>
-
Create log stream
-
createRawExternalMessage({required Address dst, required Duration timeout, String? stateInit, String? body})
→ Future<SignedMessage>
-
Create raw external message without real signing or throws error
-
decodeEvent({required String messageBody, required String contractAbi, dynamic event})
→ Future<DecodedEvent?>
-
Decode input data and return DecodedEvent or throws error
-
decodeInput({required String messageBody, required String contractAbi, dynamic method, required bool internal})
→ Future<DecodedInput?>
-
Decode input data and return DecodedInput or throws error
-
decodeOutput({required String messageBody, required String contractAbi, dynamic method})
→ Future<DecodedOutput?>
-
Decode output data and return DecodedOutput or throws error
-
decodeTransaction({required Transaction transaction, required String contractAbi, dynamic method})
→ Future<DecodedTransaction?>
-
Decode transaction and return DecodedTransaction or throws error
-
decodeTransactionEvents({required Transaction transaction, required String contractAbi})
→ Future<List<DecodedEvent>>
-
Decode events of transaction and return list of DecodedEvent or throws error
-
deriveFromPhrase({required String phrase, required MnemonicType mnemonicType})
→ Keypair
-
Generate public and secret keys from seed phrase and mnemonic type
Returns json {'public': '...', 'secret': '...'}
or throws Exception
-
comment
- comment to encode
plain
- if true, then return plain comment payload (used for TON)
-
encodeInternalInput({required String contractAbi, required String method, required TokensObject input})
→ Future<String>
-
Returns base64-encoded body that was encoded or throws error
-
encodeInternalMessage({required Address dst, required bool bounce, required BigInt amount, Address? src, String? stateInit, String? body, bool? bounced})
→ Future<String>
-
Returns base-64 encoded Message or throws error
-
executeLocal({required String config, required String account, required String message, required DateTime utime, required bool disableSignatureCheck, BigInt? overwriteBalance, int? globalId})
→ Future<(String, Transaction)>
-
Run contract locally.
config
- value from Transport.getBlockchainConfig
account
- boc from makeFullAccountBoc
message
- base64-encoded boc from one of:
-
Extract public key from boc and return it or throw error
-
generateKey({required MnemonicType accountType})
→ GeneratedKeyG
-
Generate seed phrase by specified mnemonic type
-
getBocHash(String boc)
→ String
-
Returns hash of decoded boc or throws error
-
getCodeSalt(String code)
→ String?
-
Get salt from code if possible and return base64-encoded salt or throw error
-
getContractTypeNumber(WalletType walletType)
→ int
-
-
getExpectedAddress({required String tvc, required String contractAbi, required int workchainId, PublicKey? publicKey, required TokensObject initData})
→ Future<(Address, String, String)>
-
Get address of tvc and contract_abi.
Returns list of
address, state_init, hash
or throws error
-
getHash(String string)
→ String
-
Get hash of String
-
getHints({required String input})
→ List<String>
-
Get hints for input part of word of seed phrase to get possible words
input: acco
returns
account, accommodate, ...
-
initCaller()
→ Stream<DartCallStubRegistred>
-
Init caller
-
initLogger({required LogLevel level, required bool mobileLogger})
→ Future<void>
-
-
initRustToDartCaller()
→ Future<void>
-
Init rust to dart caller that will call methods of registered instances.
For details, see RustToDartCaller
-
loadExternalLibrary(ExternalLibraryLoaderConfig config)
→ FutureOr<ExternalLibrary>
-
Load the
ExternalLibrary
, with the following cases in mind:
-
makeFullAccountBoc(String? accountStuffBoc)
→ Future<String>
-
Returns base-64 encoded Account or throws error
accountStuffBoc
- FullContractState.boc
-
mergeTvc({required String code, required String data})
→ (String, String)
-
Merge code and data to tvc base64 string and return (tvc, hash)
or throw error
-
ntCheckPublicKey({required String publicKey})
→ bool
-
-
ntCodeToTvc({required String code})
→ List<String>
-
Convert code to base64 tvc string and return it or throw error
returns
tvc, hash
-
ntComputeStorageFee({required String config, required String account, required int utime, required bool isMasterchain})
→ Future<String>
-
-
ntComputeTonWalletAddress({required String publicKey, required String walletType, required int workchain})
→ String
-
-
ntCreateExternalMessage({required String dst, required String contractAbi, required String method, String? stateInit, required String input, required String publicKey, required int timeout})
→ Future<UnsignedMessageImpl>
-
Create external unsigned message that can be listened and handled or throws error
timeout - milliseconds
-
ntCreateExternalMessageWithoutSignature({required String dst, required String contractAbi, required String method, String? stateInit, required String input, required int timeout})
→ Future<String>
-
Returns json-encoded SignedMessage from nekoton or throws error
timeout - milliseconds
-
ntCreateRawExternalMessage({required String dst, String? stateInit, String? body, required int timeout})
→ Future<String>
-
Returns json-encoded SignedMessage or throws error
dst - destination address
timeout - milliseconds
-
ntDecodeEvent({required String messageBody, required String contractAbi, String? event})
→ Future<String>
-
Decode input data and return json-encoded DecodedEvent or throws error
-
ntDecodeInput({required String messageBody, required String contractAbi, String? method, required bool internal})
→ Future<String>
-
Decode input data and return json-encoded DecodedInput or throws error
-
ntDecodeOutput({required String messageBody, required String contractAbi, String? method})
→ Future<String>
-
Decode output data and return json-encoded DecodedOutput or throws error
-
ntDecodeTransaction({required String transaction, required String contractAbi, String? method})
→ Future<String>
-
Decode transaction and return json-encoded DecodedTransaction or throws error
-
ntDecodeTransactionEvents({required String transaction, required String contractAbi})
→ Future<String>
-
Decode events of transaction and return json-encoded list of DecodedEvent or throws error
-
ntDeriveFromPhrase({required String phrase, required MnemonicType mnemonicType})
→ String
-
Generate public and secret keys from seed phrase and mnemonic type
Returns json {'public': '...', 'secret': '...'}
or throws Exception
-
-
ntEncodeInternalInput({required String contractAbi, required String method, required String input})
→ Future<String>
-
Returns base64-encoded body that was encoded or throws error
-
ntEncodeInternalMessage({String? src, required String dst, required bool bounce, String? stateInit, String? body, required String amount, bool? bounced})
→ Future<String>
-
Returns base-64 encoded Message or throws error
src - address of sender
dst - address of destination
body - base64-encoded data
-
ntExecuteLocal({required String config, required String account, required String message, required int utime, required bool disableSignatureCheck, String? overwriteBalance, int? globalId})
→ Future<List<String>>
-
Run contract locally.
config
- base64-encoded ConfigParams after (getBlockchainConfig)
message
- base64-encoded Message after (encodeInternalMessage)
utime
- unixtime in milliseconds
account
- account address
Returns boc, transaction
if everything is ok or
error_code
if transaction failed
or throws error
-
Extract public key from boc and return it or throw error
-
ntGenerateKey({required MnemonicType accountType})
→ GeneratedKeyG
-
-
ntGetBocHash({required String boc})
→ String
-
Returns hash of decoded boc or throws error
-
ntGetCodeSalt({required String code})
→ String?
-
Get salt from code if possible and return base64-encoded salt or throw error
-
ntGetContractTypeNumber({required String walletType})
→ int
-
-
ntGetExpectedAddress({required String tvc, required String contractAbi, required int workchainId, String? publicKey, required String initData})
→ Future<List<String>>
-
Get address of tvc and contract_abi.
Returns list of
address, boc of state_init, hash
or throws error
-
ntGetHints({required String input})
→ List<String>
-
Get hints for input part of word of seed phrase to get possible words
input: acco
returns
account, accommodate, ...
-
ntMakeFullAccountBoc({String? accountStuffBoc})
→ Future<String>
-
Returns base-64 encoded Account or throws error
-
ntMergeTvc({required String code, required String data})
→ List<String>
-
Merge code and data to tvc base64 string and return it or throw error
returns
tvc, hash
-
ntPackAddress({required String address, required bool isUrlSafe, required bool bounceable})
→ String
-
-
ntPackIntoCell({required String params, required String tokens, String? version})
→ List<String>
-
Return base64 encoded bytes of tokens or throws error
returns
tvc, hash
-
ntPackStdSmcAddr({required String addr, required bool base64Url, required bool bounceable})
→ String
-
Pack address std smd or throw error
Returns new packed address as string
-
ntParseFullAccountBoc({required String account})
→ Future<String?>
-
Returns optional json-encoded FullContractState or throws error
account - base64-encoded boc after execute_local
-
ntParseKnownPayload({required String payload})
→ String?
-
Parse payload and return optional json-encoded KnownPayload or throws error
-
ntRepackAddress({required String address})
→ String
-
Repack address and return MsgAddressInt string or original string if failed
-
ntRunGetter({required String accountStuffBoc, required String contractAbi, required String methodId, required String input, required Map<String, String> libraries, int? signatureId})
→ Future<String>
-
Run getter.
Return json-encoded VmGetterOutput or throws error.
-
ntRunLocal({required String accountStuffBoc, required String contractAbi, required String methodId, required String input, required bool responsible, required Map<String, String> libraries, int? signatureId})
→ Future<String>
-
Run contract local.
Return json-encoded ExecutionOutput or throws error.
-
ntRunLocalWithLibs({required ArcTransportBoxTrait transport, required String accountStuffBoc, required String contractAbi, required String methodId, required String input, required bool responsible, required Map<String, String> libraries, required int retryCount, int? signatureId})
→ Future<String>
-
-
ntSetCodeSalt({required String code, required String salt})
→ List<String>
-
Set salt to code and return base64-encoded string or throw error
returns
tvc, hash
-
ntSplitTvc({required String tvc})
→ List<String?>
-
Split base64 tvc string into data and code.
Return vec![data, code] or throw error
-
ntUnpackContractFields({required String contractAbi, required String boc, required bool allowPartial})
→ Future<String?>
-
Unpack contract fields.
Returns optional json-encoded Map<String, Token> or throw error
-
ntUnpackFromCell({required String params, required String boc, required bool allowPartial, String? version})
→ String
-
Parse list of params and return json-encoded Tokens or throws error
-
ntUnpackInitData({required String contractAbi, required String data})
→ Future<List<String?>>
-
Unpack data by contract.
Returns
option publicKey, json-encoded Map<String, Token>
or throw error
-
ntUnpackStdSmcAddr({required String packed, required bool base64Url})
→ String
-
Unpack address std smd or throw error.
Returns json-encoded MsgAddressInt
-
ntValidateAddress({required String address})
→ bool
-
Return true if address is valid, false otherwise
-
ntVerifySignature({required String publicKey, required String data, required String signature, int? signatureId})
→ Future<bool>
-
-
packAddress(Address address, {bool isUrlSafe = true, bool bounceable = true})
→ Address
-
-
packIntoCell({required List<AbiParam> params, required TokensObject tokens, String? abiVersion})
→ (String, String)
-
Return (base64 tvc, hash) or throws error
-
packStdSmcAddr({required Address address, required bool base64Url, required bool bounceable})
→ String
-
Pack address std smd or throw error
Returns new packed address as string
-
parseFullAccountBoc(String account)
→ Future<FullContractState?>
-
account
- base64-encoded boc after executeLocal
-
parseKnownPayload(String payload)
→ KnownPayload?
-
Parse payload and return KnownPayload or throws error
-
registerRustToDartCaller(RustToDartCaller rustToDartCaller)
→ Future<void>
-
-
repackAddress(Address address)
→ Address
-
Repack address and return json-encoded MsgAddressInt or throw error
-
runGetter({required String accountStuffBoc, required String contractAbi, required String methodId, required Map<String, dynamic> input, int? signatureId, Map<String, String>? libraries})
→ Future<ExecutionOutput>
-
Run getter.
Return json-encoded ExecutionOutput or throws error.
-
runLocal({required String accountStuffBoc, required String contractAbi, required String methodId, required Map<String, dynamic> input, required bool responsible, int? signatureId, Map<String, String>? libraries})
→ Future<ExecutionOutput>
-
Run contract local.
Return json-encoded ExecutionOutput or throws error.
-
runLocalWithLibs({required Transport transport, required String accountStuffBoc, required String contractAbi, required String methodId, required Map<String, dynamic> input, required bool responsible, int? signatureId, Map<String, String>? libraries, int retryCount = 5})
→ Future<ExecutionOutput>
-
-
setClockOffset({required PlatformInt64 offsetMs})
→ Future<void>
-
Set clock offset in milliseconds
-
setCodeSalt({required String code, required String salt})
→ (String, String)
-
Set salt to code and return (tvc, hash) or throw error
-
setupLogger({LogLevel level = LogLevel.warn, bool mobileLogger = true, required void logHandler(LogEntry logEntry)})
→ Future<void>
-
Init logger
-
simpleAdder({required int a, required int b})
→ Future<int>
-
-
simpleAdderSync({required int a, required int b})
→ int
-
-
simpleCallDart()
→ Future<void>
-
-
simpleCallFunc0({required bool needResult})
→ Future<void>
-
-
simpleCallFunc1({required bool needResult})
→ Future<void>
-
-
simpleCallFunc2()
→ Future<void>
-
-
simpleCallFunc3()
→ Future<void>
-
-
simpleLog({required String string})
→ Future<void>
-
-
simplePanic()
→ Future<void>
-
-
splitTvc(String tvc)
→ (String?, String?)
-
Split base64 tvc string into data and code.
Return (data, code) or throw error
-
stubCallDart({required DartCallStub stub})
→ Future<void>
-
-
stubDcs()
→ Future<DartCallStub>
-
-
stubDv()
→ Future<DynamicValue>
-
-
testCallerCallTest0Async({required String string, required bool needResult})
→ Future<DynamicValue>
-
-
testCallerCallTest0Sync({required String string, required bool needResult})
→ DynamicValue
-
-
testCallerCallTest1Async({required String string, required bool needResult})
→ Future<DynamicValue>
-
-
testLoggerDebug({required String string})
→ Future<void>
-
-
testLoggerError({required String string})
→ Future<void>
-
-
testLoggerInfo({required String string})
→ Future<void>
-
-
testLoggerPanic({required String string})
→ Future<void>
-
-
testLoggerWarn({required String string})
→ Future<void>
-
-
unpackContractFields({required String contractAbi, required String boc, required bool allowPartial})
→ Future<Map<String, dynamic>?>
-
Unpack contract fields.
Returns optional json-encoded Map<String, Token> or throw error
-
unpackFromCell({required List<AbiParam> params, required String boc, required bool allowPartial, String? abiVersion})
→ TokensObject
-
Parse list of params and return json-encoded Tokens or throws error
-
unpackInitData({required String contractAbi, required String data})
→ Future<(PublicKey?, Map<String, dynamic>)>
-
Unpack data from
contractAbi
.
Returns optional public key and json-encoded Map<String, Token>
or throws error.
-
unpackStdSmcAddr({required String packed, required bool base64Url})
→ String
-
-
updateClockOffset(Duration offset)
→ Future<void>
-
Update clock offset
-
validateAddress(Address address)
→ bool
-
Return true if address is valid, false otherwise
-
verifySignature({required PublicKey publicKey, required String data, required String signature, required int? signatureId})
→ Future<bool>
-
Check signature by publicKey and data hash