Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions campaign/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#![no_std]
use soroban_sdk::{contract, contractimpl, Env};

pub const VERSION: u32 = 1;

#[contract]
pub struct CampaignContract;

Expand All @@ -9,4 +11,8 @@ impl CampaignContract {
pub fn hello(env: Env) -> soroban_sdk::Symbol {
soroban_sdk::Symbol::new(&env, "campaign")
}

pub fn version() -> u32 {
VERSION
}
}
Loading