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