radix_engine/blueprints/locker/
state.rs

1use crate::internal_prelude::*;
2use radix_engine_interface::blueprints::account::*;
3use radix_engine_interface::blueprints::component::*;
4use radix_engine_interface::prelude::*;
5
6declare_native_blueprint_state! {
7    blueprint_ident: AccountLocker,
8    blueprint_snake_case: account_locker,
9    features: {},
10    fields: {},
11    collections: {
12        account_claims: KeyValue {
13            entry_ident: AccountClaims,
14            key_type: {
15                kind: Static,
16                content_type: Global<AccountMarker>,
17            },
18            value_type: {
19                kind: StaticSingleVersioned,
20            },
21            allow_ownership: true,
22        },
23    }
24}
25
26/// A [`Own`] which is a KeyValueStore<ResourceAddress, Vault>.
27pub type AccountLockerAccountClaimsV1 = Own;