Factory interface to instantiate elections on generic instruments.
Create a new Election.
Field Type Description actors Parties Parties calling the
elector Party Parties on behalf of which the election is made. counterparty Party Faces the
provider Party Party that signs the election (together with the elector). id Id The identifier for an election. description Text A description of the instrument. claim C The claim representation of the election (i.e., the elected sub-tree). electorIsOwner Bool
Trueif election is on behalf of the owner of the holding,
electionTime Time Time at which the election is put forward. observers PartiesMap Observers of the election. amount Decimal Number of instrument units to which the election applies. instrument InstrumentKey The instrument to which the election applies.
Archive an account.
Field Type Description actors Parties Parties executing the
electionCid ContractId I The election’s contract id.
Method asDisclosure : I
Method create’ : Create -> Update (ContractId I)
Method remove : Remove -> Update ()
class Implementation t => HasImplementation t where
- type Implementation t
= (HasToInterface t Factory, Implementation t)
Type constraint for requiring templates to implement
- type V
Type synonym for
instance HasFromAnyView Factory V