rebalance
Jupiter Lend Borrow (vaults)
What this page showsOne instruction (an action a wallet lists) of Jupiter Lend Borrow (vaults): whether the code that runs it is the code an audit reviewed, why, and the recorded transactions that called it.
Verdict
Partial
Some evidence exists, but one required link is missing, for example the live source is only claimed by a provider or the report names no files.
Checked against the snapshot at slot 471,652,435
Instruction decoded
Established
The instruction bytes match one entry in a pinned IDL or schema, with no collision.
Live code rebuilt by POA
Not established
POA rebuilt a source commit and its hash equals the on-chain executable.
Report names the handler file
Established
A published audit report's scope covers the file that implements this instruction.
Reviewed commit printed
Established
That report prints the scope and the exact commit it reviewed.
Reviewed code is the live code
Not established
The reviewed commit and the rebuilt live commit hold the same program code.
Every link must hold before POA says Matched. A missing link is not a failure, and never an approval.
Reasons
- Program snapshot at slot 471652435: executable, RPC agree, hash 9470945b79dd….
- Decoded by anchor-idl-discriminator 6c9e4d09d234583e.
- Handler programs/vaults/src/module/user.rs#L1118 (rebalance).
- Handler file is under the printed scope of zenith-2025-lend, offside-2025-08-vaults, mixbytes-2025-10-vaults.
- Live source not independently established (POA build state: not_run). A provider or docs claim does not count.
What would be needed for a stronger verdict
- A POA reproducible build whose hash equals the current executable hash.
Checks
- Decoded
- Yes
- Handler located
- Yes
- Handler in report-named files
- Yes
- Review scope established
- Yes
- Reviewed commit known
- Yes
- Live source rebuilt by POA
- No
- Live source equals reviewed
- Not established
- Handler changed since review
- Not established
- Program crate changed since review
- Not established
- Program immutable
- No
- Evidence fresh
- Yes
Discriminator and decoding
- Discriminator
- 6c9e4d09d234583e
- Method
- Anchor IDL discriminator
- IDL SHA-256
- acb2688af7c9d53725bcb08f6da76d00b1e7677c583b1e824eb3e8e7fd037040
- Collisions
- None
Arguments
No arguments.
Accounts
Signer and writable flags from the interface definition.
| Account | Flags | Fixed address | Notes |
|---|---|---|---|
| rebalancer | SignerWritable | ||
| rebalancer_supply_token_account | Writable | ||
| rebalancer_borrow_token_account | Writable | ||
| vault_config | Writable | @dev mut because this PDA signs the CPI to liquidity program @dev verification inside instruction logic | |
| vault_state | Writable | @dev verification inside instruction logic | |
| supply_token | Read-only | ||
| borrow_token | Read-only | ||
| supply_token_reserves_liquidity | Writable | ||
| borrow_token_reserves_liquidity | Writable | ||
| vault_supply_position_on_liquidity | Writable | ||
| vault_borrow_position_on_liquidity | Writable | ||
| supply_rate_model | Read-only | ||
| borrow_rate_model | Read-only | ||
| liquidity | Read-only | ||
| liquidity_program | Read-only | ||
| vault_supply_token_account | Writable | ||
| vault_borrow_token_account | Writable | ||
| system_program | Read-only | 111111…111111 11111111111111111111111111111111 (opens Solana Explorer in a new tab) | |
| supply_token_program | Read-only | ||
| borrow_token_program | Read-only | ||
| associated_token_program (optional) | Read-only | AToken…JA8knL ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL (opens Solana Explorer in a new tab) |
Handler source
- Function
- rebalance
- File
- programs/vaults/src/module/user.rs · lines 1118–1321
- At commit
- 626b177f235224bc5d074d39439cd2558f542886
- Mapping
- Anchor program module
Related files
- crates/library/src/math/safe_math.rs (opens in a new tab)
- crates/library/src/token/spl.rs (opens in a new tab)
- programs/vaults/src/invokes/liquidity_layer.rs (opens in a new tab)
- programs/vaults/src/lib.rs (opens in a new tab)
- programs/vaults/src/state/context.rs (opens in a new tab)
- programs/vaults/src/state/vault_state.rs (opens in a new tab)
- programs/vaults/src/utils/common.rs (opens in a new tab)
- programs/vaults/src/utils/validate.rs (opens in a new tab)
Audit relations
How each report relates to this instruction's handler file.
Changed files since review
Files changed between the reviewed commit and the live source, as recorded.
No changed file is recorded for this instruction.
Call trees
The static tree comes from the handler source. The observed tree comes from a finalized transaction. They are separate evidence and are not merged.
- Instruction
- The instruction itself, with its own verdict.
- Static
- A source file read at the handler map's pinned commit.
- Observed
- A call seen in a finalized mainnet transaction.
- Inferred
- A call read from the handler source, not observed on chain.
Static, from source at 626b177
- Signer
- InstructionPartial
- StaticPartial
- StaticPartial
- StaticPartial
- StaticPartial
- StaticPartial
- StaticPartial
- StaticPartial
- StaticPartial
- StaticPartial
- InferredPartial
- InferredPartial
- InferredUnknown
No curated transaction calls this instruction.
Transactions
Each curated transaction that calls this instruction, with what is known about the code that ran.
No curated transaction calls this instruction.