@payburner/keyburner-sidewinder-model
Version:
Models library for Keyburner Sidewinder
18 lines • 2.37 kB
TypeScript
import { CreateTokenTransaction } from "./CreateTokenTransaction";
import { TransferTransaction } from "./TransferTransaction";
import { UpdateTokenTransaction } from "./UpdateTokenTransaction";
import { UpdateTokenAccountTransaction } from "./UpdateTokenAccountTransaction";
import { OnRampFromUnderlyingTransaction } from "./OnRampFromUnderlyingTransaction";
import { OffRampRequestTransaction } from "./OffRampRequestTransaction";
import { OffRampResultTransaction } from "./OffRampResultTransaction";
import { UnderlyingTransactionStatus } from "../model/UnderlyingTransactionStatus";
export declare class TransactionFactory {
newCreateTokenTransaction(sequence: number, last_txn_id: string, environment: string, token_symbol: string, transaction_fee: number, decimal_precision: number, allow_transfers_between_accounts: boolean, is_permissioned: boolean, is_frozen: boolean): CreateTokenTransaction;
newUpdateTokenTransaction(sequence: number, last_txn_id: string, environment: string, token_symbol: string, transaction_fee: number, maximum_balance?: number, minimum_transfer_amount?: number, maximum_transfer_amount?: number, frozen?: boolean): UpdateTokenTransaction;
newUpdateTokenAccountFreezeStatusTransaction(sequence: number, last_txn_id: string, environment: string, token_symbol: string, address: string, frozen: boolean): UpdateTokenAccountTransaction;
newTransferTransaction(sequence: number, last_txn_id: string, environment: string, token_symbol: string, sender_address: string, receiver_address: string, transfer_amount: number): TransferTransaction;
newOnRampTransaction(sequence: number, last_txn_id: string, environment: string, token_symbol: string, deposit_address: string, underlying_deposit_amount: number, underlying_source_address: string, underlying_txn_id: string): OnRampFromUnderlyingTransaction;
newOffRampRequestTransaction(sequence: number, last_txn_id: string, environment: string, token_symbol: string, withdraw_address: string, transfer_amount: number, underlying_destination_address: string, underlying_txn_id: string): OffRampRequestTransaction;
newOffRampResultTransaction(sequence: number, last_txn_id: string, environment: string, token_symbol: string, underlying_txn_id: string, status: UnderlyingTransactionStatus): OffRampResultTransaction;
}
//# sourceMappingURL=TransactionFactory.d.ts.map