pub type AccessControllerV2State = AccessControllerV2Substate;Aliased Type§
pub struct AccessControllerV2State {
pub controlled_asset: Vault,
pub xrd_fee_vault: Option<Vault>,
pub timed_recovery_delay_in_minutes: Option<u32>,
pub recovery_badge: ResourceAddress,
pub state: (PrimaryRoleLockingState, PrimaryRoleRecoveryAttemptState, PrimaryRoleBadgeWithdrawAttemptState, RecoveryRoleRecoveryAttemptState, RecoveryRoleBadgeWithdrawAttemptState),
}Fields§
§controlled_asset: VaultA vault where the asset controlled by the access controller lives.
xrd_fee_vault: Option<Vault>A vault that stores some XRD that can be used by any of the three roles for locking fees.
timed_recovery_delay_in_minutes: Option<u32>The amount of time (in minutes) that it takes for timed recovery to be done. Maximum is
4,294,967,295 minutes which is 8171.5511700913 years. When this is None, then timed
recovery can not be performed through this access controller.
recovery_badge: ResourceAddressThe resource address of the recovery badge that will be used by the wallet and optionally by other clients as well.
state: (PrimaryRoleLockingState, PrimaryRoleRecoveryAttemptState, PrimaryRoleBadgeWithdrawAttemptState, RecoveryRoleRecoveryAttemptState, RecoveryRoleBadgeWithdrawAttemptState)The states of the Access Controller.