refresh_obligation
Kamino Lending (KLend)
What this page showsOne instruction (an action a wallet lists) of Kamino Lending (KLend): whether the code that runs it is the code an audit reviewed, why, and the recorded transactions that called it.
Verdict
Changed
The reviewed commit and the live source are both established, and the handler file or a traced related file changed between them.
Checked against the snapshot at slot 471,652,463
Instruction decoded
Established
The instruction bytes match one entry in a pinned IDL or schema, with no collision.
Live code rebuilt by POA
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
Known difference
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 471652463: executable, RPC agree, hash 1a71bd2229fe….
- Decoded by anchor-sighash-derived 218493e497c04859.
- Handler programs/klend/src/handlers/handler_refresh_obligation.rs#L9 (handler_refresh_obligation::process).
- Only partly reviewed per ackee-2025-fuzz (Fuzz testing only; the report says manual code review was not performed (p.11)); these reports give neither MATCHED nor CHANGED for this instruction.
- Handler file is under the printed scope of certora-2025-02-fv, offside-1.13.0-borrow-orders, offside-1.14.0-withdraw-queue.
- Live source 77e81854 established by POA's independent build.
- Live commit 77e81854 is not the reviewed commit and no recorded diff shows the crate unchanged (certora-2025-02-fv (5af6cfc: handler files changed, f3b2ce1: handler files changed); offside-1.13.0-borrow-orders (17 commits without a usable recorded diff); offside-1.14.0-withdraw-queue (10 commits without a usable recorded diff)).
- CHANGED: between certora-2025-02-fv's reviewed commit 5af6cfc and live 77e81854 the handler's traced files changed: programs/klend/src/handlers/handler_refresh_obligation.rs (M +15 -53), programs/klend/src/lending_market/lending_operations.rs (M +2208 -822), programs/klend/src/state/lending_market.rs (M +402 -28), programs/klend/src/state/obligation.rs (M +1370 -136).
What would be needed for a stronger verdict
- A source diff from the reviewed commit to the live commit showing no change under the program crate.
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
- Yes
- Live source equals reviewed
- No
- Handler changed since review
- Yes
- Program crate changed since review
- Yes
- Program immutable
- No
- Evidence fresh
- Yes
Discriminator and decoding
- Discriminator
- 218493e497c04859
- Method
- Derived Anchor sighash
- IDL SHA-256
- 838837c76e4454563f206461411259c6573daddb1e269dee8cc94347ccfdc367
- Collisions
- None
Arguments
No arguments.
Accounts
Signer and writable flags from the interface definition.
| Account | Flags | Fixed address | Notes |
|---|---|---|---|
| lendingMarket | Read-only | ||
| obligation | Writable |
Handler source
- Function
- handler_refresh_obligation::process
- File
- programs/klend/src/handlers/handler_refresh_obligation.rs · lines 9–26
- At commit
- 77e81854909ab7ffea3a2e898b2554d96e07daac
- Mapping
- Anchor program module
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.
| File | Status | Added | Removed |
|---|---|---|---|
| programs/klend/src/handlers/handler_refresh_obligation.rs | modified | 14 | 48 |
| programs/klend/src/lending_market/lending_operations.rs | modified | 2,424 | 892 |
| programs/klend/src/state/lending_market.rs | modified | 407 | 29 |
| programs/klend/src/state/obligation.rs | modified | 1,481 | 221 |
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 77e8185
- Signer
- InstructionChanged
- StaticChanged
- StaticChanged
- StaticChanged
- StaticChanged
Observed in transaction 4hbgNy9QX7… at slot 471,502,106
- Signer
- InstructionUnknown
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- ObservedUnknown
- ObservedUnknown
- InstructionUnknown
- InstructionUnknown
Current deployment predates this transaction. Deployment slot 461,744,249, transaction slot 471,502,106, snapshot slot 471,652,463.
Observed in transaction kzSzvhHem7… at slot 471,507,325
- Signer
- InstructionUnknown
- InstructionUnknown
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- ObservedUnknown
- InstructionUnknown
- InstructionUnknown
Current deployment predates this transaction. Deployment slot 461,744,249, transaction slot 471,507,325, snapshot slot 471,652,463.
Observed in transaction 4t6kzMuCB1… at slot 471,502,544
- Signer
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- ObservedUnknown
- InstructionUnknown
- InstructionUnknown
Current deployment predates this transaction. Deployment slot 461,744,249, transaction slot 471,502,544, snapshot slot 471,652,463.
Observed in transaction 4vYuF4xtf2… at slot 471,502,802
- Signer
- InstructionUnknown
- InstructionUnknown
- InstructionUnknown
- InstructionUnknown
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- InstructionChanged
- ObservedUnknown
- ObservedUnknown
- ObservedUnknown
- InstructionUnknown
- InstructionUnknown
- InstructionUnknown
Current deployment predates this transaction. Deployment slot 461,744,249, transaction slot 471,502,802, snapshot slot 471,652,463.
Transactions
Each curated transaction that calls this instruction, with what is known about the code that ran.
01
Transaction at slot 471,502,106
Current deployment predates this transaction. Deployment slot 461,744,249, transaction slot 471,502,106, snapshot slot 471,652,463.
- Signature
- 4hbgNy9QX7pBDBpt41YL9wLTTCbD63PxyRHUFyQzdcorqWU47eiFvBD2MFXX1zJ2kaQNteZ4t9zT6Ys2b8hE6Z6D
- Slot
- 471,502,106
- Block time
- 2026-11-19 22:25 UTC
- Status
- Succeeded
- Fee
- 35,064 lamports
- Compute units
- 218,382
- Message version
- 0
- RPC response SHA-256
- e38be20e049f7c3f9d5ab588e48645664b535e36e2d15dd6bc2f1d4724175ae4
02
Transaction at slot 471,507,325
Current deployment predates this transaction. Deployment slot 461,744,249, transaction slot 471,507,325, snapshot slot 471,652,463.
- Signature
- kzSzvhHem7amVpbDk5ft35rAJsQ5FCGALc2z2cr3raqGZ6QFW98Zxiu2vnRo7eZrtSKqd6b9ApDWPq6VnG8aZnR
- Slot
- 471,507,325
- Block time
- 2026-11-19 22:44 UTC
- Status
- Succeeded
- Fee
- 59,855 lamports
- Compute units
- 402,435
- Message version
- 0
- RPC response SHA-256
- 89a00e6afda5478b7078336508f14a9bc8aa3671bcc5b3d2ff5bfe93fd3f565b
03
Transaction at slot 471,502,544
Current deployment predates this transaction. Deployment slot 461,744,249, transaction slot 471,502,544, snapshot slot 471,652,463.
- Signature
- 4t6kzMuCB1zXq6eitDsq9S3ZG9V7bb9DmbaXKNz49DGpL9NVq1WKiX2CFSohFKiemBpTbfSE6DozvpMhhg1vG6yz
- Slot
- 471,502,544
- Block time
- 2026-11-19 22:26 UTC
- Status
- Succeeded
- Fee
- 58,215 lamports
- Compute units
- 151,419
- Message version
- 0
- RPC response SHA-256
- a582f3856c9c7b2435fc20890aad33b1daa444e2a96edae3de54d998ceb06297
04
Transaction at slot 471,502,802
Current deployment predates this transaction. Deployment slot 461,744,249, transaction slot 471,502,802, snapshot slot 471,652,463.
- Signature
- 4vYuF4xtf2rSyEFizhDTUWEbsLPGmpfHeB3hHyCBLvQip9fkeRnTQ27pMztV9d9gRdP5bdBgJJFCh5wwCpHxArY5
- Slot
- 471,502,802
- Block time
- 2026-11-19 22:27 UTC
- Status
- Succeeded
- Fee
- 55,112 lamports
- Compute units
- 242,727
- Message version
- 0
- RPC response SHA-256
- c89eaf671287fa1bc9f341468f3a5b7d52842966d08c48072f9a6e470726b5cf