diff --git a/examples/src6-vault/multi_asset_vault/src/main.sw b/examples/src6-vault/multi_asset_vault/src/main.sw index add5dca..1b249ba 100644 --- a/examples/src6-vault/multi_asset_vault/src/main.sw +++ b/examples/src6-vault/multi_asset_vault/src/main.sw @@ -184,7 +184,7 @@ impl SRC20 for Contract { } abi SetSRC20Data { - #[storage(read)] + #[storage(read, write)] fn set_src20_data( asset: AssetId, name: Option, @@ -194,7 +194,7 @@ abi SetSRC20Data { } impl SetSRC20Data for Contract { - #[storage(read)] + #[storage(read, write)] fn set_src20_data( asset: AssetId, name: Option, diff --git a/examples/src6-vault/single_asset_single_sub_vault/src/main.sw b/examples/src6-vault/single_asset_single_sub_vault/src/main.sw index 4d2639c..b07c572 100644 --- a/examples/src6-vault/single_asset_single_sub_vault/src/main.sw +++ b/examples/src6-vault/single_asset_single_sub_vault/src/main.sw @@ -204,7 +204,7 @@ impl SRC20 for Contract { } abi SetSRC20Data { - #[storage(read)] + #[storage(read, write)] fn set_src20_data( asset: AssetId, name: Option, @@ -214,7 +214,7 @@ abi SetSRC20Data { } impl SetSRC20Data for Contract { - #[storage(read)] + #[storage(read, write)] fn set_src20_data( asset: AssetId, name: Option, diff --git a/examples/src6-vault/single_asset_vault/src/main.sw b/examples/src6-vault/single_asset_vault/src/main.sw index 9064f81..9ad6407 100644 --- a/examples/src6-vault/single_asset_vault/src/main.sw +++ b/examples/src6-vault/single_asset_vault/src/main.sw @@ -198,7 +198,7 @@ impl SRC20 for Contract { } abi SetSRC20Data { - #[storage(read)] + #[storage(read, write)] fn set_src20_data( asset: AssetId, name: Option, @@ -208,7 +208,7 @@ abi SetSRC20Data { } impl SetSRC20Data for Contract { - #[storage(read)] + #[storage(read, write)] fn set_src20_data( asset: AssetId, name: Option,