-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ownership and pausing functionality to Asset and NFT examples (#790)
## Type of change <!--Delete points that do not apply--> - Improvement (refactoring, restructuring repository, cleaning tech debt, ...) ## Changes The following changes have been made: - Add ownership to the native-asset app - Add ownership to the NFT app - Upgrades native-asset tests to use Rust SDK - Upgrades NFT tests to use Rust SDK ## Notes - There was an internal discussion to add ownership and pausing functionality to the apps to make them production-ready. Ownership has been added to the native asset app and both ownership and pausing have been added to the NFT app. - SDK tests related to metadata are ignored until nested heap types are supported. - Dependent on FuelLabs/sway-libs#226 ## Related Issues <!--Delete everything after the "#" symbol and replace it with a number. No spaces between hash and number--> Closes #784
- Loading branch information
Showing
54 changed files
with
12,546 additions
and
410 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
library; | ||
|
||
abi Constructor { | ||
#[storage(read, write)] | ||
fn constructor(owner: Identity); | ||
} |
Oops, something went wrong.