Skip to content

Commit

Permalink
added upgrade endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
psorinionut committed Jul 15, 2024
1 parent a197582 commit 37fcfa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion launchpad-guaranteed-tickets/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub trait LaunchpadGuaranteedTickets:
.set(min_confirmed_for_guaranteed_ticket);
}

#[endpoint]
#[upgrade]
fn upgrade(&self) {}

#[only_owner]
Expand Down
4 changes: 3 additions & 1 deletion launchpad-guaranteed-tickets/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
////////////////////////////////////////////////////

// Init: 1
// Endpoints: 40
// Upgrade: 1
// Endpoints: 39
// Async Callback (empty): 1
// Total number of exported functions: 42

Expand All @@ -18,6 +19,7 @@ multiversx_sc_wasm_adapter::endpoints! {
launchpad_guaranteed_tickets
(
init => init
upgrade => upgrade
addTickets => add_tickets_endpoint
depositLaunchpadTokens => deposit_launchpad_tokens_endpoint
addUsersToBlacklist => add_users_to_blacklist_endpoint
Expand Down

0 comments on commit 37fcfa7

Please sign in to comment.