Skip to content

Commit

Permalink
- made the initSupply function from the safe contract payable
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianpascalau committed Jun 12, 2024
1 parent cecacd8 commit 4d4bc7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esdt-safe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ pub trait EsdtSafe:
}

#[only_owner]
#[payable("*")]
#[endpoint(initSupply)]
fn init_supply(&self) {
let (token_id, amount) = self.call_value().single_fungible_esdt();
Expand Down

0 comments on commit 4d4bc7e

Please sign in to comment.