Skip to content

Commit d2373c1

Browse files
committed
feat: Initialize a new Rust project for the liquidation bot.
1 parent 20ae30a commit d2373c1

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

Cargo.lock

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[workspace]
22
resolver = "2"
3-
members = ["contracts/*"]
3+
members = ["contracts/*", "liquidation-bot"]
44

55
[workspace.dependencies]
66
soroban-sdk = "22.0.5"
77
soroban-token-sdk = "22.0.5"
88

9-
109
[profile.release]
1110
opt-level = "z"
1211
overflow-checks = true

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ build:
44
cargo build --release --target wasm32-unknown-unknown -p reflector-oracle-mock
55
cargo build --release --target wasm32-unknown-unknown -p loan_pool
66
cargo build --release --target wasm32-unknown-unknown -p loan_manager
7+
cargo build --release -p liquidation-bot

liquidation-bot/Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[package]
2+
name = "liquidation-bot"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[dependencies]

liquidation-bot/src/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

0 commit comments

Comments
 (0)