volt_abi/
lib.rs

1use anchor_lang::prelude::*;
2declare_id!("VoLT1mJz1sbnxwq5Fv2SXjdVDgPXrb9tJyC8WpMDkSp");
3
4pub mod contexts;
5pub mod error;
6pub mod objects;
7
8pub use contexts::*;
9pub use error::*;
10pub use objects::*;
11
12#[program]
13mod volt_abi {
14    #![allow(dead_code)]
15    #![allow(unused_variables)]
16    #![allow(clippy::too_many_arguments)]
17
18    use super::*;
19
20    pub(crate) fn deposit(ctx: Context<Deposit>, deposit_amount: u64) -> Result<()> {
21        Ok(())
22    }
23
24    pub(crate) fn withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
25        Ok(())
26    }
27
28    pub(crate) fn deposit_with_claim(
29        ctx: Context<DepositWithClaim>,
30        amount: u64,
31        do_transfer: bool,
32    ) -> Result<()> {
33        Ok(())
34    }
35
36    pub(crate) fn withdraw_with_claim(ctx: Context<WithdrawWithClaim>, amount: u64) -> Result<()> {
37        Ok(())
38    }
39
40    pub(crate) fn claim_pending_deposit(ctx: Context<ClaimPendingDeposit>) -> Result<()> {
41        Ok(())
42    }
43    pub(crate) fn claim_pending_withdrawal(ctx: Context<ClaimPendingWithdrawal>) -> Result<()> {
44        Ok(())
45    }
46
47    pub(crate) fn cancel_pending_deposit(ctx: Context<CancelPendingDeposit>) -> Result<()> {
48        Ok(())
49    }
50    pub(crate) fn cancel_pending_withdrawal(ctx: Context<CancelPendingWithdrawal>) -> Result<()> {
51        Ok(())
52    }
53    // ========== TRADING ==========
54}