winterwallet_client/
lib.rs1mod error;
24pub mod instruction;
25mod pda;
26mod plan;
27mod preimage;
28mod state;
29pub mod transaction;
30mod wallet;
31
32pub use error::Error;
33pub use instruction::{AdvancePayload, advance, close, encode_advance, initialize, withdraw};
34pub use pda::{find_wallet_address, wallet_id_from_mnemonic};
35pub use plan::AdvancePlan;
36pub use preimage::{advance_preimage, initialize_preimage};
37pub use state::WinterWalletAccount;
38pub use transaction::{
39 AccountEntry, DEFAULT_ADVANCE_COMPUTE_UNIT_LIMIT, LEGACY_TRANSACTION_SIZE_LIMIT,
40 estimate_legacy_transaction_size, set_compute_unit_limit, set_compute_unit_price, upsert,
41 validate_legacy_transaction_size, validate_payer_only_signers, with_compute_budget,
42};
43pub use wallet::{
44 AdvancePersistence, AdvanceSender, PersistedAdvance, SignedAdvance, SigningPosition,
45 UnsignedAdvance, WinterWallet, token_transfer,
46};
47
48pub use winterwallet_common::{
50 ID, MAX_CPI_INSTRUCTION_ACCOUNTS, MAX_PASSTHROUGH_ACCOUNTS, SIGNATURE_LEN, TOTAL_SCALARS,
51 WALLET_ACCOUNT_LEN, WINTERNITZ_SCALARS, WINTERWALLET_ADVANCE, WINTERWALLET_INITIALIZE,
52 WINTERWALLET_SEED, discriminator,
53};