Docs.rs
klend-interface-0.6.0
klend-interface 0.6.0
Permalink
Docs.rs crate page
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
oeble
Dependencies
bitflags ^2.9.4
normal
borsh ^0.10.3
normal
bytemuck ^1
normal
fixed ^1
normal
sha2 ^0.10
normal
solana-account ^2.1
normal
optional
solana-instruction ^2.1
normal
solana-pubkey ^2.1
normal
spl-discriminator ^0.5
normal
litesvm ^0.7
dev
solana-account ^2.1
dev
solana-client ~2.3
dev
solana-sdk ~2.3
dev
solana-system-interface ^1.0.0
dev
spl-associated-token-account ^6
dev
spl-token ^7
dev
Versions
11.89%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module refresh
klend_
interface
0.6.0
Module refresh
Module Items
Enums
Functions
In klend_
interface::
helpers
klend_interface
::
helpers
Module
refresh
Copy item path
Source
Enums
§
Refresh
Error
Error type for refresh operations.
Functions
§
refresh_
all_
for_
obligation
Build all refresh instructions needed for an obligation: refresh each unique reserve (deposits + borrows), then refresh the obligation itself.
refresh_
obligation
Build a single
refresh_obligation
instruction with all required remaining accounts (deposit reserves, borrow reserves, referrer token states) derived from the obligation info.
refresh_
reserve
Build a single
refresh_reserve
instruction.
refresh_
reserves_
batch
Build a
refresh_reserves_batch
instruction from a slice of reserve infos.