Splice.DsoRules
Templates
template Confirmation
A confirmation for the DSO delegate to take action as part of standard DSO. Used for executing automated actions in a shortened process. See the comments on
ActionRequiringConfirmation
for details.Signatory: dso
Field
Type
Description
dso
confirmer
action
expiresAt
Choice Archive
Controller: dso
Returns: ()
(no fields)
Choice Confirmation_Expire
Controller: dso
Returns: Confirmation_ExpireResult
(no fields)
template DsoRules
Signatory: dso
Field
Type
Description
dso
epoch
The number of DSO delegates that have already been elected.
svs
offboardedSvs
dsoDelegate
config
initialTrafficState
Map from participant/mediator ID to its traffic state at the time of synchronizer bootstrapping. Used for testing, empty in prod.
isDevNet
Choice Archive
Controller: dso
Returns: ()
(no fields)
Choice DsoRules_AddConfirmedSv
Controller: sv
Returns: DsoRules_AddConfirmedSvResult
Field
Type
Description
sv
svOnboardingConfirmedCid
earliestRoundCid
ContractId OpenMiningRound
middleRoundCid
ContractId OpenMiningRound
latestRoundCid
ContractId OpenMiningRound
amuletRulesCid
ContractId AmuletRules
Choice DsoRules_AddSv
Controller: dso
Returns: DsoRules_AddSvResult
Field
Type
Description
newSvParty
newSvName
newSvRewardWeight
newSvParticipantId
joinedAsOfRound
Round
Choice DsoRules_AdvanceOpenMiningRounds
Controller: dsoDelegate
Returns: DsoRules_AdvanceOpenMiningRoundsResult
Field
Type
Description
amuletRulesCid
ContractId AmuletRules
roundToArchiveCid
ContractId OpenMiningRound
middleRoundCid
ContractId OpenMiningRound
latestRoundCid
ContractId OpenMiningRound
amuletPriceVoteCids
Choice DsoRules_Amulet_Expire
Controller: dsoDelegate
Returns: DsoRules_Amulet_ExpireResult
Field
Type
Description
cid
ContractId Amulet
choiceArg
Amulet_Expire
Choice DsoRules_ArchiveOutdatedElectionRequest
Controller: dsoDelegate
Returns: DsoRules_ArchiveOutdatedElectionRequestResult
Field
Type
Description
requestCid
Choice DsoRules_ArchiveSvOnboardingRequest
Controller: dsoDelegate
Returns: DsoRules_ArchiveSvOnboardingRequestResult
Field
Type
Description
svOnboardingRequestCid
Choice DsoRules_CastVote
Controller: (DA.Internal.Record.getField @"sv" vote)
Returns: DsoRules_CastVoteResult
Field
Type
Description
requestCid
vote
Choice DsoRules_ClaimExpiredRewards
Controller: dsoDelegate
Returns: DsoRules_ClaimExpiredRewardsResult
Field
Type
Description
amuletRulesCid
ContractId AmuletRules
choiceArg
AmuletRules_ClaimExpiredRewards
Choice DsoRules_CloseVoteRequest
Controller: dsoDelegate
Returns: DsoRules_CloseVoteRequestResult
Field
Type
Description
requestCid
amuletRulesCid
Optional (ContractId AmuletRules)
Choice DsoRules_CollectEntryRenewalPayment
Controller: dsoDelegate
Returns: DsoRules_CollectEntryRenewalPaymentResult
Field
Type
Description
ansEntryContextCid
ContractId AnsEntryContext
choiceArg
AnsEntryContext_CollectEntryRenewalPayment
Choice DsoRules_ConfirmAction
Controller: confirmer
Returns: DsoRules_ConfirmActionResult
Field
Type
Description
confirmer
action
Choice DsoRules_ConfirmSvOnboarding
Controller: dso
Returns: DsoRules_ConfirmSvOnboardingResult
Field
Type
Description
newSvParty
newSvName
newParticipantId
newSvRewardWeight
reason
Choice DsoRules_CreateExternalPartyAmuletRules
Controller: dso
Returns: DsoRules_CreateExternalPartyAmuletRulesResult
(no fields)
Choice DsoRules_CreateTransferCommandCounter
Controller: dso
Returns: DsoRules_CreateTransferCommandCounterResult
Field
Type
Description
sender
Choice DsoRules_ElectDsoDelegate
Controller: actor
Returns: DsoRules_ElectDsoDelegateResult
Field
Type
Description
actor
requestCids
Choice DsoRules_ExecuteConfirmedAction
Controller: dsoDelegate
Returns: DsoRules_ExecuteConfirmedActionResult
Field
Type
Description
action
amuletRulesCid
Optional (ContractId AmuletRules)
confirmationCids
Choice DsoRules_ExpireAnsEntry
Controller: dsoDelegate
Returns: DsoRules_ExpireAnsEntryResult
Field
Type
Description
ansEntryCid
ContractId AnsEntry
choiceArg
AnsEntry_Expire
Choice DsoRules_ExpireStaleConfirmation
Controller: dsoDelegate
Returns: DsoRules_ExpireStaleConfirmationResult
Field
Type
Description
staleConfirmationCid
Choice DsoRules_ExpireSubscription
Controller: dsoDelegate
Returns: DsoRules_ExpireSubscriptionResult
Field
Type
Description
ansEntryContextCid
ContractId AnsEntryContext
subscriptionIdleStateCid
ContractId SubscriptionIdleState
choiceArg
SubscriptionIdleState_ExpireSubscription
Choice DsoRules_ExpireSvOnboardingConfirmed
Controller: dsoDelegate
Returns: DsoRules_ExpireSvOnboardingConfirmedResult
Field
Type
Description
cid
Choice DsoRules_ExpireSvOnboardingRequest
Controller: dsoDelegate
Returns: DsoRules_ExpireSvOnboardingRequestResult
Field
Type
Description
cid
Choice DsoRules_ExpireTransferPreapproval
Controller: dsoDelegate
Returns: DsoRules_ExpireTransferPreapprovalResult
Field
Type
Description
transferPreapprovalCid
ContractId TransferPreapproval
Choice DsoRules_GarbageCollectAmuletPriceVotes
Garbage-collect AmuletPriceVotes from removed svs and duplicate ones that might happen due to a too quick removal and re-addition of a sv. We expect this to be run as an OnAssignedContractTrigger for the DsoRules contract.
Note: we do not archive the AmuletPriceVote of an SV on its removal, as that would allow that SV to block the removal via updating its AmuletPriceVote at the right time.
TODO(#10063): drop this code in favor of just keeping AmuletPriceVotes around.
Controller: dsoDelegate
Returns: DsoRules_GarbageCollectAmuletPriceVotesResult
Field
Type
Description
nonSvVoteCids
duplicateVoteCids
Choice DsoRules_GrantFeaturedAppRight
Controller: dso
Returns: DsoRules_GrantFeaturedAppRightResult
Field
Type
Description
provider
Choice DsoRules_LockedAmulet_ExpireAmulet
Controller: dsoDelegate
Returns: DsoRules_LockedAmulet_ExpireAmuletResult
Field
Type
Description
cid
ContractId LockedAmulet
choiceArg
LockedAmulet_ExpireAmulet
Choice DsoRules_MergeMemberTrafficContracts
Controller: dsoDelegate
Returns: DsoRules_MergeMemberTrafficContractsResult
Field
Type
Description
amuletRulesCid
ContractId AmuletRules
trafficCids
[ContractId MemberTraffic]
Choice DsoRules_MergeSvRewardState
Note this choice only exists to clean up duplicate contracts caused by the bug in #12495. There should never be duplicates going forward.
Controller: dsoDelegate
Returns: DsoRules_MergeSvRewardStateResult
Field
Type
Description
svName
rewardStateCids
Choice DsoRules_MergeUnclaimedRewards
Controller: dsoDelegate
Returns: DsoRules_MergeUnclaimedRewardsResult
Field
Type
Description
amuletRulesCid
ContractId AmuletRules
unclaimedRewardCids
[ContractId UnclaimedReward]
Choice DsoRules_MergeValidatorLicense
Note: removes the old duplicated licenses and creates a new one with the highest lastReceivedFor round There should never be duplicates going forward.
Controller: dsoDelegate
Returns: DsoRules_MergeValidatorLicenseResult
Field
Type
Description
validatorLicenseCids
[ContractId ValidatorLicense]
Choice DsoRules_MiningRound_Close
Controller: dsoDelegate
Returns: DsoRules_MiningRound_CloseResult
Field
Type
Description
amuletRulesCid
ContractId AmuletRules
issuingRoundCid
ContractId IssuingMiningRound
Choice DsoRules_OffboardSv
Controller: dso
Returns: DsoRules_OffboardSvResult
Field
Type
Description
sv
Choice DsoRules_OnboardValidator
Controller: sponsor
Returns: DsoRules_OnboardValidatorResult
Field
Type
Description
sponsor
validator
version
contactPoint
Choice DsoRules_PruneAmuletConfigSchedule
Controller: dsoDelegate
Returns: DsoRules_PruneAmuletConfigScheduleResult
Field
Type
Description
amuletRulesCid
ContractId AmuletRules
Choice DsoRules_ReceiveSvRewardCoupon
Controller: sv
Returns: DsoRules_ReceiveSvRewardCouponResult
Field
Type
Description
sv
openRoundCid
ContractId OpenMiningRound
rewardStateCid
beneficiaries
Choice DsoRules_RequestElection
Controller: requester
Returns: DsoRules_RequestElectionResult
Field
Type
Description
requester
reason
ranking
[Party]
Choice DsoRules_RequestVote
Controller: requester
Returns: DsoRules_RequestVoteResult
Field
Type
Description
requester
action
reason
voteRequestTimeout
Choice DsoRules_RevokeFeaturedAppRight
Controller: dso
Returns: DsoRules_RevokeFeaturedAppRightResult
Field
Type
Description
rightCid
ContractId FeaturedAppRight
Choice DsoRules_SetConfig
Controller: dso
Returns: DsoRules_SetConfigResult
Field
Type
Description
newConfig
Choice DsoRules_SetSynchronizerNodeConfig
Controller: sv
Returns: DsoRules_SetSynchronizerNodeConfigResult
Field
Type
Description
sv
synchronizerId
newNodeConfig
nodeStateCid
Choice DsoRules_StartSvOnboarding
Controller: sponsor
Returns: DsoRules_StartSvOnboardingResult
Field
Type
Description
candidateName
candidateParty
candidateParticipantId
token
sponsor
Choice DsoRules_SubmitStatusReport
Controller: sv
Returns: DsoRules_SubmitStatusReportResult
Field
Type
Description
sv
previousReportCid
status
Choice DsoRules_TerminateSubscription
Controller: dsoDelegate
Returns: DsoRules_TerminateSubscriptionResult
Field
Type
Description
ansEntryContextCid
ContractId AnsEntryContext
terminatedSubscriptionCid
ContractId TerminatedSubscription
Choice DsoRules_UpdateAmuletPriceVote
Controller: sv
Returns: DsoRules_UpdateAmuletPriceVoteResult
Field
Type
Description
sv
voteCid
amuletPrice
Choice DsoRules_UpdateSvRewardWeight
Controller: dso
Returns: DsoRules_UpdateSvRewardWeightResult
Field
Type
Description
svParty
newRewardWeight
template ElectionRequest
A request to elect a new DSO delegate. TODO(#7649) revise and/or remove
Signatory: dso
Field
Type
Description
dso
requester
epoch
reason
ranking
[Party]
Choice Archive
Controller: dso
Returns: ()
(no fields)
template VoteRequest
A request for the other svs to vote on the execution of an action requiring confirmation. We use this for implementing on-ledger governance actions triggered by SV operators in a uniform way.
See the comments on
ActionRequiringConfirmation
for details.Version2, which tracks all votes in a single contract.
Signatory: dso
Field
Type
Description
dso
requester
The SV that requested to execute the action.
action
The action whose confirmation is required.
reason
The reason for requesting the execution of the action. Typically a reference to some off-ledger justification.
voteBefore
The time before which votes are accepted, and SHOULD be submitted.
votes
The votes cast by current or previous SVs. These may be previous SVs in case there was an SV change after the vote was requested.
trackingCid
An optional tracking ContractId to be used for tracking the vote request through its updates. This is always set to the first ContractId of the original vote request (None on creation).
Choice Archive
Controller: dso
Returns: ()
(no fields)
Orphan Typeclass Instances
instance HasCheckedFetch FeaturedAppRight ForDso
Data Types
data ActionRequiringConfirmation
Actions that require confirmation from SV nodes before they can be executed.
There are two processes for executing such actions:
Any SV can request a vote to execute such an action upon which the other SV’s can respond with their votes for whether they accept the execution or not. This process requires votes from 2/3 of all SVs* for the action to be considered definitive and it can be used for all actions that require confirmation.
Some of the actions that require confirmations should be executed automatically once the ledger and the wall-clocks of the SV nodes are in a particular state. These actions are confirmed by each SV node automatically once the action’s precondition is met. Once 2/3 of all SV’ss confirmations* are visible to the DSO delegate it executes them.
Simplified for clarity; see
requiredNumVotes
for exact formula.Process 2 is an optimization of Process 1 for the case where no disagreement to the action is expected. It avoids the extra round-trip and the complications of having the DSO delegate to reliably initiate the vote when it is time to execute an automated action that requires confirmation.
We expect honest SV nodes to only create confirmations for actions whose preconditions are met. We also rely on the execution of these actions to be idempotent, as more than the required number of confirmations can be created and the DSO delegate could thus in principle execute the corresponding action multiple times.
Note also that having these two processes also aids in distinguishing between manually initiated ad-hoc votes and the regular confirmations that need to happen during standard DSO.
Field
Type
Description
dsoAction
Field
Type
Description
amuletRulesAction
Field
Type
Description
ansEntryContextCid
ContractId AnsEntryContext
ansEntryContextAction
ExtActionRequiringConformation
Field
Type
Description
dummyUnitField
()
Extension constructor (and field) to work around the current lack of upgrading for variants in Daml 3.0 This on takes care of providing extensibility for the specific variants below.
instance Eq ActionRequiringConfirmation
instance Show ActionRequiringConfirmation
instance GetField "action" Confirmation ActionRequiringConfirmation
instance GetField "action" DsoRules_ConfirmAction ActionRequiringConfirmation
instance GetField "action" DsoRules_ExecuteConfirmedAction ActionRequiringConfirmation
instance GetField "action" DsoRules_RequestVote ActionRequiringConfirmation
instance GetField "action" VoteRequest ActionRequiringConfirmation
instance GetField "amuletRulesAction" ActionRequiringConfirmation AmuletRules_ActionRequiringConfirmation
instance GetField "ansEntryContextAction" ActionRequiringConfirmation AnsEntryContext_ActionRequiringConfirmation
instance GetField "ansEntryContextCid" ActionRequiringConfirmation (ContractId AnsEntryContext)
instance GetField "dsoAction" ActionRequiringConfirmation DsoRules_ActionRequiringConfirmation
instance GetField "dummyUnitField" ActionRequiringConfirmation ()
instance SetField "action" Confirmation ActionRequiringConfirmation
instance SetField "action" DsoRules_ConfirmAction ActionRequiringConfirmation
instance SetField "action" DsoRules_ExecuteConfirmedAction ActionRequiringConfirmation
instance SetField "action" DsoRules_RequestVote ActionRequiringConfirmation
instance SetField "action" VoteRequest ActionRequiringConfirmation
instance SetField "amuletRulesAction" ActionRequiringConfirmation AmuletRules_ActionRequiringConfirmation
instance SetField "ansEntryContextAction" ActionRequiringConfirmation AnsEntryContext_ActionRequiringConfirmation
instance SetField "ansEntryContextCid" ActionRequiringConfirmation (ContractId AnsEntryContext)
instance SetField "dsoAction" ActionRequiringConfirmation DsoRules_ActionRequiringConfirmation
instance SetField "dummyUnitField" ActionRequiringConfirmation ()
data AmuletRules_ActionRequiringConfirmation
CRARC_MiningRound_StartIssuing AmuletRules_MiningRound_StartIssuing
Automated action to start an issuing round once the summary of the reward coupons have been computed.
CRARC_MiningRound_Archive AmuletRules_MiningRound_Archive
Automated action to archive a closed mining round once no expired reward coupons are left.
CRARC_AddFutureAmuletConfigSchedule AmuletRules_AddFutureAmuletConfigSchedule
Voted action to add a config schedule to the
AmuletRules
.CRARC_RemoveFutureAmuletConfigSchedule AmuletRules_RemoveFutureAmuletConfigSchedule
Voted action to remove a config schedule from the
AmuletRules
.CRARC_UpdateFutureAmuletConfigSchedule AmuletRules_UpdateFutureAmuletConfigSchedule
Voted action to update a config schedule in the
AmuletRules
.instance Eq AmuletRules_ActionRequiringConfirmation
instance Show AmuletRules_ActionRequiringConfirmation
instance GetField "amuletRulesAction" ActionRequiringConfirmation AmuletRules_ActionRequiringConfirmation
instance SetField "amuletRulesAction" ActionRequiringConfirmation AmuletRules_ActionRequiringConfirmation
data AnsEntryContext_ActionRequiringConfirmation
ANSRARC_CollectInitialEntryPayment AnsEntryContext_CollectInitialEntryPayment
Automated action to collect initial payment of an ans entry.
ANSRARC_RejectEntryInitialPayment AnsEntryContext_RejectEntryInitialPayment
Automated action to reject initial payment of an ans entry.
instance Eq AnsEntryContext_ActionRequiringConfirmation
instance Show AnsEntryContext_ActionRequiringConfirmation
instance GetField "ansEntryContextAction" ActionRequiringConfirmation AnsEntryContext_ActionRequiringConfirmation
instance SetField "ansEntryContextAction" ActionRequiringConfirmation AnsEntryContext_ActionRequiringConfirmation
data Confirmation_ExpireResult
Choice return types
instance HasExercise Confirmation Confirmation_Expire Confirmation_ExpireResult
instance HasFromAnyChoice Confirmation Confirmation_Expire Confirmation_ExpireResult
instance HasToAnyChoice Confirmation Confirmation_Expire Confirmation_ExpireResult
data DsoRulesConfig
Field
Type
Description
numUnclaimedRewardsThreshold
The minimum number of unclaimed rewards required for merging
numMemberTrafficContractsThreshold
The minimum number of member traffic contracts required for merging
actionConfirmationTimeout
The TTL for contracts representing a confirmation
svOnboardingRequestTimeout
The TTL for contracts representing an incomplete onboarding
svOnboardingConfirmedTimeout
The TTL for contracts representing an SV confirmation
voteRequestTimeout
The TTL for a
VoteRequest
and its associatedVote
sdsoDelegateInactiveTimeout
The amount of time given to the DSO delegate to complete an action it should take care of
synchronizerNodeConfigLimits
Limits to enforce on the svs’
SynchronizerNodeConfig
maxTextLength
Generic upper limit on text fields in choices and contracts.
decentralizedSynchronizer
nextScheduledSynchronizerUpgrade
instance Eq DsoRulesConfig
instance Show DsoRulesConfig
instance GetField "actionConfirmationTimeout" DsoRulesConfig RelTime
instance GetField "config" DsoBootstrap DsoRulesConfig
instance GetField "config" DsoRules DsoRulesConfig
instance GetField "decentralizedSynchronizer" DsoRulesConfig DsoDecentralizedSynchronizerConfig
instance GetField "dsoDelegateInactiveTimeout" DsoRulesConfig RelTime
instance GetField "maxTextLength" DsoRulesConfig Int
instance GetField "newConfig" DsoRules_SetConfig DsoRulesConfig
instance GetField "nextScheduledSynchronizerUpgrade" DsoRulesConfig (Optional SynchronizerUpgradeSchedule)
instance GetField "numMemberTrafficContractsThreshold" DsoRulesConfig Int
instance GetField "numUnclaimedRewardsThreshold" DsoRulesConfig Int
instance GetField "svOnboardingConfirmedTimeout" DsoRulesConfig RelTime
instance GetField "svOnboardingRequestTimeout" DsoRulesConfig RelTime
instance GetField "synchronizerNodeConfigLimits" DsoRulesConfig SynchronizerNodeConfigLimits
instance GetField "voteRequestTimeout" DsoRulesConfig RelTime
instance SetField "actionConfirmationTimeout" DsoRulesConfig RelTime
instance SetField "config" DsoBootstrap DsoRulesConfig
instance SetField "config" DsoRules DsoRulesConfig
instance SetField "decentralizedSynchronizer" DsoRulesConfig DsoDecentralizedSynchronizerConfig
instance SetField "dsoDelegateInactiveTimeout" DsoRulesConfig RelTime
instance SetField "maxTextLength" DsoRulesConfig Int
instance SetField "newConfig" DsoRules_SetConfig DsoRulesConfig
instance SetField "nextScheduledSynchronizerUpgrade" DsoRulesConfig (Optional SynchronizerUpgradeSchedule)
instance SetField "numMemberTrafficContractsThreshold" DsoRulesConfig Int
instance SetField "numUnclaimedRewardsThreshold" DsoRulesConfig Int
instance SetField "svOnboardingConfirmedTimeout" DsoRulesConfig RelTime
instance SetField "svOnboardingRequestTimeout" DsoRulesConfig RelTime
instance SetField "synchronizerNodeConfigLimits" DsoRulesConfig SynchronizerNodeConfigLimits
instance SetField "voteRequestTimeout" DsoRulesConfig RelTime
data DsoRules_ActionRequiringConfirmation
Voted action to directly add an SV
SRARC_OffboardSv DsoRules_OffboardSv
Voted action to remove an SV
SRARC_ConfirmSvOnboarding DsoRules_ConfirmSvOnboarding
Automated action to confirm that a party can become an SV.
SRARC_GrantFeaturedAppRight DsoRules_GrantFeaturedAppRight
Voted action to grant a featured app right. Not idempotent.
SRARC_RevokeFeaturedAppRight DsoRules_RevokeFeaturedAppRight
Revoke a specific featured app right.
SRARC_SetConfig DsoRules_SetConfig
Voted action to change the
DsoRulesConfig
. Not idempotent.SRARC_UpdateSvRewardWeight DsoRules_UpdateSvRewardWeight
Voted action to update the reward weight of an SV.
SRARC_CreateExternalPartyAmuletRules DsoRules_CreateExternalPartyAmuletRules
Create ExternalPartyAmuletRules contract if it has not been created as part of network bootstrapping.
SRARC_CreateTransferCommandCounter DsoRules_CreateTransferCommandCounter
Create TransferCommandCounter contract for the given sender if it does not already exist
instance Eq DsoRules_ActionRequiringConfirmation
instance Show DsoRules_ActionRequiringConfirmation
instance GetField "dsoAction" ActionRequiringConfirmation DsoRules_ActionRequiringConfirmation
instance SetField "dsoAction" ActionRequiringConfirmation DsoRules_ActionRequiringConfirmation
data DsoRules_AddConfirmedSvResult
Field
Type
Description
newDsoRules
instance GetField "newDsoRules" DsoRules_AddConfirmedSvResult (ContractId DsoRules)
instance SetField "newDsoRules" DsoRules_AddConfirmedSvResult (ContractId DsoRules)
instance HasExercise DsoRules DsoRules_AddConfirmedSv DsoRules_AddConfirmedSvResult
instance HasFromAnyChoice DsoRules DsoRules_AddConfirmedSv DsoRules_AddConfirmedSvResult
instance HasToAnyChoice DsoRules DsoRules_AddConfirmedSv DsoRules_AddConfirmedSvResult
data DsoRules_AddSvResult
Field
Type
Description
newDsoRules
instance GetField "newDsoRules" DsoRules_AddSvResult (ContractId DsoRules)
instance SetField "newDsoRules" DsoRules_AddSvResult (ContractId DsoRules)
instance HasExercise DsoRules DsoRules_AddSv DsoRules_AddSvResult
instance HasFromAnyChoice DsoRules DsoRules_AddSv DsoRules_AddSvResult
instance HasToAnyChoice DsoRules DsoRules_AddSv DsoRules_AddSvResult
data DsoRules_AdvanceOpenMiningRoundsResult
DsoRules_AdvanceOpenMiningRoundsResult
Field
Type
Description
summarizingRound
ContractId SummarizingMiningRound
openRound
ContractId OpenMiningRound
instance GetField "openRound" DsoRules_AdvanceOpenMiningRoundsResult (ContractId OpenMiningRound)
instance GetField "summarizingRound" DsoRules_AdvanceOpenMiningRoundsResult (ContractId SummarizingMiningRound)
instance SetField "openRound" DsoRules_AdvanceOpenMiningRoundsResult (ContractId OpenMiningRound)
instance SetField "summarizingRound" DsoRules_AdvanceOpenMiningRoundsResult (ContractId SummarizingMiningRound)
instance HasExercise DsoRules DsoRules_AdvanceOpenMiningRounds DsoRules_AdvanceOpenMiningRoundsResult
instance HasFromAnyChoice DsoRules DsoRules_AdvanceOpenMiningRounds DsoRules_AdvanceOpenMiningRoundsResult
instance HasToAnyChoice DsoRules DsoRules_AdvanceOpenMiningRounds DsoRules_AdvanceOpenMiningRoundsResult
data DsoRules_Amulet_ExpireResult
Field
Type
Description
expireSum
AmuletExpireSummary
instance GetField "expireSum" DsoRules_Amulet_ExpireResult AmuletExpireSummary
instance SetField "expireSum" DsoRules_Amulet_ExpireResult AmuletExpireSummary
instance HasExercise DsoRules DsoRules_Amulet_Expire DsoRules_Amulet_ExpireResult
instance HasFromAnyChoice DsoRules DsoRules_Amulet_Expire DsoRules_Amulet_ExpireResult
instance HasToAnyChoice DsoRules DsoRules_Amulet_Expire DsoRules_Amulet_ExpireResult
data DsoRules_ArchiveOutdatedElectionRequestResult
DsoRules_ArchiveOutdatedElectionRequestResult
instance HasExercise DsoRules DsoRules_ArchiveOutdatedElectionRequest DsoRules_ArchiveOutdatedElectionRequestResult
instance HasFromAnyChoice DsoRules DsoRules_ArchiveOutdatedElectionRequest DsoRules_ArchiveOutdatedElectionRequestResult
instance HasToAnyChoice DsoRules DsoRules_ArchiveOutdatedElectionRequest DsoRules_ArchiveOutdatedElectionRequestResult
data DsoRules_ArchiveSvOnboardingRequestResult
DsoRules_ArchiveSvOnboardingRequestResult
instance HasExercise DsoRules DsoRules_ArchiveSvOnboardingRequest DsoRules_ArchiveSvOnboardingRequestResult
instance HasFromAnyChoice DsoRules DsoRules_ArchiveSvOnboardingRequest DsoRules_ArchiveSvOnboardingRequestResult
instance HasToAnyChoice DsoRules DsoRules_ArchiveSvOnboardingRequest DsoRules_ArchiveSvOnboardingRequestResult
Field
Type
Description
voteRequest
instance GetField "voteRequest" DsoRules_CastVoteResult (ContractId VoteRequest)
instance SetField "voteRequest" DsoRules_CastVoteResult (ContractId VoteRequest)
instance HasExercise DsoRules DsoRules_CastVote DsoRules_CastVoteResult
instance HasFromAnyChoice DsoRules DsoRules_CastVote DsoRules_CastVoteResult
instance HasToAnyChoice DsoRules DsoRules_CastVote DsoRules_CastVoteResult
data DsoRules_ClaimExpiredRewardsResult
DsoRules_ClaimExpiredRewardsResult
Field
Type
Description
unclaimedReward
Optional (ContractId UnclaimedReward)
instance GetField "unclaimedReward" DsoRules_ClaimExpiredRewardsResult (Optional (ContractId UnclaimedReward))
instance SetField "unclaimedReward" DsoRules_ClaimExpiredRewardsResult (Optional (ContractId UnclaimedReward))
instance HasExercise DsoRules DsoRules_ClaimExpiredRewards DsoRules_ClaimExpiredRewardsResult
instance HasFromAnyChoice DsoRules DsoRules_ClaimExpiredRewards DsoRules_ClaimExpiredRewardsResult
instance HasToAnyChoice DsoRules DsoRules_ClaimExpiredRewards DsoRules_ClaimExpiredRewardsResult
data DsoRules_CloseVoteRequestResult
DsoRules_CloseVoteRequestResult
instance Eq DsoRules_CloseVoteRequestResult
instance Show DsoRules_CloseVoteRequestResult
instance GetField "abstainingSvs" DsoRules_CloseVoteRequestResult [Text]
instance GetField "completedAt" DsoRules_CloseVoteRequestResult Time
instance GetField "offboardedVoters" DsoRules_CloseVoteRequestResult [Text]
instance GetField "outcome" DsoRules_CloseVoteRequestResult VoteRequestOutcome
instance GetField "request" DsoRules_CloseVoteRequestResult VoteRequest
instance SetField "abstainingSvs" DsoRules_CloseVoteRequestResult [Text]
instance SetField "completedAt" DsoRules_CloseVoteRequestResult Time
instance SetField "offboardedVoters" DsoRules_CloseVoteRequestResult [Text]
instance SetField "outcome" DsoRules_CloseVoteRequestResult VoteRequestOutcome
instance SetField "request" DsoRules_CloseVoteRequestResult VoteRequest
instance HasExercise DsoRules DsoRules_CloseVoteRequest DsoRules_CloseVoteRequestResult
instance HasFromAnyChoice DsoRules DsoRules_CloseVoteRequest DsoRules_CloseVoteRequestResult
instance HasToAnyChoice DsoRules DsoRules_CloseVoteRequest DsoRules_CloseVoteRequestResult
data DsoRules_CollectEntryRenewalPaymentResult
DsoRules_CollectEntryRenewalPaymentResult
Field
Type
Description
ansEntry
ContractId AnsEntry
subscriptionState
ContractId SubscriptionIdleState
instance GetField "ansEntry" DsoRules_CollectEntryRenewalPaymentResult (ContractId AnsEntry)
instance GetField "subscriptionState" DsoRules_CollectEntryRenewalPaymentResult (ContractId SubscriptionIdleState)
instance SetField "ansEntry" DsoRules_CollectEntryRenewalPaymentResult (ContractId AnsEntry)
instance SetField "subscriptionState" DsoRules_CollectEntryRenewalPaymentResult (ContractId SubscriptionIdleState)
instance HasExercise DsoRules DsoRules_CollectEntryRenewalPayment DsoRules_CollectEntryRenewalPaymentResult
instance HasFromAnyChoice DsoRules DsoRules_CollectEntryRenewalPayment DsoRules_CollectEntryRenewalPaymentResult
instance HasToAnyChoice DsoRules DsoRules_CollectEntryRenewalPayment DsoRules_CollectEntryRenewalPaymentResult
data DsoRules_ConfirmActionResult
Field
Type
Description
confirmation
instance GetField "confirmation" DsoRules_ConfirmActionResult (ContractId Confirmation)
instance SetField "confirmation" DsoRules_ConfirmActionResult (ContractId Confirmation)
instance HasExercise DsoRules DsoRules_ConfirmAction DsoRules_ConfirmActionResult
instance HasFromAnyChoice DsoRules DsoRules_ConfirmAction DsoRules_ConfirmActionResult
instance HasToAnyChoice DsoRules DsoRules_ConfirmAction DsoRules_ConfirmActionResult
data DsoRules_ConfirmSvOnboardingResult
DsoRules_ConfirmSvOnboardingResult
Field
Type
Description
onboardingConfirmed
instance GetField "onboardingConfirmed" DsoRules_ConfirmSvOnboardingResult (ContractId SvOnboardingConfirmed)
instance SetField "onboardingConfirmed" DsoRules_ConfirmSvOnboardingResult (ContractId SvOnboardingConfirmed)
instance HasExercise DsoRules DsoRules_ConfirmSvOnboarding DsoRules_ConfirmSvOnboardingResult
instance HasFromAnyChoice DsoRules DsoRules_ConfirmSvOnboarding DsoRules_ConfirmSvOnboardingResult
instance HasToAnyChoice DsoRules DsoRules_ConfirmSvOnboarding DsoRules_ConfirmSvOnboardingResult
data DsoRules_CreateExternalPartyAmuletRulesResult
DsoRules_CreateExternalPartyAmuletRulesResult
Field
Type
Description
externalPartyAmuletRulesCid
ContractId ExternalPartyAmuletRules
instance Eq DsoRules_CreateExternalPartyAmuletRulesResult
instance Show DsoRules_CreateExternalPartyAmuletRulesResult
instance GetField "externalPartyAmuletRulesCid" DsoRules_CreateExternalPartyAmuletRulesResult (ContractId ExternalPartyAmuletRules)
instance SetField "externalPartyAmuletRulesCid" DsoRules_CreateExternalPartyAmuletRulesResult (ContractId ExternalPartyAmuletRules)
instance HasExercise DsoRules DsoRules_CreateExternalPartyAmuletRules DsoRules_CreateExternalPartyAmuletRulesResult
instance HasFromAnyChoice DsoRules DsoRules_CreateExternalPartyAmuletRules DsoRules_CreateExternalPartyAmuletRulesResult
instance HasToAnyChoice DsoRules DsoRules_CreateExternalPartyAmuletRules DsoRules_CreateExternalPartyAmuletRulesResult
data DsoRules_CreateTransferCommandCounterResult
DsoRules_CreateTransferCommandCounterResult
Field
Type
Description
transferCommandCounterCid
ContractId TransferCommandCounter
instance Eq DsoRules_CreateTransferCommandCounterResult
instance Show DsoRules_CreateTransferCommandCounterResult
instance GetField "transferCommandCounterCid" DsoRules_CreateTransferCommandCounterResult (ContractId TransferCommandCounter)
instance SetField "transferCommandCounterCid" DsoRules_CreateTransferCommandCounterResult (ContractId TransferCommandCounter)
instance HasExercise DsoRules DsoRules_CreateTransferCommandCounter DsoRules_CreateTransferCommandCounterResult
instance HasFromAnyChoice DsoRules DsoRules_CreateTransferCommandCounter DsoRules_CreateTransferCommandCounterResult
instance HasToAnyChoice DsoRules DsoRules_CreateTransferCommandCounter DsoRules_CreateTransferCommandCounterResult
data DsoRules_ElectDsoDelegateResult
DsoRules_ElectDsoDelegateResult
Field
Type
Description
newDsoRules
instance GetField "newDsoRules" DsoRules_ElectDsoDelegateResult (ContractId DsoRules)
instance SetField "newDsoRules" DsoRules_ElectDsoDelegateResult (ContractId DsoRules)
instance HasExercise DsoRules DsoRules_ElectDsoDelegate DsoRules_ElectDsoDelegateResult
instance HasFromAnyChoice DsoRules DsoRules_ElectDsoDelegate DsoRules_ElectDsoDelegateResult
instance HasToAnyChoice DsoRules DsoRules_ElectDsoDelegate DsoRules_ElectDsoDelegateResult
data DsoRules_ExecuteConfirmedActionResult
DsoRules_ExecuteConfirmedActionResult
instance HasExercise DsoRules DsoRules_ExecuteConfirmedAction DsoRules_ExecuteConfirmedActionResult
instance HasFromAnyChoice DsoRules DsoRules_ExecuteConfirmedAction DsoRules_ExecuteConfirmedActionResult
instance HasToAnyChoice DsoRules DsoRules_ExecuteConfirmedAction DsoRules_ExecuteConfirmedActionResult
data DsoRules_ExpireAnsEntryResult
data DsoRules_ExpireStaleConfirmationResult
DsoRules_ExpireStaleConfirmationResult
instance HasExercise DsoRules DsoRules_ExpireStaleConfirmation DsoRules_ExpireStaleConfirmationResult
instance HasFromAnyChoice DsoRules DsoRules_ExpireStaleConfirmation DsoRules_ExpireStaleConfirmationResult
instance HasToAnyChoice DsoRules DsoRules_ExpireStaleConfirmation DsoRules_ExpireStaleConfirmationResult
data DsoRules_ExpireSubscriptionResult
DsoRules_ExpireSubscriptionResult
instance HasExercise DsoRules DsoRules_ExpireSubscription DsoRules_ExpireSubscriptionResult
instance HasFromAnyChoice DsoRules DsoRules_ExpireSubscription DsoRules_ExpireSubscriptionResult
instance HasToAnyChoice DsoRules DsoRules_ExpireSubscription DsoRules_ExpireSubscriptionResult
data DsoRules_ExpireSvOnboardingConfirmedResult
DsoRules_ExpireSvOnboardingConfirmedResult
Field
Type
Description
newDsoRules
instance GetField "newDsoRules" DsoRules_ExpireSvOnboardingConfirmedResult (ContractId DsoRules)
instance SetField "newDsoRules" DsoRules_ExpireSvOnboardingConfirmedResult (ContractId DsoRules)
instance HasExercise DsoRules DsoRules_ExpireSvOnboardingConfirmed DsoRules_ExpireSvOnboardingConfirmedResult
instance HasFromAnyChoice DsoRules DsoRules_ExpireSvOnboardingConfirmed DsoRules_ExpireSvOnboardingConfirmedResult
instance HasToAnyChoice DsoRules DsoRules_ExpireSvOnboardingConfirmed DsoRules_ExpireSvOnboardingConfirmedResult
data DsoRules_ExpireSvOnboardingRequestResult
DsoRules_ExpireSvOnboardingRequestResult
instance HasExercise DsoRules DsoRules_ExpireSvOnboardingRequest DsoRules_ExpireSvOnboardingRequestResult
instance HasFromAnyChoice DsoRules DsoRules_ExpireSvOnboardingRequest DsoRules_ExpireSvOnboardingRequestResult
instance HasToAnyChoice DsoRules DsoRules_ExpireSvOnboardingRequest DsoRules_ExpireSvOnboardingRequestResult
data DsoRules_ExpireTransferPreapprovalResult
DsoRules_ExpireTransferPreapprovalResult
instance Eq DsoRules_ExpireTransferPreapprovalResult
instance Show DsoRules_ExpireTransferPreapprovalResult
instance HasExercise DsoRules DsoRules_ExpireTransferPreapproval DsoRules_ExpireTransferPreapprovalResult
instance HasFromAnyChoice DsoRules DsoRules_ExpireTransferPreapproval DsoRules_ExpireTransferPreapprovalResult
instance HasToAnyChoice DsoRules DsoRules_ExpireTransferPreapproval DsoRules_ExpireTransferPreapprovalResult
data DsoRules_GarbageCollectAmuletPriceVotesResult
DsoRules_GarbageCollectAmuletPriceVotesResult
instance HasExercise DsoRules DsoRules_GarbageCollectAmuletPriceVotes DsoRules_GarbageCollectAmuletPriceVotesResult
instance HasFromAnyChoice DsoRules DsoRules_GarbageCollectAmuletPriceVotes DsoRules_GarbageCollectAmuletPriceVotesResult
instance HasToAnyChoice DsoRules DsoRules_GarbageCollectAmuletPriceVotes DsoRules_GarbageCollectAmuletPriceVotesResult
data DsoRules_GrantFeaturedAppRightResult
DsoRules_GrantFeaturedAppRightResult
Field
Type
Description
featuredAppRight
ContractId FeaturedAppRight
instance GetField "featuredAppRight" DsoRules_GrantFeaturedAppRightResult (ContractId FeaturedAppRight)
instance SetField "featuredAppRight" DsoRules_GrantFeaturedAppRightResult (ContractId FeaturedAppRight)
instance HasExercise DsoRules DsoRules_GrantFeaturedAppRight DsoRules_GrantFeaturedAppRightResult
instance HasFromAnyChoice DsoRules DsoRules_GrantFeaturedAppRight DsoRules_GrantFeaturedAppRightResult
instance HasToAnyChoice DsoRules DsoRules_GrantFeaturedAppRight DsoRules_GrantFeaturedAppRightResult
data DsoRules_LockedAmulet_ExpireAmuletResult
DsoRules_LockedAmulet_ExpireAmuletResult
Field
Type
Description
expireSum
AmuletExpireSummary
instance GetField "expireSum" DsoRules_LockedAmulet_ExpireAmuletResult AmuletExpireSummary
instance SetField "expireSum" DsoRules_LockedAmulet_ExpireAmuletResult AmuletExpireSummary
instance HasExercise DsoRules DsoRules_LockedAmulet_ExpireAmulet DsoRules_LockedAmulet_ExpireAmuletResult
instance HasFromAnyChoice DsoRules DsoRules_LockedAmulet_ExpireAmulet DsoRules_LockedAmulet_ExpireAmuletResult
instance HasToAnyChoice DsoRules DsoRules_LockedAmulet_ExpireAmulet DsoRules_LockedAmulet_ExpireAmuletResult
data DsoRules_MergeMemberTrafficContractsResult
DsoRules_MergeMemberTrafficContractsResult
Field
Type
Description
memberTraffic
ContractId MemberTraffic
instance GetField "memberTraffic" DsoRules_MergeMemberTrafficContractsResult (ContractId MemberTraffic)
instance SetField "memberTraffic" DsoRules_MergeMemberTrafficContractsResult (ContractId MemberTraffic)
instance HasExercise DsoRules DsoRules_MergeMemberTrafficContracts DsoRules_MergeMemberTrafficContractsResult
instance HasFromAnyChoice DsoRules DsoRules_MergeMemberTrafficContracts DsoRules_MergeMemberTrafficContractsResult
instance HasToAnyChoice DsoRules DsoRules_MergeMemberTrafficContracts DsoRules_MergeMemberTrafficContractsResult
data DsoRules_MergeSvRewardStateResult
DsoRules_MergeSvRewardStateResult
Field
Type
Description
svRewardState
instance GetField "svRewardState" DsoRules_MergeSvRewardStateResult (ContractId SvRewardState)
instance SetField "svRewardState" DsoRules_MergeSvRewardStateResult (ContractId SvRewardState)
instance HasExercise DsoRules DsoRules_MergeSvRewardState DsoRules_MergeSvRewardStateResult
instance HasFromAnyChoice DsoRules DsoRules_MergeSvRewardState DsoRules_MergeSvRewardStateResult
instance HasToAnyChoice DsoRules DsoRules_MergeSvRewardState DsoRules_MergeSvRewardStateResult
data DsoRules_MergeUnclaimedRewardsResult
DsoRules_MergeUnclaimedRewardsResult
Field
Type
Description
unclaimedReward
ContractId UnclaimedReward
instance GetField "unclaimedReward" DsoRules_MergeUnclaimedRewardsResult (ContractId UnclaimedReward)
instance SetField "unclaimedReward" DsoRules_MergeUnclaimedRewardsResult (ContractId UnclaimedReward)
instance HasExercise DsoRules DsoRules_MergeUnclaimedRewards DsoRules_MergeUnclaimedRewardsResult
instance HasFromAnyChoice DsoRules DsoRules_MergeUnclaimedRewards DsoRules_MergeUnclaimedRewardsResult
instance HasToAnyChoice DsoRules DsoRules_MergeUnclaimedRewards DsoRules_MergeUnclaimedRewardsResult
data DsoRules_MergeValidatorLicenseResult
DsoRules_MergeValidatorLicenseResult
Field
Type
Description
validatorLicense
ContractId ValidatorLicense
instance GetField "validatorLicense" DsoRules_MergeValidatorLicenseResult (ContractId ValidatorLicense)
instance SetField "validatorLicense" DsoRules_MergeValidatorLicenseResult (ContractId ValidatorLicense)
instance HasExercise DsoRules DsoRules_MergeValidatorLicense DsoRules_MergeValidatorLicenseResult
instance HasFromAnyChoice DsoRules DsoRules_MergeValidatorLicense DsoRules_MergeValidatorLicenseResult
instance HasToAnyChoice DsoRules DsoRules_MergeValidatorLicense DsoRules_MergeValidatorLicenseResult
data DsoRules_MiningRound_CloseResult
DsoRules_MiningRound_CloseResult
Field
Type
Description
closedRound
ContractId ClosedMiningRound
instance GetField "closedRound" DsoRules_MiningRound_CloseResult (ContractId ClosedMiningRound)
instance SetField "closedRound" DsoRules_MiningRound_CloseResult (ContractId ClosedMiningRound)
instance HasExercise DsoRules DsoRules_MiningRound_Close DsoRules_MiningRound_CloseResult
instance HasFromAnyChoice DsoRules DsoRules_MiningRound_Close DsoRules_MiningRound_CloseResult
instance HasToAnyChoice DsoRules DsoRules_MiningRound_Close DsoRules_MiningRound_CloseResult
data DsoRules_OffboardSvResult
Field
Type
Description
newDsoRules
instance GetField "newDsoRules" DsoRules_OffboardSvResult (ContractId DsoRules)
instance SetField "newDsoRules" DsoRules_OffboardSvResult (ContractId DsoRules)
instance HasExercise DsoRules DsoRules_OffboardSv DsoRules_OffboardSvResult
instance HasFromAnyChoice DsoRules DsoRules_OffboardSv DsoRules_OffboardSvResult
instance HasToAnyChoice DsoRules DsoRules_OffboardSv DsoRules_OffboardSvResult
data DsoRules_OnboardValidatorResult
DsoRules_OnboardValidatorResult
Field
Type
Description
validatorLicense
ContractId ValidatorLicense
instance GetField "validatorLicense" DsoRules_OnboardValidatorResult (ContractId ValidatorLicense)
instance SetField "validatorLicense" DsoRules_OnboardValidatorResult (ContractId ValidatorLicense)
instance HasExercise DsoRules DsoRules_OnboardValidator DsoRules_OnboardValidatorResult
instance HasFromAnyChoice DsoRules DsoRules_OnboardValidator DsoRules_OnboardValidatorResult
instance HasToAnyChoice DsoRules DsoRules_OnboardValidator DsoRules_OnboardValidatorResult
data DsoRules_PruneAmuletConfigScheduleResult
DsoRules_PruneAmuletConfigScheduleResult
Field
Type
Description
amuletRulesCid
ContractId AmuletRules
instance GetField "amuletRulesCid" DsoRules_PruneAmuletConfigScheduleResult (ContractId AmuletRules)
instance SetField "amuletRulesCid" DsoRules_PruneAmuletConfigScheduleResult (ContractId AmuletRules)
instance HasExercise DsoRules DsoRules_PruneAmuletConfigSchedule DsoRules_PruneAmuletConfigScheduleResult
instance HasFromAnyChoice DsoRules DsoRules_PruneAmuletConfigSchedule DsoRules_PruneAmuletConfigScheduleResult
instance HasToAnyChoice DsoRules DsoRules_PruneAmuletConfigSchedule DsoRules_PruneAmuletConfigScheduleResult
data DsoRules_ReceiveSvRewardCouponResult
DsoRules_ReceiveSvRewardCouponResult
Field
Type
Description
svRewardState
svRewardCoupons
[ContractId SvRewardCoupon]
instance GetField "svRewardCoupons" DsoRules_ReceiveSvRewardCouponResult [ContractId SvRewardCoupon]
instance GetField "svRewardState" DsoRules_ReceiveSvRewardCouponResult (ContractId SvRewardState)
instance SetField "svRewardCoupons" DsoRules_ReceiveSvRewardCouponResult [ContractId SvRewardCoupon]
instance SetField "svRewardState" DsoRules_ReceiveSvRewardCouponResult (ContractId SvRewardState)
instance HasExercise DsoRules DsoRules_ReceiveSvRewardCoupon DsoRules_ReceiveSvRewardCouponResult
instance HasFromAnyChoice DsoRules DsoRules_ReceiveSvRewardCoupon DsoRules_ReceiveSvRewardCouponResult
instance HasToAnyChoice DsoRules DsoRules_ReceiveSvRewardCoupon DsoRules_ReceiveSvRewardCouponResult
data DsoRules_RequestElectionResult
DsoRules_RequestElectionResult
Field
Type
Description
electionRequestCid
instance GetField "electionRequestCid" DsoRules_RequestElectionResult (ContractId ElectionRequest)
instance SetField "electionRequestCid" DsoRules_RequestElectionResult (ContractId ElectionRequest)
instance HasExercise DsoRules DsoRules_RequestElection DsoRules_RequestElectionResult
instance HasFromAnyChoice DsoRules DsoRules_RequestElection DsoRules_RequestElectionResult
instance HasToAnyChoice DsoRules DsoRules_RequestElection DsoRules_RequestElectionResult
data DsoRules_RequestVoteResult
Field
Type
Description
voteRequest
instance GetField "voteRequest" DsoRules_RequestVoteResult (ContractId VoteRequest)
instance SetField "voteRequest" DsoRules_RequestVoteResult (ContractId VoteRequest)
instance HasExercise DsoRules DsoRules_RequestVote DsoRules_RequestVoteResult
instance HasFromAnyChoice DsoRules DsoRules_RequestVote DsoRules_RequestVoteResult
instance HasToAnyChoice DsoRules DsoRules_RequestVote DsoRules_RequestVoteResult
data DsoRules_RevokeFeaturedAppRightResult
DsoRules_RevokeFeaturedAppRightResult
instance HasExercise DsoRules DsoRules_RevokeFeaturedAppRight DsoRules_RevokeFeaturedAppRightResult
instance HasFromAnyChoice DsoRules DsoRules_RevokeFeaturedAppRight DsoRules_RevokeFeaturedAppRightResult
instance HasToAnyChoice DsoRules DsoRules_RevokeFeaturedAppRight DsoRules_RevokeFeaturedAppRightResult
Field
Type
Description
newDsoRules
instance GetField "newDsoRules" DsoRules_SetConfigResult (ContractId DsoRules)
instance SetField "newDsoRules" DsoRules_SetConfigResult (ContractId DsoRules)
instance HasExercise DsoRules DsoRules_SetConfig DsoRules_SetConfigResult
instance HasFromAnyChoice DsoRules DsoRules_SetConfig DsoRules_SetConfigResult
instance HasToAnyChoice DsoRules DsoRules_SetConfig DsoRules_SetConfigResult
data DsoRules_SetSynchronizerNodeConfigResult
DsoRules_SetSynchronizerNodeConfigResult
Field
Type
Description
svNodeState
instance GetField "svNodeState" DsoRules_SetSynchronizerNodeConfigResult (ContractId SvNodeState)
instance SetField "svNodeState" DsoRules_SetSynchronizerNodeConfigResult (ContractId SvNodeState)
instance HasExercise DsoRules DsoRules_SetSynchronizerNodeConfig DsoRules_SetSynchronizerNodeConfigResult
instance HasFromAnyChoice DsoRules DsoRules_SetSynchronizerNodeConfig DsoRules_SetSynchronizerNodeConfigResult
instance HasToAnyChoice DsoRules DsoRules_SetSynchronizerNodeConfig DsoRules_SetSynchronizerNodeConfigResult
data DsoRules_StartSvOnboardingResult
DsoRules_StartSvOnboardingResult
Field
Type
Description
onboardingRequest
instance GetField "onboardingRequest" DsoRules_StartSvOnboardingResult (ContractId SvOnboardingRequest)
instance SetField "onboardingRequest" DsoRules_StartSvOnboardingResult (ContractId SvOnboardingRequest)
instance HasExercise DsoRules DsoRules_StartSvOnboarding DsoRules_StartSvOnboardingResult
instance HasFromAnyChoice DsoRules DsoRules_StartSvOnboarding DsoRules_StartSvOnboardingResult
instance HasToAnyChoice DsoRules DsoRules_StartSvOnboarding DsoRules_StartSvOnboardingResult
data DsoRules_SubmitStatusReportResult
DsoRules_SubmitStatusReportResult
Field
Type
Description
newReport
instance GetField "newReport" DsoRules_SubmitStatusReportResult (ContractId SvStatusReport)
instance SetField "newReport" DsoRules_SubmitStatusReportResult (ContractId SvStatusReport)
instance HasExercise DsoRules DsoRules_SubmitStatusReport DsoRules_SubmitStatusReportResult
instance HasFromAnyChoice DsoRules DsoRules_SubmitStatusReport DsoRules_SubmitStatusReportResult
instance HasToAnyChoice DsoRules DsoRules_SubmitStatusReport DsoRules_SubmitStatusReportResult
data DsoRules_TerminateSubscriptionResult
DsoRules_TerminateSubscriptionResult
instance HasExercise DsoRules DsoRules_TerminateSubscription DsoRules_TerminateSubscriptionResult
instance HasFromAnyChoice DsoRules DsoRules_TerminateSubscription DsoRules_TerminateSubscriptionResult
instance HasToAnyChoice DsoRules DsoRules_TerminateSubscription DsoRules_TerminateSubscriptionResult
data DsoRules_UpdateAmuletPriceVoteResult
DsoRules_UpdateAmuletPriceVoteResult
Field
Type
Description
amuletPriceVote
instance GetField "amuletPriceVote" DsoRules_UpdateAmuletPriceVoteResult (ContractId AmuletPriceVote)
instance SetField "amuletPriceVote" DsoRules_UpdateAmuletPriceVoteResult (ContractId AmuletPriceVote)
instance HasExercise DsoRules DsoRules_UpdateAmuletPriceVote DsoRules_UpdateAmuletPriceVoteResult
instance HasFromAnyChoice DsoRules DsoRules_UpdateAmuletPriceVote DsoRules_UpdateAmuletPriceVoteResult
instance HasToAnyChoice DsoRules DsoRules_UpdateAmuletPriceVote DsoRules_UpdateAmuletPriceVoteResult
data DsoRules_UpdateSvRewardWeightResult
DsoRules_UpdateSvRewardWeightResult
Field
Type
Description
newDsoRules
instance GetField "newDsoRules" DsoRules_UpdateSvRewardWeightResult (ContractId DsoRules)
instance SetField "newDsoRules" DsoRules_UpdateSvRewardWeightResult (ContractId DsoRules)
instance HasExercise DsoRules DsoRules_UpdateSvRewardWeight DsoRules_UpdateSvRewardWeightResult
instance HasFromAnyChoice DsoRules DsoRules_UpdateSvRewardWeight DsoRules_UpdateSvRewardWeightResult
instance HasToAnyChoice DsoRules DsoRules_UpdateSvRewardWeight DsoRules_UpdateSvRewardWeightResult
data DsoSummary
instance Eq DsoSummary
instance Show DsoSummary
instance GetField "dsoDelegate" DsoSummary Party
instance GetField "numSvs" DsoSummary Int
instance GetField "requiredNumVotes" DsoSummary Int
instance SetField "dsoDelegate" DsoSummary Party
instance SetField "numSvs" DsoSummary Int
instance SetField "requiredNumVotes" DsoSummary Int
Field
Type
Description
dummyUnitField
()
Extension constructor (and field) to work around the current lack of upgrading for variants in Daml 3.0
instance Eq ElectionRequestReason
instance Ord ElectionRequestReason
instance Show ElectionRequestReason
instance GetField "dummyUnitField" ElectionRequestReason ()
instance GetField "reason" DsoRules_RequestElection ElectionRequestReason
instance GetField "reason" ElectionRequest ElectionRequestReason
instance SetField "dummyUnitField" ElectionRequestReason ()
instance SetField "reason" DsoRules_RequestElection ElectionRequestReason
instance SetField "reason" ElectionRequest ElectionRequestReason
data OffboardedSvInfo
Information about offboarded svs
instance Eq OffboardedSvInfo
instance Show OffboardedSvInfo
instance GetField "name" OffboardedSvInfo Text
instance GetField "offboardedSvs" DsoRules (Map Party OffboardedSvInfo)
instance GetField "participantId" OffboardedSvInfo Text
instance SetField "name" OffboardedSvInfo Text
instance SetField "offboardedSvs" DsoRules (Map Party OffboardedSvInfo)
instance SetField "participantId" OffboardedSvInfo Text
data Reason
instance GetField "body" Reason Text
instance GetField "reason" DsoRules_RequestVote Reason
instance GetField "reason" Vote Reason
instance GetField "reason" VoteRequest Reason
instance GetField "url" Reason Text
instance SetField "body" Reason Text
instance SetField "reason" DsoRules_RequestVote Reason
instance SetField "reason" Vote Reason
instance SetField "reason" VoteRequest Reason
data SvInfo
Information about SVs relevant to DSO governance.
Field
Type
Description
name
Human-readable name; must be unique.
joinedAsOfRound
Round
Round in which the SV joined
svRewardWeight
Weight of the SV in the SV reward distribution.
participantId
Participant ID of the SV, stored here as PartyToParticipant mappings are tracked via state on the DsoRules + SvOnboardingConfirmed contracts.
instance GetField "joinedAsOfRound" SvInfo Round
instance GetField "name" SvInfo Text
instance GetField "participantId" SvInfo Text
instance GetField "svRewardWeight" SvInfo Int
instance GetField "svs" DsoRules (Map Party SvInfo)
instance SetField "joinedAsOfRound" SvInfo Round
instance SetField "name" SvInfo Text
instance SetField "participantId" SvInfo Text
data SynchronizerUpgradeSchedule
instance Eq SynchronizerUpgradeSchedule
instance Show SynchronizerUpgradeSchedule
instance GetField "migrationId" SynchronizerUpgradeSchedule Int
instance GetField "nextScheduledSynchronizerUpgrade" DsoRulesConfig (Optional SynchronizerUpgradeSchedule)
instance GetField "time" SynchronizerUpgradeSchedule Time
instance SetField "migrationId" SynchronizerUpgradeSchedule Int
instance SetField "nextScheduledSynchronizerUpgrade" DsoRulesConfig (Optional SynchronizerUpgradeSchedule)
instance SetField "time" SynchronizerUpgradeSchedule Time
data TrafficState
Field
Type
Description
consumedTraffic
Bytes of extra traffic consumed before the decentralized synchronizer was bootstrapped.
instance Eq TrafficState
instance Show TrafficState
instance GetField "consumedTraffic" TrafficState Int
instance GetField "initialTrafficState" DsoBootstrap (Map Text TrafficState)
instance GetField "initialTrafficState" DsoRules (Map Text TrafficState)
instance SetField "consumedTraffic" TrafficState Int
instance SetField "initialTrafficState" DsoBootstrap (Map Text TrafficState)
instance SetField "initialTrafficState" DsoRules (Map Text TrafficState)
data Vote
A vote cast by an SV.
instance GetField "accept" Vote Bool
instance GetField "reason" Vote Reason
instance GetField "sv" Vote Party
instance GetField "vote" DsoRules_CastVote Vote
instance GetField "votes" VoteRequest (Map Text Vote)
instance SetField "accept" Vote Bool
instance SetField "reason" Vote Reason
instance SetField "sv" Vote Party
instance SetField "vote" DsoRules_CastVote Vote
instance SetField "votes" VoteRequest (Map Text Vote)
data VoteRequestOutcome
Field
Type
Description
description
Description of the failure.
Field
Type
Description
effectiveAt
Time when the action will be effective.
Field
Type
Description
dummyUnitField
()
instance Eq VoteRequestOutcome
instance Show VoteRequestOutcome
instance GetField "description" VoteRequestOutcome Text
instance GetField "dummyUnitField" VoteRequestOutcome ()
instance GetField "effectiveAt" VoteRequestOutcome Time
instance GetField "outcome" DsoRules_CloseVoteRequestResult VoteRequestOutcome
instance SetField "description" VoteRequestOutcome Text
instance SetField "dummyUnitField" VoteRequestOutcome ()
instance SetField "effectiveAt" VoteRequestOutcome Time
instance SetField "outcome" DsoRules_CloseVoteRequestResult VoteRequestOutcome
data VotingState a
instance Ord a => Eq (VotingState a)
instance (Show a, Ord a) => Show (VotingState a)
instance GetField "loosers" (VotingState a) (Set a)
instance GetField "rankings" (VotingState a) (Map a [[a]])
instance SetField "loosers" (VotingState a) (Set a)
instance SetField "rankings" (VotingState a) (Map a [[a]])
Functions
- executeActionRequiringConfirmation
: ContractId DsoRules -> Optional (ContractId AmuletRules) -> ActionRequiringConfirmation -> Update ()
Execute an action which requires certain number of confirmations from SVs. Each confirmed action can at most be executed once.
- determineWinner
: Ord a => Int -> Int -> VotingState a -> a
Determine the winner of a preference voting election using Instant-RunOff voting https://en.wikipedia.org/wiki/Instant-runoff_voting
- distributeVotes
: Ord a => a -> VotingState a -> VotingState a
- tallyVotes
: Ord a => [[a]] -> VotingState a -> VotingState a
- tallyVote
: Ord a => VotingState a -> [a] -> VotingState a
- requireWellformedReason
: DsoRulesConfig -> Reason -> Update ()
- requireWellformedVote
: DsoRulesConfig -> Vote -> Update ()
- actionRequiringConfirmationEffectiveAt
: ActionRequiringConfirmation -> Optional Time
Get the future-dated effectiveAt of an action requiring confirmation.
- svHasBeenOnboardedBefore
-
Returns True if an SV with that name is either currently onboarded or an SV with that name has been onboarded before and is now in offboardedSvs.
- createPerSvContracts
: DsoRules -> DsoRules_AddSv -> Update ()
- createPerSvPartyContracts
: Party -> Party -> Text -> SynchronizerNodeConfigMap -> Optional Decimal -> Update ()