UNPKG

bitmask-core

Version:

Core functionality for the BitMask wallet

128 lines (127 loc) 9.52 kB
/* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; export const create_watcher: (a: number, b: number, c: any) => any; export const recover_watcher: (a: number, b: number, c: any) => any; export const destroy_watcher: (a: number, b: number) => any; export const destroy_recover_watcher: (a: number, b: number) => any; export const check_watcher: (a: number, b: number) => any; export const watcher_next_address: (a: number, b: number, c: number, d: number) => any; export const watcher_next_utxo: (a: number, b: number, c: number, d: number) => any; export const watcher_unspent_utxos: (a: number, b: number, c: number, d: number) => any; export const store: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any; export const retrieve: (a: number, b: number, c: number, d: number) => any; export const retrieve_metadata: (a: number, b: number, c: number, d: number) => any; export const encode_hex: (a: number, b: number) => [number, number]; export const encode_base64: (a: number, b: number) => [number, number]; export const decode_hex: (a: number, b: number) => [number, number, number, number]; export const decode_base64: (a: number, b: number) => [number, number, number, number]; export const fund_rgb_vault: (a: number, b: number, c: number, d: any, e: number, f: number, g: bigint, h: number) => any; export const transfer_sats: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: any) => any; export const get_btc_wallet: (a: number, b: number) => any; export const backup_btc_data: (a: number, b: number) => any; export const recover_funds_from_bad_wallets: (a: number, b: number, c: number, d: number, e: number, f: number) => any; export const restore_btc_data: (a: number, b: number) => any; export const get_rgb_version: () => [number, number]; export const get_rgb_wallet: (a: number, b: number) => any; export const get_contract: (a: number, b: number, c: number, d: number) => any; export const list_contracts: (a: number, b: number, c: number) => any; export const import_contract: (a: number, b: number, c: number, d: number) => any; export const issue_contract: (a: number, b: number, c: any) => any; export const issue_contract_proxy: (a: number, b: number, c: any) => any; export const create_rgb_invoice: (a: number, b: number, c: any) => any; export const remove_rgb_invoice: (a: number, b: number, c: number, d: number) => any; export const list_rgb_invoices: (a: number, b: number) => any; export const decode_rgb_invoice: (a: number, b: number) => any; export const can_create_transfer_contract: (a: number, b: number, c: any) => any; export const create_rgb_transfer: (a: number, b: number, c: any) => any; export const create_and_publish_rgb_transfer: (a: number, b: number, c: any, d: any) => any; export const psbt_sign_file: (a: number, b: number, c: any) => any; export const accept_transfer: (a: number, b: number, c: any) => any; export const save_transfer: (a: number, b: number, c: any) => any; export const list_transfers: (a: number, b: number) => any; export const verify_transfers: (a: number, b: number) => any; export const list_offers: (a: number, b: number) => any; export const offers: (a: number, b: number) => any; export const bids: (a: number, b: number) => any; export const offer_swap_suppl: (a: number, b: number, c: number, d: number) => any; export const bid_swap_suppl: (a: number, b: number, c: number, d: number) => any; export const can_create_offer: (a: number, b: number, c: any, d: any) => any; export const create_offer: (a: number, b: number, c: any, d: any) => any; export const cancel_offer: (a: number, b: number, c: any) => any; export const can_create_bid: (a: number, b: number, c: any, d: any) => any; export const create_bid: (a: number, b: number, c: any, d: any) => any; export const cancel_bid: (a: number, b: number, c: any) => any; export const create_airdrop: (a: number, b: number, c: any, d: any, e: bigint, f: number, g: number) => any; export const create_airdrop_claim: (a: number, b: number, c: any) => any; export const close_airdrop: (a: number, b: number, c: any) => any; export const backup_rgb_data: (a: number, b: number) => any; export const restore_rgb_data: (a: number, b: number) => any; export const convert_contract_amount_raw: (a: number, b: number, c: number) => [number, number]; export const convert_contract_amount_string: (a: bigint, b: number) => [number, number]; export const parse_contract_amount: (a: number, b: number) => any; export const parse_contract_amount_precision: (a: number, b: number, c: number) => [number, number]; export const version: () => any; export const hash_password: (a: number, b: number) => [number, number]; export const new_mnemonic: (a: number, b: number) => any; export const save_mnemonic: (a: number, b: number, c: number, d: number) => any; export const decrypt_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any; export const upgrade_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any; export const new_wallet: (a: number, b: number, c: number, d: number) => any; export const encrypt_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any; export const get_wallet_data: (a: number, b: number, c: number, d: number) => any; export const get_new_address: (a: number, b: number, c: number, d: number) => any; export const send_sats: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number) => any; export const fund_vault: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any; export const get_assets_vault: (a: number, b: number) => any; export const drain_wallet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any; export const bump_fee: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any; export const create_wallet: (a: number, b: number, c: number, d: number) => any; export const auth: (a: number, b: number, c: number, d: number) => any; export const ln_create_invoice: (a: number, b: number, c: number, d: number, e: number) => any; export const get_balance: (a: number, b: number) => any; export const get_txs: (a: number, b: number) => any; export const pay_invoice: (a: number, b: number, c: number, d: number) => any; export const check_payment: (a: number, b: number) => any; export const swap_btc_ln: (a: number, b: number, c: number, d: number) => any; export const swap_ln_btc: (a: number, b: number, c: bigint, d: number, e: number) => any; export const new_nostr_pubkey: (a: number, b: number, c: number, d: number) => any; export const update_nostr_pubkey: (a: number, b: number, c: number, d: number) => any; export const psbt_sign_and_publish_file: (a: any) => any; export const psbt_publish_file: (a: any) => any; export const sync_wallets: () => any; export const switch_network: (a: number, b: number) => any; export const get_env: (a: number, b: number) => any; export const set_env: (a: number, b: number, c: number, d: number) => any; export const sleep: (a: number) => any; export const get_network: () => any; export const rustsecp256k1_v0_9_2_context_create: (a: number) => number; export const rustsecp256k1_v0_9_2_context_destroy: (a: number) => void; export const rustsecp256k1_v0_9_2_default_illegal_callback_fn: (a: number, b: number) => void; export const rustsecp256k1_v0_9_2_default_error_callback_fn: (a: number, b: number) => void; export const rustsecp256k1_v0_8_1_context_create: (a: number) => number; export const rustsecp256k1_v0_8_1_context_destroy: (a: number) => void; export const rustsecp256k1_v0_8_1_default_illegal_callback_fn: (a: number, b: number) => void; export const rustsecp256k1_v0_8_1_default_error_callback_fn: (a: number, b: number) => void; export const rustsecp256k1_v0_10_0_context_create: (a: number) => number; export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void; export const rustsecp256k1_v0_10_0_default_illegal_callback_fn: (a: number, b: number) => void; export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void; export const rustsecp256k1_v0_6_1_context_create: (a: number) => number; export const rustsecp256k1_v0_6_1_context_destroy: (a: number) => void; export const rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void; export const rustsecp256k1_v0_6_1_default_error_callback_fn: (a: number, b: number) => void; export const __wbindgen_malloc: (a: number, b: number) => number; export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; export const __wbindgen_exn_store: (a: number) => void; export const __externref_table_alloc: () => number; export const __wbindgen_export_4: WebAssembly.Table; export const __externref_drop_slice: (a: number, b: number) => void; export const __wbindgen_free: (a: number, b: number, c: number) => void; export const __wbindgen_export_7: WebAssembly.Table; export const __externref_table_dealloc: (a: number) => void; export const closure1299_externref_shim: (a: number, b: number, c: any) => void; export const closure1925_externref_shim: (a: number, b: number, c: any) => void; export const closure3787_externref_shim: (a: number, b: number, c: any) => void; export const closure4081_externref_shim: (a: number, b: number, c: any, d: any) => void; export const __wbindgen_start: () => void;