MCPcopy Create free account
hub / github.com/Py-Ec/solana-arbitrage-bot / SwapState

Class SwapState

program/programs/tmp/src/state.rs:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#[account]
4#[derive(Default)]
5pub struct SwapState {
6 pub start_balance: u64, // start of swap balance
7 pub swap_input: u64, // output of swap
8 pub is_valid: bool, // saftey
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected