/** Serializes the order message in the canonical format expected by the verifier. party_a sells amountSell coins of tokenSell from vaultSell. party_a buys amountBuy coins of tokenBuy into vaultBuy. Expected types: --------------- @param {string|number} vaultSell - uint31 (as int) @param {string|number} vaultBuy - uint31 (as int) @param {bigint} amountSell - uint63 @param {bigint} amountBuy - uint63 @param {string} tokenSell - uint256 field element strictly less than the prime (as hex string with 0x) @param {string} tokenBuy - uint256 field element strictly less than the prime (as hex string with 0x) @param {number} nonce - uint31 (as int) @param {number} expirationTimestamp - uint22 (as int). */ export function getLimitOrderMsgHash(vaultSell: string | number, vaultBuy: string | number, amountSell: bigint, amountBuy: bigint, tokenSell: string, tokenBuy: string, nonce: number, expirationTimestamp: number): string; /** Same as getLimitOrderMsgHash, but also requires the fee info. Expected types of fee info params: --------------- @param {string|number} vaultSell - uint31 (as int) @param {string|number} vaultBuy - uint31 (as int) @param {bigint} amountSell - uint63 @param {bigint} amountBuy - uint63 @param {string} tokenSell - uint256 field element strictly less than the prime (as hex string with 0x) @param {string} tokenBuy - uint256 field element strictly less than the prime (as hex string with 0x) @param {number} nonce - uint31 (as int) @param {number} expirationTimestamp - uint22 (as int). @param {string|number} feeVaultId - uint31 (as int) @param {bigint} feeLimit - uint63 @param {string} feeToken - uint256 field element strictly less than the prime (as hex string with 0x) */ export function getLimitOrderMsgHashWithFee(vaultSell: string | number, vaultBuy: string | number, amountSell: bigint, amountBuy: bigint, tokenSell: string, tokenBuy: string, nonce: number, expirationTimestamp: number, feeToken: string, feeVaultId: string | number, feeLimit: bigint): string; /** Serializes the transfer message in the canonical format expected by the verifier. The sender transfer 'amount' coins of 'token' from vault with id senderVaultId to vault with id receiverVaultId. The receiver's public key is receiverPublicKey. If a condition is added, it is verified before executing the transfer. The format of the condition is defined by the application. Expected types: --------------- @param {bigint} amount - uint63 @param {number} nonce - uint31 (as int) @param {string|number} senderVaultId - uint31 (as int) @param {string} token - uint256 field element strictly less than the prime (as hex string with 0x) @param {string|number} receiverVaultId - uint31 (as int) @param {string} receiverPublicKey - uint256 field element strictly less than the prime (as hex string with 0x) @param {number} expirationTimestamp - uint22 (as int). @param {string|null} [condition] - uint256 field element strictly less than the prime (as hex string with 0x) */ export function getTransferMsgHash(amount: bigint, nonce: number, senderVaultId: string | number, token: string, receiverVaultId: string | number, receiverPublicKey: string, expirationTimestamp: number, condition?: string | null | undefined): string; /** Same as getTransferMsgHash, but also requires the fee info. Expected types of fee info params: --------------- @param {bigint} amount - uint63 @param {number} nonce - uint31 (as int) @param {string|number} senderVaultId - uint31 (as int) @param {string} token - uint256 field element strictly less than the prime (as hex string with 0x) @param {string|number} receiverVaultId - uint31 (as int) @param {string} receiverStarkKey - uint256 field element strictly less than the prime (as hex string with 0x) @param {number} expirationTimestamp - uint22 (as int). @param {string|null|undefined} condition - uint256 field element strictly less than the prime (as hex string with 0x) @param {string} feeToken - uint256 field element strictly less than the prime (as hex string with 0x) @param {number|string} feeVaultId - uint31 (as int) @param {bigint} feeLimit - uint63 */ export function getTransferMsgHashWithFee(amount: bigint, nonce: number, senderVaultId: string | number, token: string, receiverVaultId: string | number, receiverStarkKey: string, expirationTimestamp: number, condition: string | null | undefined, feeToken: string, feeVaultId: number | string, feeLimit: bigint): string;