@renegade-fi/core
Advanced tools
Comparing version 0.0.20 to 0.0.21
{ | ||
"name": "@renegade-fi/core", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "VanillaJS library for Renegade", | ||
@@ -21,3 +21,3 @@ "files": [ | ||
"@types/json-bigint": "^1.0.4", | ||
"@renegade-fi/test": "0.0.20" | ||
"@renegade-fi/test": "0.0.21" | ||
}, | ||
@@ -24,0 +24,0 @@ "dependencies": { |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function create_wallet(sk_root: string): any | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function create_wallet(sk_root: string): any; | ||
/** | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function find_wallet(sk_root: string): any | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function find_wallet(sk_root: string): any; | ||
/** | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function derive_blinder_share(sk_root: string): any | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function derive_blinder_share(sk_root: string): any; | ||
/** | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function wallet_id(sk_root: string): any | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function wallet_id(sk_root: string): any; | ||
/** | ||
* @param {string} wallet_str | ||
* @param {string} from_addr | ||
* @param {string} mint | ||
* @param {string} amount | ||
* @param {string} permit_nonce | ||
* @param {string} permit_deadline | ||
* @param {string} permit_signature | ||
* @returns {any} | ||
*/ | ||
export function deposit( | ||
wallet_str: string, | ||
from_addr: string, | ||
mint: string, | ||
amount: string, | ||
permit_nonce: string, | ||
permit_deadline: string, | ||
permit_signature: string, | ||
): any | ||
* @param {string} wallet_str | ||
* @param {string} from_addr | ||
* @param {string} mint | ||
* @param {string} amount | ||
* @param {string} permit_nonce | ||
* @param {string} permit_deadline | ||
* @param {string} permit_signature | ||
* @returns {any} | ||
*/ | ||
export function deposit(wallet_str: string, from_addr: string, mint: string, amount: string, permit_nonce: string, permit_deadline: string, permit_signature: string): any; | ||
/** | ||
* @param {string} wallet_str | ||
* @param {string} mint | ||
* @param {string} amount | ||
* @param {string} destination_addr | ||
* @returns {any} | ||
*/ | ||
export function withdraw( | ||
wallet_str: string, | ||
mint: string, | ||
amount: string, | ||
destination_addr: string, | ||
): any | ||
* @param {string} wallet_str | ||
* @param {string} mint | ||
* @param {string} amount | ||
* @param {string} destination_addr | ||
* @returns {any} | ||
*/ | ||
export function withdraw(wallet_str: string, mint: string, amount: string, destination_addr: string): any; | ||
/** | ||
* @param {string} wallet_str | ||
* @param {string} id | ||
* @param {string} base_mint | ||
* @param {string} quote_mint | ||
* @param {string} side | ||
* @param {string} amount | ||
* @returns {any} | ||
*/ | ||
export function new_order( | ||
wallet_str: string, | ||
id: string, | ||
base_mint: string, | ||
quote_mint: string, | ||
side: string, | ||
amount: string, | ||
): any | ||
* @param {string} wallet_str | ||
* @param {string} id | ||
* @param {string} base_mint | ||
* @param {string} quote_mint | ||
* @param {string} side | ||
* @param {string} amount | ||
* @returns {any} | ||
*/ | ||
export function new_order(wallet_str: string, id: string, base_mint: string, quote_mint: string, side: string, amount: string): any; | ||
/** | ||
* @param {string} wallet_str | ||
* @param {string} order_id | ||
* @returns {any} | ||
*/ | ||
export function cancel_order(wallet_str: string, order_id: string): any | ||
* @param {string} wallet_str | ||
* @param {string} order_id | ||
* @returns {any} | ||
*/ | ||
export function cancel_order(wallet_str: string, order_id: string): any; | ||
/** | ||
* @param {string} wallet_str | ||
* @param {string} id | ||
* @param {string} base_mint | ||
* @param {string} quote_mint | ||
* @param {string} side | ||
* @param {string} amount | ||
* @returns {any} | ||
*/ | ||
export function update_order( | ||
wallet_str: string, | ||
id: string, | ||
base_mint: string, | ||
quote_mint: string, | ||
side: string, | ||
amount: string, | ||
): any | ||
* @param {string} wallet_str | ||
* @param {string} id | ||
* @param {string} base_mint | ||
* @param {string} quote_mint | ||
* @param {string} side | ||
* @param {string} amount | ||
* @returns {any} | ||
*/ | ||
export function update_order(wallet_str: string, id: string, base_mint: string, quote_mint: string, side: string, amount: string): any; | ||
/** | ||
* Build authentication headers for a request | ||
* @param {string} sk_root | ||
* @param {string} req | ||
* @param {bigint} current_timestamp | ||
* @returns {any[]} | ||
*/ | ||
export function build_auth_headers( | ||
sk_root: string, | ||
req: string, | ||
current_timestamp: bigint, | ||
): any[] | ||
* Build authentication headers for a request | ||
* @param {string} sk_root | ||
* @param {string} req | ||
* @param {bigint} current_timestamp | ||
* @returns {any[]} | ||
*/ | ||
export function build_auth_headers(sk_root: string, req: string, current_timestamp: bigint): any[]; | ||
/** | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function get_pk_root(sk_root: string): any | ||
* @param {string} seed | ||
* @returns {any} | ||
*/ | ||
export function derive_signing_key_from_seed(seed: string): any; | ||
/** | ||
* @param {string} sk_root | ||
* @returns {any[]} | ||
*/ | ||
export function pk_root_scalars(sk_root: string): any[] | ||
* @param {string} sk_root | ||
* @returns {any} | ||
*/ | ||
export function get_pk_root(sk_root: string): any; | ||
/** | ||
* @param {string} sk_root | ||
* @param {string} message | ||
* @returns {any} | ||
*/ | ||
export function sign_message(sk_root: string, message: string): any | ||
* @param {string} sk_root | ||
* @returns {any[]} | ||
*/ | ||
export function pk_root_scalars(sk_root: string): any[]; | ||
/** | ||
* @param {string} value | ||
* @returns {any} | ||
*/ | ||
export function bigint_to_limbs(value: string): any | ||
* @param {string} sk_root | ||
* @param {string} message | ||
* @returns {any} | ||
*/ | ||
export function sign_message(sk_root: string, message: string): any; | ||
/** | ||
* @param {string} seed | ||
* @returns {any} | ||
*/ | ||
export function derive_signing_key_from_seed(seed: string): any | ||
* @param {string} value | ||
* @returns {any} | ||
*/ | ||
export function bigint_to_limbs(value: string): any; |
289847
5403