Documentation
¶
Index ¶
- type ActiveContract
- type ActiveContractEntry
- type AddTransactionsRequest
- type AddTransactionsResponse
- type ArchivedEvent
- type AssignedEvent
- type AuthorizeRequest
- type AuthorizeResponse
- type BaseQuery
- type BaseResult
- type CanActAs
- type CanReadAs
- type Command
- type CommandState
- type CommandStatus
- type CommandType
- type Commands
- type Completion
- type CompletionResponse
- type CompletionStreamRequest
- type CompletionStreamResponse
- type ConnectedSynchronizer
- type ContractEntry
- type CreateCommand
- type CreateTemporaryTopologyStoreRequest
- type CreateTemporaryTopologyStoreResponse
- type CreatedEvent
- type DeduplicationDuration
- type DeduplicationOffset
- type DeduplicationPeriod
- type DisclosedContract
- type DropTemporaryTopologyStoreRequest
- type DropTemporaryTopologyStoreResponse
- type Event
- type EventFormat
- type ExecuteSubmissionRequest
- type ExecuteSubmissionResponse
- type ExerciseByKeyCommand
- type ExerciseCommand
- type ExercisedEvent
- type FeaturesDescriptor
- type FilterTargetKeyOrFingerprint
- type Filters
- type ForceFlag
- type GenerateTransactionProposal
- type GenerateTransactionsRequest
- type GenerateTransactionsResponse
- type GeneratedTransaction
- type GetActiveContractsRequest
- type GetActiveContractsResponse
- type GetConnectedSynchronizersRequest
- type GetConnectedSynchronizersResponse
- type GetEventsByContractIDRequest
- type GetEventsByContractIDResponse
- type GetLatestPrunedOffsetsRequest
- type GetLatestPrunedOffsetsResponse
- type GetLedgerAPIVersionRequest
- type GetLedgerAPIVersionResponse
- type GetLedgerEndRequest
- type GetLedgerEndResponse
- type GetPackageRequest
- type GetPackageResponse
- type GetPackageStatusRequest
- type GetPackageStatusResponse
- type GetPreferredPackageVersionRequest
- type GetPreferredPackageVersionResponse
- type GetTimeRequest
- type GetTimeResponse
- type GetTransactionByIDRequest
- type GetTransactionByOffsetRequest
- type GetTransactionResponse
- type GetUpdateByIDRequest
- type GetUpdateResponse
- type GetUpdatesRequest
- type GetUpdatesResponse
- type HashFunction
- type HashingSchemeVersion
- type HostingParticipant
- type IdentityProviderAdmin
- type IdentityProviderConfig
- type ImportTopologySnapshotRequest
- type ImportTopologySnapshotResponse
- type InclusiveFilters
- type IncompleteAssigned
- type IncompleteAssignedEntry
- type IncompleteUnassigned
- type IncompleteUnassignedEntry
- type InterfaceFilter
- type InterfaceView
- type ListKnownPartiesResponse
- type ListNamespaceDelegationRequest
- type ListNamespaceDelegationResponse
- type ListPackagesRequest
- type ListPackagesResponse
- type ListPartyToKeyMappingRequest
- type ListPartyToKeyMappingResponse
- type ListPartyToParticipantRequest
- type ListPartyToParticipantResponse
- type MinLedgerTime
- type MinLedgerTimeAbs
- type MinLedgerTimeRel
- type MinLedgerTimeValue
- type MultiTransactionSignatures
- type NamespaceDelegationMapping
- type NamespaceDelegationResult
- type OffsetCheckpoint
- type Operation
- type PackageDetails
- type PackageReference
- type PackageStatus
- type ParticipantAdmin
- type ParticipantPermission
- type PartyDetails
- type PartyToKeyMapping
- type PartyToKeyMappingResult
- type PartyToParticipantMapping
- type PartyToParticipantResult
- type PrefetchContractKey
- type PrepareSubmissionRequest
- type PrepareSubmissionResponse
- type PruneRequest
- type PublicKey
- type Reassignment
- type ResultStatus
- type Right
- type RightType
- type SDKVersionMismatchError
- type SetTimeRequest
- type SetTimeResponse
- type SignTransactionsRequest
- type SignTransactionsResponse
- type Signature
- type SignatureFormat
- type SignedTopologyTransaction
- type SignedTransaction
- type SigningAlgorithmSpec
- type SigningKeyScheme
- type SigningKeySpec
- type SigningKeyUsage
- type SinglePartySignatures
- type Status
- type StatusError
- type StatusOK
- type StoreID
- type SubmitAndWaitForTransactionResponse
- type SubmitAndWaitRequest
- type SubmitAndWaitResponse
- type SubmitRequest
- type SubmitResponse
- type TemplateFilter
- type TimeQuery
- type TimeRange
- type TopologyMapping
- type TopologyTransactionProposal
- type TopologyTransactionResult
- type TopologyTransactionSignature
- type Transaction
- type TransactionFilter
- type UnassignedEvent
- type Update
- type UpdateMask
- type User
- type ViewStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveContract ¶
type ActiveContract struct {
CreatedEvent *CreatedEvent
SynchronizerID string
ReassignmentCounter uint64
}
type ActiveContractEntry ¶
type ActiveContractEntry struct {
ActiveContract *ActiveContract
}
type AddTransactionsRequest ¶
type AddTransactionsRequest struct {
Transactions []*SignedTopologyTransaction
ForceChanges []ForceFlag
Store *StoreID
WaitToBecomeEffective *time.Duration
}
type AddTransactionsResponse ¶
type AddTransactionsResponse struct{}
type ArchivedEvent ¶
type AssignedEvent ¶
type AuthorizeRequest ¶
type AuthorizeResponse ¶
type AuthorizeResponse struct {
Transaction *SignedTopologyTransaction
}
type BaseResult ¶
type Command ¶
type Command struct {
Command CommandType
}
type CommandState ¶
type CommandState int
const ( CommandStateUnspecified CommandState = iota CommandStatePending CommandStateSucceeded CommandStateFailed )
type CommandStatus ¶
type CommandStatus struct {
Started *time.Time
Completed *time.Time
State CommandState
}
type CommandType ¶
type CommandType interface {
// contains filtered or unexported methods
}
type Completion ¶
type CompletionResponse ¶
type CompletionResponse interface {
// contains filtered or unexported methods
}
type CompletionStreamRequest ¶
type CompletionStreamResponse ¶
type CompletionStreamResponse struct {
Response CompletionResponse
}
type ConnectedSynchronizer ¶
type ConnectedSynchronizer struct {
SynchronizerID string
ParticipantPermission ParticipantPermission
}
type ContractEntry ¶
type ContractEntry interface {
// contains filtered or unexported methods
}
type CreateCommand ¶
type CreateTemporaryTopologyStoreResponse ¶
type CreateTemporaryTopologyStoreResponse struct {
StoreID *StoreID
}
type CreatedEvent ¶
type CreatedEvent struct {
Offset int64
NodeID int32
ContractID string
TemplateID string
ContractKey interface{}
CreateArguments interface{}
CreatedEventBlob []byte
InterfaceViews []*InterfaceView
WitnessParties []string
Signatories []string
Observers []string
CreatedAt *time.Time
PackageName string
}
type DeduplicationDuration ¶
type DeduplicationOffset ¶
type DeduplicationOffset struct {
Offset int64
}
type DeduplicationPeriod ¶
type DeduplicationPeriod interface {
// contains filtered or unexported methods
}
type DisclosedContract ¶
type DropTemporaryTopologyStoreRequest ¶
type DropTemporaryTopologyStoreRequest struct {
StoreID *StoreID
}
type DropTemporaryTopologyStoreResponse ¶
type DropTemporaryTopologyStoreResponse struct{}
type Event ¶
type Event struct {
Created *CreatedEvent
Archived *ArchivedEvent
Exercised *ExercisedEvent
}
type EventFormat ¶
type ExecuteSubmissionRequest ¶
type ExecuteSubmissionRequest struct {
PreparedTransaction []byte
PartySignatures []*SinglePartySignatures
DeduplicationPeriod DeduplicationPeriod
SubmissionID string
UserID string
HashingSchemeVersion HashingSchemeVersion
MinLedgerTime *MinLedgerTime
}
type ExecuteSubmissionResponse ¶
type ExecuteSubmissionResponse struct{}
type ExerciseByKeyCommand ¶
type ExerciseCommand ¶
type ExercisedEvent ¶
type ExercisedEvent struct {
Offset int64
NodeID int32
ContractID string
TemplateID string
InterfaceID string
Choice string
ChoiceArgument interface{}
ActingParties []string
Consuming bool
WitnessParties []string
LastDescendantNodeID int32
ExerciseResult interface{}
PackageName string
ImplementedInterfaces []string
}
type FeaturesDescriptor ¶
type FilterTargetKeyOrFingerprint ¶
type FilterTargetKeyOrFingerprint struct {
Fingerprint string
}
type Filters ¶
type Filters struct {
Inclusive *InclusiveFilters
}
type GenerateTransactionProposal ¶
type GenerateTransactionProposal struct {
Operation Operation
Serial uint32
Mapping TopologyMapping
Store *StoreID
}
type GenerateTransactionsRequest ¶
type GenerateTransactionsRequest struct {
Proposals []*GenerateTransactionProposal
}
type GenerateTransactionsResponse ¶
type GenerateTransactionsResponse struct {
GeneratedTransactions []*GeneratedTransaction
}
type GeneratedTransaction ¶
type GetActiveContractsRequest ¶
type GetActiveContractsRequest struct {
ActiveAtOffset int64
EventFormat *EventFormat
}
State Service types
type GetActiveContractsResponse ¶
type GetActiveContractsResponse struct {
WorkflowID string
ContractEntry ContractEntry
}
type GetConnectedSynchronizersRequest ¶
type GetConnectedSynchronizersRequest struct{}
type GetConnectedSynchronizersResponse ¶
type GetConnectedSynchronizersResponse struct {
ConnectedSynchronizers []*ConnectedSynchronizer
}
type GetEventsByContractIDRequest ¶
type GetEventsByContractIDRequest struct {
ContractID string
EventFormat *EventFormat
}
Event Query Service types
type GetEventsByContractIDResponse ¶
type GetEventsByContractIDResponse struct {
CreateEvent *CreatedEvent
ArchiveEvent *ArchivedEvent
}
type GetLatestPrunedOffsetsRequest ¶
type GetLatestPrunedOffsetsRequest struct{}
type GetLedgerAPIVersionResponse ¶
type GetLedgerAPIVersionResponse struct {
Version string
Features *FeaturesDescriptor
}
type GetLedgerEndRequest ¶
type GetLedgerEndRequest struct{}
type GetLedgerEndResponse ¶
type GetLedgerEndResponse struct {
Offset int64
}
type GetPackageRequest ¶
type GetPackageRequest struct {
PackageID string
}
type GetPackageResponse ¶
type GetPackageResponse struct {
ArchivePayload []byte
HashFunction HashFunction
Hash string
}
type GetPackageStatusRequest ¶
type GetPackageStatusRequest struct {
PackageID string
}
type GetPackageStatusResponse ¶
type GetPackageStatusResponse struct {
PackageStatus PackageStatus
}
type GetPreferredPackageVersionResponse ¶
type GetPreferredPackageVersionResponse struct {
PackageReference *PackageReference
SynchronizerID string
}
type GetTimeRequest ¶
type GetTimeRequest struct{}
type GetTimeResponse ¶
type GetTransactionByIDRequest ¶
type GetTransactionByIDRequest struct {
UpdateID string
RequestingParties []string
UpdateFormat *EventFormat
}
type GetTransactionByOffsetRequest ¶
type GetTransactionByOffsetRequest struct {
Offset int64
RequestingParties []string
UpdateFormat *EventFormat
}
type GetTransactionResponse ¶
type GetTransactionResponse struct {
Transaction *Transaction
}
type GetUpdateByIDRequest ¶
type GetUpdateByIDRequest struct {
UpdateID string
UpdateFormat *EventFormat
}
type GetUpdateResponse ¶
type GetUpdateResponse struct {
Transaction *Transaction
}
type GetUpdatesRequest ¶
type GetUpdatesRequest struct {
BeginExclusive int64
EndInclusive *int64
Filter *TransactionFilter
UpdateFormat *EventFormat
Verbose bool
}
Update Service types
type GetUpdatesResponse ¶
type GetUpdatesResponse struct {
Update *Update
}
type HashingSchemeVersion ¶
type HashingSchemeVersion int32
const ( HashingSchemeVersionUnspecified HashingSchemeVersion = 0 HashingSchemeVersionV2 HashingSchemeVersion = 2 )
type HostingParticipant ¶
type HostingParticipant struct {
ParticipantUID string
Permission ParticipantPermission
}
type IdentityProviderAdmin ¶
type IdentityProviderAdmin struct{}
type IdentityProviderConfig ¶
type ImportTopologySnapshotResponse ¶
type ImportTopologySnapshotResponse struct{}
type InclusiveFilters ¶
type InclusiveFilters struct {
TemplateFilters []*TemplateFilter
InterfaceFilters []*InterfaceFilter
}
type IncompleteAssigned ¶
type IncompleteAssigned struct {
AssignedEvent *AssignedEvent
}
type IncompleteAssignedEntry ¶
type IncompleteAssignedEntry struct {
IncompleteAssigned *IncompleteAssigned
}
type IncompleteUnassigned ¶
type IncompleteUnassigned struct {
CreatedEvent *CreatedEvent
UnassignedEvent *UnassignedEvent
}
type IncompleteUnassignedEntry ¶
type IncompleteUnassignedEntry struct {
IncompleteUnassigned *IncompleteUnassigned
}
type InterfaceFilter ¶
type InterfaceView ¶
type InterfaceView struct {
InterfaceID string
ViewStatus *ViewStatus
ViewValue interface{}
}
type ListKnownPartiesResponse ¶
type ListKnownPartiesResponse struct {
PartyDetails []*PartyDetails
NextPageToken string
}
type ListNamespaceDelegationResponse ¶
type ListNamespaceDelegationResponse struct {
Results []*NamespaceDelegationResult
}
type ListPackagesResponse ¶
type ListPackagesResponse struct {
PackageIDs []string
}
type ListPartyToKeyMappingResponse ¶
type ListPartyToKeyMappingResponse struct {
Results []*PartyToKeyMappingResult
}
type ListPartyToParticipantResponse ¶
type ListPartyToParticipantResponse struct {
Results []*PartyToParticipantResult
}
type MinLedgerTime ¶
type MinLedgerTime struct {
Time MinLedgerTimeValue
}
type MinLedgerTimeAbs ¶
type MinLedgerTimeRel ¶
type MinLedgerTimeValue ¶
type MinLedgerTimeValue interface {
// contains filtered or unexported methods
}
type MultiTransactionSignatures ¶
type MultiTransactionSignatures struct {
TransactionHashes [][]byte
Signatures []TopologyTransactionSignature
}
type NamespaceDelegationResult ¶
type NamespaceDelegationResult struct {
Context *BaseResult
Item *NamespaceDelegationMapping
}
type OffsetCheckpoint ¶
type OffsetCheckpoint struct {
Offset int64
}
type PackageDetails ¶
type PackageReference ¶
type PackageStatus ¶
type PackageStatus int32
const ( PackageStatusUnknown PackageStatus = 0 PackageStatusRegistered PackageStatus = 1 )
type ParticipantAdmin ¶
type ParticipantAdmin struct{}
type ParticipantPermission ¶
type ParticipantPermission int32
const ( ParticipantPermissionSubmission ParticipantPermission = 0 ParticipantPermissionConfirmation ParticipantPermission = 1 ParticipantPermissionObservation ParticipantPermission = 2 )
type PartyDetails ¶
type PartyToKeyMapping ¶
type PartyToKeyMappingResult ¶
type PartyToKeyMappingResult struct {
Context *BaseResult
Item *PartyToKeyMapping
}
type PartyToParticipantMapping ¶
type PartyToParticipantMapping struct {
Party string
Threshold uint32
Participants []HostingParticipant
}
type PartyToParticipantResult ¶
type PartyToParticipantResult struct {
Context *BaseResult
Item *PartyToParticipantMapping
}
type PrefetchContractKey ¶
type PrepareSubmissionRequest ¶
type PrepareSubmissionRequest struct {
UserID string
CommandID string
Commands []*Command
MinLedgerTime *MinLedgerTime
ActAs []string
ReadAs []string
DisclosedContracts []*DisclosedContract
SynchronizerID string
PackageIDSelectionPreference []string
VerboseHashing bool
PrefetchContractKeys []*PrefetchContractKey
}
Interactive Submission Service types
type PrepareSubmissionResponse ¶
type PrepareSubmissionResponse struct {
PreparedTransaction []byte
PreparedTransactionHash []byte
HashingSchemeVersion HashingSchemeVersion
HashingDetails string
}
type PruneRequest ¶
type Reassignment ¶
type ResultStatus ¶
type ResultStatus int32
const ( ResultStatusSuccess ResultStatus = 0 ResultStatusFailure ResultStatus = 1 ResultStatusDuplicate ResultStatus = 2 )
type SDKVersionMismatchError ¶
func (*SDKVersionMismatchError) Error ¶
func (e *SDKVersionMismatchError) Error() string
type SetTimeResponse ¶
type SetTimeResponse struct{}
type SignTransactionsRequest ¶
type SignTransactionsRequest struct {
Transactions []*SignedTopologyTransaction
SignedBy []string
Store *StoreID
ForceFlags []ForceFlag
}
type SignTransactionsResponse ¶
type SignTransactionsResponse struct {
Transactions []*SignedTopologyTransaction
}
type Signature ¶
type Signature struct {
Format SignatureFormat
Signature []byte
SignedBy string
SigningAlgorithmSpec SigningAlgorithmSpec
}
type SignatureFormat ¶
type SignatureFormat int32
const ( SignatureFormatUnspecified SignatureFormat = 0 SignatureFormatRaw SignatureFormat = 1 SignatureFormatDER SignatureFormat = 2 SignatureFormatConcat SignatureFormat = 3 SignatureFormatSymbolic SignatureFormat = 10000 )
type SignedTopologyTransaction ¶
type SignedTopologyTransaction struct {
Transaction []byte
Signatures []TopologyTransactionSignature
MultiTransactionSignatures []*MultiTransactionSignatures
Proposal bool
}
type SignedTransaction ¶
type SigningAlgorithmSpec ¶
type SigningAlgorithmSpec int32
const ( SigningAlgorithmSpecUnspecified SigningAlgorithmSpec = 0 SigningAlgorithmSpecED25519 SigningAlgorithmSpec = 1 SigningAlgorithmSpecECDSASHA256 SigningAlgorithmSpec = 2 SigningAlgorithmSpecECDSASHA384 SigningAlgorithmSpec = 3 )
type SigningKeyScheme ¶
type SigningKeyScheme int32
const ( SigningKeySchemeUnspecified SigningKeyScheme = 0 SigningKeySchemeED25519 SigningKeyScheme = 1 SigningKeySchemeECDSAP256 SigningKeyScheme = 2 SigningKeySchemeECDSAP384 SigningKeyScheme = 3 )
type SigningKeySpec ¶
type SigningKeySpec int32
const ( SigningKeySpecUnspecified SigningKeySpec = 0 SigningKeySpecCurve25519 SigningKeySpec = 1 SigningKeySpecP256 SigningKeySpec = 2 SigningKeySpecP384 SigningKeySpec = 3 SigningKeySpecSecp256k1 SigningKeySpec = 4 )
type SigningKeyUsage ¶
type SigningKeyUsage int32
const ( SigningKeyUsageUnspecified SigningKeyUsage = 0 SigningKeyUsageNamespace SigningKeyUsage = 1 SigningKeyUsageIdentityDelegation SigningKeyUsage = 2 SigningKeyUsageSequencerAuthentication SigningKeyUsage = 3 SigningKeyUsageProtocol SigningKeyUsage = 4 SigningKeyUsageProofOfOwnership SigningKeyUsage = 5 )
type SinglePartySignatures ¶
type StatusError ¶
type SubmitAndWaitForTransactionResponse ¶
type SubmitAndWaitForTransactionResponse struct {
UpdateID string
CompletionOffset int64
Transaction *Transaction
}
type SubmitAndWaitRequest ¶
type SubmitAndWaitRequest struct {
Commands *Commands
}
type SubmitAndWaitResponse ¶
type SubmitRequest ¶
type SubmitRequest struct {
Commands *Commands
}
type SubmitResponse ¶
type SubmitResponse struct{}
type TemplateFilter ¶
type TopologyMapping ¶
type TopologyMapping interface {
// contains filtered or unexported methods
}
type TopologyTransactionProposal ¶
type TopologyTransactionProposal struct {
Operation Operation
Mapping TopologyMapping
Serial uint32
}
type TopologyTransactionResult ¶
type TopologyTransactionResult struct {
Transaction *SignedTopologyTransaction
Status ResultStatus
ErrorMessage string
}
type Transaction ¶
type TransactionFilter ¶
type UnassignedEvent ¶
type Update ¶
type Update struct {
Transaction *Transaction
Reassignment *Reassignment
OffsetCheckpoint *OffsetCheckpoint
}
type UpdateMask ¶
type UpdateMask struct {
Paths []string
}
type ViewStatus ¶
Click to show internal directories.
Click to hide internal directories.