rebalance_dex
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
Not established
A published audit report's scope covers the file that implements this instruction.
Reviewed commit printed
Not 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 47b21392fe2f6d7e.
- Handler not located in source.
- No report can be placed against the handler file.
- 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 handler mapping for this instruction at a pinned commit.
- A report whose printed scope paths cover the handler file.
- A POA reproducible build whose hash equals the current executable hash.
Checks
- Decoded
- Yes
- Handler located
- No
- Handler in report-named files
- No
- Review scope established
- No
- 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
- 47b21392fe2f6d7e
- Method
- Anchor IDL discriminator
- IDL SHA-256
- acb2688af7c9d53725bcb08f6da76d00b1e7677c583b1e824eb3e8e7fd037040
- Collisions
- None
Arguments
| Name | Type |
|---|---|
| col_token0_min_max | i128 |
| col_token1_min_max | i128 |
| debt_token0_min_max | i128 |
| debt_token1_min_max | i128 |
Accounts
Signer and writable flags from the interface definition.
| Account | Flags | Fixed address | Notes |
|---|---|---|---|
| rebalancer | SignerWritable | ||
| rebalancer_supply_token_account (optional) | Writable | @dev not required for T2/T4 (smart collateral) | |
| rebalancer_borrow_token_account (optional) | Writable | @dev not required for T3/T4 (smart debt) | |
| vault_config | Writable | ||
| vault_state | Writable | ||
| supply_token (optional) | Read-only | @dev not required for T2/T4 (smart collateral) | |
| borrow_token (optional) | Read-only | @dev not required for T3/T4 (smart debt) | |
| supply_token_reserves_liquidity (optional) | Writable | @dev not required for T2/T4 (smart collateral) | |
| borrow_token_reserves_liquidity (optional) | Writable | @dev not required for T3/T4 (smart debt) | |
| vault_supply_position_on_liquidity (optional) | Writable | @dev not required for T2/T4 (smart collateral) | |
| vault_borrow_position_on_liquidity (optional) | Writable | @dev not required for T3/T4 (smart debt) | |
| supply_rate_model (optional) | Read-only | ||
| borrow_rate_model (optional) | Read-only | ||
| liquidity | Read-only | ||
| liquidity_program | Read-only | ||
| vault_supply_token_account (optional) | Writable | ||
| vault_borrow_token_account (optional) | Writable | ||
| system_program | Read-only | 111111…111111 11111111111111111111111111111111 (opens Solana Explorer in a new tab) | |
| supply_token_program (optional) | Read-only | ||
| borrow_token_program (optional) | Read-only | ||
| associated_token_program (optional) | Read-only | AToken…JA8knL ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL (opens Solana Explorer in a new tab) | |
| dex_program | Read-only | ||
| dex_oracle_program (optional) | Read-only | ||
| supply_dex.dex (optional) | Writable | ||
| supply_dex.dex_position (optional) | Writable | ||
| supply_dex.dex_user_token0_account (optional) | Writable | Signer's token0 account | |
| supply_dex.dex_user_token1_account (optional) | Writable | Signer's token1 account | |
| supply_dex.dex_token0 (optional) | Read-only | ||
| supply_dex.dex_token1 (optional) | Read-only | ||
| supply_dex.dex_token0_reserve (optional) | Writable | ||
| supply_dex.dex_token1_reserve (optional) | Writable | ||
| supply_dex.dex_token0_rate_model (optional) | Read-only | ||
| supply_dex.dex_token1_rate_model (optional) | Read-only | ||
| supply_dex.dex_token0_vault (optional) | Writable | @dev this is Liquidity layer vault token account for token0 | |
| supply_dex.dex_token1_vault (optional) | Writable | @dev this is Liquidity layer vault token account for token1 | |
| supply_dex.supply_pos_token0 (optional) | Writable | This pool's own LL **supply** position for token0 (smart-col side). | |
| supply_dex.supply_pos_token1 (optional) | Writable | This pool's own LL **supply** position for token1 (smart-col side). | |
| supply_dex.borrow_pos_token0 (optional) | Writable | This pool's own LL **borrow** position for token0 (smart-debt side). | |
| supply_dex.borrow_pos_token1 (optional) | Writable | This pool's own LL **borrow** position for token1 (smart-debt side). | |
| supply_dex.dex_token0_program (optional) | Read-only | ||
| supply_dex.dex_token1_program (optional) | Read-only | ||
| supply_dex.dex_recipient_token0_account (optional) | Writable | Recipient's token0 account for this leg's withdraw/borrow OUTPUTS. Optional: outputs default to the signer's `dex_user_token0_account`. | |
| supply_dex.dex_recipient_token1_account (optional) | Writable | Recipient's token1 account for this leg's withdraw/borrow OUTPUTS. | |
| borrow_dex.dex (optional) | Writable | ||
| borrow_dex.dex_position (optional) | Writable | ||
| borrow_dex.dex_user_token0_account (optional) | Writable | Signer's token0 account | |
| borrow_dex.dex_user_token1_account (optional) | Writable | Signer's token1 account | |
| borrow_dex.dex_token0 (optional) | Read-only | ||
| borrow_dex.dex_token1 (optional) | Read-only | ||
| borrow_dex.dex_token0_reserve (optional) | Writable | ||
| borrow_dex.dex_token1_reserve (optional) | Writable | ||
| borrow_dex.dex_token0_rate_model (optional) | Read-only | ||
| borrow_dex.dex_token1_rate_model (optional) | Read-only | ||
| borrow_dex.dex_token0_vault (optional) | Writable | @dev this is Liquidity layer vault token account for token0 | |
| borrow_dex.dex_token1_vault (optional) | Writable | @dev this is Liquidity layer vault token account for token1 | |
| borrow_dex.supply_pos_token0 (optional) | Writable | This pool's own LL **supply** position for token0 (smart-col side). | |
| borrow_dex.supply_pos_token1 (optional) | Writable | This pool's own LL **supply** position for token1 (smart-col side). | |
| borrow_dex.borrow_pos_token0 (optional) | Writable | This pool's own LL **borrow** position for token0 (smart-debt side). | |
| borrow_dex.borrow_pos_token1 (optional) | Writable | This pool's own LL **borrow** position for token1 (smart-debt side). | |
| borrow_dex.dex_token0_program (optional) | Read-only | ||
| borrow_dex.dex_token1_program (optional) | Read-only | ||
| borrow_dex.dex_recipient_token0_account (optional) | Writable | Recipient's token0 account for this leg's withdraw/borrow OUTPUTS. Optional: outputs default to the signer's `dex_user_token0_account`. | |
| borrow_dex.dex_recipient_token1_account (optional) | Writable | Recipient's token1 account for this leg's withdraw/borrow OUTPUTS. |
Handler source
The handler for this instruction was not located.
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
- 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.