Skip to content

Commit

Permalink
Merge pull request #380 from Concordium/token-with-all-features
Browse files Browse the repository at this point in the history
Token with all features
  • Loading branch information
DOBEN authored Jan 16, 2024
2 parents 667bead + c3164a6 commit 379bd24
Show file tree
Hide file tree
Showing 4 changed files with 1,782 additions and 331 deletions.
1 change: 1 addition & 0 deletions concordium-cis2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Unreleased changes
- Add `Clone` trait for `StandardIdentifierOwned`.
- Add specific parameter type `OnReceivingCis2DataParams<T, A, D>` for a contract function which receives CIS2 tokens with a specific type D for the AdditionalData.
- Add `Deserial` trait for `OnReceivingCis2DataParams<T, A, D>`.
- Add `Serial` trait for `OnReceivingCis2DataParams<T, A, D>`.
Expand Down
2 changes: 1 addition & 1 deletion concordium-cis2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ impl<'a> StandardIdentifier<'a> {
/// Consists of a string of ASCII characters up to a length of 255.
///
/// See [StandardIdentifier] for the borrowed version.
#[derive(Debug, Serialize, PartialEq, Eq, SchemaType)]
#[derive(Debug, Serialize, PartialEq, Eq, SchemaType, Clone)]
#[concordium(transparent)]
pub struct StandardIdentifierOwned {
#[concordium(size_length = 1)]
Expand Down
Loading

0 comments on commit 379bd24

Please sign in to comment.