Expand description
Contains the operations of proposals.
Structs§
- A transaction to approve a
Proposal
. - Action used to borrow in transaction OnChainIdentity’s assets.
- A
BorrowAction
coupled with a user-provided function to describe how the borrowed assets shall be used. Proposal
action that modifies anOnChainIdentity
’s configuration - e.g:- Borrow an
OnChainIdentity
’s controller capability to exert control on a sub-owned identity. - A
ControllerExecution
action coupled with a user-provided function to describe how the borrowed identity’s controller capability will be used. - A transaction to create a
Proposal
. - Action for deactivating a DID Document inside an Identity.
- A transaction to execute a
Proposal
. - A builder for creating a
Proposal
. - An action used to transfer [
crate::migration::OnChainIdentity
]-owned assets to other addresses. - Proposal’s action for updating a DID Document.
- Action for upgrading the version of an on-chain identity to the package’s version.
- A transaction that requires user input in order to be executed.
Enums§
- The result of creating a
Proposal
. When aProposal
is executed in the same transaction as its creation, aProposalResult::Executed
is returned.ProposalResult::Pending
otherwise.
Traits§
- Instances of BorrowIntentFnT can be used as user-provided function to describe how a borrowed assets shall be used.
- Instances of ControllerIntentFnT can be used as user-provided function to describe how a borrowed identity’s controller capability will be used.
- Interface that allows the creation and execution of an
OnChainIdentity
’sProposal
s. - The
Transaction
resulting from a proposal
Type Aliases§
- Boxed dynamic trait object of {@link BorrowIntentFnT}
- Boxed dynamic trait object of {@link ControllerIntentFnT}