#[repr(u64)]pub enum NativeCodeId {
Show 24 variants
PackageCode1 = 0,
PackageCode2 = 22,
ResourceCode1 = 1,
ResourceCode2 = 26,
IdentityCode1 = 2,
IdentityCode2 = 25,
ConsensusManagerCode1 = 3,
ConsensusManagerCode2 = 16,
AccountCode1 = 5,
AccountCode2 = 20,
AccountCode3 = 24,
AccessControllerCode1 = 6,
AccessControllerCode2 = 23,
PoolCode1 = 13,
PoolCode2 = 17,
TransactionTrackerCode1 = 14,
TestUtilsCode1 = 15,
LockerCode1 = 19,
TransactionProcessorCode1 = 7,
TransactionProcessorCode2 = 21,
MetadataCode1 = 10,
RoyaltyCode1 = 11,
RoleAssignmentCode1 = 12,
RoleAssignmentCode2 = 18,
}Variants§
PackageCode1 = 0
- Introduced: Babylon
- Coverage : All package blueprints
- Changes : N/A
PackageCode2 = 22
- Introduced: Bottlenose
- Coverage : All package blueprints
- Changes : Add limit to reserved role key
ResourceCode1 = 1
- Introduced: Babylon
- Coverage : All resource blueprints
- Changes : N/A
ResourceCode2 = 26
- Introduced: Cuttlefish
- Coverage :
WORKTOP_ASSERT_RESOURCES_INCLUDE_IDENTandWORKTOP_ASSERT_RESOURCES_ONLY_IDENT - Changes : Add assert resources methods to the worktop blueprint
IdentityCode1 = 2
- Introduced: Babylon
- Coverage : All identity blueprints
- Changes : N/A
IdentityCode2 = 25
- Introduced: Bottlenose
- Coverage :
IDENTITY_CREATE_ADVANCED_IDENT,IDENTITY_CREATE_IDENTandIDENTITY_ON_VIRTUALIZE_EXPORT_NAME - Changes : Do not create royalty module
ConsensusManagerCode1 = 3
- Introduced: Babylon
- Coverage : All consensus manager blueprints
- Changes : N/A
ConsensusManagerCode2 = 16
- Introduced: Anemone
- Coverage :
CONSENSUS_MANAGER_GET_CURRENT_TIME_IDENTandCONSENSUS_MANAGER_COMPARE_CURRENT_TIME_IDENT - Changes : Add second precision time
AccountCode1 = 5
- Introduced: Babylon
- Coverage : All account blueprints
- Changes : N/A
AccountCode2 = 20
- Introduced: Bottlenose
- Coverage :
ACCOUNT_TRY_DEPOSIT_OR_REFUND_IDENTandACCOUNT_TRY_DEPOSIT_BATCH_OR_REFUND_IDENT - Changes : Update
try_depositlogic
AccountCode3 = 24
- Introduced: Cuttlefish
- Coverage : Account getters
- Changes : Adds getters to the account blueprint
AccessControllerCode1 = 6
- Introduced: Babylon
- Coverage : All access controller blueprints
- Changes : N/A
AccessControllerCode2 = 23
- Introduced: Babylon
- Coverage : All access controller blueprints
- Changes : Introduce fee vault
PoolCode1 = 13
- Introduced: Babylon
- Coverage : All pool blueprints
- Changes : N/A
PoolCode2 = 17
- Introduced: Anemone
- Coverage : All pool blueprints
- Changes : Update pools to use precise decimal
TransactionTrackerCode1 = 14
- Introduced: Babylon
- Coverage : All transaction tracker blueprints
- Changes : N/A
TestUtilsCode1 = 15
- Introduced: Babylon
- Coverage : All test blueprints
- Changes : N/A
LockerCode1 = 19
- Introduced: Bottlenose
- Coverage : All locker blueprints
- Changes : N/A
TransactionProcessorCode1 = 7
- Introduced: Babylon
- Coverage : All transaction processor blueprints
- Changes : N/A
TransactionProcessorCode2 = 21
- Introduced: Bottlenose
- Coverage : All transaction processor blueprints
- Changes : Add blob limits
MetadataCode1 = 10
- Introduced: Babylon
- Coverage : All metadata object module blueprints
- Changes : N/A
RoyaltyCode1 = 11
- Introduced: Babylon
- Coverage : All royalty object module blueprints
- Changes : N/A
RoleAssignmentCode1 = 12
- Introduced: Babylon
- Coverage : All role assignment object module blueprints
- Changes : N/A
RoleAssignmentCode2 = 18
- Introduced: Bottlenose
- Coverage :
ROLE_ASSIGNMENT_GET_OWNER_ROLE_IDENT - Changes : Add `get_owner_role``
Implementations§
Source§impl NativeCodeId
impl NativeCodeId
Auto Trait Implementations§
impl Freeze for NativeCodeId
impl RefUnwindSafe for NativeCodeId
impl Send for NativeCodeId
impl Sync for NativeCodeId
impl Unpin for NativeCodeId
impl UnwindSafe for NativeCodeId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more