tagion.betterC.mobile.WalletWrapperApi

Undocumented in source.

Members

Enums

drtStatus
enum drtStatus

Used for describing the d-runtime status

Functions

add_bill
bool add_bill(uint32_t wallet_doc_id, uint32_t bill_doc_id)
Undocumented in source. Be warned that the author may not have intended to support it.
contract_create
uint contract_create(uint32_t doc_id, uint32_t dev_pin_doc_id, uint32_t invoice_doc_id, uint8_t* pincodePtr, uint32_t pincodeLen, uint32_t aes_doc_id)
Undocumented in source. Be warned that the author may not have intended to support it.
contract_create_with_amount
uint contract_create_with_amount(uint32_t wallet_doc_id, uint32_t dev_pin_doc_id, uint32_t invoice_doc_id, uint8_t* pincodePtr, uint32_t pincodeLen, uint32_t aes_doc_id, uint64_t amount)

TODO: Check amount.

decrypt
Buffer decrypt(Buffer encrypted_seed, Document aes_key_doc)
Undocumented in source. Be warned that the author may not have intended to support it.
generateAESKey
uint generateAESKey(const(uint32_t) aes_key_doc_id)
Undocumented in source. Be warned that the author may not have intended to support it.
get_balance_available
ulong get_balance_available(uint32_t doc_id)
Undocumented in source. Be warned that the author may not have intended to support it.
get_balance_locked
ulong get_balance_locked(uint32_t wallet_doc_id)
Undocumented in source. Be warned that the author may not have intended to support it.
invoice_create
uint invoice_create(uint32_t doc_id, uint32_t dev_pin_doc_id, uint8_t* pincodePtr, uint32_t pincodeLen, uint32_t aes_doc_id, uint64_t amount, char* labelPtr, uint32_t labelLen)
Undocumented in source. Be warned that the author may not have intended to support it.
parse_string
string[] parse_string(char* str, uint len)
Undocumented in source. Be warned that the author may not have intended to support it.
remove_bill
bool remove_bill(uint32_t wallet_doc_id, uint8_t* data_ptr, uint32_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
validate
uint validate(uint32_t doc_id, uint32_t dev_pin_doc_id, uint8_t* pincodePtr, uint32_t pincodeLen, uint32_t aes_doc_id)
Undocumented in source. Be warned that the author may not have intended to support it.
wallet_create
uint wallet_create(uint8_t* pincodePtr, uint32_t pincodeLen, uint32_t aes_doc_id, char* questionsPtr, uint32_t qestionslen, char* answersPtr, uint32_t answerslen, uint32_t confidence)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

start_rt
int64_t start_rt()

Functions called from d-lang through dart:ffi Staritng d-runtime

stop_rt
int64_t stop_rt()

Terminating d-runtime

Static variables

__runtimeStatus
drtStatus __runtimeStatus;

Variable, which repsresents the d-runtime status

Meta