diff --git a/Cargo.lock b/Cargo.lock index 8cc2401e..3d3bff95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,7 +106,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "blend-contract-sdk" -version = "0.1.0" +version = "0.2.0" dependencies = [ "soroban-sdk", ] diff --git a/README.md b/README.md index 3a0f28c2..29f2e329 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ To learn more about the Blend Protocol, visit the docs: ## Audits -No audits have been conducted for the protocol at this time. Results will be included here at the conclusion of an audit. +Conducted audits can be viewed in the `audits` folder. ## Getting Started diff --git a/audits/BlendCertoraReport.pdf b/audits/BlendCertoraReport.pdf new file mode 100644 index 00000000..6b5052a1 Binary files /dev/null and b/audits/BlendCertoraReport.pdf differ diff --git a/audits/blend_capital_final.pdf b/audits/blend_capital_final.pdf new file mode 100644 index 00000000..84fc339e Binary files /dev/null and b/audits/blend_capital_final.pdf differ diff --git a/blend-contract-sdk/Cargo.toml b/blend-contract-sdk/Cargo.toml index d0d56108..79e65847 100644 --- a/blend-contract-sdk/Cargo.toml +++ b/blend-contract-sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blend-contract-sdk" -version = "0.1.0" +version = "0.2.0" description = "Traits, clients, types, and WASMs for the Blend Protocol for use in Soroban contract development." homepage = "https://github.com/blend-capital/blend-contracts" repository = "https://github.com/blend-capital/blend-contracts" diff --git a/blend-contract-sdk/README.md b/blend-contract-sdk/README.md index d6addc39..94389111 100644 --- a/blend-contract-sdk/README.md +++ b/blend-contract-sdk/README.md @@ -71,7 +71,7 @@ The WASM files included will align with the GitHub release the SDK was published Since WASM builds can vary based on factors like OS, here are the details of the machine that built the WASMs included in this package: * Ubuntu 22.04.4 LTS -* x86 +* stable-x86_64-unknown-linux-gnu (default) * rustc 1.77.1 (7cf61ebde 2024-03-27) * soroban 20.3.1 (ae5446f63ca8a275e61912019199254d598f3bd5) * soroban-env 20.2.1 (18a10592853d9edf4e341b565b0b1638f95f0393) @@ -80,7 +80,7 @@ Since WASM builds can vary based on factors like OS, here are the details of the * xdr curr (b96148cd4acc372cc9af17b909ffe4b12c43ecb6) The SHA256 Checksums: -* backstop - `ac3dfcdbaff35d1b6da24096e2d67486336cd33232cf73682fca3844feb36ebd` -* emitter - `0daab61baabfb15de1f1b23ea1b8ff1744169b45257c9e3fade0cf06c543d813` -* pool_factory - `c93274926c28b7aedd294c3f8eacaa1e407c469419c0055edf4dba6dac87be6b` -* pool - `2609ae9150344ac6b54852b4490493a63ac796620a3f4161912a7358229b9db7` \ No newline at end of file +* backstop - `8dfbc6ba300cde6ebe747cf985cf9221bf3594981595b9c26bbd108ff19a5598` +* emitter - `b1555702a4cca7c44e02beb5aa82b0271c0367471c68f2ec9246c31b202e38ee` +* pool_factory - `8bc7894d8a4e46b085d0579e233e3c436bb34e18f9a2a83d4bde8526cde18cb6` +* pool - `76ebcea354d5959c5b0d38818ddf1524c5af16970231b532f5caa63121930861` \ No newline at end of file diff --git a/blend-contract-sdk/src/testutils.rs b/blend-contract-sdk/src/testutils.rs index 0f999fb3..1554491d 100644 --- a/blend-contract-sdk/src/testutils.rs +++ b/blend-contract-sdk/src/testutils.rs @@ -133,9 +133,8 @@ impl<'a> BlendFixture<'a> { #[cfg(test)] mod tests { use soroban_sdk::{ - symbol_short, testutils::{Address as _, BytesN as _}, - Address, BytesN, Env, + Address, BytesN, Env, String, }; use crate::{ @@ -156,7 +155,7 @@ mod tests { let token = env.register_stellar_asset_contract(deployer.clone()); let pool = blend.pool_factory.mock_all_auths().deploy( &deployer, - &symbol_short!("test"), + &String::from_str(&env, "test"), &BytesN::<32>::random(&env), &Address::generate(&env), &0_1000000, // 10% diff --git a/blend-contract-sdk/wasm/backstop.wasm b/blend-contract-sdk/wasm/backstop.wasm index 262ff663..8b0bd59f 100644 Binary files a/blend-contract-sdk/wasm/backstop.wasm and b/blend-contract-sdk/wasm/backstop.wasm differ diff --git a/blend-contract-sdk/wasm/emitter.wasm b/blend-contract-sdk/wasm/emitter.wasm index e48c7b37..68bed722 100644 Binary files a/blend-contract-sdk/wasm/emitter.wasm and b/blend-contract-sdk/wasm/emitter.wasm differ diff --git a/blend-contract-sdk/wasm/pool.wasm b/blend-contract-sdk/wasm/pool.wasm index 2ff73c84..c10913a8 100644 Binary files a/blend-contract-sdk/wasm/pool.wasm and b/blend-contract-sdk/wasm/pool.wasm differ diff --git a/blend-contract-sdk/wasm/pool_factory.wasm b/blend-contract-sdk/wasm/pool_factory.wasm index 1473ca07..553a632c 100644 Binary files a/blend-contract-sdk/wasm/pool_factory.wasm and b/blend-contract-sdk/wasm/pool_factory.wasm differ