Documentation
¶
Index ¶
- Constants
- type AcceptStorageLocationsAdmin
- func (t AcceptStorageLocationsAdmin) MarshalHex() (string, error)
- func (t AcceptStorageLocationsAdmin) MarshalJSON() ([]byte, error)
- func (t AcceptStorageLocationsAdmin) ToMap() map[string]any
- func (t *AcceptStorageLocationsAdmin) UnmarshalHex(data string) error
- func (t *AcceptStorageLocationsAdmin) UnmarshalJSON(data []byte) error
- type AllowListConfigArgs
- type ApplyAllowListUpdates
- func (t ApplyAllowListUpdates) MarshalHex() (string, error)
- func (t ApplyAllowListUpdates) MarshalJSON() ([]byte, error)
- func (t ApplyAllowListUpdates) ToMap() map[string]any
- func (t *ApplyAllowListUpdates) UnmarshalHex(data string) error
- func (t *ApplyAllowListUpdates) UnmarshalJSON(data []byte) error
- type ApplyAllowListUpdatesMCMSParams
- type ApplyAllowListUpdatesParams
- func (t ApplyAllowListUpdatesParams) MarshalHex() (string, error)
- func (t ApplyAllowListUpdatesParams) MarshalJSON() ([]byte, error)
- func (t ApplyAllowListUpdatesParams) ToMap() map[string]any
- func (t *ApplyAllowListUpdatesParams) UnmarshalHex(data string) error
- func (t *ApplyAllowListUpdatesParams) UnmarshalJSON(data []byte) error
- type ApplyRemoteChainConfigUpdates
- func (t ApplyRemoteChainConfigUpdates) MarshalHex() (string, error)
- func (t ApplyRemoteChainConfigUpdates) MarshalJSON() ([]byte, error)
- func (t ApplyRemoteChainConfigUpdates) ToMap() map[string]any
- func (t *ApplyRemoteChainConfigUpdates) UnmarshalHex(data string) error
- func (t *ApplyRemoteChainConfigUpdates) UnmarshalJSON(data []byte) error
- type ApplyRemoteChainConfigUpdatesParams
- func (t ApplyRemoteChainConfigUpdatesParams) MarshalHex() (string, error)
- func (t ApplyRemoteChainConfigUpdatesParams) MarshalJSON() ([]byte, error)
- func (t ApplyRemoteChainConfigUpdatesParams) ToMap() map[string]any
- func (t *ApplyRemoteChainConfigUpdatesParams) UnmarshalHex(data string) error
- func (t *ApplyRemoteChainConfigUpdatesParams) UnmarshalJSON(data []byte) error
- type ApplySignatureConfigs
- func (t ApplySignatureConfigs) MarshalHex() (string, error)
- func (t ApplySignatureConfigs) MarshalJSON() ([]byte, error)
- func (t ApplySignatureConfigs) ToMap() map[string]any
- func (t *ApplySignatureConfigs) UnmarshalHex(data string) error
- func (t *ApplySignatureConfigs) UnmarshalJSON(data []byte) error
- type ApplySignatureConfigsParams
- func (t ApplySignatureConfigsParams) MarshalHex() (string, error)
- func (t ApplySignatureConfigsParams) MarshalJSON() ([]byte, error)
- func (t ApplySignatureConfigsParams) ToMap() map[string]any
- func (t *ApplySignatureConfigsParams) UnmarshalHex(data string) error
- func (t *ApplySignatureConfigsParams) UnmarshalJSON(data []byte) error
- type CalculateFee
- type CalculateFeeMCMSParams
- type CommitteeVerifier
- func (t CommitteeVerifier) AcceptStorageLocationsAdmin(contractID string, args AcceptStorageLocationsAdmin) *model.ExerciseCommand
- func (t CommitteeVerifier) AcceptStorageLocationsAdminWithPackageID(contractID string, packageID string, args AcceptStorageLocationsAdmin) *model.ExerciseCommand
- func (t CommitteeVerifier) ApplyAllowListUpdates(contractID string, args ApplyAllowListUpdates) *model.ExerciseCommand
- func (t CommitteeVerifier) ApplyAllowListUpdatesWithPackageID(contractID string, packageID string, args ApplyAllowListUpdates) *model.ExerciseCommand
- func (t CommitteeVerifier) ApplyRemoteChainConfigUpdates(contractID string, args ApplyRemoteChainConfigUpdates) *model.ExerciseCommand
- func (t CommitteeVerifier) ApplyRemoteChainConfigUpdatesWithPackageID(contractID string, packageID string, args ApplyRemoteChainConfigUpdates) *model.ExerciseCommand
- func (t CommitteeVerifier) ApplySignatureConfigs(contractID string, args ApplySignatureConfigs) *model.ExerciseCommand
- func (t CommitteeVerifier) ApplySignatureConfigsWithPackageID(contractID string, packageID string, args ApplySignatureConfigs) *model.ExerciseCommand
- func (t CommitteeVerifier) Archive(contractID string) *model.ExerciseCommand
- func (t CommitteeVerifier) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand
- func (t CommitteeVerifier) CalculateFee(contractID string, args CalculateFee) *model.ExerciseCommand
- func (t CommitteeVerifier) CalculateFeeWithPackageID(contractID string, packageID string, args CalculateFee) *model.ExerciseCommand
- func (t CommitteeVerifier) CreateCommand() *model.CreateCommand
- func (t CommitteeVerifier) CreateCommandWithPackageID(packageID string) *model.CreateCommand
- func (t CommitteeVerifier) CrossChainVerifierCalculateFee(contractID string, args extensionapi.CrossChainVerifierCalculateFee) *model.ExerciseCommand
- func (t CommitteeVerifier) CrossChainVerifierCalculateFeeWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t CommitteeVerifier) CrossChainVerifierForwardToVerifier(contractID string, args extensionapi.CrossChainVerifierForwardToVerifier) *model.ExerciseCommand
- func (t CommitteeVerifier) CrossChainVerifierForwardToVerifierWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t CommitteeVerifier) CrossChainVerifierGetFee(contractID string, args extensionapi.CrossChainVerifierGetFee) *model.ExerciseCommand
- func (t CommitteeVerifier) CrossChainVerifierGetFeeWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t CommitteeVerifier) CrossChainVerifierVerifyMessage(contractID string, args extensionapi.CrossChainVerifierVerifyMessage) *model.ExerciseCommand
- func (t CommitteeVerifier) CrossChainVerifierVerifyMessageWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t CommitteeVerifier) ForwardToVerifier(contractID string, args ForwardToVerifier) *model.ExerciseCommand
- func (t CommitteeVerifier) ForwardToVerifierWithPackageID(contractID string, packageID string, args ForwardToVerifier) *model.ExerciseCommand
- func (t CommitteeVerifier) GetFee(contractID string, args GetFee) *model.ExerciseCommand
- func (t CommitteeVerifier) GetFeeWithPackageID(contractID string, packageID string, args GetFee) *model.ExerciseCommand
- func (t CommitteeVerifier) GetTemplateID() string
- func (t CommitteeVerifier) GetTemplateIDWithPackageID(packageID string) string
- func (t CommitteeVerifier) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand
- func (t CommitteeVerifier) MCMSReceiverEntrypointWithPackageID(contractID string, packageID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand
- func (t CommitteeVerifier) MarshalHex() (string, error)
- func (t CommitteeVerifier) MarshalJSON() ([]byte, error)
- func (t CommitteeVerifier) SetDeps(contractID string, args SetDeps) *model.ExerciseCommand
- func (t CommitteeVerifier) SetDepsWithPackageID(contractID string, packageID string, args SetDeps) *model.ExerciseCommand
- func (t CommitteeVerifier) SetDynamicConfig(contractID string, args SetDynamicConfig) *model.ExerciseCommand
- func (t CommitteeVerifier) SetDynamicConfigWithPackageID(contractID string, packageID string, args SetDynamicConfig) *model.ExerciseCommand
- func (t CommitteeVerifier) TransferStorageLocationsAdmin(contractID string, args TransferStorageLocationsAdmin) *model.ExerciseCommand
- func (t CommitteeVerifier) TransferStorageLocationsAdminWithPackageID(contractID string, packageID string, args TransferStorageLocationsAdmin) *model.ExerciseCommand
- func (t *CommitteeVerifier) UnmarshalHex(data string) error
- func (t *CommitteeVerifier) UnmarshalJSON(data []byte) error
- func (t CommitteeVerifier) UpdateStorageLocations(contractID string, args UpdateStorageLocations) *model.ExerciseCommand
- func (t CommitteeVerifier) UpdateStorageLocationsWithPackageID(contractID string, packageID string, args UpdateStorageLocations) *model.ExerciseCommand
- func (t CommitteeVerifier) VerifyMessage(contractID string, args VerifyMessage) *model.ExerciseCommand
- func (t CommitteeVerifier) VerifyMessageWithPackageID(contractID string, packageID string, args VerifyMessage) *model.ExerciseCommand
- type CommitteeVerifierDeps
- func (t CommitteeVerifierDeps) MarshalHex() (string, error)
- func (t CommitteeVerifierDeps) MarshalJSON() ([]byte, error)
- func (t CommitteeVerifierDeps) ToMap() map[string]any
- func (t *CommitteeVerifierDeps) UnmarshalHex(data string) error
- func (t *CommitteeVerifierDeps) UnmarshalJSON(data []byte) error
- type Contract
- type DynamicConfig
- type ForwardToVerifier
- type ForwardToVerifierMCMSParams
- type GetFee
- type GetFeeMCMSParams
- type MCMSEncoder
- type RemoteChainConfig
- type RemoteChainConfigArgs
- func (t RemoteChainConfigArgs) MarshalHex() (string, error)
- func (t RemoteChainConfigArgs) MarshalJSON() ([]byte, error)
- func (t RemoteChainConfigArgs) ToMap() map[string]any
- func (t *RemoteChainConfigArgs) UnmarshalHex(data string) error
- func (t *RemoteChainConfigArgs) UnmarshalJSON(data []byte) error
- type SetDeps
- type SetDepsParams
- type SetDynamicConfig
- type SetDynamicConfigParams
- func (t SetDynamicConfigParams) MarshalHex() (string, error)
- func (t SetDynamicConfigParams) MarshalJSON() ([]byte, error)
- func (t SetDynamicConfigParams) ToMap() map[string]any
- func (t *SetDynamicConfigParams) UnmarshalHex(data string) error
- func (t *SetDynamicConfigParams) UnmarshalJSON(data []byte) error
- type SignatureConfig
- type Template
- type TransferStorageLocationsAdmin
- func (t TransferStorageLocationsAdmin) MarshalHex() (string, error)
- func (t TransferStorageLocationsAdmin) MarshalJSON() ([]byte, error)
- func (t TransferStorageLocationsAdmin) ToMap() map[string]any
- func (t *TransferStorageLocationsAdmin) UnmarshalHex(data string) error
- func (t *TransferStorageLocationsAdmin) UnmarshalJSON(data []byte) error
- type TransferStorageLocationsAdminParams
- func (t TransferStorageLocationsAdminParams) MarshalHex() (string, error)
- func (t TransferStorageLocationsAdminParams) MarshalJSON() ([]byte, error)
- func (t TransferStorageLocationsAdminParams) ToMap() map[string]any
- func (t *TransferStorageLocationsAdminParams) UnmarshalHex(data string) error
- func (t *TransferStorageLocationsAdminParams) UnmarshalJSON(data []byte) error
- type UpdateStorageLocations
- func (t UpdateStorageLocations) MarshalHex() (string, error)
- func (t UpdateStorageLocations) MarshalJSON() ([]byte, error)
- func (t UpdateStorageLocations) ToMap() map[string]any
- func (t *UpdateStorageLocations) UnmarshalHex(data string) error
- func (t *UpdateStorageLocations) UnmarshalJSON(data []byte) error
- type UpdateStorageLocationsParams
- func (t UpdateStorageLocationsParams) MarshalHex() (string, error)
- func (t UpdateStorageLocationsParams) MarshalJSON() ([]byte, error)
- func (t UpdateStorageLocationsParams) ToMap() map[string]any
- func (t *UpdateStorageLocationsParams) UnmarshalHex(data string) error
- func (t *UpdateStorageLocationsParams) UnmarshalJSON(data []byte) error
- type VerifyMessage
- type VerifyMessageMCMSParams
Constants ¶
const ( PackageName = "ccip-committee-verifier" PackageID = "c472e4abef10d6d55e5e7d52adf2ac83f8f765887cf4842e25423a9e276fe251" SDKVersion = "3.4.11" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptStorageLocationsAdmin ¶
type AcceptStorageLocationsAdmin struct {
}
AcceptStorageLocationsAdmin is a Record type
func (AcceptStorageLocationsAdmin) MarshalHex ¶
func (t AcceptStorageLocationsAdmin) MarshalHex() (string, error)
MarshalHex encodes AcceptStorageLocationsAdmin to hex string (Canton MCMS format)
func (AcceptStorageLocationsAdmin) MarshalJSON ¶
func (t AcceptStorageLocationsAdmin) MarshalJSON() ([]byte, error)
func (AcceptStorageLocationsAdmin) ToMap ¶
func (t AcceptStorageLocationsAdmin) ToMap() map[string]any
ToMap converts AcceptStorageLocationsAdmin to a map for DAML arguments
func (*AcceptStorageLocationsAdmin) UnmarshalHex ¶
func (t *AcceptStorageLocationsAdmin) UnmarshalHex(data string) error
UnmarshalHex decodes AcceptStorageLocationsAdmin from hex string (Canton MCMS format)
func (*AcceptStorageLocationsAdmin) UnmarshalJSON ¶
func (t *AcceptStorageLocationsAdmin) UnmarshalJSON(data []byte) error
type AllowListConfigArgs ¶
type AllowListConfigArgs struct {
DestChainSelector types.NUMERIC `json:"destChainSelector"`
AllowListEnabled types.BOOL `json:"allowListEnabled"`
AddedAllowListedSenders []types.PARTY `json:"addedAllowListedSenders"`
RemovedAllowListedSenders []types.PARTY `json:"removedAllowListedSenders"`
}
AllowListConfigArgs is a Record type
func (AllowListConfigArgs) MarshalHex ¶
func (t AllowListConfigArgs) MarshalHex() (string, error)
MarshalHex encodes AllowListConfigArgs to hex string (Canton MCMS format)
func (AllowListConfigArgs) MarshalJSON ¶
func (t AllowListConfigArgs) MarshalJSON() ([]byte, error)
func (AllowListConfigArgs) ToMap ¶
func (t AllowListConfigArgs) ToMap() map[string]any
ToMap converts AllowListConfigArgs to a map for DAML arguments
func (*AllowListConfigArgs) UnmarshalHex ¶
func (t *AllowListConfigArgs) UnmarshalHex(data string) error
UnmarshalHex decodes AllowListConfigArgs from hex string (Canton MCMS format)
func (*AllowListConfigArgs) UnmarshalJSON ¶
func (t *AllowListConfigArgs) UnmarshalJSON(data []byte) error
type ApplyAllowListUpdates ¶
type ApplyAllowListUpdates struct {
AllowListConfigArgsItems []AllowListConfigArgs `json:"allowListConfigArgsItems"`
Caller types.PARTY `json:"caller"`
}
ApplyAllowListUpdates is a Record type
func (ApplyAllowListUpdates) MarshalHex ¶
func (t ApplyAllowListUpdates) MarshalHex() (string, error)
MarshalHex encodes ApplyAllowListUpdates to hex string (Canton MCMS format)
func (ApplyAllowListUpdates) MarshalJSON ¶
func (t ApplyAllowListUpdates) MarshalJSON() ([]byte, error)
func (ApplyAllowListUpdates) ToMap ¶
func (t ApplyAllowListUpdates) ToMap() map[string]any
ToMap converts ApplyAllowListUpdates to a map for DAML arguments
func (*ApplyAllowListUpdates) UnmarshalHex ¶
func (t *ApplyAllowListUpdates) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyAllowListUpdates from hex string (Canton MCMS format)
func (*ApplyAllowListUpdates) UnmarshalJSON ¶
func (t *ApplyAllowListUpdates) UnmarshalJSON(data []byte) error
type ApplyAllowListUpdatesMCMSParams ¶
type ApplyAllowListUpdatesMCMSParams struct {
AllowListConfigArgsItems []AllowListConfigArgs `json:"allowListConfigArgsItems"`
}
ApplyAllowListUpdatesMCMSParams is ApplyAllowListUpdates without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (ApplyAllowListUpdatesMCMSParams) MarshalHex ¶
func (t ApplyAllowListUpdatesMCMSParams) MarshalHex() (string, error)
MarshalHex encodes ApplyAllowListUpdatesMCMSParams to hex string for MCMS operationData.
func (*ApplyAllowListUpdatesMCMSParams) UnmarshalHex ¶
func (t *ApplyAllowListUpdatesMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyAllowListUpdatesMCMSParams from hex string.
type ApplyAllowListUpdatesParams ¶
type ApplyAllowListUpdatesParams struct {
AllowListConfigArgs []AllowListConfigArgs `json:"allowListConfigArgs"`
Caller types.PARTY `json:"caller"`
}
ApplyAllowListUpdatesParams is a Record type
func (ApplyAllowListUpdatesParams) MarshalHex ¶
func (t ApplyAllowListUpdatesParams) MarshalHex() (string, error)
MarshalHex encodes ApplyAllowListUpdatesParams to hex string (Canton MCMS format)
func (ApplyAllowListUpdatesParams) MarshalJSON ¶
func (t ApplyAllowListUpdatesParams) MarshalJSON() ([]byte, error)
func (ApplyAllowListUpdatesParams) ToMap ¶
func (t ApplyAllowListUpdatesParams) ToMap() map[string]any
ToMap converts ApplyAllowListUpdatesParams to a map for DAML arguments
func (*ApplyAllowListUpdatesParams) UnmarshalHex ¶
func (t *ApplyAllowListUpdatesParams) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyAllowListUpdatesParams from hex string (Canton MCMS format)
func (*ApplyAllowListUpdatesParams) UnmarshalJSON ¶
func (t *ApplyAllowListUpdatesParams) UnmarshalJSON(data []byte) error
type ApplyRemoteChainConfigUpdates ¶
type ApplyRemoteChainConfigUpdates struct {
RemoteChainConfigArgs []RemoteChainConfigArgs `json:"remoteChainConfigArgs"`
}
ApplyRemoteChainConfigUpdates is a Record type
func (ApplyRemoteChainConfigUpdates) MarshalHex ¶
func (t ApplyRemoteChainConfigUpdates) MarshalHex() (string, error)
MarshalHex encodes ApplyRemoteChainConfigUpdates to hex string (Canton MCMS format)
func (ApplyRemoteChainConfigUpdates) MarshalJSON ¶
func (t ApplyRemoteChainConfigUpdates) MarshalJSON() ([]byte, error)
func (ApplyRemoteChainConfigUpdates) ToMap ¶
func (t ApplyRemoteChainConfigUpdates) ToMap() map[string]any
ToMap converts ApplyRemoteChainConfigUpdates to a map for DAML arguments
func (*ApplyRemoteChainConfigUpdates) UnmarshalHex ¶
func (t *ApplyRemoteChainConfigUpdates) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyRemoteChainConfigUpdates from hex string (Canton MCMS format)
func (*ApplyRemoteChainConfigUpdates) UnmarshalJSON ¶
func (t *ApplyRemoteChainConfigUpdates) UnmarshalJSON(data []byte) error
type ApplyRemoteChainConfigUpdatesParams ¶
type ApplyRemoteChainConfigUpdatesParams struct {
RemoteChainConfigArgs []RemoteChainConfigArgs `json:"remoteChainConfigArgs"`
}
ApplyRemoteChainConfigUpdatesParams is a Record type
func (ApplyRemoteChainConfigUpdatesParams) MarshalHex ¶
func (t ApplyRemoteChainConfigUpdatesParams) MarshalHex() (string, error)
MarshalHex encodes ApplyRemoteChainConfigUpdatesParams to hex string (Canton MCMS format)
func (ApplyRemoteChainConfigUpdatesParams) MarshalJSON ¶
func (t ApplyRemoteChainConfigUpdatesParams) MarshalJSON() ([]byte, error)
func (ApplyRemoteChainConfigUpdatesParams) ToMap ¶
func (t ApplyRemoteChainConfigUpdatesParams) ToMap() map[string]any
ToMap converts ApplyRemoteChainConfigUpdatesParams to a map for DAML arguments
func (*ApplyRemoteChainConfigUpdatesParams) UnmarshalHex ¶
func (t *ApplyRemoteChainConfigUpdatesParams) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyRemoteChainConfigUpdatesParams from hex string (Canton MCMS format)
func (*ApplyRemoteChainConfigUpdatesParams) UnmarshalJSON ¶
func (t *ApplyRemoteChainConfigUpdatesParams) UnmarshalJSON(data []byte) error
type ApplySignatureConfigs ¶
type ApplySignatureConfigs struct {
SourceChainSelectorsToRemove []types.NUMERIC `json:"sourceChainSelectorsToRemove"`
SignatureConfigs []SignatureConfig `json:"signatureConfigs"`
}
ApplySignatureConfigs is a Record type
func (ApplySignatureConfigs) MarshalHex ¶
func (t ApplySignatureConfigs) MarshalHex() (string, error)
MarshalHex encodes ApplySignatureConfigs to hex string (Canton MCMS format)
func (ApplySignatureConfigs) MarshalJSON ¶
func (t ApplySignatureConfigs) MarshalJSON() ([]byte, error)
func (ApplySignatureConfigs) ToMap ¶
func (t ApplySignatureConfigs) ToMap() map[string]any
ToMap converts ApplySignatureConfigs to a map for DAML arguments
func (*ApplySignatureConfigs) UnmarshalHex ¶
func (t *ApplySignatureConfigs) UnmarshalHex(data string) error
UnmarshalHex decodes ApplySignatureConfigs from hex string (Canton MCMS format)
func (*ApplySignatureConfigs) UnmarshalJSON ¶
func (t *ApplySignatureConfigs) UnmarshalJSON(data []byte) error
type ApplySignatureConfigsParams ¶
type ApplySignatureConfigsParams struct {
SourceChainSelectorsToRemove []types.NUMERIC `json:"sourceChainSelectorsToRemove"`
SignatureConfigs []SignatureConfig `json:"signatureConfigs"`
}
ApplySignatureConfigsParams is a Record type
func (ApplySignatureConfigsParams) MarshalHex ¶
func (t ApplySignatureConfigsParams) MarshalHex() (string, error)
MarshalHex encodes ApplySignatureConfigsParams to hex string (Canton MCMS format)
func (ApplySignatureConfigsParams) MarshalJSON ¶
func (t ApplySignatureConfigsParams) MarshalJSON() ([]byte, error)
func (ApplySignatureConfigsParams) ToMap ¶
func (t ApplySignatureConfigsParams) ToMap() map[string]any
ToMap converts ApplySignatureConfigsParams to a map for DAML arguments
func (*ApplySignatureConfigsParams) UnmarshalHex ¶
func (t *ApplySignatureConfigsParams) UnmarshalHex(data string) error
UnmarshalHex decodes ApplySignatureConfigsParams from hex string (Canton MCMS format)
func (*ApplySignatureConfigsParams) UnmarshalJSON ¶
func (t *ApplySignatureConfigsParams) UnmarshalJSON(data []byte) error
type CalculateFee ¶
type CalculateFee struct {
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
Caller types.PARTY `json:"caller"`
}
CalculateFee is a Record type
func (CalculateFee) MarshalHex ¶
func (t CalculateFee) MarshalHex() (string, error)
MarshalHex encodes CalculateFee to hex string (Canton MCMS format)
func (CalculateFee) MarshalJSON ¶
func (t CalculateFee) MarshalJSON() ([]byte, error)
func (CalculateFee) ToMap ¶
func (t CalculateFee) ToMap() map[string]any
ToMap converts CalculateFee to a map for DAML arguments
func (*CalculateFee) UnmarshalHex ¶
func (t *CalculateFee) UnmarshalHex(data string) error
UnmarshalHex decodes CalculateFee from hex string (Canton MCMS format)
func (*CalculateFee) UnmarshalJSON ¶
func (t *CalculateFee) UnmarshalJSON(data []byte) error
type CalculateFeeMCMSParams ¶
type CalculateFeeMCMSParams struct {
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
}
CalculateFeeMCMSParams is CalculateFee without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (CalculateFeeMCMSParams) MarshalHex ¶
func (t CalculateFeeMCMSParams) MarshalHex() (string, error)
MarshalHex encodes CalculateFeeMCMSParams to hex string for MCMS operationData.
func (*CalculateFeeMCMSParams) UnmarshalHex ¶
func (t *CalculateFeeMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes CalculateFeeMCMSParams from hex string.
type CommitteeVerifier ¶
type CommitteeVerifier struct {
InstanceId types.TEXT `json:"instanceId"`
Owner types.PARTY `json:"owner"`
CcipOwner types.PARTY `json:"ccipOwner"`
VersionTag types.TEXT `json:"versionTag" hex:"bytes"`
AllowListAdmin *types.PARTY `json:"allowListAdmin" hex:"optional"`
MessageSentObservers []types.PARTY `json:"messageSentObservers"`
StorageLocations []types.TEXT `json:"storageLocations"`
StorageLocationsAdmin types.PARTY `json:"storageLocationsAdmin"`
PendingStorageLocationsAdmin types.PARTY `json:"pendingStorageLocationsAdmin"`
RemoteChainConfigs map[types.NUMERIC]RemoteChainConfig `json:"remoteChainConfigs"`
SignerConfigs map[types.NUMERIC]SignatureConfig `json:"signerConfigs"`
Deps CommitteeVerifierDeps `json:"deps"`
}
CommitteeVerifier is a Template type
func (CommitteeVerifier) AcceptStorageLocationsAdmin ¶
func (t CommitteeVerifier) AcceptStorageLocationsAdmin(contractID string, args AcceptStorageLocationsAdmin) *model.ExerciseCommand
AcceptStorageLocationsAdmin exercises the AcceptStorageLocationsAdmin choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) AcceptStorageLocationsAdminWithPackageID ¶
func (t CommitteeVerifier) AcceptStorageLocationsAdminWithPackageID(contractID string, packageID string, args AcceptStorageLocationsAdmin) *model.ExerciseCommand
AcceptStorageLocationsAdminWithPackageID exercises the AcceptStorageLocationsAdmin choice using the provided package ID instead of package name
func (CommitteeVerifier) ApplyAllowListUpdates ¶
func (t CommitteeVerifier) ApplyAllowListUpdates(contractID string, args ApplyAllowListUpdates) *model.ExerciseCommand
ApplyAllowListUpdates exercises the ApplyAllowListUpdates choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) ApplyAllowListUpdatesWithPackageID ¶
func (t CommitteeVerifier) ApplyAllowListUpdatesWithPackageID(contractID string, packageID string, args ApplyAllowListUpdates) *model.ExerciseCommand
ApplyAllowListUpdatesWithPackageID exercises the ApplyAllowListUpdates choice using the provided package ID instead of package name
func (CommitteeVerifier) ApplyRemoteChainConfigUpdates ¶
func (t CommitteeVerifier) ApplyRemoteChainConfigUpdates(contractID string, args ApplyRemoteChainConfigUpdates) *model.ExerciseCommand
ApplyRemoteChainConfigUpdates exercises the ApplyRemoteChainConfigUpdates choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) ApplyRemoteChainConfigUpdatesWithPackageID ¶
func (t CommitteeVerifier) ApplyRemoteChainConfigUpdatesWithPackageID(contractID string, packageID string, args ApplyRemoteChainConfigUpdates) *model.ExerciseCommand
ApplyRemoteChainConfigUpdatesWithPackageID exercises the ApplyRemoteChainConfigUpdates choice using the provided package ID instead of package name
func (CommitteeVerifier) ApplySignatureConfigs ¶
func (t CommitteeVerifier) ApplySignatureConfigs(contractID string, args ApplySignatureConfigs) *model.ExerciseCommand
ApplySignatureConfigs exercises the ApplySignatureConfigs choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) ApplySignatureConfigsWithPackageID ¶
func (t CommitteeVerifier) ApplySignatureConfigsWithPackageID(contractID string, packageID string, args ApplySignatureConfigs) *model.ExerciseCommand
ApplySignatureConfigsWithPackageID exercises the ApplySignatureConfigs choice using the provided package ID instead of package name
func (CommitteeVerifier) Archive ¶
func (t CommitteeVerifier) Archive(contractID string) *model.ExerciseCommand
Archive exercises the Archive choice on this CommitteeVerifier contract via the IICrossChainVerifier interface This method uses the package name in the template ID
func (CommitteeVerifier) ArchiveWithPackageID ¶
func (t CommitteeVerifier) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand
ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name
func (CommitteeVerifier) CalculateFee ¶
func (t CommitteeVerifier) CalculateFee(contractID string, args CalculateFee) *model.ExerciseCommand
CalculateFee exercises the CalculateFee choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) CalculateFeeWithPackageID ¶
func (t CommitteeVerifier) CalculateFeeWithPackageID(contractID string, packageID string, args CalculateFee) *model.ExerciseCommand
CalculateFeeWithPackageID exercises the CalculateFee choice using the provided package ID instead of package name
func (CommitteeVerifier) CreateCommand ¶
func (t CommitteeVerifier) CreateCommand() *model.CreateCommand
CreateCommand returns a CreateCommand for this template using the package name
func (CommitteeVerifier) CreateCommandWithPackageID ¶
func (t CommitteeVerifier) CreateCommandWithPackageID(packageID string) *model.CreateCommand
CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name
func (CommitteeVerifier) CrossChainVerifierCalculateFee ¶
func (t CommitteeVerifier) CrossChainVerifierCalculateFee(contractID string, args extensionapi.CrossChainVerifierCalculateFee) *model.ExerciseCommand
CrossChainVerifierCalculateFee exercises the CrossChainVerifier_CalculateFee choice on this CommitteeVerifier contract via the IICrossChainVerifier interface This method uses the package name in the template ID
func (CommitteeVerifier) CrossChainVerifierCalculateFeeWithPackageID ¶
func (t CommitteeVerifier) CrossChainVerifierCalculateFeeWithPackageID(contractID string, packageID string, args extensionapi.CrossChainVerifierCalculateFee) *model.ExerciseCommand
CrossChainVerifierCalculateFeeWithPackageID exercises the CrossChainVerifier_CalculateFee choice using the provided package ID instead of package name
func (CommitteeVerifier) CrossChainVerifierForwardToVerifier ¶
func (t CommitteeVerifier) CrossChainVerifierForwardToVerifier(contractID string, args extensionapi.CrossChainVerifierForwardToVerifier) *model.ExerciseCommand
CrossChainVerifierForwardToVerifier exercises the CrossChainVerifier_ForwardToVerifier choice on this CommitteeVerifier contract via the IICrossChainVerifier interface This method uses the package name in the template ID
func (CommitteeVerifier) CrossChainVerifierForwardToVerifierWithPackageID ¶
func (t CommitteeVerifier) CrossChainVerifierForwardToVerifierWithPackageID(contractID string, packageID string, args extensionapi.CrossChainVerifierForwardToVerifier) *model.ExerciseCommand
CrossChainVerifierForwardToVerifierWithPackageID exercises the CrossChainVerifier_ForwardToVerifier choice using the provided package ID instead of package name
func (CommitteeVerifier) CrossChainVerifierGetFee ¶
func (t CommitteeVerifier) CrossChainVerifierGetFee(contractID string, args extensionapi.CrossChainVerifierGetFee) *model.ExerciseCommand
CrossChainVerifierGetFee exercises the CrossChainVerifier_GetFee choice on this CommitteeVerifier contract via the IICrossChainVerifier interface This method uses the package name in the template ID
func (CommitteeVerifier) CrossChainVerifierGetFeeWithPackageID ¶
func (t CommitteeVerifier) CrossChainVerifierGetFeeWithPackageID(contractID string, packageID string, args extensionapi.CrossChainVerifierGetFee) *model.ExerciseCommand
CrossChainVerifierGetFeeWithPackageID exercises the CrossChainVerifier_GetFee choice using the provided package ID instead of package name
func (CommitteeVerifier) CrossChainVerifierVerifyMessage ¶
func (t CommitteeVerifier) CrossChainVerifierVerifyMessage(contractID string, args extensionapi.CrossChainVerifierVerifyMessage) *model.ExerciseCommand
CrossChainVerifierVerifyMessage exercises the CrossChainVerifier_VerifyMessage choice on this CommitteeVerifier contract via the IICrossChainVerifier interface This method uses the package name in the template ID
func (CommitteeVerifier) CrossChainVerifierVerifyMessageWithPackageID ¶
func (t CommitteeVerifier) CrossChainVerifierVerifyMessageWithPackageID(contractID string, packageID string, args extensionapi.CrossChainVerifierVerifyMessage) *model.ExerciseCommand
CrossChainVerifierVerifyMessageWithPackageID exercises the CrossChainVerifier_VerifyMessage choice using the provided package ID instead of package name
func (CommitteeVerifier) ForwardToVerifier ¶
func (t CommitteeVerifier) ForwardToVerifier(contractID string, args ForwardToVerifier) *model.ExerciseCommand
ForwardToVerifier exercises the ForwardToVerifier choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) ForwardToVerifierWithPackageID ¶
func (t CommitteeVerifier) ForwardToVerifierWithPackageID(contractID string, packageID string, args ForwardToVerifier) *model.ExerciseCommand
ForwardToVerifierWithPackageID exercises the ForwardToVerifier choice using the provided package ID instead of package name
func (CommitteeVerifier) GetFee ¶
func (t CommitteeVerifier) GetFee(contractID string, args GetFee) *model.ExerciseCommand
GetFee exercises the GetFee choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) GetFeeWithPackageID ¶
func (t CommitteeVerifier) GetFeeWithPackageID(contractID string, packageID string, args GetFee) *model.ExerciseCommand
GetFeeWithPackageID exercises the GetFee choice using the provided package ID instead of package name
func (CommitteeVerifier) GetTemplateID ¶
func (t CommitteeVerifier) GetTemplateID() string
GetTemplateID returns the template ID for this template using the package name
func (CommitteeVerifier) GetTemplateIDWithPackageID ¶
func (t CommitteeVerifier) GetTemplateIDWithPackageID(packageID string) string
GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name
func (CommitteeVerifier) MCMSReceiverEntrypoint ¶
func (t CommitteeVerifier) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand
MCMSReceiverEntrypoint exercises the MCMSReceiver_Entrypoint choice on this CommitteeVerifier contract via the IMCMSReceiver interface This method uses the package name in the template ID
func (CommitteeVerifier) MCMSReceiverEntrypointWithPackageID ¶
func (t CommitteeVerifier) MCMSReceiverEntrypointWithPackageID(contractID string, packageID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand
MCMSReceiverEntrypointWithPackageID exercises the MCMSReceiver_Entrypoint choice using the provided package ID instead of package name
func (CommitteeVerifier) MarshalHex ¶
func (t CommitteeVerifier) MarshalHex() (string, error)
MarshalHex encodes CommitteeVerifier to hex string (Canton MCMS format)
func (CommitteeVerifier) MarshalJSON ¶
func (t CommitteeVerifier) MarshalJSON() ([]byte, error)
func (CommitteeVerifier) SetDeps ¶
func (t CommitteeVerifier) SetDeps(contractID string, args SetDeps) *model.ExerciseCommand
SetDeps exercises the SetDeps choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) SetDepsWithPackageID ¶
func (t CommitteeVerifier) SetDepsWithPackageID(contractID string, packageID string, args SetDeps) *model.ExerciseCommand
SetDepsWithPackageID exercises the SetDeps choice using the provided package ID instead of package name
func (CommitteeVerifier) SetDynamicConfig ¶
func (t CommitteeVerifier) SetDynamicConfig(contractID string, args SetDynamicConfig) *model.ExerciseCommand
SetDynamicConfig exercises the SetDynamicConfig choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) SetDynamicConfigWithPackageID ¶
func (t CommitteeVerifier) SetDynamicConfigWithPackageID(contractID string, packageID string, args SetDynamicConfig) *model.ExerciseCommand
SetDynamicConfigWithPackageID exercises the SetDynamicConfig choice using the provided package ID instead of package name
func (CommitteeVerifier) TransferStorageLocationsAdmin ¶
func (t CommitteeVerifier) TransferStorageLocationsAdmin(contractID string, args TransferStorageLocationsAdmin) *model.ExerciseCommand
TransferStorageLocationsAdmin exercises the TransferStorageLocationsAdmin choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) TransferStorageLocationsAdminWithPackageID ¶
func (t CommitteeVerifier) TransferStorageLocationsAdminWithPackageID(contractID string, packageID string, args TransferStorageLocationsAdmin) *model.ExerciseCommand
TransferStorageLocationsAdminWithPackageID exercises the TransferStorageLocationsAdmin choice using the provided package ID instead of package name
func (*CommitteeVerifier) UnmarshalHex ¶
func (t *CommitteeVerifier) UnmarshalHex(data string) error
UnmarshalHex decodes CommitteeVerifier from hex string (Canton MCMS format)
func (*CommitteeVerifier) UnmarshalJSON ¶
func (t *CommitteeVerifier) UnmarshalJSON(data []byte) error
func (CommitteeVerifier) UpdateStorageLocations ¶
func (t CommitteeVerifier) UpdateStorageLocations(contractID string, args UpdateStorageLocations) *model.ExerciseCommand
UpdateStorageLocations exercises the UpdateStorageLocations choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) UpdateStorageLocationsWithPackageID ¶
func (t CommitteeVerifier) UpdateStorageLocationsWithPackageID(contractID string, packageID string, args UpdateStorageLocations) *model.ExerciseCommand
UpdateStorageLocationsWithPackageID exercises the UpdateStorageLocations choice using the provided package ID instead of package name
func (CommitteeVerifier) VerifyMessage ¶
func (t CommitteeVerifier) VerifyMessage(contractID string, args VerifyMessage) *model.ExerciseCommand
VerifyMessage exercises the VerifyMessage choice on this CommitteeVerifier contract This method uses the package name in the template ID
func (CommitteeVerifier) VerifyMessageWithPackageID ¶
func (t CommitteeVerifier) VerifyMessageWithPackageID(contractID string, packageID string, args VerifyMessage) *model.ExerciseCommand
VerifyMessageWithPackageID exercises the VerifyMessage choice using the provided package ID instead of package name
type CommitteeVerifierDeps ¶
type CommitteeVerifierDeps struct {
RmnRemote chainlinkapi.RawInstanceAddress `json:"rmnRemote"`
}
CommitteeVerifierDeps is a Record type
func (CommitteeVerifierDeps) MarshalHex ¶
func (t CommitteeVerifierDeps) MarshalHex() (string, error)
MarshalHex encodes CommitteeVerifierDeps to hex string (Canton MCMS format)
func (CommitteeVerifierDeps) MarshalJSON ¶
func (t CommitteeVerifierDeps) MarshalJSON() ([]byte, error)
func (CommitteeVerifierDeps) ToMap ¶
func (t CommitteeVerifierDeps) ToMap() map[string]any
ToMap converts CommitteeVerifierDeps to a map for DAML arguments
func (*CommitteeVerifierDeps) UnmarshalHex ¶
func (t *CommitteeVerifierDeps) UnmarshalHex(data string) error
UnmarshalHex decodes CommitteeVerifierDeps from hex string (Canton MCMS format)
func (*CommitteeVerifierDeps) UnmarshalJSON ¶
func (t *CommitteeVerifierDeps) UnmarshalJSON(data []byte) error
type Contract ¶
type Contract struct {
// contains filtered or unexported fields
}
Contract wraps template operations with Sui-style API access. Use NewContract to create instances, then call Encoder() for encoding methods.
func NewContract ¶
NewContract creates a Contract with encoder for the given template. This provides Sui-style API: contract.Encoder().Method(args)
func (*Contract) Encoder ¶
func (c *Contract) Encoder() MCMSEncoder
Encoder returns the encoder for Sui-style contract.Encoder().Method() usage.
type DynamicConfig ¶
type DynamicConfig struct {
AllowListAdmin *types.PARTY `json:"allowListAdmin" hex:"optional"`
MessageSentObservers []types.PARTY `json:"messageSentObservers"`
}
DynamicConfig is a Record type
func (DynamicConfig) MarshalHex ¶
func (t DynamicConfig) MarshalHex() (string, error)
MarshalHex encodes DynamicConfig to hex string (Canton MCMS format)
func (DynamicConfig) MarshalJSON ¶
func (t DynamicConfig) MarshalJSON() ([]byte, error)
func (DynamicConfig) ToMap ¶
func (t DynamicConfig) ToMap() map[string]any
ToMap converts DynamicConfig to a map for DAML arguments
func (*DynamicConfig) UnmarshalHex ¶
func (t *DynamicConfig) UnmarshalHex(data string) error
UnmarshalHex decodes DynamicConfig from hex string (Canton MCMS format)
func (*DynamicConfig) UnmarshalJSON ¶
func (t *DynamicConfig) UnmarshalJSON(data []byte) error
type ForwardToVerifier ¶
type ForwardToVerifier struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
VerifierArgs types.TEXT `json:"verifierArgs"`
Caller types.PARTY `json:"caller"`
}
ForwardToVerifier is a Record type
func (ForwardToVerifier) MarshalHex ¶
func (t ForwardToVerifier) MarshalHex() (string, error)
MarshalHex encodes ForwardToVerifier to hex string (Canton MCMS format)
func (ForwardToVerifier) MarshalJSON ¶
func (t ForwardToVerifier) MarshalJSON() ([]byte, error)
func (ForwardToVerifier) ToMap ¶
func (t ForwardToVerifier) ToMap() map[string]any
ToMap converts ForwardToVerifier to a map for DAML arguments
func (*ForwardToVerifier) UnmarshalHex ¶
func (t *ForwardToVerifier) UnmarshalHex(data string) error
UnmarshalHex decodes ForwardToVerifier from hex string (Canton MCMS format)
func (*ForwardToVerifier) UnmarshalJSON ¶
func (t *ForwardToVerifier) UnmarshalJSON(data []byte) error
type ForwardToVerifierMCMSParams ¶
type ForwardToVerifierMCMSParams struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
VerifierArgs types.TEXT `json:"verifierArgs"`
}
ForwardToVerifierMCMSParams is ForwardToVerifier without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (ForwardToVerifierMCMSParams) MarshalHex ¶
func (t ForwardToVerifierMCMSParams) MarshalHex() (string, error)
MarshalHex encodes ForwardToVerifierMCMSParams to hex string for MCMS operationData.
func (*ForwardToVerifierMCMSParams) UnmarshalHex ¶
func (t *ForwardToVerifierMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes ForwardToVerifierMCMSParams from hex string.
type GetFee ¶
type GetFee struct {
DestChainSelector types.NUMERIC `json:"destChainSelector"`
Caller types.PARTY `json:"caller"`
}
GetFee is a Record type
func (GetFee) MarshalHex ¶
MarshalHex encodes GetFee to hex string (Canton MCMS format)
func (GetFee) MarshalJSON ¶
func (*GetFee) UnmarshalHex ¶
UnmarshalHex decodes GetFee from hex string (Canton MCMS format)
func (*GetFee) UnmarshalJSON ¶
type GetFeeMCMSParams ¶
GetFeeMCMSParams is GetFee without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (GetFeeMCMSParams) MarshalHex ¶
func (t GetFeeMCMSParams) MarshalHex() (string, error)
MarshalHex encodes GetFeeMCMSParams to hex string for MCMS operationData.
func (*GetFeeMCMSParams) UnmarshalHex ¶
func (t *GetFeeMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes GetFeeMCMSParams from hex string.
type MCMSEncoder ¶
type MCMSEncoder interface {
AcceptStorageLocationsAdmin(args AcceptStorageLocationsAdmin) (*bind.EncodedChoice, error)
ApplyAllowListUpdates(args ApplyAllowListUpdates) (*bind.EncodedChoice, error)
ApplyAllowListUpdatesMCMSParams(args ApplyAllowListUpdatesMCMSParams) (*bind.EncodedChoice, error)
ApplyAllowListUpdatesParams(args ApplyAllowListUpdatesParams) (*bind.EncodedChoice, error)
ApplyRemoteChainConfigUpdates(args ApplyRemoteChainConfigUpdates) (*bind.EncodedChoice, error)
ApplyRemoteChainConfigUpdatesParams(args ApplyRemoteChainConfigUpdatesParams) (*bind.EncodedChoice, error)
ApplySignatureConfigs(args ApplySignatureConfigs) (*bind.EncodedChoice, error)
ApplySignatureConfigsParams(args ApplySignatureConfigsParams) (*bind.EncodedChoice, error)
CalculateFee(args CalculateFee) (*bind.EncodedChoice, error)
CalculateFeeMCMSParams(args CalculateFeeMCMSParams) (*bind.EncodedChoice, error)
ForwardToVerifier(args ForwardToVerifier) (*bind.EncodedChoice, error)
ForwardToVerifierMCMSParams(args ForwardToVerifierMCMSParams) (*bind.EncodedChoice, error)
GetFee(args GetFee) (*bind.EncodedChoice, error)
GetFeeMCMSParams(args GetFeeMCMSParams) (*bind.EncodedChoice, error)
SetDeps(args SetDeps) (*bind.EncodedChoice, error)
SetDepsParams(args SetDepsParams) (*bind.EncodedChoice, error)
SetDynamicConfig(args SetDynamicConfig) (*bind.EncodedChoice, error)
SetDynamicConfigParams(args SetDynamicConfigParams) (*bind.EncodedChoice, error)
TransferStorageLocationsAdmin(args TransferStorageLocationsAdmin) (*bind.EncodedChoice, error)
TransferStorageLocationsAdminParams(args TransferStorageLocationsAdminParams) (*bind.EncodedChoice, error)
UpdateStorageLocations(args UpdateStorageLocations) (*bind.EncodedChoice, error)
UpdateStorageLocationsParams(args UpdateStorageLocationsParams) (*bind.EncodedChoice, error)
VerifyMessage(args VerifyMessage) (*bind.EncodedChoice, error)
VerifyMessageMCMSParams(args VerifyMessageMCMSParams) (*bind.EncodedChoice, error)
}
MCMSEncoder interface for typed encoding methods. Implemented by Encoder for method-based encoding.
type RemoteChainConfig ¶
type RemoteChainConfig struct {
FeeUSDCents types.NUMERIC `json:"feeUSDCents"`
GasForVerification types.INT64 `json:"gasForVerification"`
PayloadSizeBytes types.INT64 `json:"payloadSizeBytes"`
AllowListEnabled types.BOOL `json:"allowListEnabled"`
AllowedSendersList []types.PARTY `json:"allowedSendersList"`
}
RemoteChainConfig is a Record type
func (RemoteChainConfig) MarshalHex ¶
func (t RemoteChainConfig) MarshalHex() (string, error)
MarshalHex encodes RemoteChainConfig to hex string (Canton MCMS format)
func (RemoteChainConfig) MarshalJSON ¶
func (t RemoteChainConfig) MarshalJSON() ([]byte, error)
func (RemoteChainConfig) ToMap ¶
func (t RemoteChainConfig) ToMap() map[string]any
ToMap converts RemoteChainConfig to a map for DAML arguments
func (*RemoteChainConfig) UnmarshalHex ¶
func (t *RemoteChainConfig) UnmarshalHex(data string) error
UnmarshalHex decodes RemoteChainConfig from hex string (Canton MCMS format)
func (*RemoteChainConfig) UnmarshalJSON ¶
func (t *RemoteChainConfig) UnmarshalJSON(data []byte) error
type RemoteChainConfigArgs ¶
type RemoteChainConfigArgs struct {
RemoteChainSelector types.NUMERIC `json:"remoteChainSelector"`
FeeUSDCents types.NUMERIC `json:"feeUSDCents"`
GasForVerification types.INT64 `json:"gasForVerification"`
PayloadSizeBytes types.INT64 `json:"payloadSizeBytes"`
AllowListEnabled types.BOOL `json:"allowListEnabled"`
}
RemoteChainConfigArgs is a Record type
func (RemoteChainConfigArgs) MarshalHex ¶
func (t RemoteChainConfigArgs) MarshalHex() (string, error)
MarshalHex encodes RemoteChainConfigArgs to hex string (Canton MCMS format)
func (RemoteChainConfigArgs) MarshalJSON ¶
func (t RemoteChainConfigArgs) MarshalJSON() ([]byte, error)
func (RemoteChainConfigArgs) ToMap ¶
func (t RemoteChainConfigArgs) ToMap() map[string]any
ToMap converts RemoteChainConfigArgs to a map for DAML arguments
func (*RemoteChainConfigArgs) UnmarshalHex ¶
func (t *RemoteChainConfigArgs) UnmarshalHex(data string) error
UnmarshalHex decodes RemoteChainConfigArgs from hex string (Canton MCMS format)
func (*RemoteChainConfigArgs) UnmarshalJSON ¶
func (t *RemoteChainConfigArgs) UnmarshalJSON(data []byte) error
type SetDeps ¶
type SetDeps struct {
NewDeps SetDepsParams `json:"newDeps"`
}
SetDeps is a Record type
func (SetDeps) MarshalHex ¶
MarshalHex encodes SetDeps to hex string (Canton MCMS format)
func (SetDeps) MarshalJSON ¶
func (*SetDeps) UnmarshalHex ¶
UnmarshalHex decodes SetDeps from hex string (Canton MCMS format)
func (*SetDeps) UnmarshalJSON ¶
type SetDepsParams ¶
type SetDepsParams struct {
RmnRemote *chainlinkapi.RawInstanceAddress `json:"rmnRemote" hex:"optional"`
}
SetDepsParams is a Record type
func (SetDepsParams) MarshalHex ¶
func (t SetDepsParams) MarshalHex() (string, error)
MarshalHex encodes SetDepsParams to hex string (Canton MCMS format)
func (SetDepsParams) MarshalJSON ¶
func (t SetDepsParams) MarshalJSON() ([]byte, error)
func (SetDepsParams) ToMap ¶
func (t SetDepsParams) ToMap() map[string]any
ToMap converts SetDepsParams to a map for DAML arguments
func (*SetDepsParams) UnmarshalHex ¶
func (t *SetDepsParams) UnmarshalHex(data string) error
UnmarshalHex decodes SetDepsParams from hex string (Canton MCMS format)
func (*SetDepsParams) UnmarshalJSON ¶
func (t *SetDepsParams) UnmarshalJSON(data []byte) error
type SetDynamicConfig ¶
type SetDynamicConfig struct {
DynamicConfig DynamicConfig `json:"dynamicConfig"`
}
SetDynamicConfig is a Record type
func (SetDynamicConfig) MarshalHex ¶
func (t SetDynamicConfig) MarshalHex() (string, error)
MarshalHex encodes SetDynamicConfig to hex string (Canton MCMS format)
func (SetDynamicConfig) MarshalJSON ¶
func (t SetDynamicConfig) MarshalJSON() ([]byte, error)
func (SetDynamicConfig) ToMap ¶
func (t SetDynamicConfig) ToMap() map[string]any
ToMap converts SetDynamicConfig to a map for DAML arguments
func (*SetDynamicConfig) UnmarshalHex ¶
func (t *SetDynamicConfig) UnmarshalHex(data string) error
UnmarshalHex decodes SetDynamicConfig from hex string (Canton MCMS format)
func (*SetDynamicConfig) UnmarshalJSON ¶
func (t *SetDynamicConfig) UnmarshalJSON(data []byte) error
type SetDynamicConfigParams ¶
type SetDynamicConfigParams struct {
DynamicConfig DynamicConfig `json:"dynamicConfig"`
}
SetDynamicConfigParams is a Record type
func (SetDynamicConfigParams) MarshalHex ¶
func (t SetDynamicConfigParams) MarshalHex() (string, error)
MarshalHex encodes SetDynamicConfigParams to hex string (Canton MCMS format)
func (SetDynamicConfigParams) MarshalJSON ¶
func (t SetDynamicConfigParams) MarshalJSON() ([]byte, error)
func (SetDynamicConfigParams) ToMap ¶
func (t SetDynamicConfigParams) ToMap() map[string]any
ToMap converts SetDynamicConfigParams to a map for DAML arguments
func (*SetDynamicConfigParams) UnmarshalHex ¶
func (t *SetDynamicConfigParams) UnmarshalHex(data string) error
UnmarshalHex decodes SetDynamicConfigParams from hex string (Canton MCMS format)
func (*SetDynamicConfigParams) UnmarshalJSON ¶
func (t *SetDynamicConfigParams) UnmarshalJSON(data []byte) error
type SignatureConfig ¶
type SignatureConfig struct {
SourceChainSelector types.NUMERIC `json:"sourceChainSelector"`
Threshold types.INT64 `json:"threshold"`
SignerKeys []types.TEXT `json:"signerKeys"`
}
SignatureConfig is a Record type
func (SignatureConfig) MarshalHex ¶
func (t SignatureConfig) MarshalHex() (string, error)
MarshalHex encodes SignatureConfig to hex string (Canton MCMS format)
func (SignatureConfig) MarshalJSON ¶
func (t SignatureConfig) MarshalJSON() ([]byte, error)
func (SignatureConfig) ToMap ¶
func (t SignatureConfig) ToMap() map[string]any
ToMap converts SignatureConfig to a map for DAML arguments
func (*SignatureConfig) UnmarshalHex ¶
func (t *SignatureConfig) UnmarshalHex(data string) error
UnmarshalHex decodes SignatureConfig from hex string (Canton MCMS format)
func (*SignatureConfig) UnmarshalJSON ¶
func (t *SignatureConfig) UnmarshalJSON(data []byte) error
type Template ¶
type Template interface {
CreateCommand() *model.CreateCommand
GetTemplateID() string
}
type TransferStorageLocationsAdmin ¶
TransferStorageLocationsAdmin is a Record type
func (TransferStorageLocationsAdmin) MarshalHex ¶
func (t TransferStorageLocationsAdmin) MarshalHex() (string, error)
MarshalHex encodes TransferStorageLocationsAdmin to hex string (Canton MCMS format)
func (TransferStorageLocationsAdmin) MarshalJSON ¶
func (t TransferStorageLocationsAdmin) MarshalJSON() ([]byte, error)
func (TransferStorageLocationsAdmin) ToMap ¶
func (t TransferStorageLocationsAdmin) ToMap() map[string]any
ToMap converts TransferStorageLocationsAdmin to a map for DAML arguments
func (*TransferStorageLocationsAdmin) UnmarshalHex ¶
func (t *TransferStorageLocationsAdmin) UnmarshalHex(data string) error
UnmarshalHex decodes TransferStorageLocationsAdmin from hex string (Canton MCMS format)
func (*TransferStorageLocationsAdmin) UnmarshalJSON ¶
func (t *TransferStorageLocationsAdmin) UnmarshalJSON(data []byte) error
type TransferStorageLocationsAdminParams ¶
TransferStorageLocationsAdminParams is a Record type
func (TransferStorageLocationsAdminParams) MarshalHex ¶
func (t TransferStorageLocationsAdminParams) MarshalHex() (string, error)
MarshalHex encodes TransferStorageLocationsAdminParams to hex string (Canton MCMS format)
func (TransferStorageLocationsAdminParams) MarshalJSON ¶
func (t TransferStorageLocationsAdminParams) MarshalJSON() ([]byte, error)
func (TransferStorageLocationsAdminParams) ToMap ¶
func (t TransferStorageLocationsAdminParams) ToMap() map[string]any
ToMap converts TransferStorageLocationsAdminParams to a map for DAML arguments
func (*TransferStorageLocationsAdminParams) UnmarshalHex ¶
func (t *TransferStorageLocationsAdminParams) UnmarshalHex(data string) error
UnmarshalHex decodes TransferStorageLocationsAdminParams from hex string (Canton MCMS format)
func (*TransferStorageLocationsAdminParams) UnmarshalJSON ¶
func (t *TransferStorageLocationsAdminParams) UnmarshalJSON(data []byte) error
type UpdateStorageLocations ¶
UpdateStorageLocations is a Record type
func (UpdateStorageLocations) MarshalHex ¶
func (t UpdateStorageLocations) MarshalHex() (string, error)
MarshalHex encodes UpdateStorageLocations to hex string (Canton MCMS format)
func (UpdateStorageLocations) MarshalJSON ¶
func (t UpdateStorageLocations) MarshalJSON() ([]byte, error)
func (UpdateStorageLocations) ToMap ¶
func (t UpdateStorageLocations) ToMap() map[string]any
ToMap converts UpdateStorageLocations to a map for DAML arguments
func (*UpdateStorageLocations) UnmarshalHex ¶
func (t *UpdateStorageLocations) UnmarshalHex(data string) error
UnmarshalHex decodes UpdateStorageLocations from hex string (Canton MCMS format)
func (*UpdateStorageLocations) UnmarshalJSON ¶
func (t *UpdateStorageLocations) UnmarshalJSON(data []byte) error
type UpdateStorageLocationsParams ¶
UpdateStorageLocationsParams is a Record type
func (UpdateStorageLocationsParams) MarshalHex ¶
func (t UpdateStorageLocationsParams) MarshalHex() (string, error)
MarshalHex encodes UpdateStorageLocationsParams to hex string (Canton MCMS format)
func (UpdateStorageLocationsParams) MarshalJSON ¶
func (t UpdateStorageLocationsParams) MarshalJSON() ([]byte, error)
func (UpdateStorageLocationsParams) ToMap ¶
func (t UpdateStorageLocationsParams) ToMap() map[string]any
ToMap converts UpdateStorageLocationsParams to a map for DAML arguments
func (*UpdateStorageLocationsParams) UnmarshalHex ¶
func (t *UpdateStorageLocationsParams) UnmarshalHex(data string) error
UnmarshalHex decodes UpdateStorageLocationsParams from hex string (Canton MCMS format)
func (*UpdateStorageLocationsParams) UnmarshalJSON ¶
func (t *UpdateStorageLocationsParams) UnmarshalJSON(data []byte) error
type VerifyMessage ¶
type VerifyMessage struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
ExecutingMessageCid types.CONTRACT_ID `json:"executingMessageCid"`
VerifierResults types.TEXT `json:"verifierResults"`
Caller types.PARTY `json:"caller"`
}
VerifyMessage is a Record type
func (VerifyMessage) MarshalHex ¶
func (t VerifyMessage) MarshalHex() (string, error)
MarshalHex encodes VerifyMessage to hex string (Canton MCMS format)
func (VerifyMessage) MarshalJSON ¶
func (t VerifyMessage) MarshalJSON() ([]byte, error)
func (VerifyMessage) ToMap ¶
func (t VerifyMessage) ToMap() map[string]any
ToMap converts VerifyMessage to a map for DAML arguments
func (*VerifyMessage) UnmarshalHex ¶
func (t *VerifyMessage) UnmarshalHex(data string) error
UnmarshalHex decodes VerifyMessage from hex string (Canton MCMS format)
func (*VerifyMessage) UnmarshalJSON ¶
func (t *VerifyMessage) UnmarshalJSON(data []byte) error
type VerifyMessageMCMSParams ¶
type VerifyMessageMCMSParams struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
ExecutingMessageCid types.CONTRACT_ID `json:"executingMessageCid"`
VerifierResults types.TEXT `json:"verifierResults"`
}
VerifyMessageMCMSParams is VerifyMessage without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (VerifyMessageMCMSParams) MarshalHex ¶
func (t VerifyMessageMCMSParams) MarshalHex() (string, error)
MarshalHex encodes VerifyMessageMCMSParams to hex string for MCMS operationData.
func (*VerifyMessageMCMSParams) UnmarshalHex ¶
func (t *VerifyMessageMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes VerifyMessageMCMSParams from hex string.