Skip to content

chore: merge dev into main#39

Merged
aguilar1x merged 127 commits into
mainfrom
dev
Apr 1, 2026
Merged

chore: merge dev into main#39
aguilar1x merged 127 commits into
mainfrom
dev

Conversation

@aguilar1x

Copy link
Copy Markdown
Contributor

No description provided.

Add AssetType enum (Crypto | Rwa) so any asset can participate as a
lending asset or collateral regardless of type.

- Add AssetType to types.rs
- Add asset_types, collateral_asset_types, collateral_symbols to PoolStorage
- Update set_token_contract and set_collateral_factor to accept AssetType
- Add get_price_for_lending_asset and get_price_for_collateral routing functions
- Replace 9 hardcoded oracle calls across borrowing, collateral, liquidations
- Backward compat: existing crypto assets default to Crypto, existing RWA collateral defaults to Rwa

Enables RWA tokens (CETES, USDY) to be deposited as lending assets.
- Update description and features to mention RWA tokens as lending assets
- Add AssetType section to Core Concepts
- Update admin function examples with new signatures
- Add Oracle Integration routing table
- Add two usage examples: USDC pool and CETES pool
- Update Related Contracts to include rwa-yield-aggregator
…, use stellar contract build

- Add wasm32v1-none-unknown target and install Stellar CLI
- Build rwa-oracle WASM before workspace build so rwa-token/rwa-lending imports resolve
- Copy oracle WASM to target/wasm32v1-none/release for contractimport! path
- Use stellar contract build for final Soroban build; cache ~/.cargo/bin
wasm32v1-none-unknown is no longer available on Rust stable; use
wasm32-unknown-unknown and copy oracle WASM to target/wasm32v1-none/release
for contractimport! path.
Avoids libdbus-sys build failure on GitHub Actions; contract build does not
need keyring/ledger features.
Add apt step so cargo install stellar-cli succeeds on GitHub Actions;
revert to full stellar-cli (no --no-default-features).
Required by hidapi (ledger support) when compiling stellar-cli on Ubuntu.
Restore from ~/.cache/stellar-cli when present; install and save on cache miss.
Key stellar-cli-25.1.0 so cache persists across workflow runs.
Download stellar-cli-25.1.0-x86_64-unknown-linux-gnu.tar.gz instead of
cargo install (~11 min). Remove libdbus/libudev system deps. Cache binary
unchanged for subsequent runs.
Tarball layout may vary; find stellar or stellar-cli and copy to
~/.cargo/bin and cache instead of hardcoding path.
Merge pull request #8 from Neko-Protocol/refactor/rwa-lending-contract
gabvega08 and others added 28 commits March 4, 2026 23:07
- lastprice_if_fresh(): returns None if price exceeds max_staleness
- is_price_fresh(): returns bool for price freshness check
- is_price_stale(): internal helper using max_staleness config
…elper

refactor: M-04 - Add Staleness Check Helper for lastprice
- Introduced `skills-lock.json` to manage skill dependencies.
- Added documentation for `setup-stellar-contracts` skill, covering setup and usage.
- Created advanced patterns guide for Soroban, detailing upgradeability, factory patterns, and governance.
- Documented API access methods for Stellar RPC and Horizon, including setup and common operations.
- Compiled common pitfalls and solutions for Soroban contract development.
- Established a comprehensive guide for Soroban smart contract development, including project setup and storage types.
- Cataloged Stellar ecosystem projects and protocols, highlighting DeFi, wallets, and developer tools.
- Integrated frontend SDK usage patterns for Next.js and React applications.
- Introduced `skills-lock.json` to manage skill dependencies.
- Added documentation for `setup-stellar-contracts` skill, covering setup and usage.
- Created advanced patterns guide for Soroban, detailing upgradeability, factory patterns, and governance.
- Documented API access methods for Stellar RPC and Horizon, including setup and common operations.
- Compiled common pitfalls and solutions for Soroban contract development.
- Established a comprehensive guide for Soroban smart contract development, including project setup and storage types.
- Cataloged Stellar ecosystem projects and protocols, highlighting DeFi, wallets, and developer tools.
- Integrated frontend SDK usage patterns for Next.js and React applications.
Merge pull request #34 from Neko-Protocol/feat/adapter-aquarius
Replace manual Vec-building loop with a single state.rwa_metadata.keys()
call. Add unit tests for empty map and two-asset registration cases.
…ctions

Merge pull request #35 from Risktaker001/dev
…tence check

Merge pull request #36 from armandocodecr/fix/rwa-oracle-dead-code-set-rwa-metadata
Merge pull request #37 from miguelnietoa/refactor/rwa-oracle-get-all-rwa-assets
@aguilar1x aguilar1x changed the title merge dev into main chore: merge dev into main Apr 1, 2026
@aguilar1x aguilar1x merged commit 7078b99 into main Apr 1, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.