-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ABW-3982] Check asset deposit rules before transferring on Delete Ac…
…count (#272) * models * updates * fixes and set up to filter non transferable * final implementation * version bump * renames * missing test * rename to Outcome * more tests to increase coverage * updates after feedback * ignore items with zero amount
- Loading branch information
1 parent
46d12e5
commit 6a47b62
Showing
45 changed files
with
1,926 additions
and
81 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
5 changes: 5 additions & 0 deletions
5
crates/sargon-uniffi/src/system/sargon_os/delete_account/mod.rs
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,5 @@ | ||
mod sargon_os_delete_account; | ||
mod support; | ||
|
||
pub use sargon_os_delete_account::*; | ||
pub use support::*; |
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
3 changes: 3 additions & 0 deletions
3
crates/sargon-uniffi/src/system/sargon_os/delete_account/support/mod.rs
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,3 @@ | ||
mod outcome; | ||
|
||
pub use outcome::*; |
8 changes: 8 additions & 0 deletions
8
crates/sargon-uniffi/src/system/sargon_os/delete_account/support/outcome.rs
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,8 @@ | ||
use crate::prelude::*; | ||
use sargon::CreateDeleteAccountManifestOutcome as InternalCreateDeleteAccountManifestOutcome; | ||
|
||
#[derive(Clone, PartialEq, Eq, InternalConversion, uniffi::Record)] | ||
pub struct CreateDeleteAccountManifestOutcome { | ||
pub manifest: TransactionManifest, | ||
pub non_transferable_resources: Vec<ResourceAddress>, | ||
} |
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
Oops, something went wrong.