Skip to content

Commit

Permalink
add audits and update contract-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
mootz12 committed Apr 19, 2024
1 parent 732df4b commit 628aaae
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file added audits/BlendCertoraReport.pdf
Binary file not shown.
Binary file added audits/blend_capital_final.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion blend-contract-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
10 changes: 5 additions & 5 deletions blend-contract-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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`
* backstop - `8dfbc6ba300cde6ebe747cf985cf9221bf3594981595b9c26bbd108ff19a5598`
* emitter - `b1555702a4cca7c44e02beb5aa82b0271c0367471c68f2ec9246c31b202e38ee`
* pool_factory - `8bc7894d8a4e46b085d0579e233e3c436bb34e18f9a2a83d4bde8526cde18cb6`
* pool - `76ebcea354d5959c5b0d38818ddf1524c5af16970231b532f5caa63121930861`
5 changes: 2 additions & 3 deletions blend-contract-sdk/src/testutils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand All @@ -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%
Expand Down
Binary file modified blend-contract-sdk/wasm/backstop.wasm
Binary file not shown.
Binary file modified blend-contract-sdk/wasm/emitter.wasm
Binary file not shown.
Binary file modified blend-contract-sdk/wasm/pool.wasm
Binary file not shown.
Binary file modified blend-contract-sdk/wasm/pool_factory.wasm
Binary file not shown.

0 comments on commit 628aaae

Please sign in to comment.