├── .gitignore ├── .gitmodules ├── .idea ├── .gitignore ├── inspectionProfiles │ └── Project_Default.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml └── vcs.xml ├── Cargo.toml ├── README.md ├── spi-wrapper.iml └── src ├── lib.rs └── programs ├── bpf_loader.rs ├── bpf_loader_upgradeable.rs ├── mod.rs ├── native_associated_token_account.rs ├── native_config.rs ├── native_loader.rs ├── native_secp256k1.rs ├── native_stake.rs ├── native_system.rs ├── native_token.rs ├── native_token_lending.rs ├── native_token_swap.rs ├── native_vote.rs ├── serum_market.rs ├── solend ├── error.rs ├── instruction.rs ├── math │ ├── common.rs │ ├── decimal.rs │ ├── mod.rs │ └── rate.rs ├── mod.rs ├── pyth.rs └── state │ ├── last_update.rs │ ├── lending_market.rs │ ├── mod.rs │ ├── obligation.rs │ └── reserve.rs └── solend_token_lending.rs /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/.gitmodules -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/README.md -------------------------------------------------------------------------------- /spi-wrapper.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/spi-wrapper.iml -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/programs/bpf_loader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/bpf_loader.rs -------------------------------------------------------------------------------- /src/programs/bpf_loader_upgradeable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/bpf_loader_upgradeable.rs -------------------------------------------------------------------------------- /src/programs/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/mod.rs -------------------------------------------------------------------------------- /src/programs/native_associated_token_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_associated_token_account.rs -------------------------------------------------------------------------------- /src/programs/native_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_config.rs -------------------------------------------------------------------------------- /src/programs/native_loader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_loader.rs -------------------------------------------------------------------------------- /src/programs/native_secp256k1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_secp256k1.rs -------------------------------------------------------------------------------- /src/programs/native_stake.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_stake.rs -------------------------------------------------------------------------------- /src/programs/native_system.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_system.rs -------------------------------------------------------------------------------- /src/programs/native_token.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_token.rs -------------------------------------------------------------------------------- /src/programs/native_token_lending.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_token_lending.rs -------------------------------------------------------------------------------- /src/programs/native_token_swap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_token_swap.rs -------------------------------------------------------------------------------- /src/programs/native_vote.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/native_vote.rs -------------------------------------------------------------------------------- /src/programs/serum_market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/serum_market.rs -------------------------------------------------------------------------------- /src/programs/solend/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/error.rs -------------------------------------------------------------------------------- /src/programs/solend/instruction.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/instruction.rs -------------------------------------------------------------------------------- /src/programs/solend/math/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/math/common.rs -------------------------------------------------------------------------------- /src/programs/solend/math/decimal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/math/decimal.rs -------------------------------------------------------------------------------- /src/programs/solend/math/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/math/mod.rs -------------------------------------------------------------------------------- /src/programs/solend/math/rate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/math/rate.rs -------------------------------------------------------------------------------- /src/programs/solend/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/mod.rs -------------------------------------------------------------------------------- /src/programs/solend/pyth.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/pyth.rs -------------------------------------------------------------------------------- /src/programs/solend/state/last_update.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/state/last_update.rs -------------------------------------------------------------------------------- /src/programs/solend/state/lending_market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/state/lending_market.rs -------------------------------------------------------------------------------- /src/programs/solend/state/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/state/mod.rs -------------------------------------------------------------------------------- /src/programs/solend/state/obligation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/state/obligation.rs -------------------------------------------------------------------------------- /src/programs/solend/state/reserve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend/state/reserve.rs -------------------------------------------------------------------------------- /src/programs/solend_token_lending.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solana-fm/spi-wrapper/HEAD/src/programs/solend_token_lending.rs --------------------------------------------------------------------------------