Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
bitzoic committed Dec 16, 2024
1 parent a5fb98e commit 008116c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions examples/src20-native-asset/multi_asset/src/multi_asset.sw
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,7 @@ impl SRC20 for Contract {
}

abi SetSRC20Data {
<<<<<<< HEAD
#[storage(read, write)]
=======
#[storage(read)]
>>>>>>> release
fn set_src20_data(
asset: AssetId,
total_supply: u64,
Expand All @@ -188,11 +184,7 @@ abi SetSRC20Data {
}

impl SetSRC20Data for Contract {
<<<<<<< HEAD
#[storage(read, write)]
=======
#[storage(read)]
>>>>>>> release
fn set_src20_data(
asset: AssetId,
supply: u64,
Expand All @@ -207,7 +199,6 @@ impl SetSRC20Data for Contract {
}
let sender = msg_sender().unwrap();

<<<<<<< HEAD
match name {
Some(unwrapped_name) => {
storage.name.get(asset).write_slice(unwrapped_name);
Expand All @@ -234,11 +225,6 @@ impl SetSRC20Data for Contract {
SetDecimalsEvent::new(asset, decimals, sender).log();

storage.total_supply.get(asset).write(supply);
=======
SetNameEvent::new(asset, name, sender).log();
SetSymbolEvent::new(asset, symbol, sender).log();
SetDecimalsEvent::new(asset, decimals, sender).log();
>>>>>>> release
TotalSupplyEvent::new(asset, supply, sender).log();
}
}

0 comments on commit 008116c

Please sign in to comment.