Skip to content

Commit

Permalink
Merge pull request #425 from Concordium/add-missing-standard
Browse files Browse the repository at this point in the history
Add missing standard
  • Loading branch information
DOBEN authored Apr 29, 2024
2 parents c06c3bd + f341d30 commit b3a89f3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions examples/cis2-multi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,13 @@
use concordium_cis2::*;
use concordium_std::{collections::BTreeMap, EntrypointName, *};

/// The standard identifier for the CIS-3 standard.
pub const CIS3_STANDARD_IDENTIFIER: StandardIdentifier<'static> =
StandardIdentifier::new_unchecked("CIS-3");

/// List of supported standards by this contract address.
const SUPPORTS_STANDARDS: [StandardIdentifier<'static>; 2] =
[CIS0_STANDARD_IDENTIFIER, CIS2_STANDARD_IDENTIFIER];
const SUPPORTS_STANDARDS: [StandardIdentifier<'static>; 3] =
[CIS0_STANDARD_IDENTIFIER, CIS2_STANDARD_IDENTIFIER, CIS3_STANDARD_IDENTIFIER];

/// List of supported entrypoints by the `permit` function (CIS3 standard).
const SUPPORTS_PERMIT_ENTRYPOINTS: [EntrypointName; 2] =
Expand Down

0 comments on commit b3a89f3

Please sign in to comment.