Top Ledger
WebsiteTwitter
  • 👋Welcome to Top Ledger
  • DATA TABLES
    • 📊Solana Data
      • Blocks
      • Transactions
      • Account activity
    • 📊Smart Tables
      • DEX Trades
        • 📊DEX ecosystem on Solana
      • NFT Trades
        • 📊NFT ecosystem on Solana
      • cNFT Trades
        • 📊cNFT ecosystem on Solana
      • Liquid Staking
        • 📊LST ecosystem on Solana
    • ➡️Decoded Instructions Data
      • Metaplex
        • Auction House
        • Token Metadata
        • Candy Machine
          • CM V2
          • CM V1
      • Saber
      • Mercurial Finance
      • Sol Splits
      • Stake Pool
      • Hubble
      • Robox Fi
      • Switchboard V2
      • Drift V2
      • Tulip Protocol
      • AllDomains
      • Whirlpool
      • GooseFX
      • Invariant
      • Squads Protocol
      • xNFT Backpack
      • Sharky
      • Frakt
      • Flash
      • Helium
  • USE CASES
    • 📊Sample Dashboard
  • Developer docs
    • Integrate Topledger dashboards
    • Supported DBs
Powered by GitBook
On this page
  1. DATA TABLES
  2. Decoded Instructions Data

Invariant

The Invariant protocol is a peer-to-peer system for exchanging assets on the Solana blockchain.

PreviousGooseFXNextSquads Protocol

Last updated 1 year ago

invariant.txns

This table has similar schema as of Solana table

invariant.parsed

The table contains the parsed instructions data for . Data related to instruction type, executing account, account arguments, arguments, etc. is available here.

Column Name
Column Type
Description

block_date

date

Event date

block_time

timestamp

The (estimated) time this block was produced

block_slot

bigint

This block’s slot index in the ledger

dapp

string

Solana program address

inner_instruction_index

int

The order of inner instruction of an instruction in a txns

input_accounts

array<string>

Ordered list of accounts to pass to the program

instruction_index

int

The order of the instruction in a txns

instruction_type

string

Name of the function of a Solana program invoked via an instruction

is_inner_instruction

boolean

Whether the respective instruction of a txns has an inner instruction

tx_id

string

The first signature in the transaction

args

<STRUCT>

The arguments passed to the invoked function. Generated after decoding the instructions data parameter

Some columns in the above table needs to be explained a bit for better understanding. Let's go into what each one of them contains.

input accounts

Field
Column Type

accountX

string

accountY

string

admin

string

feeTier

string

lastPosition

string

lowerTick

string

owner

string

payer

string

pool

string

position

string

positionList

string

programAuthority

string

removedPosition

string

rent

string

reserveX

string

reserveY

string

state

string

systemProgram

string

tick

string

tickmap

string

tokenProgram

string

tokenX

string

tokenY

string

upperTick

string

args

Field
Data Type

amount

bigint

byAmountIn

bool

index

bigint

STRUCT

lowerTickIndex

int

STRUCT

STRUCT

sqrtPriceLimit

double

tickSpacing

int

upperTickIndex

int

xToY

bool

liquidityDelta

Field
Data Type

v

double

slippageLimitLower

Field
Data Type

v

double

slippageLimitUpper

Field
Data Type

v

double

➡️
transactions
invariant
liquidityDelta
slippageLimitLower
slippageLimitUpper