nekoton_bridge library

Support for doing something awesome.

More dartdocs go here.

Classes

AccountsStorageImpl
ArcAccountsStorageBoxTrait
ArcGenericContractBoxTrait
ArcGqlConnectionBoxTrait
ArcJrpcConnectionBoxTrait
ArcKeyStoreApiBoxTrait
ArcLedgerConnectionBoxTrait
ArcProtoConnectionBoxTrait
ArcStorageBoxTrait
ArcTokenWalletBoxTrait
ArcTonWalletBoxTrait
ArcTransportBoxTrait
ArcUnsignedMessageBoxTrait
Awesome
Checks if you are awesome. Spoiler: you are.
CallerTestClass
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
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
DynamicValue_Error
DynamicValue_F32
DynamicValue_F64
DynamicValue_I32
DynamicValue_I64
DynamicValue_MegaStruct
DynamicValue_None
DynamicValue_String
DynamicValue_U16
DynamicValue_U32
DynamicValue_U64
DynamicValue_VecU8
FfiException
An exception that is generated by Rust code.
GeneratedKeyG
Wrapper struct above GeneratedKey with suitable type for generation
GenericContractDartWrapper
GqlConnectionDartWrapper
GqlTransportImpl
Wrapper structure above GqlTransport that provides interface to communicate with it via TransportBoxTrait.
JrpcConnectionDartWrapper
JrpcTransportImpl
KeySigner
KeySigner_Derived
KeySigner_Encrypted
KeySigner_Ledger
KeySigner_Stub
KeystoreDartWrapper
LatestBlock
LedgerConnectionDartWrapper
LedgerConnectionImpl
Implementation of nekoton's LedgerConnection
LogEntry
Log entry
MnemonicType
MnemonicType_Labs
MnemonicType_Legacy
MnemonicTypeJsonConverter
Json converter for MnemonicType
MyClass
NekotonBridge
NekotonBridgeImpl
ProtoConnectionDartWrapper
ProtoTransportImpl
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
StorageDartWrapper
StorageImpl
Implementation of nekoton's Storage
TokenWalletDartWrapper
TonWalletDartWrapper
TransactionExecutionOptions
UnsignedMessageImpl
This struct creates only in rust side and describes UnsignedMessage

Functions

api2wire_bool(bool raw) bool
api2wire_error_code(ErrorCode raw) int
api2wire_f32(double raw) double
api2wire_f64(double raw) double
api2wire_i32(int raw) int
api2wire_i8(int raw) int
api2wire_log_level(LogLevel raw) int
api2wire_u16(int raw) int
api2wire_u32(int raw) int
api2wire_u8(int raw) int
createLib() NekotonBridge
createWrapper(ExternalLibraryCreator creator) NekotonBridge
mockWrapper(NekotonBridge mock) → void
Mock bridge library for test. To setup wrapper, put mock instance to allow createLib to avoid creating native library.

Typedefs

ExternalLibraryCreator = ExternalLibrary Function()
Support function that allows create library not in createLib but in createWrapper allowing us to mock bridge wrapper via mockWrapper.