Skip to content

Commit

Permalink
Some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubasze committed Dec 18, 2024
1 parent 174b220 commit 041d7ee
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ impl From<&BucketSnapshot> for ResourceSpecifier {

#[derive(Debug, Clone)]
pub enum VaultOp {
Put(ResourceAddress, Decimal), // TODO: add non-fungible support
Put(ResourceAddress, Decimal),
Take(ResourceAddress, Decimal),
// We deliberately ignore ids and use amount only for non-fungibles
// This is to keep backward-compatibility with users of the `ResourceChange` struct.
TakeNonFungibles(ResourceAddress, Decimal),
TakeAdvanced(ResourceAddress, Decimal),
LockFee(Decimal, bool),
Expand Down

0 comments on commit 041d7ee

Please sign in to comment.