core

package
v0.0.0-...-346157b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PackageName = "ccip-core"
	PackageID   = "9e8fe18f598fee50ba1e48e0bf771a97c22bcc366acceb422bb6fac5eb801520"
	SDKVersion  = "3.4.11"
)
View Source
const (
	TokenConfigKey           = types.TEXT("token-config")
	TokenAdminRegistryKey    = types.TEXT("token-admin-registry")
	GlobalCurseSubject       = types.TEXT("01000000000000000000000000000001")
	UsdPerUsdCent            = types.NUMERIC("100000000.")
	PremiumIdentity          = types.NUMERIC("10000000000.")
	E10PerPercent            = types.NUMERIC("100000000.")
	BaseNumeric              = types.NUMERIC("100000000.")
	BaseInt                  = types.INT64(100000000)
	MaxUint256DecimalText    = types.TEXT("115792089237316195423570985008687907853269984665640564039457584007913129639935")
	MaxNumeric0DecimalText   = types.TEXT("99999999999999999999999999999999999999")
	RmnRemoteKey             = types.TEXT("rmn-remote")
	FeeQuoterKey             = types.TEXT("fee-quoter")
	WaitForFinalityFlag      = types.TEXT("00000000")
	FinalityConfigByteLength = types.INT64(4)
	MaxNumeric0IntegerText   = types.TEXT("99999999999999999999999999999999999999")
	GlobalConfigKey          = types.TEXT("global-config")
	MaxCCVsPerMessage        = types.INT64(255)
	RateLimiterKey           = types.TEXT("rate-limiter")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptAdminParams

type AcceptAdminParams struct {
	InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
}

AcceptAdminParams is a Record type

func (AcceptAdminParams) MarshalHex

func (t AcceptAdminParams) MarshalHex() (string, error)

MarshalHex encodes AcceptAdminParams to hex string (Canton MCMS format)

func (AcceptAdminParams) MarshalJSON

func (t AcceptAdminParams) MarshalJSON() ([]byte, error)

func (AcceptAdminParams) ToMap

func (t AcceptAdminParams) ToMap() map[string]any

ToMap converts AcceptAdminParams to a map for DAML arguments

func (*AcceptAdminParams) UnmarshalHex

func (t *AcceptAdminParams) UnmarshalHex(data string) error

UnmarshalHex decodes AcceptAdminParams from hex string (Canton MCMS format)

func (*AcceptAdminParams) UnmarshalJSON

func (t *AcceptAdminParams) UnmarshalJSON(data []byte) error

type AcceptAdminRole

type AcceptAdminRole struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	Caller         types.PARTY                              `json:"caller"`
}

AcceptAdminRole is a Record type

func (AcceptAdminRole) MarshalHex

func (t AcceptAdminRole) MarshalHex() (string, error)

MarshalHex encodes AcceptAdminRole to hex string (Canton MCMS format)

func (AcceptAdminRole) MarshalJSON

func (t AcceptAdminRole) MarshalJSON() ([]byte, error)

func (AcceptAdminRole) ToMap

func (t AcceptAdminRole) ToMap() map[string]any

ToMap converts AcceptAdminRole to a map for DAML arguments

func (*AcceptAdminRole) UnmarshalHex

func (t *AcceptAdminRole) UnmarshalHex(data string) error

UnmarshalHex decodes AcceptAdminRole from hex string (Canton MCMS format)

func (*AcceptAdminRole) UnmarshalJSON

func (t *AcceptAdminRole) UnmarshalJSON(data []byte) error

type AcceptAdminRoleMCMSParams

type AcceptAdminRoleMCMSParams struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
}

AcceptAdminRoleMCMSParams is AcceptAdminRole without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (AcceptAdminRoleMCMSParams) MarshalHex

func (t AcceptAdminRoleMCMSParams) MarshalHex() (string, error)

MarshalHex encodes AcceptAdminRoleMCMSParams to hex string for MCMS operationData.

func (*AcceptAdminRoleMCMSParams) UnmarshalHex

func (t *AcceptAdminRoleMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes AcceptAdminRoleMCMSParams from hex string.

type AddCCVFee

type AddCCVFee struct {
	CcvInstanceId     types.TEXT    `json:"ccvInstanceId"`
	FeeUSDCents       types.NUMERIC `json:"feeUSDCents"`
	DestGasLimit      types.INT64   `json:"destGasLimit"`
	DestBytesOverhead types.INT64   `json:"destBytesOverhead"`
	Caller            types.PARTY   `json:"caller"`
}

AddCCVFee is a Record type

func (AddCCVFee) MarshalHex

func (t AddCCVFee) MarshalHex() (string, error)

MarshalHex encodes AddCCVFee to hex string (Canton MCMS format)

func (AddCCVFee) MarshalJSON

func (t AddCCVFee) MarshalJSON() ([]byte, error)

func (AddCCVFee) ToMap

func (t AddCCVFee) ToMap() map[string]any

ToMap converts AddCCVFee to a map for DAML arguments

func (*AddCCVFee) UnmarshalHex

func (t *AddCCVFee) UnmarshalHex(data string) error

UnmarshalHex decodes AddCCVFee from hex string (Canton MCMS format)

func (*AddCCVFee) UnmarshalJSON

func (t *AddCCVFee) UnmarshalJSON(data []byte) error

type AddCCVFeeMCMSParams

type AddCCVFeeMCMSParams struct {
	CcvInstanceId     types.TEXT    `json:"ccvInstanceId"`
	FeeUSDCents       types.NUMERIC `json:"feeUSDCents"`
	DestGasLimit      types.INT64   `json:"destGasLimit"`
	DestBytesOverhead types.INT64   `json:"destBytesOverhead"`
}

AddCCVFeeMCMSParams is AddCCVFee without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (AddCCVFeeMCMSParams) MarshalHex

func (t AddCCVFeeMCMSParams) MarshalHex() (string, error)

MarshalHex encodes AddCCVFeeMCMSParams to hex string for MCMS operationData.

func (*AddCCVFeeMCMSParams) UnmarshalHex

func (t *AddCCVFeeMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes AddCCVFeeMCMSParams from hex string.

type AddCCVVerification

type AddCCVVerification struct {
	CcvInstanceId types.TEXT  `json:"ccvInstanceId"`
	VersionTag    types.TEXT  `json:"versionTag" hex:"bytes"`
	Caller        types.PARTY `json:"caller"`
}

AddCCVVerification is a Record type

func (AddCCVVerification) MarshalHex

func (t AddCCVVerification) MarshalHex() (string, error)

MarshalHex encodes AddCCVVerification to hex string (Canton MCMS format)

func (AddCCVVerification) MarshalJSON

func (t AddCCVVerification) MarshalJSON() ([]byte, error)

func (AddCCVVerification) ToMap

func (t AddCCVVerification) ToMap() map[string]any

ToMap converts AddCCVVerification to a map for DAML arguments

func (*AddCCVVerification) UnmarshalHex

func (t *AddCCVVerification) UnmarshalHex(data string) error

UnmarshalHex decodes AddCCVVerification from hex string (Canton MCMS format)

func (*AddCCVVerification) UnmarshalJSON

func (t *AddCCVVerification) UnmarshalJSON(data []byte) error

type AddCCVVerificationMCMSParams

type AddCCVVerificationMCMSParams struct {
	CcvInstanceId types.TEXT `json:"ccvInstanceId"`
	VersionTag    types.TEXT `json:"versionTag" hex:"bytes"`
}

AddCCVVerificationMCMSParams is AddCCVVerification without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (AddCCVVerificationMCMSParams) MarshalHex

func (t AddCCVVerificationMCMSParams) MarshalHex() (string, error)

MarshalHex encodes AddCCVVerificationMCMSParams to hex string for MCMS operationData.

func (*AddCCVVerificationMCMSParams) UnmarshalHex

func (t *AddCCVVerificationMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes AddCCVVerificationMCMSParams from hex string.

type AddCustomObservers

type AddCustomObservers struct {
	Parties []types.PARTY `json:"parties"`
}

AddCustomObservers is a Record type

func (AddCustomObservers) MarshalHex

func (t AddCustomObservers) MarshalHex() (string, error)

MarshalHex encodes AddCustomObservers to hex string (Canton MCMS format)

func (AddCustomObservers) MarshalJSON

func (t AddCustomObservers) MarshalJSON() ([]byte, error)

func (AddCustomObservers) ToMap

func (t AddCustomObservers) ToMap() map[string]any

ToMap converts AddCustomObservers to a map for DAML arguments

func (*AddCustomObservers) UnmarshalHex

func (t *AddCustomObservers) UnmarshalHex(data string) error

UnmarshalHex decodes AddCustomObservers from hex string (Canton MCMS format)

func (*AddCustomObservers) UnmarshalJSON

func (t *AddCustomObservers) UnmarshalJSON(data []byte) error

type AddCustomObserversParams

type AddCustomObserversParams struct {
	Parties []types.PARTY `json:"parties"`
}

AddCustomObserversParams is a Record type

func (AddCustomObserversParams) MarshalHex

func (t AddCustomObserversParams) MarshalHex() (string, error)

MarshalHex encodes AddCustomObserversParams to hex string (Canton MCMS format)

func (AddCustomObserversParams) MarshalJSON

func (t AddCustomObserversParams) MarshalJSON() ([]byte, error)

func (AddCustomObserversParams) ToMap

func (t AddCustomObserversParams) ToMap() map[string]any

ToMap converts AddCustomObserversParams to a map for DAML arguments

func (*AddCustomObserversParams) UnmarshalHex

func (t *AddCustomObserversParams) UnmarshalHex(data string) error

UnmarshalHex decodes AddCustomObserversParams from hex string (Canton MCMS format)

func (*AddCustomObserversParams) UnmarshalJSON

func (t *AddCustomObserversParams) UnmarshalJSON(data []byte) error

type AddExecutorFee

type AddExecutorFee struct {
	ExecutorInstanceId types.TEXT    `json:"executorInstanceId"`
	ExecutorArgs       types.TEXT    `json:"executorArgs"`
	FeeUSDCents        types.NUMERIC `json:"feeUSDCents"`
	Caller             types.PARTY   `json:"caller"`
}

AddExecutorFee is a Record type

func (AddExecutorFee) MarshalHex

func (t AddExecutorFee) MarshalHex() (string, error)

MarshalHex encodes AddExecutorFee to hex string (Canton MCMS format)

func (AddExecutorFee) MarshalJSON

func (t AddExecutorFee) MarshalJSON() ([]byte, error)

func (AddExecutorFee) ToMap

func (t AddExecutorFee) ToMap() map[string]any

ToMap converts AddExecutorFee to a map for DAML arguments

func (*AddExecutorFee) UnmarshalHex

func (t *AddExecutorFee) UnmarshalHex(data string) error

UnmarshalHex decodes AddExecutorFee from hex string (Canton MCMS format)

func (*AddExecutorFee) UnmarshalJSON

func (t *AddExecutorFee) UnmarshalJSON(data []byte) error

type AddExecutorFeeMCMSParams

type AddExecutorFeeMCMSParams struct {
	ExecutorInstanceId types.TEXT    `json:"executorInstanceId"`
	ExecutorArgs       types.TEXT    `json:"executorArgs"`
	FeeUSDCents        types.NUMERIC `json:"feeUSDCents"`
}

AddExecutorFeeMCMSParams is AddExecutorFee without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (AddExecutorFeeMCMSParams) MarshalHex

func (t AddExecutorFeeMCMSParams) MarshalHex() (string, error)

MarshalHex encodes AddExecutorFeeMCMSParams to hex string for MCMS operationData.

func (*AddExecutorFeeMCMSParams) UnmarshalHex

func (t *AddExecutorFeeMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes AddExecutorFeeMCMSParams from hex string.

type AddPriceUpdaters

type AddPriceUpdaters struct {
	Parties []types.PARTY `json:"parties"`
}

AddPriceUpdaters is a Record type

func (AddPriceUpdaters) MarshalHex

func (t AddPriceUpdaters) MarshalHex() (string, error)

MarshalHex encodes AddPriceUpdaters to hex string (Canton MCMS format)

func (AddPriceUpdaters) MarshalJSON

func (t AddPriceUpdaters) MarshalJSON() ([]byte, error)

func (AddPriceUpdaters) ToMap

func (t AddPriceUpdaters) ToMap() map[string]any

ToMap converts AddPriceUpdaters to a map for DAML arguments

func (*AddPriceUpdaters) UnmarshalHex

func (t *AddPriceUpdaters) UnmarshalHex(data string) error

UnmarshalHex decodes AddPriceUpdaters from hex string (Canton MCMS format)

func (*AddPriceUpdaters) UnmarshalJSON

func (t *AddPriceUpdaters) UnmarshalJSON(data []byte) error

type AddTokenSend

type AddTokenSend struct {
	PoolInstanceId   types.TEXT                               `json:"poolInstanceId"`
	PoolOwner        types.PARTY                              `json:"poolOwner"`
	InstrumentId     splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	Amount           types.TEXT                               `json:"amount"`
	DestTokenAddress types.TEXT                               `json:"destTokenAddress"`
	ExtraData        types.TEXT                               `json:"extraData"`
}

AddTokenSend is a Record type

func (AddTokenSend) MarshalHex

func (t AddTokenSend) MarshalHex() (string, error)

MarshalHex encodes AddTokenSend to hex string (Canton MCMS format)

func (AddTokenSend) MarshalJSON

func (t AddTokenSend) MarshalJSON() ([]byte, error)

func (AddTokenSend) ToMap

func (t AddTokenSend) ToMap() map[string]any

ToMap converts AddTokenSend to a map for DAML arguments

func (*AddTokenSend) UnmarshalHex

func (t *AddTokenSend) UnmarshalHex(data string) error

UnmarshalHex decodes AddTokenSend from hex string (Canton MCMS format)

func (*AddTokenSend) UnmarshalJSON

func (t *AddTokenSend) UnmarshalJSON(data []byte) error

type AddTokenSendFee

type AddTokenSendFee struct {
	PoolInstanceId    types.TEXT    `json:"poolInstanceId"`
	PoolOwner         types.PARTY   `json:"poolOwner"`
	FeeUSDCents       types.NUMERIC `json:"feeUSDCents"`
	DestGasOverhead   types.INT64   `json:"destGasOverhead"`
	DestBytesOverhead types.INT64   `json:"destBytesOverhead"`
}

AddTokenSendFee is a Record type

func (AddTokenSendFee) MarshalHex

func (t AddTokenSendFee) MarshalHex() (string, error)

MarshalHex encodes AddTokenSendFee to hex string (Canton MCMS format)

func (AddTokenSendFee) MarshalJSON

func (t AddTokenSendFee) MarshalJSON() ([]byte, error)

func (AddTokenSendFee) ToMap

func (t AddTokenSendFee) ToMap() map[string]any

ToMap converts AddTokenSendFee to a map for DAML arguments

func (*AddTokenSendFee) UnmarshalHex

func (t *AddTokenSendFee) UnmarshalHex(data string) error

UnmarshalHex decodes AddTokenSendFee from hex string (Canton MCMS format)

func (*AddTokenSendFee) UnmarshalJSON

func (t *AddTokenSendFee) UnmarshalJSON(data []byte) error

type AddVerifierData

type AddVerifierData struct {
	CcvInstanceId        types.TEXT    `json:"ccvInstanceId"`
	VersionTag           types.TEXT    `json:"versionTag" hex:"bytes"`
	VerifierBlob         types.TEXT    `json:"verifierBlob"`
	MessageSentObservers []types.PARTY `json:"messageSentObservers"`
	Caller               types.PARTY   `json:"caller"`
}

AddVerifierData is a Record type

func (AddVerifierData) MarshalHex

func (t AddVerifierData) MarshalHex() (string, error)

MarshalHex encodes AddVerifierData to hex string (Canton MCMS format)

func (AddVerifierData) MarshalJSON

func (t AddVerifierData) MarshalJSON() ([]byte, error)

func (AddVerifierData) ToMap

func (t AddVerifierData) ToMap() map[string]any

ToMap converts AddVerifierData to a map for DAML arguments

func (*AddVerifierData) UnmarshalHex

func (t *AddVerifierData) UnmarshalHex(data string) error

UnmarshalHex decodes AddVerifierData from hex string (Canton MCMS format)

func (*AddVerifierData) UnmarshalJSON

func (t *AddVerifierData) UnmarshalJSON(data []byte) error

type AddVerifierDataMCMSParams

type AddVerifierDataMCMSParams struct {
	CcvInstanceId        types.TEXT    `json:"ccvInstanceId"`
	VersionTag           types.TEXT    `json:"versionTag" hex:"bytes"`
	VerifierBlob         types.TEXT    `json:"verifierBlob"`
	MessageSentObservers []types.PARTY `json:"messageSentObservers"`
}

AddVerifierDataMCMSParams is AddVerifierData without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (AddVerifierDataMCMSParams) MarshalHex

func (t AddVerifierDataMCMSParams) MarshalHex() (string, error)

MarshalHex encodes AddVerifierDataMCMSParams to hex string for MCMS operationData.

func (*AddVerifierDataMCMSParams) UnmarshalHex

func (t *AddVerifierDataMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes AddVerifierDataMCMSParams from hex string.

type ApplyDestChainConfigUpdates

type ApplyDestChainConfigUpdates struct {
	DestChainConfigUpdates []DestChainConfigArgs `json:"destChainConfigUpdates"`
}

ApplyDestChainConfigUpdates is a Record type

func (ApplyDestChainConfigUpdates) MarshalHex

func (t ApplyDestChainConfigUpdates) MarshalHex() (string, error)

MarshalHex encodes ApplyDestChainConfigUpdates to hex string (Canton MCMS format)

func (ApplyDestChainConfigUpdates) MarshalJSON

func (t ApplyDestChainConfigUpdates) MarshalJSON() ([]byte, error)

func (ApplyDestChainConfigUpdates) ToMap

func (t ApplyDestChainConfigUpdates) ToMap() map[string]any

ToMap converts ApplyDestChainConfigUpdates to a map for DAML arguments

func (*ApplyDestChainConfigUpdates) UnmarshalHex

func (t *ApplyDestChainConfigUpdates) UnmarshalHex(data string) error

UnmarshalHex decodes ApplyDestChainConfigUpdates from hex string (Canton MCMS format)

func (*ApplyDestChainConfigUpdates) UnmarshalJSON

func (t *ApplyDestChainConfigUpdates) UnmarshalJSON(data []byte) error

type ApplyDestChainConfigUpdatesParams

type ApplyDestChainConfigUpdatesParams struct {
	DestChainConfigArgs []DestChainConfigArgs `json:"destChainConfigArgs"`
}

ApplyDestChainConfigUpdatesParams is a Record type

func (ApplyDestChainConfigUpdatesParams) MarshalHex

MarshalHex encodes ApplyDestChainConfigUpdatesParams to hex string (Canton MCMS format)

func (ApplyDestChainConfigUpdatesParams) MarshalJSON

func (t ApplyDestChainConfigUpdatesParams) MarshalJSON() ([]byte, error)

func (ApplyDestChainConfigUpdatesParams) ToMap

ToMap converts ApplyDestChainConfigUpdatesParams to a map for DAML arguments

func (*ApplyDestChainConfigUpdatesParams) UnmarshalHex

func (t *ApplyDestChainConfigUpdatesParams) UnmarshalHex(data string) error

UnmarshalHex decodes ApplyDestChainConfigUpdatesParams from hex string (Canton MCMS format)

func (*ApplyDestChainConfigUpdatesParams) UnmarshalJSON

func (t *ApplyDestChainConfigUpdatesParams) UnmarshalJSON(data []byte) error

type ApplyFeeQuoterDestChainConfigUpdates

type ApplyFeeQuoterDestChainConfigUpdates struct {
	DestChainConfigArgs []FeeQuoterDestChainConfigArgs `json:"destChainConfigArgs"`
}

ApplyFeeQuoterDestChainConfigUpdates is a Record type

func (ApplyFeeQuoterDestChainConfigUpdates) MarshalHex

MarshalHex encodes ApplyFeeQuoterDestChainConfigUpdates to hex string (Canton MCMS format)

func (ApplyFeeQuoterDestChainConfigUpdates) MarshalJSON

func (t ApplyFeeQuoterDestChainConfigUpdates) MarshalJSON() ([]byte, error)

func (ApplyFeeQuoterDestChainConfigUpdates) ToMap

ToMap converts ApplyFeeQuoterDestChainConfigUpdates to a map for DAML arguments

func (*ApplyFeeQuoterDestChainConfigUpdates) UnmarshalHex

func (t *ApplyFeeQuoterDestChainConfigUpdates) UnmarshalHex(data string) error

UnmarshalHex decodes ApplyFeeQuoterDestChainConfigUpdates from hex string (Canton MCMS format)

func (*ApplyFeeQuoterDestChainConfigUpdates) UnmarshalJSON

func (t *ApplyFeeQuoterDestChainConfigUpdates) UnmarshalJSON(data []byte) error

type ApplyFeeQuoterDestChainConfigUpdatesParams

type ApplyFeeQuoterDestChainConfigUpdatesParams struct {
	DestChainConfigArgs []FeeQuoterDestChainConfigArgs `json:"destChainConfigArgs"`
}

ApplyFeeQuoterDestChainConfigUpdatesParams is a Record type

func (ApplyFeeQuoterDestChainConfigUpdatesParams) MarshalHex

MarshalHex encodes ApplyFeeQuoterDestChainConfigUpdatesParams to hex string (Canton MCMS format)

func (ApplyFeeQuoterDestChainConfigUpdatesParams) MarshalJSON

func (ApplyFeeQuoterDestChainConfigUpdatesParams) ToMap

ToMap converts ApplyFeeQuoterDestChainConfigUpdatesParams to a map for DAML arguments

func (*ApplyFeeQuoterDestChainConfigUpdatesParams) UnmarshalHex

UnmarshalHex decodes ApplyFeeQuoterDestChainConfigUpdatesParams from hex string (Canton MCMS format)

func (*ApplyFeeQuoterDestChainConfigUpdatesParams) UnmarshalJSON

func (t *ApplyFeeQuoterDestChainConfigUpdatesParams) UnmarshalJSON(data []byte) error

type ApplyPriceUpdatersUpdate

type ApplyPriceUpdatersUpdate struct {
	AddedPriceUpdaters   []types.PARTY `json:"addedPriceUpdaters"`
	RemovedPriceUpdaters []types.PARTY `json:"removedPriceUpdaters"`
}

ApplyPriceUpdatersUpdate is a Record type

func (ApplyPriceUpdatersUpdate) MarshalHex

func (t ApplyPriceUpdatersUpdate) MarshalHex() (string, error)

MarshalHex encodes ApplyPriceUpdatersUpdate to hex string (Canton MCMS format)

func (ApplyPriceUpdatersUpdate) MarshalJSON

func (t ApplyPriceUpdatersUpdate) MarshalJSON() ([]byte, error)

func (ApplyPriceUpdatersUpdate) ToMap

func (t ApplyPriceUpdatersUpdate) ToMap() map[string]any

ToMap converts ApplyPriceUpdatersUpdate to a map for DAML arguments

func (*ApplyPriceUpdatersUpdate) UnmarshalHex

func (t *ApplyPriceUpdatersUpdate) UnmarshalHex(data string) error

UnmarshalHex decodes ApplyPriceUpdatersUpdate from hex string (Canton MCMS format)

func (*ApplyPriceUpdatersUpdate) UnmarshalJSON

func (t *ApplyPriceUpdatersUpdate) UnmarshalJSON(data []byte) error

type ApplyPriceUpdatersUpdateParams

type ApplyPriceUpdatersUpdateParams struct {
	AddedPriceUpdaters   []types.PARTY `json:"addedPriceUpdaters"`
	RemovedPriceUpdaters []types.PARTY `json:"removedPriceUpdaters"`
}

ApplyPriceUpdatersUpdateParams is a Record type

func (ApplyPriceUpdatersUpdateParams) MarshalHex

func (t ApplyPriceUpdatersUpdateParams) MarshalHex() (string, error)

MarshalHex encodes ApplyPriceUpdatersUpdateParams to hex string (Canton MCMS format)

func (ApplyPriceUpdatersUpdateParams) MarshalJSON

func (t ApplyPriceUpdatersUpdateParams) MarshalJSON() ([]byte, error)

func (ApplyPriceUpdatersUpdateParams) ToMap

ToMap converts ApplyPriceUpdatersUpdateParams to a map for DAML arguments

func (*ApplyPriceUpdatersUpdateParams) UnmarshalHex

func (t *ApplyPriceUpdatersUpdateParams) UnmarshalHex(data string) error

UnmarshalHex decodes ApplyPriceUpdatersUpdateParams from hex string (Canton MCMS format)

func (*ApplyPriceUpdatersUpdateParams) UnmarshalJSON

func (t *ApplyPriceUpdatersUpdateParams) UnmarshalJSON(data []byte) error

type ApplySourceChainConfigUpdates

type ApplySourceChainConfigUpdates struct {
	SourceChainConfigUpdates []SourceChainConfigArgs `json:"sourceChainConfigUpdates"`
}

ApplySourceChainConfigUpdates is a Record type

func (ApplySourceChainConfigUpdates) MarshalHex

func (t ApplySourceChainConfigUpdates) MarshalHex() (string, error)

MarshalHex encodes ApplySourceChainConfigUpdates to hex string (Canton MCMS format)

func (ApplySourceChainConfigUpdates) MarshalJSON

func (t ApplySourceChainConfigUpdates) MarshalJSON() ([]byte, error)

func (ApplySourceChainConfigUpdates) ToMap

ToMap converts ApplySourceChainConfigUpdates to a map for DAML arguments

func (*ApplySourceChainConfigUpdates) UnmarshalHex

func (t *ApplySourceChainConfigUpdates) UnmarshalHex(data string) error

UnmarshalHex decodes ApplySourceChainConfigUpdates from hex string (Canton MCMS format)

func (*ApplySourceChainConfigUpdates) UnmarshalJSON

func (t *ApplySourceChainConfigUpdates) UnmarshalJSON(data []byte) error

type ApplySourceChainConfigUpdatesParams

type ApplySourceChainConfigUpdatesParams struct {
	SourceChainConfigArgs []SourceChainConfigArgs `json:"sourceChainConfigArgs"`
}

ApplySourceChainConfigUpdatesParams is a Record type

func (ApplySourceChainConfigUpdatesParams) MarshalHex

MarshalHex encodes ApplySourceChainConfigUpdatesParams to hex string (Canton MCMS format)

func (ApplySourceChainConfigUpdatesParams) MarshalJSON

func (t ApplySourceChainConfigUpdatesParams) MarshalJSON() ([]byte, error)

func (ApplySourceChainConfigUpdatesParams) ToMap

ToMap converts ApplySourceChainConfigUpdatesParams to a map for DAML arguments

func (*ApplySourceChainConfigUpdatesParams) UnmarshalHex

func (t *ApplySourceChainConfigUpdatesParams) UnmarshalHex(data string) error

UnmarshalHex decodes ApplySourceChainConfigUpdatesParams from hex string (Canton MCMS format)

func (*ApplySourceChainConfigUpdatesParams) UnmarshalJSON

func (t *ApplySourceChainConfigUpdatesParams) UnmarshalJSON(data []byte) error

type BuildMessage

type BuildMessage struct {
	Caller types.PARTY `json:"caller"`
}

BuildMessage is a Record type

func (BuildMessage) MarshalHex

func (t BuildMessage) MarshalHex() (string, error)

MarshalHex encodes BuildMessage to hex string (Canton MCMS format)

func (BuildMessage) MarshalJSON

func (t BuildMessage) MarshalJSON() ([]byte, error)

func (BuildMessage) ToMap

func (t BuildMessage) ToMap() map[string]any

ToMap converts BuildMessage to a map for DAML arguments

func (*BuildMessage) UnmarshalHex

func (t *BuildMessage) UnmarshalHex(data string) error

UnmarshalHex decodes BuildMessage from hex string (Canton MCMS format)

func (*BuildMessage) UnmarshalJSON

func (t *BuildMessage) UnmarshalJSON(data []byte) error

type BuildMessageMCMSParams

type BuildMessageMCMSParams struct {
}

BuildMessageMCMSParams is BuildMessage without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (BuildMessageMCMSParams) MarshalHex

func (t BuildMessageMCMSParams) MarshalHex() (string, error)

MarshalHex encodes BuildMessageMCMSParams to hex string for MCMS operationData.

func (*BuildMessageMCMSParams) UnmarshalHex

func (t *BuildMessageMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes BuildMessageMCMSParams from hex string.

type CCIPMessageSent

type CCIPMessageSent struct {
	CcipOwner types.PARTY          `json:"ccipOwner"`
	CcvOwners []types.PARTY        `json:"ccvOwners"`
	Sender    types.PARTY          `json:"sender"`
	Observers []types.PARTY        `json:"observers"`
	Event     CCIPMessageSentEvent `json:"event"`
}

CCIPMessageSent is a Template type

func (CCIPMessageSent) Archive

func (t CCIPMessageSent) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this CCIPMessageSent contract This method uses the package name in the template ID

func (CCIPMessageSent) ArchiveWithPackageID

func (t CCIPMessageSent) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (CCIPMessageSent) CreateCommand

func (t CCIPMessageSent) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (CCIPMessageSent) CreateCommandWithPackageID

func (t CCIPMessageSent) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (CCIPMessageSent) GetTemplateID

func (t CCIPMessageSent) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (CCIPMessageSent) GetTemplateIDWithPackageID

func (t CCIPMessageSent) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (CCIPMessageSent) MarshalHex

func (t CCIPMessageSent) MarshalHex() (string, error)

MarshalHex encodes CCIPMessageSent to hex string (Canton MCMS format)

func (CCIPMessageSent) MarshalJSON

func (t CCIPMessageSent) MarshalJSON() ([]byte, error)

func (*CCIPMessageSent) UnmarshalHex

func (t *CCIPMessageSent) UnmarshalHex(data string) error

UnmarshalHex decodes CCIPMessageSent from hex string (Canton MCMS format)

func (*CCIPMessageSent) UnmarshalJSON

func (t *CCIPMessageSent) UnmarshalJSON(data []byte) error

type CCIPMessageSentEvent

type CCIPMessageSentEvent struct {
	DestChainSelector types.NUMERIC `json:"destChainSelector"`
	SequenceNumber    types.NUMERIC `json:"sequenceNumber"`
	MessageId         types.TEXT    `json:"messageId"`
	EncodedMessage    types.TEXT    `json:"encodedMessage"`
	VerifierBlobs     []types.TEXT  `json:"verifierBlobs"`
	Receipts          []Receipt     `json:"receipts"`
}

CCIPMessageSentEvent is a Record type

func (CCIPMessageSentEvent) MarshalHex

func (t CCIPMessageSentEvent) MarshalHex() (string, error)

MarshalHex encodes CCIPMessageSentEvent to hex string (Canton MCMS format)

func (CCIPMessageSentEvent) MarshalJSON

func (t CCIPMessageSentEvent) MarshalJSON() ([]byte, error)

func (CCIPMessageSentEvent) ToMap

func (t CCIPMessageSentEvent) ToMap() map[string]any

ToMap converts CCIPMessageSentEvent to a map for DAML arguments

func (*CCIPMessageSentEvent) UnmarshalHex

func (t *CCIPMessageSentEvent) UnmarshalHex(data string) error

UnmarshalHex decodes CCIPMessageSentEvent from hex string (Canton MCMS format)

func (*CCIPMessageSentEvent) UnmarshalJSON

func (t *CCIPMessageSentEvent) UnmarshalJSON(data []byte) error

type CCVExtraArg

type CCVExtraArg struct {
	CcvAddress chainlinkapi.RawInstanceAddress `json:"ccvAddress"`
	CcvArgs    types.TEXT                      `json:"ccvArgs"`
}

CCVExtraArg is a Record type

func (CCVExtraArg) MarshalHex

func (t CCVExtraArg) MarshalHex() (string, error)

MarshalHex encodes CCVExtraArg to hex string (Canton MCMS format)

func (CCVExtraArg) MarshalJSON

func (t CCVExtraArg) MarshalJSON() ([]byte, error)

func (CCVExtraArg) ToMap

func (t CCVExtraArg) ToMap() map[string]any

ToMap converts CCVExtraArg to a map for DAML arguments

func (*CCVExtraArg) UnmarshalHex

func (t *CCVExtraArg) UnmarshalHex(data string) error

UnmarshalHex decodes CCVExtraArg from hex string (Canton MCMS format)

func (*CCVExtraArg) UnmarshalJSON

func (t *CCVExtraArg) UnmarshalJSON(data []byte) error

type CCVFee

type CCVFee struct {
	CcvInstanceId     types.TEXT    `json:"ccvInstanceId"`
	CcvOwner          types.PARTY   `json:"ccvOwner"`
	FeeUSDCents       types.NUMERIC `json:"feeUSDCents"`
	DestGasLimit      types.INT64   `json:"destGasLimit"`
	DestBytesOverhead types.INT64   `json:"destBytesOverhead"`
}

CCVFee is a Record type

func (CCVFee) MarshalHex

func (t CCVFee) MarshalHex() (string, error)

MarshalHex encodes CCVFee to hex string (Canton MCMS format)

func (CCVFee) MarshalJSON

func (t CCVFee) MarshalJSON() ([]byte, error)

func (CCVFee) ToMap

func (t CCVFee) ToMap() map[string]any

ToMap converts CCVFee to a map for DAML arguments

func (*CCVFee) UnmarshalHex

func (t *CCVFee) UnmarshalHex(data string) error

UnmarshalHex decodes CCVFee from hex string (Canton MCMS format)

func (*CCVFee) UnmarshalJSON

func (t *CCVFee) UnmarshalJSON(data []byte) error

type CCVVerification

type CCVVerification struct {
	CcvInstanceId types.TEXT  `json:"ccvInstanceId"`
	CcvOwner      types.PARTY `json:"ccvOwner"`
	VersionTag    types.TEXT  `json:"versionTag" hex:"bytes"`
}

CCVVerification is a Record type

func (CCVVerification) MarshalHex

func (t CCVVerification) MarshalHex() (string, error)

MarshalHex encodes CCVVerification to hex string (Canton MCMS format)

func (CCVVerification) MarshalJSON

func (t CCVVerification) MarshalJSON() ([]byte, error)

func (CCVVerification) ToMap

func (t CCVVerification) ToMap() map[string]any

ToMap converts CCVVerification to a map for DAML arguments

func (*CCVVerification) UnmarshalHex

func (t *CCVVerification) UnmarshalHex(data string) error

UnmarshalHex decodes CCVVerification from hex string (Canton MCMS format)

func (*CCVVerification) UnmarshalJSON

func (t *CCVVerification) UnmarshalJSON(data []byte) error

type CancelExecute

type CancelExecute struct {
	Caller types.PARTY `json:"caller"`
}

CancelExecute is a Record type

func (CancelExecute) MarshalHex

func (t CancelExecute) MarshalHex() (string, error)

MarshalHex encodes CancelExecute to hex string (Canton MCMS format)

func (CancelExecute) MarshalJSON

func (t CancelExecute) MarshalJSON() ([]byte, error)

func (CancelExecute) ToMap

func (t CancelExecute) ToMap() map[string]any

ToMap converts CancelExecute to a map for DAML arguments

func (*CancelExecute) UnmarshalHex

func (t *CancelExecute) UnmarshalHex(data string) error

UnmarshalHex decodes CancelExecute from hex string (Canton MCMS format)

func (*CancelExecute) UnmarshalJSON

func (t *CancelExecute) UnmarshalJSON(data []byte) error

type CancelExecuteMCMSParams

type CancelExecuteMCMSParams struct {
}

CancelExecuteMCMSParams is CancelExecute without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (CancelExecuteMCMSParams) MarshalHex

func (t CancelExecuteMCMSParams) MarshalHex() (string, error)

MarshalHex encodes CancelExecuteMCMSParams to hex string for MCMS operationData.

func (*CancelExecuteMCMSParams) UnmarshalHex

func (t *CancelExecuteMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes CancelExecuteMCMSParams from hex string.

type Canton2AnyMessage

type Canton2AnyMessage struct {
	Receiver      types.TEXT                               `json:"receiver"`
	Payload       types.TEXT                               `json:"payload"`
	TokenTransfer *TokenTransfer                           `json:"tokenTransfer" hex:"optional"`
	FeeToken      splice_api_token_holding_v1.InstrumentId `json:"feeToken"`
	ExtraArgs     ExtraArgs                                `json:"extraArgs"`
}

Canton2AnyMessage is a Record type

func (Canton2AnyMessage) MarshalHex

func (t Canton2AnyMessage) MarshalHex() (string, error)

MarshalHex encodes Canton2AnyMessage to hex string (Canton MCMS format)

func (Canton2AnyMessage) MarshalJSON

func (t Canton2AnyMessage) MarshalJSON() ([]byte, error)

func (Canton2AnyMessage) ToMap

func (t Canton2AnyMessage) ToMap() map[string]any

ToMap converts Canton2AnyMessage to a map for DAML arguments

func (*Canton2AnyMessage) UnmarshalHex

func (t *Canton2AnyMessage) UnmarshalHex(data string) error

UnmarshalHex decodes Canton2AnyMessage from hex string (Canton MCMS format)

func (*Canton2AnyMessage) UnmarshalJSON

func (t *Canton2AnyMessage) UnmarshalJSON(data []byte) error

type ConsumeByCCIPOwner

type ConsumeByCCIPOwner struct {
}

ConsumeByCCIPOwner is a Record type

func (ConsumeByCCIPOwner) MarshalHex

func (t ConsumeByCCIPOwner) MarshalHex() (string, error)

MarshalHex encodes ConsumeByCCIPOwner to hex string (Canton MCMS format)

func (ConsumeByCCIPOwner) MarshalJSON

func (t ConsumeByCCIPOwner) MarshalJSON() ([]byte, error)

func (ConsumeByCCIPOwner) ToMap

func (t ConsumeByCCIPOwner) ToMap() map[string]any

ToMap converts ConsumeByCCIPOwner to a map for DAML arguments

func (*ConsumeByCCIPOwner) UnmarshalHex

func (t *ConsumeByCCIPOwner) UnmarshalHex(data string) error

UnmarshalHex decodes ConsumeByCCIPOwner from hex string (Canton MCMS format)

func (*ConsumeByCCIPOwner) UnmarshalJSON

func (t *ConsumeByCCIPOwner) UnmarshalJSON(data []byte) error

type ConsumeCapacity

type ConsumeCapacity struct {
	Requested types.NUMERIC `json:"requested"`
}

ConsumeCapacity is a Record type

func (ConsumeCapacity) MarshalHex

func (t ConsumeCapacity) MarshalHex() (string, error)

MarshalHex encodes ConsumeCapacity to hex string (Canton MCMS format)

func (ConsumeCapacity) MarshalJSON

func (t ConsumeCapacity) MarshalJSON() ([]byte, error)

func (ConsumeCapacity) ToMap

func (t ConsumeCapacity) ToMap() map[string]any

ToMap converts ConsumeCapacity to a map for DAML arguments

func (*ConsumeCapacity) UnmarshalHex

func (t *ConsumeCapacity) UnmarshalHex(data string) error

UnmarshalHex decodes ConsumeCapacity from hex string (Canton MCMS format)

func (*ConsumeCapacity) UnmarshalJSON

func (t *ConsumeCapacity) UnmarshalJSON(data []byte) error

type ConsumeCapacityResult

type ConsumeCapacityResult struct {
	RateLimiterCid         types.CONTRACT_ID `json:"rateLimiterCid"`
	AvailableBeforeConsume types.NUMERIC     `json:"availableBeforeConsume"`
	Consumed               types.NUMERIC     `json:"consumed"`
}

ConsumeCapacityResult is a Record type

func (ConsumeCapacityResult) MarshalHex

func (t ConsumeCapacityResult) MarshalHex() (string, error)

MarshalHex encodes ConsumeCapacityResult to hex string (Canton MCMS format)

func (ConsumeCapacityResult) MarshalJSON

func (t ConsumeCapacityResult) MarshalJSON() ([]byte, error)

func (ConsumeCapacityResult) ToMap

func (t ConsumeCapacityResult) ToMap() map[string]any

ToMap converts ConsumeCapacityResult to a map for DAML arguments

func (*ConsumeCapacityResult) UnmarshalHex

func (t *ConsumeCapacityResult) UnmarshalHex(data string) error

UnmarshalHex decodes ConsumeCapacityResult from hex string (Canton MCMS format)

func (*ConsumeCapacityResult) UnmarshalJSON

func (t *ConsumeCapacityResult) UnmarshalJSON(data []byte) error

type ConsumeReceiveTicket

type ConsumeReceiveTicket struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	TicketCid      types.CONTRACT_ID                        `json:"ticketCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	PoolInstanceId types.TEXT                               `json:"poolInstanceId"`
	Caller         types.PARTY                              `json:"caller"`
}

ConsumeReceiveTicket is a Record type

func (ConsumeReceiveTicket) MarshalHex

func (t ConsumeReceiveTicket) MarshalHex() (string, error)

MarshalHex encodes ConsumeReceiveTicket to hex string (Canton MCMS format)

func (ConsumeReceiveTicket) MarshalJSON

func (t ConsumeReceiveTicket) MarshalJSON() ([]byte, error)

func (ConsumeReceiveTicket) ToMap

func (t ConsumeReceiveTicket) ToMap() map[string]any

ToMap converts ConsumeReceiveTicket to a map for DAML arguments

func (*ConsumeReceiveTicket) UnmarshalHex

func (t *ConsumeReceiveTicket) UnmarshalHex(data string) error

UnmarshalHex decodes ConsumeReceiveTicket from hex string (Canton MCMS format)

func (*ConsumeReceiveTicket) UnmarshalJSON

func (t *ConsumeReceiveTicket) UnmarshalJSON(data []byte) error

type ConsumeReceiveTicketMCMSParams

type ConsumeReceiveTicketMCMSParams struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	TicketCid      types.CONTRACT_ID                        `json:"ticketCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	PoolInstanceId types.TEXT                               `json:"poolInstanceId"`
}

ConsumeReceiveTicketMCMSParams is ConsumeReceiveTicket without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (ConsumeReceiveTicketMCMSParams) MarshalHex

func (t ConsumeReceiveTicketMCMSParams) MarshalHex() (string, error)

MarshalHex encodes ConsumeReceiveTicketMCMSParams to hex string for MCMS operationData.

func (*ConsumeReceiveTicketMCMSParams) UnmarshalHex

func (t *ConsumeReceiveTicketMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes ConsumeReceiveTicketMCMSParams from hex string.

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

func NewContract(packageID, moduleName, templateName string) *Contract

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 Curse

type Curse struct {
	Subject types.TEXT `json:"subject"`
}

Curse is a Record type

func (Curse) MarshalHex

func (t Curse) MarshalHex() (string, error)

MarshalHex encodes Curse to hex string (Canton MCMS format)

func (Curse) MarshalJSON

func (t Curse) MarshalJSON() ([]byte, error)

func (Curse) ToMap

func (t Curse) ToMap() map[string]any

ToMap converts Curse to a map for DAML arguments

func (*Curse) UnmarshalHex

func (t *Curse) UnmarshalHex(data string) error

UnmarshalHex decodes Curse from hex string (Canton MCMS format)

func (*Curse) UnmarshalJSON

func (t *Curse) UnmarshalJSON(data []byte) error

type CurseChain

type CurseChain struct {
	ChainSelector types.NUMERIC `json:"chainSelector"`
}

CurseChain is a Record type

func (CurseChain) MarshalHex

func (t CurseChain) MarshalHex() (string, error)

MarshalHex encodes CurseChain to hex string (Canton MCMS format)

func (CurseChain) MarshalJSON

func (t CurseChain) MarshalJSON() ([]byte, error)

func (CurseChain) ToMap

func (t CurseChain) ToMap() map[string]any

ToMap converts CurseChain to a map for DAML arguments

func (*CurseChain) UnmarshalHex

func (t *CurseChain) UnmarshalHex(data string) error

UnmarshalHex decodes CurseChain from hex string (Canton MCMS format)

func (*CurseChain) UnmarshalJSON

func (t *CurseChain) UnmarshalJSON(data []byte) error

type CurseChainParams

type CurseChainParams struct {
	ChainSelector types.NUMERIC `json:"chainSelector"`
}

CurseChainParams is a Record type

func (CurseChainParams) MarshalHex

func (t CurseChainParams) MarshalHex() (string, error)

MarshalHex encodes CurseChainParams to hex string (Canton MCMS format)

func (CurseChainParams) MarshalJSON

func (t CurseChainParams) MarshalJSON() ([]byte, error)

func (CurseChainParams) ToMap

func (t CurseChainParams) ToMap() map[string]any

ToMap converts CurseChainParams to a map for DAML arguments

func (*CurseChainParams) UnmarshalHex

func (t *CurseChainParams) UnmarshalHex(data string) error

UnmarshalHex decodes CurseChainParams from hex string (Canton MCMS format)

func (*CurseChainParams) UnmarshalJSON

func (t *CurseChainParams) UnmarshalJSON(data []byte) error

type CurseGlobal

type CurseGlobal struct {
}

CurseGlobal is a Record type

func (CurseGlobal) MarshalHex

func (t CurseGlobal) MarshalHex() (string, error)

MarshalHex encodes CurseGlobal to hex string (Canton MCMS format)

func (CurseGlobal) MarshalJSON

func (t CurseGlobal) MarshalJSON() ([]byte, error)

func (CurseGlobal) ToMap

func (t CurseGlobal) ToMap() map[string]any

ToMap converts CurseGlobal to a map for DAML arguments

func (*CurseGlobal) UnmarshalHex

func (t *CurseGlobal) UnmarshalHex(data string) error

UnmarshalHex decodes CurseGlobal from hex string (Canton MCMS format)

func (*CurseGlobal) UnmarshalJSON

func (t *CurseGlobal) UnmarshalJSON(data []byte) error

type CurseMultiple

type CurseMultiple struct {
	Subjects []types.TEXT `json:"subjects"`
}

CurseMultiple is a Record type

func (CurseMultiple) MarshalHex

func (t CurseMultiple) MarshalHex() (string, error)

MarshalHex encodes CurseMultiple to hex string (Canton MCMS format)

func (CurseMultiple) MarshalJSON

func (t CurseMultiple) MarshalJSON() ([]byte, error)

func (CurseMultiple) ToMap

func (t CurseMultiple) ToMap() map[string]any

ToMap converts CurseMultiple to a map for DAML arguments

func (*CurseMultiple) UnmarshalHex

func (t *CurseMultiple) UnmarshalHex(data string) error

UnmarshalHex decodes CurseMultiple from hex string (Canton MCMS format)

func (*CurseMultiple) UnmarshalJSON

func (t *CurseMultiple) UnmarshalJSON(data []byte) error

type CurseMultipleParams

type CurseMultipleParams struct {
	Subjects []types.TEXT `json:"subjects"`
}

CurseMultipleParams is a Record type

func (CurseMultipleParams) MarshalHex

func (t CurseMultipleParams) MarshalHex() (string, error)

MarshalHex encodes CurseMultipleParams to hex string (Canton MCMS format)

func (CurseMultipleParams) MarshalJSON

func (t CurseMultipleParams) MarshalJSON() ([]byte, error)

func (CurseMultipleParams) ToMap

func (t CurseMultipleParams) ToMap() map[string]any

ToMap converts CurseMultipleParams to a map for DAML arguments

func (*CurseMultipleParams) UnmarshalHex

func (t *CurseMultipleParams) UnmarshalHex(data string) error

UnmarshalHex decodes CurseMultipleParams from hex string (Canton MCMS format)

func (*CurseMultipleParams) UnmarshalJSON

func (t *CurseMultipleParams) UnmarshalJSON(data []byte) error

type CurseParams

type CurseParams struct {
	Subject types.TEXT `json:"subject"`
}

CurseParams is a Record type

func (CurseParams) MarshalHex

func (t CurseParams) MarshalHex() (string, error)

MarshalHex encodes CurseParams to hex string (Canton MCMS format)

func (CurseParams) MarshalJSON

func (t CurseParams) MarshalJSON() ([]byte, error)

func (CurseParams) ToMap

func (t CurseParams) ToMap() map[string]any

ToMap converts CurseParams to a map for DAML arguments

func (*CurseParams) UnmarshalHex

func (t *CurseParams) UnmarshalHex(data string) error

UnmarshalHex decodes CurseParams from hex string (Canton MCMS format)

func (*CurseParams) UnmarshalJSON

func (t *CurseParams) UnmarshalJSON(data []byte) error

type DecodedFinality

type DecodedFinality struct {
	Raw       types.TEXT     `json:"raw"`
	Requested FinalityConfig `json:"requested"`
}

DecodedFinality is a Record type

func (DecodedFinality) MarshalHex

func (t DecodedFinality) MarshalHex() (string, error)

MarshalHex encodes DecodedFinality to hex string (Canton MCMS format)

func (DecodedFinality) MarshalJSON

func (t DecodedFinality) MarshalJSON() ([]byte, error)

func (DecodedFinality) ToMap

func (t DecodedFinality) ToMap() map[string]any

ToMap converts DecodedFinality to a map for DAML arguments

func (*DecodedFinality) UnmarshalHex

func (t *DecodedFinality) UnmarshalHex(data string) error

UnmarshalHex decodes DecodedFinality from hex string (Canton MCMS format)

func (*DecodedFinality) UnmarshalJSON

func (t *DecodedFinality) UnmarshalJSON(data []byte) error

type DestChainConfig

type DestChainConfig struct {
	IsEnabled                 types.BOOL                        `json:"isEnabled"`
	AddressBytesLength        types.INT64                       `json:"addressBytesLength"`
	TokenReceiverAllowed      types.BOOL                        `json:"tokenReceiverAllowed"`
	BaseExecutionGasCost      types.INT64                       `json:"baseExecutionGasCost"`
	OffRampAddress            types.TEXT                        `json:"offRampAddress"`
	DefaultExecutor           *chainlinkapi.RawInstanceAddress  `json:"defaultExecutor" hex:"optional"`
	LaneMandatedCCVs          []chainlinkapi.RawInstanceAddress `json:"laneMandatedCCVs"`
	DefaultCCVs               []chainlinkapi.RawInstanceAddress `json:"defaultCCVs"`
	MessageNetworkFeeUSDCents types.NUMERIC                     `json:"messageNetworkFeeUSDCents"`
	TokenNetworkFeeUSDCents   types.NUMERIC                     `json:"tokenNetworkFeeUSDCents"`
}

DestChainConfig is a Record type

func (DestChainConfig) MarshalHex

func (t DestChainConfig) MarshalHex() (string, error)

MarshalHex encodes DestChainConfig to hex string (Canton MCMS format)

func (DestChainConfig) MarshalJSON

func (t DestChainConfig) MarshalJSON() ([]byte, error)

func (DestChainConfig) ToMap

func (t DestChainConfig) ToMap() map[string]any

ToMap converts DestChainConfig to a map for DAML arguments

func (*DestChainConfig) UnmarshalHex

func (t *DestChainConfig) UnmarshalHex(data string) error

UnmarshalHex decodes DestChainConfig from hex string (Canton MCMS format)

func (*DestChainConfig) UnmarshalJSON

func (t *DestChainConfig) UnmarshalJSON(data []byte) error

type DestChainConfigArgs

type DestChainConfigArgs struct {
	DestChainSelector         types.NUMERIC                     `json:"destChainSelector"`
	IsEnabled                 types.BOOL                        `json:"isEnabled"`
	AddressBytesLength        types.INT64                       `json:"addressBytesLength"`
	TokenReceiverAllowed      types.BOOL                        `json:"tokenReceiverAllowed"`
	BaseExecutionGasCost      types.INT64                       `json:"baseExecutionGasCost"`
	OffRampAddress            types.TEXT                        `json:"offRampAddress"`
	DefaultExecutor           *chainlinkapi.RawInstanceAddress  `json:"defaultExecutor" hex:"optional"`
	LaneMandatedCCVs          []chainlinkapi.RawInstanceAddress `json:"laneMandatedCCVs"`
	DefaultCCVs               []chainlinkapi.RawInstanceAddress `json:"defaultCCVs"`
	MessageNetworkFeeUSDCents types.NUMERIC                     `json:"messageNetworkFeeUSDCents"`
	TokenNetworkFeeUSDCents   types.NUMERIC                     `json:"tokenNetworkFeeUSDCents"`
}

DestChainConfigArgs is a Record type

func (DestChainConfigArgs) MarshalHex

func (t DestChainConfigArgs) MarshalHex() (string, error)

MarshalHex encodes DestChainConfigArgs to hex string (Canton MCMS format)

func (DestChainConfigArgs) MarshalJSON

func (t DestChainConfigArgs) MarshalJSON() ([]byte, error)

func (DestChainConfigArgs) ToMap

func (t DestChainConfigArgs) ToMap() map[string]any

ToMap converts DestChainConfigArgs to a map for DAML arguments

func (*DestChainConfigArgs) UnmarshalHex

func (t *DestChainConfigArgs) UnmarshalHex(data string) error

UnmarshalHex decodes DestChainConfigArgs from hex string (Canton MCMS format)

func (*DestChainConfigArgs) UnmarshalJSON

func (t *DestChainConfigArgs) UnmarshalJSON(data []byte) error

type ExecutingMessageDeps

type ExecutingMessageDeps struct {
	OffRamp            chainlinkapi.RawInstanceAddress `json:"offRamp"`
	GlobalConfig       chainlinkapi.RawInstanceAddress `json:"globalConfig"`
	RmnRemote          chainlinkapi.RawInstanceAddress `json:"rmnRemote"`
	TokenAdminRegistry chainlinkapi.RawInstanceAddress `json:"tokenAdminRegistry"`
}

ExecutingMessageDeps is a Record type

func (ExecutingMessageDeps) MarshalHex

func (t ExecutingMessageDeps) MarshalHex() (string, error)

MarshalHex encodes ExecutingMessageDeps to hex string (Canton MCMS format)

func (ExecutingMessageDeps) MarshalJSON

func (t ExecutingMessageDeps) MarshalJSON() ([]byte, error)

func (ExecutingMessageDeps) ToMap

func (t ExecutingMessageDeps) ToMap() map[string]any

ToMap converts ExecutingMessageDeps to a map for DAML arguments

func (*ExecutingMessageDeps) UnmarshalHex

func (t *ExecutingMessageDeps) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutingMessageDeps from hex string (Canton MCMS format)

func (*ExecutingMessageDeps) UnmarshalJSON

func (t *ExecutingMessageDeps) UnmarshalJSON(data []byte) error

type ExecutingMessageState

type ExecutingMessageState string

ExecutingMessageState is an enum type

const (
	ExecutingMessageStateExecutingMessageState_RequirePoolCCVs ExecutingMessageState = "ExecutingMessageState_RequirePoolCCVs"

	ExecutingMessageStateExecutingMessageState_Prepared ExecutingMessageState = "ExecutingMessageState_Prepared"
)

func (ExecutingMessageState) GetEnumConstructor

func (e ExecutingMessageState) GetEnumConstructor() string

func (ExecutingMessageState) GetEnumTypeID

func (e ExecutingMessageState) GetEnumTypeID() string

func (ExecutingMessageState) GetEnumTypeIDWithPackageID

func (e ExecutingMessageState) GetEnumTypeIDWithPackageID(packageID string) string

GetEnumTypeIDWithPackageID returns the enum type ID using the provided package ID instead of package name

func (ExecutingMessageState) MarshalHex

func (e ExecutingMessageState) MarshalHex() (string, error)

MarshalHex encodes ExecutingMessageState to hex string (Canton MCMS format)

func (ExecutingMessageState) MarshalJSON

func (e ExecutingMessageState) MarshalJSON() ([]byte, error)

func (*ExecutingMessageState) UnmarshalHex

func (e *ExecutingMessageState) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutingMessageState from hex string (Canton MCMS format)

func (*ExecutingMessageState) UnmarshalJSON

func (e *ExecutingMessageState) UnmarshalJSON(data []byte) error

type ExecutingMessageV1

type ExecutingMessageV1 struct {
	CcipOwner               types.PARTY                       `json:"ccipOwner"`
	Message                 MessageV1                         `json:"message"`
	MessageId               types.TEXT                        `json:"messageId"`
	Receiver                types.PARTY                       `json:"receiver"`
	TokenReceiver           *types.PARTY                      `json:"tokenReceiver" hex:"optional"`
	Executor                types.PARTY                       `json:"executor"`
	ObservingParties        []types.PARTY                     `json:"observingParties"`
	CcvVerifications        []CCVVerification                 `json:"ccvVerifications"`
	CcvOwners               []types.PARTY                     `json:"ccvOwners"`
	RequiredCCVs            []chainlinkapi.RawInstanceAddress `json:"requiredCCVs"`
	OptionalCCVs            []chainlinkapi.RawInstanceAddress `json:"optionalCCVs"`
	OptionalCCVThreshold    types.INT64                       `json:"optionalCCVThreshold"`
	ReceiverFinalityConfig  FinalityConfig                    `json:"receiverFinalityConfig"`
	SourceDefaultCCVs       []chainlinkapi.RawInstanceAddress `json:"sourceDefaultCCVs"`
	InboundPoolVerification *InboundPoolVerification          `json:"inboundPoolVerification" hex:"optional"`
	Deps                    ExecutingMessageDeps              `json:"deps"`
	State                   ExecutingMessageState             `json:"state"`
}

ExecutingMessageV1 is a Template type

func (ExecutingMessageV1) AddCCVVerification

func (t ExecutingMessageV1) AddCCVVerification(contractID string, args AddCCVVerification) *model.ExerciseCommand

AddCCVVerification exercises the AddCCVVerification choice on this ExecutingMessageV1 contract This method uses the package name in the template ID

func (ExecutingMessageV1) AddCCVVerificationWithPackageID

func (t ExecutingMessageV1) AddCCVVerificationWithPackageID(contractID string, packageID string, args AddCCVVerification) *model.ExerciseCommand

AddCCVVerificationWithPackageID exercises the AddCCVVerification choice using the provided package ID instead of package name

func (ExecutingMessageV1) Archive

func (t ExecutingMessageV1) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this ExecutingMessageV1 contract This method uses the package name in the template ID

func (ExecutingMessageV1) ArchiveWithPackageID

func (t ExecutingMessageV1) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (ExecutingMessageV1) CancelExecute

func (t ExecutingMessageV1) CancelExecute(contractID string, args CancelExecute) *model.ExerciseCommand

CancelExecute exercises the CancelExecute choice on this ExecutingMessageV1 contract This method uses the package name in the template ID

func (ExecutingMessageV1) CancelExecuteWithPackageID

func (t ExecutingMessageV1) CancelExecuteWithPackageID(contractID string, packageID string, args CancelExecute) *model.ExerciseCommand

CancelExecuteWithPackageID exercises the CancelExecute choice using the provided package ID instead of package name

func (ExecutingMessageV1) CreateCommand

func (t ExecutingMessageV1) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (ExecutingMessageV1) CreateCommandWithPackageID

func (t ExecutingMessageV1) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (ExecutingMessageV1) FinalizeExecute

func (t ExecutingMessageV1) FinalizeExecute(contractID string, args FinalizeExecute) *model.ExerciseCommand

FinalizeExecute exercises the FinalizeExecute choice on this ExecutingMessageV1 contract This method uses the package name in the template ID

func (ExecutingMessageV1) FinalizeExecuteWithPackageID

func (t ExecutingMessageV1) FinalizeExecuteWithPackageID(contractID string, packageID string, args FinalizeExecute) *model.ExerciseCommand

FinalizeExecuteWithPackageID exercises the FinalizeExecute choice using the provided package ID instead of package name

func (ExecutingMessageV1) GetTemplateID

func (t ExecutingMessageV1) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (ExecutingMessageV1) GetTemplateIDWithPackageID

func (t ExecutingMessageV1) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (ExecutingMessageV1) MarshalHex

func (t ExecutingMessageV1) MarshalHex() (string, error)

MarshalHex encodes ExecutingMessageV1 to hex string (Canton MCMS format)

func (ExecutingMessageV1) MarshalJSON

func (t ExecutingMessageV1) MarshalJSON() ([]byte, error)

func (ExecutingMessageV1) SetInboundPoolCCVs

func (t ExecutingMessageV1) SetInboundPoolCCVs(contractID string, args SetInboundPoolCCVs) *model.ExerciseCommand

SetInboundPoolCCVs exercises the SetInboundPoolCCVs choice on this ExecutingMessageV1 contract This method uses the package name in the template ID

func (ExecutingMessageV1) SetInboundPoolCCVsWithPackageID

func (t ExecutingMessageV1) SetInboundPoolCCVsWithPackageID(contractID string, packageID string, args SetInboundPoolCCVs) *model.ExerciseCommand

SetInboundPoolCCVsWithPackageID exercises the SetInboundPoolCCVs choice using the provided package ID instead of package name

func (*ExecutingMessageV1) UnmarshalHex

func (t *ExecutingMessageV1) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutingMessageV1 from hex string (Canton MCMS format)

func (*ExecutingMessageV1) UnmarshalJSON

func (t *ExecutingMessageV1) UnmarshalJSON(data []byte) error

type ExecutionMode

type ExecutionMode string

ExecutionMode is an enum type

const (
	ExecutionModeExecutionMode_Executor ExecutionMode = "ExecutionMode_Executor"

	ExecutionModeExecutionMode_NoExecutor ExecutionMode = "ExecutionMode_NoExecutor"
)

func (ExecutionMode) GetEnumConstructor

func (e ExecutionMode) GetEnumConstructor() string

func (ExecutionMode) GetEnumTypeID

func (e ExecutionMode) GetEnumTypeID() string

func (ExecutionMode) GetEnumTypeIDWithPackageID

func (e ExecutionMode) GetEnumTypeIDWithPackageID(packageID string) string

GetEnumTypeIDWithPackageID returns the enum type ID using the provided package ID instead of package name

func (ExecutionMode) MarshalHex

func (e ExecutionMode) MarshalHex() (string, error)

MarshalHex encodes ExecutionMode to hex string (Canton MCMS format)

func (ExecutionMode) MarshalJSON

func (e ExecutionMode) MarshalJSON() ([]byte, error)

func (*ExecutionMode) UnmarshalHex

func (e *ExecutionMode) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutionMode from hex string (Canton MCMS format)

func (*ExecutionMode) UnmarshalJSON

func (e *ExecutionMode) UnmarshalJSON(data []byte) error

type ExecutionStateChanged

type ExecutionStateChanged struct {
	CcipOwner types.PARTY                `json:"ccipOwner"`
	CcvOwners []types.PARTY              `json:"ccvOwners"`
	Receiver  types.PARTY                `json:"receiver"`
	Event     ExecutionStateChangedEvent `json:"event"`
}

ExecutionStateChanged is a Template type

func (ExecutionStateChanged) Archive

func (t ExecutionStateChanged) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this ExecutionStateChanged contract This method uses the package name in the template ID

func (ExecutionStateChanged) ArchiveWithPackageID

func (t ExecutionStateChanged) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (ExecutionStateChanged) CreateCommand

func (t ExecutionStateChanged) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (ExecutionStateChanged) CreateCommandWithPackageID

func (t ExecutionStateChanged) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (ExecutionStateChanged) GetTemplateID

func (t ExecutionStateChanged) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (ExecutionStateChanged) GetTemplateIDWithPackageID

func (t ExecutionStateChanged) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (ExecutionStateChanged) MarshalHex

func (t ExecutionStateChanged) MarshalHex() (string, error)

MarshalHex encodes ExecutionStateChanged to hex string (Canton MCMS format)

func (ExecutionStateChanged) MarshalJSON

func (t ExecutionStateChanged) MarshalJSON() ([]byte, error)

func (*ExecutionStateChanged) UnmarshalHex

func (t *ExecutionStateChanged) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutionStateChanged from hex string (Canton MCMS format)

func (*ExecutionStateChanged) UnmarshalJSON

func (t *ExecutionStateChanged) UnmarshalJSON(data []byte) error

type ExecutionStateChangedEvent

type ExecutionStateChangedEvent struct {
	SourceChainSelector types.NUMERIC         `json:"sourceChainSelector"`
	SequenceNumber      types.NUMERIC         `json:"sequenceNumber"`
	MessageId           types.TEXT            `json:"messageId"`
	State               MessageExecutionState `json:"state"`
	ReturnData          types.TEXT            `json:"returnData"`
}

ExecutionStateChangedEvent is a Record type

func (ExecutionStateChangedEvent) MarshalHex

func (t ExecutionStateChangedEvent) MarshalHex() (string, error)

MarshalHex encodes ExecutionStateChangedEvent to hex string (Canton MCMS format)

func (ExecutionStateChangedEvent) MarshalJSON

func (t ExecutionStateChangedEvent) MarshalJSON() ([]byte, error)

func (ExecutionStateChangedEvent) ToMap

func (t ExecutionStateChangedEvent) ToMap() map[string]any

ToMap converts ExecutionStateChangedEvent to a map for DAML arguments

func (*ExecutionStateChangedEvent) UnmarshalHex

func (t *ExecutionStateChangedEvent) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutionStateChangedEvent from hex string (Canton MCMS format)

func (*ExecutionStateChangedEvent) UnmarshalJSON

func (t *ExecutionStateChangedEvent) UnmarshalJSON(data []byte) error

type ExecutorExtraArg

type ExecutorExtraArg struct {
	ExecutorNoExecutor  *types.UNIT          `json:"Executor_NoExecutor,omitempty"`
	ExecutorUseDefault  *ExecutorUseDefault  `json:"Executor_UseDefault,omitempty"`
	ExecutorWithAddress *ExecutorWithAddress `json:"Executor_WithAddress,omitempty"`
}

ExecutorExtraArg is a variant/union type

func (ExecutorExtraArg) GetVariantTag

func (v ExecutorExtraArg) GetVariantTag() string

GetVariantTag implements types.VARIANT interface

func (ExecutorExtraArg) GetVariantValue

func (v ExecutorExtraArg) GetVariantValue() any

GetVariantValue implements types.VARIANT interface

func (ExecutorExtraArg) MarshalHex

func (v ExecutorExtraArg) MarshalHex() (string, error)

MarshalHex encodes ExecutorExtraArg to hex string (Canton MCMS format)

func (ExecutorExtraArg) MarshalJSON

func (v ExecutorExtraArg) MarshalJSON() ([]byte, error)

MarshalJSON implements custom JSON marshaling for ExecutorExtraArg

func (*ExecutorExtraArg) UnmarshalHex

func (v *ExecutorExtraArg) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutorExtraArg from hex string (Canton MCMS format)

func (*ExecutorExtraArg) UnmarshalJSON

func (v *ExecutorExtraArg) UnmarshalJSON(data []byte) error

UnmarshalJSON implements custom JSON unmarshalling for ExecutorExtraArg

type ExecutorFee

type ExecutorFee struct {
	ExecutorInstanceId types.TEXT    `json:"executorInstanceId"`
	ExecutorOwner      types.PARTY   `json:"executorOwner"`
	FeeUSDCents        types.NUMERIC `json:"feeUSDCents"`
}

ExecutorFee is a Record type

func (ExecutorFee) MarshalHex

func (t ExecutorFee) MarshalHex() (string, error)

MarshalHex encodes ExecutorFee to hex string (Canton MCMS format)

func (ExecutorFee) MarshalJSON

func (t ExecutorFee) MarshalJSON() ([]byte, error)

func (ExecutorFee) ToMap

func (t ExecutorFee) ToMap() map[string]any

ToMap converts ExecutorFee to a map for DAML arguments

func (*ExecutorFee) UnmarshalHex

func (t *ExecutorFee) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutorFee from hex string (Canton MCMS format)

func (*ExecutorFee) UnmarshalJSON

func (t *ExecutorFee) UnmarshalJSON(data []byte) error

type ExecutorUseDefault

type ExecutorUseDefault struct {
	ExecutorArgs types.TEXT `json:"executorArgs"`
}

ExecutorUseDefault is a Record type

func (ExecutorUseDefault) MarshalHex

func (t ExecutorUseDefault) MarshalHex() (string, error)

MarshalHex encodes ExecutorUseDefault to hex string (Canton MCMS format)

func (ExecutorUseDefault) MarshalJSON

func (t ExecutorUseDefault) MarshalJSON() ([]byte, error)

func (ExecutorUseDefault) ToMap

func (t ExecutorUseDefault) ToMap() map[string]any

ToMap converts ExecutorUseDefault to a map for DAML arguments

func (*ExecutorUseDefault) UnmarshalHex

func (t *ExecutorUseDefault) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutorUseDefault from hex string (Canton MCMS format)

func (*ExecutorUseDefault) UnmarshalJSON

func (t *ExecutorUseDefault) UnmarshalJSON(data []byte) error

type ExecutorWithAddress

type ExecutorWithAddress struct {
	ExecutorAddress chainlinkapi.RawInstanceAddress `json:"executorAddress"`
	ExecutorArgs    types.TEXT                      `json:"executorArgs"`
}

ExecutorWithAddress is a Record type

func (ExecutorWithAddress) MarshalHex

func (t ExecutorWithAddress) MarshalHex() (string, error)

MarshalHex encodes ExecutorWithAddress to hex string (Canton MCMS format)

func (ExecutorWithAddress) MarshalJSON

func (t ExecutorWithAddress) MarshalJSON() ([]byte, error)

func (ExecutorWithAddress) ToMap

func (t ExecutorWithAddress) ToMap() map[string]any

ToMap converts ExecutorWithAddress to a map for DAML arguments

func (*ExecutorWithAddress) UnmarshalHex

func (t *ExecutorWithAddress) UnmarshalHex(data string) error

UnmarshalHex decodes ExecutorWithAddress from hex string (Canton MCMS format)

func (*ExecutorWithAddress) UnmarshalJSON

func (t *ExecutorWithAddress) UnmarshalJSON(data []byte) error

type ExtraArgs

type ExtraArgs struct {
	V3 *GenericExtraArgsV3 `json:"V3,omitempty"`
}

ExtraArgs is a variant/union type

func (ExtraArgs) GetVariantTag

func (v ExtraArgs) GetVariantTag() string

GetVariantTag implements types.VARIANT interface

func (ExtraArgs) GetVariantValue

func (v ExtraArgs) GetVariantValue() any

GetVariantValue implements types.VARIANT interface

func (ExtraArgs) MarshalHex

func (v ExtraArgs) MarshalHex() (string, error)

MarshalHex encodes ExtraArgs to hex string (Canton MCMS format)

func (ExtraArgs) MarshalJSON

func (v ExtraArgs) MarshalJSON() ([]byte, error)

MarshalJSON implements custom JSON marshaling for ExtraArgs

func (*ExtraArgs) UnmarshalHex

func (v *ExtraArgs) UnmarshalHex(data string) error

UnmarshalHex decodes ExtraArgs from hex string (Canton MCMS format)

func (*ExtraArgs) UnmarshalJSON

func (v *ExtraArgs) UnmarshalJSON(data []byte) error

UnmarshalJSON implements custom JSON unmarshalling for ExtraArgs

type FeeQuoter

type FeeQuoter struct {
	InstanceId                       types.TEXT                                 `json:"instanceId"`
	Owner                            types.PARTY                                `json:"owner"`
	FeeTokens                        types.SET                                  `json:"feeTokens"`
	DestChainConfigs                 map[types.NUMERIC]FeeQuoterDestChainConfig `json:"destChainConfigs"`
	TokenTransferFeeConfigs          map[types.NUMERIC]types.GENMAP             `json:"tokenTransferFeeConfigs"`
	UsdPerUnitGasByDestChainSelector map[types.NUMERIC]TimestampedPrice         `json:"usdPerUnitGasByDestChainSelector"`
	UsdPerToken                      types.GENMAP                               `json:"usdPerToken"`
	LinkTokenInstrumentId            splice_api_token_holding_v1.InstrumentId   `json:"linkTokenInstrumentId"`
	PriceUpdaters                    []types.PARTY                              `json:"priceUpdaters"`
}

FeeQuoter is a Template type

func (FeeQuoter) AddPriceUpdaters

func (t FeeQuoter) AddPriceUpdaters(contractID string, args AddPriceUpdaters) *model.ExerciseCommand

AddPriceUpdaters exercises the AddPriceUpdaters choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) AddPriceUpdatersWithPackageID

func (t FeeQuoter) AddPriceUpdatersWithPackageID(contractID string, packageID string, args AddPriceUpdaters) *model.ExerciseCommand

AddPriceUpdatersWithPackageID exercises the AddPriceUpdaters choice using the provided package ID instead of package name

func (FeeQuoter) ApplyFeeQuoterDestChainConfigUpdates

func (t FeeQuoter) ApplyFeeQuoterDestChainConfigUpdates(contractID string, args ApplyFeeQuoterDestChainConfigUpdates) *model.ExerciseCommand

ApplyFeeQuoterDestChainConfigUpdates exercises the ApplyFeeQuoterDestChainConfigUpdates choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) ApplyFeeQuoterDestChainConfigUpdatesWithPackageID

func (t FeeQuoter) ApplyFeeQuoterDestChainConfigUpdatesWithPackageID(contractID string, packageID string, args ApplyFeeQuoterDestChainConfigUpdates) *model.ExerciseCommand

ApplyFeeQuoterDestChainConfigUpdatesWithPackageID exercises the ApplyFeeQuoterDestChainConfigUpdates choice using the provided package ID instead of package name

func (FeeQuoter) ApplyPriceUpdatersUpdate

func (t FeeQuoter) ApplyPriceUpdatersUpdate(contractID string, args ApplyPriceUpdatersUpdate) *model.ExerciseCommand

ApplyPriceUpdatersUpdate exercises the ApplyPriceUpdatersUpdate choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) ApplyPriceUpdatersUpdateWithPackageID

func (t FeeQuoter) ApplyPriceUpdatersUpdateWithPackageID(contractID string, packageID string, args ApplyPriceUpdatersUpdate) *model.ExerciseCommand

ApplyPriceUpdatersUpdateWithPackageID exercises the ApplyPriceUpdatersUpdate choice using the provided package ID instead of package name

func (FeeQuoter) Archive

func (t FeeQuoter) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this FeeQuoter contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (FeeQuoter) ArchiveWithPackageID

func (t FeeQuoter) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (FeeQuoter) CreateCommand

func (t FeeQuoter) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (FeeQuoter) CreateCommandWithPackageID

func (t FeeQuoter) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (FeeQuoter) Get

func (t FeeQuoter) Get(contractID string, args Get) *model.ExerciseCommand

Get exercises the Get choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) GetDestChainConfig

func (t FeeQuoter) GetDestChainConfig(contractID string, args GetDestChainConfig) *model.ExerciseCommand

GetDestChainConfig exercises the GetDestChainConfig choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) GetDestChainConfigWithPackageID

func (t FeeQuoter) GetDestChainConfigWithPackageID(contractID string, packageID string, args GetDestChainConfig) *model.ExerciseCommand

GetDestChainConfigWithPackageID exercises the GetDestChainConfig choice using the provided package ID instead of package name

func (FeeQuoter) GetDestinationChainGasPrice

func (t FeeQuoter) GetDestinationChainGasPrice(contractID string, args GetDestinationChainGasPrice) *model.ExerciseCommand

GetDestinationChainGasPrice exercises the GetDestinationChainGasPrice choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) GetDestinationChainGasPriceWithPackageID

func (t FeeQuoter) GetDestinationChainGasPriceWithPackageID(contractID string, packageID string, args GetDestinationChainGasPrice) *model.ExerciseCommand

GetDestinationChainGasPriceWithPackageID exercises the GetDestinationChainGasPrice choice using the provided package ID instead of package name

func (FeeQuoter) GetFeeTokens

func (t FeeQuoter) GetFeeTokens(contractID string, args GetFeeTokens) *model.ExerciseCommand

GetFeeTokens exercises the GetFeeTokens choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) GetFeeTokensWithPackageID

func (t FeeQuoter) GetFeeTokensWithPackageID(contractID string, packageID string, args GetFeeTokens) *model.ExerciseCommand

GetFeeTokensWithPackageID exercises the GetFeeTokens choice using the provided package ID instead of package name

func (FeeQuoter) GetTemplateID

func (t FeeQuoter) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (FeeQuoter) GetTemplateIDWithPackageID

func (t FeeQuoter) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (FeeQuoter) GetTokenPrice

func (t FeeQuoter) GetTokenPrice(contractID string, args GetTokenPrice) *model.ExerciseCommand

GetTokenPrice exercises the GetTokenPrice choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) GetTokenPriceWithPackageID

func (t FeeQuoter) GetTokenPriceWithPackageID(contractID string, packageID string, args GetTokenPrice) *model.ExerciseCommand

GetTokenPriceWithPackageID exercises the GetTokenPrice choice using the provided package ID instead of package name

func (FeeQuoter) GetTokenTransferFee

func (t FeeQuoter) GetTokenTransferFee(contractID string, args GetTokenTransferFee) *model.ExerciseCommand

GetTokenTransferFee exercises the GetTokenTransferFee choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) GetTokenTransferFeeWithPackageID

func (t FeeQuoter) GetTokenTransferFeeWithPackageID(contractID string, packageID string, args GetTokenTransferFee) *model.ExerciseCommand

GetTokenTransferFeeWithPackageID exercises the GetTokenTransferFee choice using the provided package ID instead of package name

func (FeeQuoter) GetWithPackageID

func (t FeeQuoter) GetWithPackageID(contractID string, packageID string, args Get) *model.ExerciseCommand

GetWithPackageID exercises the Get choice using the provided package ID instead of package name

func (FeeQuoter) MCMSReceiverEntrypoint

func (t FeeQuoter) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand

MCMSReceiverEntrypoint exercises the MCMSReceiver_Entrypoint choice on this FeeQuoter contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (FeeQuoter) MCMSReceiverEntrypointWithPackageID

func (t FeeQuoter) 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 (FeeQuoter) MarshalHex

func (t FeeQuoter) MarshalHex() (string, error)

MarshalHex encodes FeeQuoter to hex string (Canton MCMS format)

func (FeeQuoter) MarshalJSON

func (t FeeQuoter) MarshalJSON() ([]byte, error)

func (FeeQuoter) QuoteGasForExec

func (t FeeQuoter) QuoteGasForExec(contractID string, args QuoteGasForExec) *model.ExerciseCommand

QuoteGasForExec exercises the QuoteGasForExec choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) QuoteGasForExecWithPackageID

func (t FeeQuoter) QuoteGasForExecWithPackageID(contractID string, packageID string, args QuoteGasForExec) *model.ExerciseCommand

QuoteGasForExecWithPackageID exercises the QuoteGasForExec choice using the provided package ID instead of package name

func (FeeQuoter) RemoveFeeTokens

func (t FeeQuoter) RemoveFeeTokens(contractID string, args RemoveFeeTokens) *model.ExerciseCommand

RemoveFeeTokens exercises the RemoveFeeTokens choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) RemoveFeeTokensWithPackageID

func (t FeeQuoter) RemoveFeeTokensWithPackageID(contractID string, packageID string, args RemoveFeeTokens) *model.ExerciseCommand

RemoveFeeTokensWithPackageID exercises the RemoveFeeTokens choice using the provided package ID instead of package name

func (FeeQuoter) RemovePriceUpdaters

func (t FeeQuoter) RemovePriceUpdaters(contractID string, args RemovePriceUpdaters) *model.ExerciseCommand

RemovePriceUpdaters exercises the RemovePriceUpdaters choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) RemovePriceUpdatersWithPackageID

func (t FeeQuoter) RemovePriceUpdatersWithPackageID(contractID string, packageID string, args RemovePriceUpdaters) *model.ExerciseCommand

RemovePriceUpdatersWithPackageID exercises the RemovePriceUpdaters choice using the provided package ID instead of package name

func (*FeeQuoter) UnmarshalHex

func (t *FeeQuoter) UnmarshalHex(data string) error

UnmarshalHex decodes FeeQuoter from hex string (Canton MCMS format)

func (*FeeQuoter) UnmarshalJSON

func (t *FeeQuoter) UnmarshalJSON(data []byte) error

func (FeeQuoter) UpdatePrices

func (t FeeQuoter) UpdatePrices(contractID string, args UpdatePrices) *model.ExerciseCommand

UpdatePrices exercises the UpdatePrices choice on this FeeQuoter contract This method uses the package name in the template ID

func (FeeQuoter) UpdatePricesWithPackageID

func (t FeeQuoter) UpdatePricesWithPackageID(contractID string, packageID string, args UpdatePrices) *model.ExerciseCommand

UpdatePricesWithPackageID exercises the UpdatePrices choice using the provided package ID instead of package name

type FeeQuoterDestChainConfig

type FeeQuoterDestChainConfig struct {
	IsEnabled                   types.BOOL    `json:"isEnabled"`
	MaxDataBytes                types.INT64   `json:"maxDataBytes"`
	MaxPerMsgGasLimit           types.INT64   `json:"maxPerMsgGasLimit"`
	DestGasOverhead             types.INT64   `json:"destGasOverhead"`
	DestGasPerPayloadByteBase   types.INT64   `json:"destGasPerPayloadByteBase"`
	DefaultTxGasLimit           types.INT64   `json:"defaultTxGasLimit"`
	LinkFeeMultiplierPercent    types.NUMERIC `json:"linkFeeMultiplierPercent"`
	DefaultTokenFeeUSD          types.NUMERIC `json:"defaultTokenFeeUSD"`
	DefaultTokenDestGasOverhead types.INT64   `json:"defaultTokenDestGasOverhead"`
}

FeeQuoterDestChainConfig is a Record type

func (FeeQuoterDestChainConfig) MarshalHex

func (t FeeQuoterDestChainConfig) MarshalHex() (string, error)

MarshalHex encodes FeeQuoterDestChainConfig to hex string (Canton MCMS format)

func (FeeQuoterDestChainConfig) MarshalJSON

func (t FeeQuoterDestChainConfig) MarshalJSON() ([]byte, error)

func (FeeQuoterDestChainConfig) ToMap

func (t FeeQuoterDestChainConfig) ToMap() map[string]any

ToMap converts FeeQuoterDestChainConfig to a map for DAML arguments

func (*FeeQuoterDestChainConfig) UnmarshalHex

func (t *FeeQuoterDestChainConfig) UnmarshalHex(data string) error

UnmarshalHex decodes FeeQuoterDestChainConfig from hex string (Canton MCMS format)

func (*FeeQuoterDestChainConfig) UnmarshalJSON

func (t *FeeQuoterDestChainConfig) UnmarshalJSON(data []byte) error

type FeeQuoterDestChainConfigArgs

type FeeQuoterDestChainConfigArgs struct {
	DestChainSelector types.NUMERIC            `json:"destChainSelector"`
	DestChainConfig   FeeQuoterDestChainConfig `json:"destChainConfig"`
}

FeeQuoterDestChainConfigArgs is a Record type

func (FeeQuoterDestChainConfigArgs) MarshalHex

func (t FeeQuoterDestChainConfigArgs) MarshalHex() (string, error)

MarshalHex encodes FeeQuoterDestChainConfigArgs to hex string (Canton MCMS format)

func (FeeQuoterDestChainConfigArgs) MarshalJSON

func (t FeeQuoterDestChainConfigArgs) MarshalJSON() ([]byte, error)

func (FeeQuoterDestChainConfigArgs) ToMap

func (t FeeQuoterDestChainConfigArgs) ToMap() map[string]any

ToMap converts FeeQuoterDestChainConfigArgs to a map for DAML arguments

func (*FeeQuoterDestChainConfigArgs) UnmarshalHex

func (t *FeeQuoterDestChainConfigArgs) UnmarshalHex(data string) error

UnmarshalHex decodes FeeQuoterDestChainConfigArgs from hex string (Canton MCMS format)

func (*FeeQuoterDestChainConfigArgs) UnmarshalJSON

func (t *FeeQuoterDestChainConfigArgs) UnmarshalJSON(data []byte) error

type FeeTokenAmount

type FeeTokenAmount struct {
	Caller types.PARTY `json:"caller"`
}

FeeTokenAmount is a Record type

func (FeeTokenAmount) MarshalHex

func (t FeeTokenAmount) MarshalHex() (string, error)

MarshalHex encodes FeeTokenAmount to hex string (Canton MCMS format)

func (FeeTokenAmount) MarshalJSON

func (t FeeTokenAmount) MarshalJSON() ([]byte, error)

func (FeeTokenAmount) ToMap

func (t FeeTokenAmount) ToMap() map[string]any

ToMap converts FeeTokenAmount to a map for DAML arguments

func (*FeeTokenAmount) UnmarshalHex

func (t *FeeTokenAmount) UnmarshalHex(data string) error

UnmarshalHex decodes FeeTokenAmount from hex string (Canton MCMS format)

func (*FeeTokenAmount) UnmarshalJSON

func (t *FeeTokenAmount) UnmarshalJSON(data []byte) error

type FeeTokenAmountMCMSParams

type FeeTokenAmountMCMSParams struct {
}

FeeTokenAmountMCMSParams is FeeTokenAmount without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (FeeTokenAmountMCMSParams) MarshalHex

func (t FeeTokenAmountMCMSParams) MarshalHex() (string, error)

MarshalHex encodes FeeTokenAmountMCMSParams to hex string for MCMS operationData.

func (*FeeTokenAmountMCMSParams) UnmarshalHex

func (t *FeeTokenAmountMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes FeeTokenAmountMCMSParams from hex string.

type FinalityConfig

type FinalityConfig struct {
	WaitForFinality *types.UNIT  `json:"WaitForFinality,omitempty"`
	WaitForSafe     *types.UNIT  `json:"WaitForSafe,omitempty"`
	BlockDepth      *types.INT64 `json:"BlockDepth,omitempty"`
}

FinalityConfig is a variant/union type

func (FinalityConfig) GetVariantTag

func (v FinalityConfig) GetVariantTag() string

GetVariantTag implements types.VARIANT interface

func (FinalityConfig) GetVariantValue

func (v FinalityConfig) GetVariantValue() any

GetVariantValue implements types.VARIANT interface

func (FinalityConfig) MarshalHex

func (v FinalityConfig) MarshalHex() (string, error)

MarshalHex encodes FinalityConfig to hex string (Canton MCMS format)

func (FinalityConfig) MarshalJSON

func (v FinalityConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements custom JSON marshaling for FinalityConfig

func (*FinalityConfig) UnmarshalHex

func (v *FinalityConfig) UnmarshalHex(data string) error

UnmarshalHex decodes FinalityConfig from hex string (Canton MCMS format)

func (*FinalityConfig) UnmarshalJSON

func (v *FinalityConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements custom JSON unmarshalling for FinalityConfig

type FinalizeExecute

type FinalizeExecute struct {
	TokenAdminRegistryInstanceId types.TEXT                                `json:"tokenAdminRegistryInstanceId"`
	MaybePoolAddress             *chainlinkapi.RawInstanceAddress          `json:"maybePoolAddress" hex:"optional"`
	MaybeTicketReceiver          *types.PARTY                              `json:"maybeTicketReceiver" hex:"optional"`
	MaybeTokenReceiver           *types.PARTY                              `json:"maybeTokenReceiver" hex:"optional"`
	MaybeInstrumentId            *splice_api_token_holding_v1.InstrumentId `json:"maybeInstrumentId" hex:"optional"`
	MaybeAmount                  *types.TEXT                               `json:"maybeAmount" hex:"optional"`
	ReturnData                   types.TEXT                                `json:"returnData"`
}

FinalizeExecute is a Record type

func (FinalizeExecute) MarshalHex

func (t FinalizeExecute) MarshalHex() (string, error)

MarshalHex encodes FinalizeExecute to hex string (Canton MCMS format)

func (FinalizeExecute) MarshalJSON

func (t FinalizeExecute) MarshalJSON() ([]byte, error)

func (FinalizeExecute) ToMap

func (t FinalizeExecute) ToMap() map[string]any

ToMap converts FinalizeExecute to a map for DAML arguments

func (*FinalizeExecute) UnmarshalHex

func (t *FinalizeExecute) UnmarshalHex(data string) error

UnmarshalHex decodes FinalizeExecute from hex string (Canton MCMS format)

func (*FinalizeExecute) UnmarshalJSON

func (t *FinalizeExecute) UnmarshalJSON(data []byte) error

type FinalizeExecuteResult

type FinalizeExecuteResult struct {
	TokenReceiveTicket    *types.CONTRACT_ID `json:"tokenReceiveTicket" hex:"optional"`
	ExecutionStateChanged types.CONTRACT_ID  `json:"executionStateChanged"`
}

FinalizeExecuteResult is a Record type

func (FinalizeExecuteResult) MarshalHex

func (t FinalizeExecuteResult) MarshalHex() (string, error)

MarshalHex encodes FinalizeExecuteResult to hex string (Canton MCMS format)

func (FinalizeExecuteResult) MarshalJSON

func (t FinalizeExecuteResult) MarshalJSON() ([]byte, error)

func (FinalizeExecuteResult) ToMap

func (t FinalizeExecuteResult) ToMap() map[string]any

ToMap converts FinalizeExecuteResult to a map for DAML arguments

func (*FinalizeExecuteResult) UnmarshalHex

func (t *FinalizeExecuteResult) UnmarshalHex(data string) error

UnmarshalHex decodes FinalizeExecuteResult from hex string (Canton MCMS format)

func (*FinalizeExecuteResult) UnmarshalJSON

func (t *FinalizeExecuteResult) UnmarshalJSON(data []byte) error

type FinalizeFee

type FinalizeFee struct {
	FeeTokenPrice             types.NUMERIC `json:"feeTokenPrice"`
	PremiumMultiplier         types.NUMERIC `json:"premiumMultiplier"`
	TotalExecutionGasLimit    types.INT64   `json:"totalExecutionGasLimit"`
	ExecutorDestGasLimit      types.INT64   `json:"executorDestGasLimit"`
	ExecutorDestBytesOverhead types.INT64   `json:"executorDestBytesOverhead"`
	ExecutionCostUSDCents     types.NUMERIC `json:"executionCostUSDCents"`
}

FinalizeFee is a Record type

func (FinalizeFee) MarshalHex

func (t FinalizeFee) MarshalHex() (string, error)

MarshalHex encodes FinalizeFee to hex string (Canton MCMS format)

func (FinalizeFee) MarshalJSON

func (t FinalizeFee) MarshalJSON() ([]byte, error)

func (FinalizeFee) ToMap

func (t FinalizeFee) ToMap() map[string]any

ToMap converts FinalizeFee to a map for DAML arguments

func (*FinalizeFee) UnmarshalHex

func (t *FinalizeFee) UnmarshalHex(data string) error

UnmarshalHex decodes FinalizeFee from hex string (Canton MCMS format)

func (*FinalizeFee) UnmarshalJSON

func (t *FinalizeFee) UnmarshalJSON(data []byte) error

type FinalizeSend

type FinalizeSend struct {
	MessageSender        types.PARTY   `json:"messageSender"`
	MessageSentObservers []types.PARTY `json:"messageSentObservers"`
	VerifierBlobs        []types.TEXT  `json:"verifierBlobs"`
	Receipts             []Receipt     `json:"receipts"`
}

FinalizeSend is a Record type

func (FinalizeSend) MarshalHex

func (t FinalizeSend) MarshalHex() (string, error)

MarshalHex encodes FinalizeSend to hex string (Canton MCMS format)

func (FinalizeSend) MarshalJSON

func (t FinalizeSend) MarshalJSON() ([]byte, error)

func (FinalizeSend) ToMap

func (t FinalizeSend) ToMap() map[string]any

ToMap converts FinalizeSend to a map for DAML arguments

func (*FinalizeSend) UnmarshalHex

func (t *FinalizeSend) UnmarshalHex(data string) error

UnmarshalHex decodes FinalizeSend from hex string (Canton MCMS format)

func (*FinalizeSend) UnmarshalJSON

func (t *FinalizeSend) UnmarshalJSON(data []byte) error

type FinalizeSendResult

type FinalizeSendResult struct {
	CcipMessageSent types.CONTRACT_ID `json:"ccipMessageSent"`
}

FinalizeSendResult is a Record type

func (FinalizeSendResult) MarshalHex

func (t FinalizeSendResult) MarshalHex() (string, error)

MarshalHex encodes FinalizeSendResult to hex string (Canton MCMS format)

func (FinalizeSendResult) MarshalJSON

func (t FinalizeSendResult) MarshalJSON() ([]byte, error)

func (FinalizeSendResult) ToMap

func (t FinalizeSendResult) ToMap() map[string]any

ToMap converts FinalizeSendResult to a map for DAML arguments

func (*FinalizeSendResult) UnmarshalHex

func (t *FinalizeSendResult) UnmarshalHex(data string) error

UnmarshalHex decodes FinalizeSendResult from hex string (Canton MCMS format)

func (*FinalizeSendResult) UnmarshalJSON

func (t *FinalizeSendResult) UnmarshalJSON(data []byte) error

type GasPriceUpdate

type GasPriceUpdate struct {
	DestChainSelector types.NUMERIC `json:"destChainSelector"`
	UsdPerUnitGas     types.NUMERIC `json:"usdPerUnitGas"`
}

GasPriceUpdate is a Record type

func (GasPriceUpdate) MarshalHex

func (t GasPriceUpdate) MarshalHex() (string, error)

MarshalHex encodes GasPriceUpdate to hex string (Canton MCMS format)

func (GasPriceUpdate) MarshalJSON

func (t GasPriceUpdate) MarshalJSON() ([]byte, error)

func (GasPriceUpdate) ToMap

func (t GasPriceUpdate) ToMap() map[string]any

ToMap converts GasPriceUpdate to a map for DAML arguments

func (*GasPriceUpdate) UnmarshalHex

func (t *GasPriceUpdate) UnmarshalHex(data string) error

UnmarshalHex decodes GasPriceUpdate from hex string (Canton MCMS format)

func (*GasPriceUpdate) UnmarshalJSON

func (t *GasPriceUpdate) UnmarshalJSON(data []byte) error

type GenericExtraArgsV3

type GenericExtraArgsV3 struct {
	GasLimit      types.INT64      `json:"gasLimit"`
	Ccvs          []CCVExtraArg    `json:"ccvs"`
	Executor      ExecutorExtraArg `json:"executor"`
	TokenReceiver types.TEXT       `json:"tokenReceiver"`
	TokenArgs     types.TEXT       `json:"tokenArgs"`
}

GenericExtraArgsV3 is a Record type

func (GenericExtraArgsV3) MarshalHex

func (t GenericExtraArgsV3) MarshalHex() (string, error)

MarshalHex encodes GenericExtraArgsV3 to hex string (Canton MCMS format)

func (GenericExtraArgsV3) MarshalJSON

func (t GenericExtraArgsV3) MarshalJSON() ([]byte, error)

func (GenericExtraArgsV3) ToMap

func (t GenericExtraArgsV3) ToMap() map[string]any

ToMap converts GenericExtraArgsV3 to a map for DAML arguments

func (*GenericExtraArgsV3) UnmarshalHex

func (t *GenericExtraArgsV3) UnmarshalHex(data string) error

UnmarshalHex decodes GenericExtraArgsV3 from hex string (Canton MCMS format)

func (*GenericExtraArgsV3) UnmarshalJSON

func (t *GenericExtraArgsV3) UnmarshalJSON(data []byte) error

type Get

type Get struct {
	Caller types.PARTY `json:"caller"`
}

Get is a Record type

func (Get) MarshalHex

func (t Get) MarshalHex() (string, error)

MarshalHex encodes Get to hex string (Canton MCMS format)

func (Get) MarshalJSON

func (t Get) MarshalJSON() ([]byte, error)

func (Get) ToMap

func (t Get) ToMap() map[string]any

ToMap converts Get to a map for DAML arguments

func (*Get) UnmarshalHex

func (t *Get) UnmarshalHex(data string) error

UnmarshalHex decodes Get from hex string (Canton MCMS format)

func (*Get) UnmarshalJSON

func (t *Get) UnmarshalJSON(data []byte) error

type GetCursedSubjects

type GetCursedSubjects struct {
	Caller types.PARTY `json:"caller"`
}

GetCursedSubjects is a Record type

func (GetCursedSubjects) MarshalHex

func (t GetCursedSubjects) MarshalHex() (string, error)

MarshalHex encodes GetCursedSubjects to hex string (Canton MCMS format)

func (GetCursedSubjects) MarshalJSON

func (t GetCursedSubjects) MarshalJSON() ([]byte, error)

func (GetCursedSubjects) ToMap

func (t GetCursedSubjects) ToMap() map[string]any

ToMap converts GetCursedSubjects to a map for DAML arguments

func (*GetCursedSubjects) UnmarshalHex

func (t *GetCursedSubjects) UnmarshalHex(data string) error

UnmarshalHex decodes GetCursedSubjects from hex string (Canton MCMS format)

func (*GetCursedSubjects) UnmarshalJSON

func (t *GetCursedSubjects) UnmarshalJSON(data []byte) error

type GetCursedSubjectsMCMSParams

type GetCursedSubjectsMCMSParams struct {
}

GetCursedSubjectsMCMSParams is GetCursedSubjects without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetCursedSubjectsMCMSParams) MarshalHex

func (t GetCursedSubjectsMCMSParams) MarshalHex() (string, error)

MarshalHex encodes GetCursedSubjectsMCMSParams to hex string for MCMS operationData.

func (*GetCursedSubjectsMCMSParams) UnmarshalHex

func (t *GetCursedSubjectsMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetCursedSubjectsMCMSParams from hex string.

type GetDestChainConfig

type GetDestChainConfig struct {
	DestChainSelector types.NUMERIC `json:"destChainSelector"`
	Caller            types.PARTY   `json:"caller"`
}

GetDestChainConfig is a Record type

func (GetDestChainConfig) MarshalHex

func (t GetDestChainConfig) MarshalHex() (string, error)

MarshalHex encodes GetDestChainConfig to hex string (Canton MCMS format)

func (GetDestChainConfig) MarshalJSON

func (t GetDestChainConfig) MarshalJSON() ([]byte, error)

func (GetDestChainConfig) ToMap

func (t GetDestChainConfig) ToMap() map[string]any

ToMap converts GetDestChainConfig to a map for DAML arguments

func (*GetDestChainConfig) UnmarshalHex

func (t *GetDestChainConfig) UnmarshalHex(data string) error

UnmarshalHex decodes GetDestChainConfig from hex string (Canton MCMS format)

func (*GetDestChainConfig) UnmarshalJSON

func (t *GetDestChainConfig) UnmarshalJSON(data []byte) error

type GetDestChainConfigMCMSParams

type GetDestChainConfigMCMSParams struct {
	DestChainSelector types.NUMERIC `json:"destChainSelector"`
}

GetDestChainConfigMCMSParams is GetDestChainConfig without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetDestChainConfigMCMSParams) MarshalHex

func (t GetDestChainConfigMCMSParams) MarshalHex() (string, error)

MarshalHex encodes GetDestChainConfigMCMSParams to hex string for MCMS operationData.

func (*GetDestChainConfigMCMSParams) UnmarshalHex

func (t *GetDestChainConfigMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetDestChainConfigMCMSParams from hex string.

type GetDestinationChainGasPrice

type GetDestinationChainGasPrice struct {
	DestChainSelector types.NUMERIC `json:"destChainSelector"`
	Caller            types.PARTY   `json:"caller"`
}

GetDestinationChainGasPrice is a Record type

func (GetDestinationChainGasPrice) MarshalHex

func (t GetDestinationChainGasPrice) MarshalHex() (string, error)

MarshalHex encodes GetDestinationChainGasPrice to hex string (Canton MCMS format)

func (GetDestinationChainGasPrice) MarshalJSON

func (t GetDestinationChainGasPrice) MarshalJSON() ([]byte, error)

func (GetDestinationChainGasPrice) ToMap

func (t GetDestinationChainGasPrice) ToMap() map[string]any

ToMap converts GetDestinationChainGasPrice to a map for DAML arguments

func (*GetDestinationChainGasPrice) UnmarshalHex

func (t *GetDestinationChainGasPrice) UnmarshalHex(data string) error

UnmarshalHex decodes GetDestinationChainGasPrice from hex string (Canton MCMS format)

func (*GetDestinationChainGasPrice) UnmarshalJSON

func (t *GetDestinationChainGasPrice) UnmarshalJSON(data []byte) error

type GetDestinationChainGasPriceMCMSParams

type GetDestinationChainGasPriceMCMSParams struct {
	DestChainSelector types.NUMERIC `json:"destChainSelector"`
}

GetDestinationChainGasPriceMCMSParams is GetDestinationChainGasPrice without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetDestinationChainGasPriceMCMSParams) MarshalHex

MarshalHex encodes GetDestinationChainGasPriceMCMSParams to hex string for MCMS operationData.

func (*GetDestinationChainGasPriceMCMSParams) UnmarshalHex

func (t *GetDestinationChainGasPriceMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetDestinationChainGasPriceMCMSParams from hex string.

type GetFeeTokens

type GetFeeTokens struct {
	Caller types.PARTY `json:"caller"`
}

GetFeeTokens is a Record type

func (GetFeeTokens) MarshalHex

func (t GetFeeTokens) MarshalHex() (string, error)

MarshalHex encodes GetFeeTokens to hex string (Canton MCMS format)

func (GetFeeTokens) MarshalJSON

func (t GetFeeTokens) MarshalJSON() ([]byte, error)

func (GetFeeTokens) ToMap

func (t GetFeeTokens) ToMap() map[string]any

ToMap converts GetFeeTokens to a map for DAML arguments

func (*GetFeeTokens) UnmarshalHex

func (t *GetFeeTokens) UnmarshalHex(data string) error

UnmarshalHex decodes GetFeeTokens from hex string (Canton MCMS format)

func (*GetFeeTokens) UnmarshalJSON

func (t *GetFeeTokens) UnmarshalJSON(data []byte) error

type GetFeeTokensMCMSParams

type GetFeeTokensMCMSParams struct {
}

GetFeeTokensMCMSParams is GetFeeTokens without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetFeeTokensMCMSParams) MarshalHex

func (t GetFeeTokensMCMSParams) MarshalHex() (string, error)

MarshalHex encodes GetFeeTokensMCMSParams to hex string for MCMS operationData.

func (*GetFeeTokensMCMSParams) UnmarshalHex

func (t *GetFeeTokensMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetFeeTokensMCMSParams from hex string.

type GetMCMSParams

type GetMCMSParams struct {
}

GetMCMSParams is Get without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetMCMSParams) MarshalHex

func (t GetMCMSParams) MarshalHex() (string, error)

MarshalHex encodes GetMCMSParams to hex string for MCMS operationData.

func (*GetMCMSParams) UnmarshalHex

func (t *GetMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetMCMSParams from hex string.

type GetSourceChainConfig

type GetSourceChainConfig struct {
	SourceChainSelector types.NUMERIC `json:"sourceChainSelector"`
	Caller              types.PARTY   `json:"caller"`
}

GetSourceChainConfig is a Record type

func (GetSourceChainConfig) MarshalHex

func (t GetSourceChainConfig) MarshalHex() (string, error)

MarshalHex encodes GetSourceChainConfig to hex string (Canton MCMS format)

func (GetSourceChainConfig) MarshalJSON

func (t GetSourceChainConfig) MarshalJSON() ([]byte, error)

func (GetSourceChainConfig) ToMap

func (t GetSourceChainConfig) ToMap() map[string]any

ToMap converts GetSourceChainConfig to a map for DAML arguments

func (*GetSourceChainConfig) UnmarshalHex

func (t *GetSourceChainConfig) UnmarshalHex(data string) error

UnmarshalHex decodes GetSourceChainConfig from hex string (Canton MCMS format)

func (*GetSourceChainConfig) UnmarshalJSON

func (t *GetSourceChainConfig) UnmarshalJSON(data []byte) error

type GetSourceChainConfigMCMSParams

type GetSourceChainConfigMCMSParams struct {
	SourceChainSelector types.NUMERIC `json:"sourceChainSelector"`
}

GetSourceChainConfigMCMSParams is GetSourceChainConfig without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetSourceChainConfigMCMSParams) MarshalHex

func (t GetSourceChainConfigMCMSParams) MarshalHex() (string, error)

MarshalHex encodes GetSourceChainConfigMCMSParams to hex string for MCMS operationData.

func (*GetSourceChainConfigMCMSParams) UnmarshalHex

func (t *GetSourceChainConfigMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetSourceChainConfigMCMSParams from hex string.

type GetTokenConfigByCid

type GetTokenConfigByCid struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	Caller         types.PARTY                              `json:"caller"`
}

GetTokenConfigByCid is a Record type

func (GetTokenConfigByCid) MarshalHex

func (t GetTokenConfigByCid) MarshalHex() (string, error)

MarshalHex encodes GetTokenConfigByCid to hex string (Canton MCMS format)

func (GetTokenConfigByCid) MarshalJSON

func (t GetTokenConfigByCid) MarshalJSON() ([]byte, error)

func (GetTokenConfigByCid) ToMap

func (t GetTokenConfigByCid) ToMap() map[string]any

ToMap converts GetTokenConfigByCid to a map for DAML arguments

func (*GetTokenConfigByCid) UnmarshalHex

func (t *GetTokenConfigByCid) UnmarshalHex(data string) error

UnmarshalHex decodes GetTokenConfigByCid from hex string (Canton MCMS format)

func (*GetTokenConfigByCid) UnmarshalJSON

func (t *GetTokenConfigByCid) UnmarshalJSON(data []byte) error

type GetTokenConfigByCidMCMSParams

type GetTokenConfigByCidMCMSParams struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
}

GetTokenConfigByCidMCMSParams is GetTokenConfigByCid without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetTokenConfigByCidMCMSParams) MarshalHex

func (t GetTokenConfigByCidMCMSParams) MarshalHex() (string, error)

MarshalHex encodes GetTokenConfigByCidMCMSParams to hex string for MCMS operationData.

func (*GetTokenConfigByCidMCMSParams) UnmarshalHex

func (t *GetTokenConfigByCidMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetTokenConfigByCidMCMSParams from hex string.

type GetTokenPrice

type GetTokenPrice struct {
	InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	Caller       types.PARTY                              `json:"caller"`
}

GetTokenPrice is a Record type

func (GetTokenPrice) MarshalHex

func (t GetTokenPrice) MarshalHex() (string, error)

MarshalHex encodes GetTokenPrice to hex string (Canton MCMS format)

func (GetTokenPrice) MarshalJSON

func (t GetTokenPrice) MarshalJSON() ([]byte, error)

func (GetTokenPrice) ToMap

func (t GetTokenPrice) ToMap() map[string]any

ToMap converts GetTokenPrice to a map for DAML arguments

func (*GetTokenPrice) UnmarshalHex

func (t *GetTokenPrice) UnmarshalHex(data string) error

UnmarshalHex decodes GetTokenPrice from hex string (Canton MCMS format)

func (*GetTokenPrice) UnmarshalJSON

func (t *GetTokenPrice) UnmarshalJSON(data []byte) error

type GetTokenPriceMCMSParams

type GetTokenPriceMCMSParams struct {
	InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
}

GetTokenPriceMCMSParams is GetTokenPrice without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetTokenPriceMCMSParams) MarshalHex

func (t GetTokenPriceMCMSParams) MarshalHex() (string, error)

MarshalHex encodes GetTokenPriceMCMSParams to hex string for MCMS operationData.

func (*GetTokenPriceMCMSParams) UnmarshalHex

func (t *GetTokenPriceMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetTokenPriceMCMSParams from hex string.

type GetTokenTransferFee

type GetTokenTransferFee struct {
	DestChainSelector types.NUMERIC                            `json:"destChainSelector"`
	Token             splice_api_token_holding_v1.InstrumentId `json:"token"`
	Caller            types.PARTY                              `json:"caller"`
}

GetTokenTransferFee is a Record type

func (GetTokenTransferFee) MarshalHex

func (t GetTokenTransferFee) MarshalHex() (string, error)

MarshalHex encodes GetTokenTransferFee to hex string (Canton MCMS format)

func (GetTokenTransferFee) MarshalJSON

func (t GetTokenTransferFee) MarshalJSON() ([]byte, error)

func (GetTokenTransferFee) ToMap

func (t GetTokenTransferFee) ToMap() map[string]any

ToMap converts GetTokenTransferFee to a map for DAML arguments

func (*GetTokenTransferFee) UnmarshalHex

func (t *GetTokenTransferFee) UnmarshalHex(data string) error

UnmarshalHex decodes GetTokenTransferFee from hex string (Canton MCMS format)

func (*GetTokenTransferFee) UnmarshalJSON

func (t *GetTokenTransferFee) UnmarshalJSON(data []byte) error

type GetTokenTransferFeeMCMSParams

type GetTokenTransferFeeMCMSParams struct {
	DestChainSelector types.NUMERIC                            `json:"destChainSelector"`
	Token             splice_api_token_holding_v1.InstrumentId `json:"token"`
}

GetTokenTransferFeeMCMSParams is GetTokenTransferFee without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (GetTokenTransferFeeMCMSParams) MarshalHex

func (t GetTokenTransferFeeMCMSParams) MarshalHex() (string, error)

MarshalHex encodes GetTokenTransferFeeMCMSParams to hex string for MCMS operationData.

func (*GetTokenTransferFeeMCMSParams) UnmarshalHex

func (t *GetTokenTransferFeeMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes GetTokenTransferFeeMCMSParams from hex string.

type GlobalConfig

type GlobalConfig struct {
	InstanceId         types.TEXT                          `json:"instanceId"`
	CcipOwner          types.PARTY                         `json:"ccipOwner"`
	ChainSelector      types.NUMERIC                       `json:"chainSelector"`
	DestChainConfigs   map[types.NUMERIC]DestChainConfig   `json:"destChainConfigs"`
	SourceChainConfigs map[types.NUMERIC]SourceChainConfig `json:"sourceChainConfigs"`
}

GlobalConfig is a Template type

func (GlobalConfig) ApplyDestChainConfigUpdates

func (t GlobalConfig) ApplyDestChainConfigUpdates(contractID string, args ApplyDestChainConfigUpdates) *model.ExerciseCommand

ApplyDestChainConfigUpdates exercises the ApplyDestChainConfigUpdates choice on this GlobalConfig contract This method uses the package name in the template ID

func (GlobalConfig) ApplyDestChainConfigUpdatesWithPackageID

func (t GlobalConfig) ApplyDestChainConfigUpdatesWithPackageID(contractID string, packageID string, args ApplyDestChainConfigUpdates) *model.ExerciseCommand

ApplyDestChainConfigUpdatesWithPackageID exercises the ApplyDestChainConfigUpdates choice using the provided package ID instead of package name

func (GlobalConfig) ApplySourceChainConfigUpdates

func (t GlobalConfig) ApplySourceChainConfigUpdates(contractID string, args ApplySourceChainConfigUpdates) *model.ExerciseCommand

ApplySourceChainConfigUpdates exercises the ApplySourceChainConfigUpdates choice on this GlobalConfig contract This method uses the package name in the template ID

func (GlobalConfig) ApplySourceChainConfigUpdatesWithPackageID

func (t GlobalConfig) ApplySourceChainConfigUpdatesWithPackageID(contractID string, packageID string, args ApplySourceChainConfigUpdates) *model.ExerciseCommand

ApplySourceChainConfigUpdatesWithPackageID exercises the ApplySourceChainConfigUpdates choice using the provided package ID instead of package name

func (GlobalConfig) Archive

func (t GlobalConfig) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this GlobalConfig contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (GlobalConfig) ArchiveWithPackageID

func (t GlobalConfig) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (GlobalConfig) CreateCommand

func (t GlobalConfig) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (GlobalConfig) CreateCommandWithPackageID

func (t GlobalConfig) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (GlobalConfig) GetDestChainConfig

func (t GlobalConfig) GetDestChainConfig(contractID string, args GetDestChainConfig) *model.ExerciseCommand

GetDestChainConfig exercises the GetDestChainConfig choice on this GlobalConfig contract This method uses the package name in the template ID

func (GlobalConfig) GetDestChainConfigWithPackageID

func (t GlobalConfig) GetDestChainConfigWithPackageID(contractID string, packageID string, args GetDestChainConfig) *model.ExerciseCommand

GetDestChainConfigWithPackageID exercises the GetDestChainConfig choice using the provided package ID instead of package name

func (GlobalConfig) GetSourceChainConfig

func (t GlobalConfig) GetSourceChainConfig(contractID string, args GetSourceChainConfig) *model.ExerciseCommand

GetSourceChainConfig exercises the GetSourceChainConfig choice on this GlobalConfig contract This method uses the package name in the template ID

func (GlobalConfig) GetSourceChainConfigWithPackageID

func (t GlobalConfig) GetSourceChainConfigWithPackageID(contractID string, packageID string, args GetSourceChainConfig) *model.ExerciseCommand

GetSourceChainConfigWithPackageID exercises the GetSourceChainConfig choice using the provided package ID instead of package name

func (GlobalConfig) GetTemplateID

func (t GlobalConfig) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (GlobalConfig) GetTemplateIDWithPackageID

func (t GlobalConfig) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (GlobalConfig) MCMSReceiverEntrypoint

func (t GlobalConfig) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand

MCMSReceiverEntrypoint exercises the MCMSReceiver_Entrypoint choice on this GlobalConfig contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (GlobalConfig) MCMSReceiverEntrypointWithPackageID

func (t GlobalConfig) 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 (GlobalConfig) MarshalHex

func (t GlobalConfig) MarshalHex() (string, error)

MarshalHex encodes GlobalConfig to hex string (Canton MCMS format)

func (GlobalConfig) MarshalJSON

func (t GlobalConfig) MarshalJSON() ([]byte, error)

func (*GlobalConfig) UnmarshalHex

func (t *GlobalConfig) UnmarshalHex(data string) error

UnmarshalHex decodes GlobalConfig from hex string (Canton MCMS format)

func (*GlobalConfig) UnmarshalJSON

func (t *GlobalConfig) UnmarshalJSON(data []byte) error

type InboundPoolVerification

type InboundPoolVerification struct {
	PoolAddress chainlinkapi.RawInstanceAddress   `json:"poolAddress"`
	PoolCCVs    []chainlinkapi.RawInstanceAddress `json:"poolCCVs"`
}

InboundPoolVerification is a Record type

func (InboundPoolVerification) MarshalHex

func (t InboundPoolVerification) MarshalHex() (string, error)

MarshalHex encodes InboundPoolVerification to hex string (Canton MCMS format)

func (InboundPoolVerification) MarshalJSON

func (t InboundPoolVerification) MarshalJSON() ([]byte, error)

func (InboundPoolVerification) ToMap

func (t InboundPoolVerification) ToMap() map[string]any

ToMap converts InboundPoolVerification to a map for DAML arguments

func (*InboundPoolVerification) UnmarshalHex

func (t *InboundPoolVerification) UnmarshalHex(data string) error

UnmarshalHex decodes InboundPoolVerification from hex string (Canton MCMS format)

func (*InboundPoolVerification) UnmarshalJSON

func (t *InboundPoolVerification) UnmarshalJSON(data []byte) error

type IsAdministrator

type IsAdministrator struct {
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	TokenConfigCid *types.CONTRACT_ID                       `json:"tokenConfigCid" hex:"optional"`
	Administrator  types.PARTY                              `json:"administrator"`
	Caller         types.PARTY                              `json:"caller"`
}

IsAdministrator is a Record type

func (IsAdministrator) MarshalHex

func (t IsAdministrator) MarshalHex() (string, error)

MarshalHex encodes IsAdministrator to hex string (Canton MCMS format)

func (IsAdministrator) MarshalJSON

func (t IsAdministrator) MarshalJSON() ([]byte, error)

func (IsAdministrator) ToMap

func (t IsAdministrator) ToMap() map[string]any

ToMap converts IsAdministrator to a map for DAML arguments

func (*IsAdministrator) UnmarshalHex

func (t *IsAdministrator) UnmarshalHex(data string) error

UnmarshalHex decodes IsAdministrator from hex string (Canton MCMS format)

func (*IsAdministrator) UnmarshalJSON

func (t *IsAdministrator) UnmarshalJSON(data []byte) error

type IsAdministratorMCMSParams

type IsAdministratorMCMSParams struct {
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	TokenConfigCid *types.CONTRACT_ID                       `json:"tokenConfigCid" hex:"optional"`
	Administrator  types.PARTY                              `json:"administrator"`
}

IsAdministratorMCMSParams is IsAdministrator without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (IsAdministratorMCMSParams) MarshalHex

func (t IsAdministratorMCMSParams) MarshalHex() (string, error)

MarshalHex encodes IsAdministratorMCMSParams to hex string for MCMS operationData.

func (*IsAdministratorMCMSParams) UnmarshalHex

func (t *IsAdministratorMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes IsAdministratorMCMSParams from hex string.

type IsCursed

type IsCursed struct {
	Caller types.PARTY `json:"caller"`
}

IsCursed is a Record type

func (IsCursed) MarshalHex

func (t IsCursed) MarshalHex() (string, error)

MarshalHex encodes IsCursed to hex string (Canton MCMS format)

func (IsCursed) MarshalJSON

func (t IsCursed) MarshalJSON() ([]byte, error)

func (IsCursed) ToMap

func (t IsCursed) ToMap() map[string]any

ToMap converts IsCursed to a map for DAML arguments

func (*IsCursed) UnmarshalHex

func (t *IsCursed) UnmarshalHex(data string) error

UnmarshalHex decodes IsCursed from hex string (Canton MCMS format)

func (*IsCursed) UnmarshalJSON

func (t *IsCursed) UnmarshalJSON(data []byte) error

type IsCursedForChain

type IsCursedForChain struct {
	Caller        types.PARTY   `json:"caller"`
	ChainSelector types.NUMERIC `json:"chainSelector"`
}

IsCursedForChain is a Record type

func (IsCursedForChain) MarshalHex

func (t IsCursedForChain) MarshalHex() (string, error)

MarshalHex encodes IsCursedForChain to hex string (Canton MCMS format)

func (IsCursedForChain) MarshalJSON

func (t IsCursedForChain) MarshalJSON() ([]byte, error)

func (IsCursedForChain) ToMap

func (t IsCursedForChain) ToMap() map[string]any

ToMap converts IsCursedForChain to a map for DAML arguments

func (*IsCursedForChain) UnmarshalHex

func (t *IsCursedForChain) UnmarshalHex(data string) error

UnmarshalHex decodes IsCursedForChain from hex string (Canton MCMS format)

func (*IsCursedForChain) UnmarshalJSON

func (t *IsCursedForChain) UnmarshalJSON(data []byte) error

type IsCursedForChainMCMSParams

type IsCursedForChainMCMSParams struct {
	ChainSelector types.NUMERIC `json:"chainSelector"`
}

IsCursedForChainMCMSParams is IsCursedForChain without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (IsCursedForChainMCMSParams) MarshalHex

func (t IsCursedForChainMCMSParams) MarshalHex() (string, error)

MarshalHex encodes IsCursedForChainMCMSParams to hex string for MCMS operationData.

func (*IsCursedForChainMCMSParams) UnmarshalHex

func (t *IsCursedForChainMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes IsCursedForChainMCMSParams from hex string.

type IsCursedMCMSParams

type IsCursedMCMSParams struct {
}

IsCursedMCMSParams is IsCursed without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (IsCursedMCMSParams) MarshalHex

func (t IsCursedMCMSParams) MarshalHex() (string, error)

MarshalHex encodes IsCursedMCMSParams to hex string for MCMS operationData.

func (*IsCursedMCMSParams) UnmarshalHex

func (t *IsCursedMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes IsCursedMCMSParams from hex string.

type IssuerType

type IssuerType string

IssuerType is an enum type

const (
	IssuerTypeIssuerType_CCV IssuerType = "IssuerType_CCV"

	IssuerTypeIssuerType_Pool IssuerType = "IssuerType_Pool"

	IssuerTypeIssuerType_Executor IssuerType = "IssuerType_Executor"

	IssuerTypeIssuerType_Network IssuerType = "IssuerType_Network"
)

func (IssuerType) GetEnumConstructor

func (e IssuerType) GetEnumConstructor() string

func (IssuerType) GetEnumTypeID

func (e IssuerType) GetEnumTypeID() string

func (IssuerType) GetEnumTypeIDWithPackageID

func (e IssuerType) GetEnumTypeIDWithPackageID(packageID string) string

GetEnumTypeIDWithPackageID returns the enum type ID using the provided package ID instead of package name

func (IssuerType) MarshalHex

func (e IssuerType) MarshalHex() (string, error)

MarshalHex encodes IssuerType to hex string (Canton MCMS format)

func (IssuerType) MarshalJSON

func (e IssuerType) MarshalJSON() ([]byte, error)

func (*IssuerType) UnmarshalHex

func (e *IssuerType) UnmarshalHex(data string) error

UnmarshalHex decodes IssuerType from hex string (Canton MCMS format)

func (*IssuerType) UnmarshalJSON

func (e *IssuerType) UnmarshalJSON(data []byte) error

type LocalAmountConversionResult

type LocalAmountConversionResult struct {
	LocalAmount        types.NUMERIC `json:"localAmount"`
	TruncatedRemainder types.TEXT    `json:"truncatedRemainder"`
	WasTruncated       types.BOOL    `json:"wasTruncated"`
}

LocalAmountConversionResult is a Record type

func (LocalAmountConversionResult) MarshalHex

func (t LocalAmountConversionResult) MarshalHex() (string, error)

MarshalHex encodes LocalAmountConversionResult to hex string (Canton MCMS format)

func (LocalAmountConversionResult) MarshalJSON

func (t LocalAmountConversionResult) MarshalJSON() ([]byte, error)

func (LocalAmountConversionResult) ToMap

func (t LocalAmountConversionResult) ToMap() map[string]any

ToMap converts LocalAmountConversionResult to a map for DAML arguments

func (*LocalAmountConversionResult) UnmarshalHex

func (t *LocalAmountConversionResult) UnmarshalHex(data string) error

UnmarshalHex decodes LocalAmountConversionResult from hex string (Canton MCMS format)

func (*LocalAmountConversionResult) UnmarshalJSON

func (t *LocalAmountConversionResult) UnmarshalJSON(data []byte) error

type MCMSEncoder

type MCMSEncoder interface {
	AcceptAdminRole(args AcceptAdminRole) (*bind.EncodedChoice, error)
	AcceptAdminRoleMCMSParams(args AcceptAdminRoleMCMSParams) (*bind.EncodedChoice, error)
	AddCCVFee(args AddCCVFee) (*bind.EncodedChoice, error)
	AddCCVFeeMCMSParams(args AddCCVFeeMCMSParams) (*bind.EncodedChoice, error)
	AddCCVVerification(args AddCCVVerification) (*bind.EncodedChoice, error)
	AddCCVVerificationMCMSParams(args AddCCVVerificationMCMSParams) (*bind.EncodedChoice, error)
	AddCustomObservers(args AddCustomObservers) (*bind.EncodedChoice, error)
	AddCustomObserversParams(args AddCustomObserversParams) (*bind.EncodedChoice, error)
	AddExecutorFee(args AddExecutorFee) (*bind.EncodedChoice, error)
	AddExecutorFeeMCMSParams(args AddExecutorFeeMCMSParams) (*bind.EncodedChoice, error)
	AddPriceUpdaters(args AddPriceUpdaters) (*bind.EncodedChoice, error)
	AddTokenSend(args AddTokenSend) (*bind.EncodedChoice, error)
	AddTokenSendFee(args AddTokenSendFee) (*bind.EncodedChoice, error)
	AddVerifierData(args AddVerifierData) (*bind.EncodedChoice, error)
	AddVerifierDataMCMSParams(args AddVerifierDataMCMSParams) (*bind.EncodedChoice, error)
	ApplyDestChainConfigUpdates(args ApplyDestChainConfigUpdates) (*bind.EncodedChoice, error)
	ApplyDestChainConfigUpdatesParams(args ApplyDestChainConfigUpdatesParams) (*bind.EncodedChoice, error)
	ApplyFeeQuoterDestChainConfigUpdates(args ApplyFeeQuoterDestChainConfigUpdates) (*bind.EncodedChoice, error)
	ApplyFeeQuoterDestChainConfigUpdatesParams(args ApplyFeeQuoterDestChainConfigUpdatesParams) (*bind.EncodedChoice, error)
	ApplyPriceUpdatersUpdate(args ApplyPriceUpdatersUpdate) (*bind.EncodedChoice, error)
	ApplyPriceUpdatersUpdateParams(args ApplyPriceUpdatersUpdateParams) (*bind.EncodedChoice, error)
	ApplySourceChainConfigUpdates(args ApplySourceChainConfigUpdates) (*bind.EncodedChoice, error)
	ApplySourceChainConfigUpdatesParams(args ApplySourceChainConfigUpdatesParams) (*bind.EncodedChoice, error)
	BuildMessage(args BuildMessage) (*bind.EncodedChoice, error)
	BuildMessageMCMSParams(args BuildMessageMCMSParams) (*bind.EncodedChoice, error)
	CancelExecute(args CancelExecute) (*bind.EncodedChoice, error)
	CancelExecuteMCMSParams(args CancelExecuteMCMSParams) (*bind.EncodedChoice, error)
	ConsumeByCCIPOwner(args ConsumeByCCIPOwner) (*bind.EncodedChoice, error)
	ConsumeCapacity(args ConsumeCapacity) (*bind.EncodedChoice, error)
	ConsumeReceiveTicket(args ConsumeReceiveTicket) (*bind.EncodedChoice, error)
	ConsumeReceiveTicketMCMSParams(args ConsumeReceiveTicketMCMSParams) (*bind.EncodedChoice, error)
	Curse(args Curse) (*bind.EncodedChoice, error)
	CurseChain(args CurseChain) (*bind.EncodedChoice, error)
	CurseChainParams(args CurseChainParams) (*bind.EncodedChoice, error)
	CurseGlobal(args CurseGlobal) (*bind.EncodedChoice, error)
	CurseMultiple(args CurseMultiple) (*bind.EncodedChoice, error)
	CurseMultipleParams(args CurseMultipleParams) (*bind.EncodedChoice, error)
	CurseParams(args CurseParams) (*bind.EncodedChoice, error)
	FeeTokenAmount(args FeeTokenAmount) (*bind.EncodedChoice, error)
	FeeTokenAmountMCMSParams(args FeeTokenAmountMCMSParams) (*bind.EncodedChoice, error)
	FinalizeExecute(args FinalizeExecute) (*bind.EncodedChoice, error)
	FinalizeFee(args FinalizeFee) (*bind.EncodedChoice, error)
	FinalizeSend(args FinalizeSend) (*bind.EncodedChoice, error)
	Get(args Get) (*bind.EncodedChoice, error)
	GetMCMSParams(args GetMCMSParams) (*bind.EncodedChoice, error)
	GetCursedSubjects(args GetCursedSubjects) (*bind.EncodedChoice, error)
	GetCursedSubjectsMCMSParams(args GetCursedSubjectsMCMSParams) (*bind.EncodedChoice, error)
	GetDestChainConfig(args GetDestChainConfig) (*bind.EncodedChoice, error)
	GetDestChainConfigMCMSParams(args GetDestChainConfigMCMSParams) (*bind.EncodedChoice, error)
	GetDestinationChainGasPrice(args GetDestinationChainGasPrice) (*bind.EncodedChoice, error)
	GetDestinationChainGasPriceMCMSParams(args GetDestinationChainGasPriceMCMSParams) (*bind.EncodedChoice, error)
	GetFeeTokens(args GetFeeTokens) (*bind.EncodedChoice, error)
	GetFeeTokensMCMSParams(args GetFeeTokensMCMSParams) (*bind.EncodedChoice, error)
	GetSourceChainConfig(args GetSourceChainConfig) (*bind.EncodedChoice, error)
	GetSourceChainConfigMCMSParams(args GetSourceChainConfigMCMSParams) (*bind.EncodedChoice, error)
	GetTokenConfigByCid(args GetTokenConfigByCid) (*bind.EncodedChoice, error)
	GetTokenConfigByCidMCMSParams(args GetTokenConfigByCidMCMSParams) (*bind.EncodedChoice, error)
	GetTokenPrice(args GetTokenPrice) (*bind.EncodedChoice, error)
	GetTokenPriceMCMSParams(args GetTokenPriceMCMSParams) (*bind.EncodedChoice, error)
	GetTokenTransferFee(args GetTokenTransferFee) (*bind.EncodedChoice, error)
	GetTokenTransferFeeMCMSParams(args GetTokenTransferFeeMCMSParams) (*bind.EncodedChoice, error)
	IsAdministrator(args IsAdministrator) (*bind.EncodedChoice, error)
	IsAdministratorMCMSParams(args IsAdministratorMCMSParams) (*bind.EncodedChoice, error)
	IsCursed(args IsCursed) (*bind.EncodedChoice, error)
	IsCursedMCMSParams(args IsCursedMCMSParams) (*bind.EncodedChoice, error)
	IsCursedForChain(args IsCursedForChain) (*bind.EncodedChoice, error)
	IsCursedForChainMCMSParams(args IsCursedForChainMCMSParams) (*bind.EncodedChoice, error)
	ProposeAdministrator(args ProposeAdministrator) (*bind.EncodedChoice, error)
	ProposeAdministratorMCMSParams(args ProposeAdministratorMCMSParams) (*bind.EncodedChoice, error)
	QuoteGasForExec(args QuoteGasForExec) (*bind.EncodedChoice, error)
	QuoteGasForExecMCMSParams(args QuoteGasForExecMCMSParams) (*bind.EncodedChoice, error)
	RemoveCustomObservers(args RemoveCustomObservers) (*bind.EncodedChoice, error)
	RemoveCustomObserversParams(args RemoveCustomObserversParams) (*bind.EncodedChoice, error)
	RemoveFeeTokens(args RemoveFeeTokens) (*bind.EncodedChoice, error)
	RemoveFeeTokensParams(args RemoveFeeTokensParams) (*bind.EncodedChoice, error)
	RemovePriceUpdaters(args RemovePriceUpdaters) (*bind.EncodedChoice, error)
	SetBurnMintFactory(args SetBurnMintFactory) (*bind.EncodedChoice, error)
	SetBurnMintFactoryMCMSParams(args SetBurnMintFactoryMCMSParams) (*bind.EncodedChoice, error)
	SetBurnMintFactoryParams(args SetBurnMintFactoryParams) (*bind.EncodedChoice, error)
	SetConfig(args SetConfig) (*bind.EncodedChoice, error)
	SetInboundPoolCCVs(args SetInboundPoolCCVs) (*bind.EncodedChoice, error)
	SetOutboundPoolCCVs(args SetOutboundPoolCCVs) (*bind.EncodedChoice, error)
	SetPool(args SetPool) (*bind.EncodedChoice, error)
	SetPoolMCMSParams(args SetPoolMCMSParams) (*bind.EncodedChoice, error)
	SetPoolParams(args SetPoolParams) (*bind.EncodedChoice, error)
	SetTransferFactory(args SetTransferFactory) (*bind.EncodedChoice, error)
	SetTransferFactoryMCMSParams(args SetTransferFactoryMCMSParams) (*bind.EncodedChoice, error)
	SetTransferFactoryParams(args SetTransferFactoryParams) (*bind.EncodedChoice, error)
	TransferAdminRole(args TransferAdminRole) (*bind.EncodedChoice, error)
	TransferAdminRoleMCMSParams(args TransferAdminRoleMCMSParams) (*bind.EncodedChoice, error)
	Uncurse(args Uncurse) (*bind.EncodedChoice, error)
	UncurseChain(args UncurseChain) (*bind.EncodedChoice, error)
	UncurseChainParams(args UncurseChainParams) (*bind.EncodedChoice, error)
	UncurseGlobal(args UncurseGlobal) (*bind.EncodedChoice, error)
	UncurseMultiple(args UncurseMultiple) (*bind.EncodedChoice, error)
	UncurseMultipleParams(args UncurseMultipleParams) (*bind.EncodedChoice, error)
	UncurseParams(args UncurseParams) (*bind.EncodedChoice, error)
	UpdateCCIPOwner(args UpdateCCIPOwner) (*bind.EncodedChoice, error)
	UpdatePrices(args UpdatePrices) (*bind.EncodedChoice, error)
	UpdatePricesMCMSParams(args UpdatePricesMCMSParams) (*bind.EncodedChoice, error)
	UpdatePricesParams(args UpdatePricesParams) (*bind.EncodedChoice, error)
}

MCMSEncoder interface for typed encoding methods. Implemented by Encoder for method-based encoding.

type MessageExecutionState

type MessageExecutionState string

MessageExecutionState is an enum type

const (
	MessageExecutionStateUNTOUCHED MessageExecutionState = "UNTOUCHED"

	MessageExecutionStateIN_PROGRESS MessageExecutionState = "IN_PROGRESS"

	MessageExecutionStateSUCCESS MessageExecutionState = "SUCCESS"

	MessageExecutionStateFAILURE MessageExecutionState = "FAILURE"
)

func (MessageExecutionState) GetEnumConstructor

func (e MessageExecutionState) GetEnumConstructor() string

func (MessageExecutionState) GetEnumTypeID

func (e MessageExecutionState) GetEnumTypeID() string

func (MessageExecutionState) GetEnumTypeIDWithPackageID

func (e MessageExecutionState) GetEnumTypeIDWithPackageID(packageID string) string

GetEnumTypeIDWithPackageID returns the enum type ID using the provided package ID instead of package name

func (MessageExecutionState) MarshalHex

func (e MessageExecutionState) MarshalHex() (string, error)

MarshalHex encodes MessageExecutionState to hex string (Canton MCMS format)

func (MessageExecutionState) MarshalJSON

func (e MessageExecutionState) MarshalJSON() ([]byte, error)

func (*MessageExecutionState) UnmarshalHex

func (e *MessageExecutionState) UnmarshalHex(data string) error

UnmarshalHex decodes MessageExecutionState from hex string (Canton MCMS format)

func (*MessageExecutionState) UnmarshalJSON

func (e *MessageExecutionState) UnmarshalJSON(data []byte) error

type MessageV1

type MessageV1 struct {
	SourceChainSelector types.NUMERIC    `json:"sourceChainSelector"`
	DestChainSelector   types.NUMERIC    `json:"destChainSelector"`
	SequenceNumber      types.NUMERIC    `json:"sequenceNumber"`
	ExecutionGasLimit   types.INT64      `json:"executionGasLimit"`
	CcipReceiveGasLimit types.INT64      `json:"ccipReceiveGasLimit"`
	Finality            DecodedFinality  `json:"finality"`
	CcvAndExecutorHash  types.TEXT       `json:"ccvAndExecutorHash"`
	OnRampAddress       types.TEXT       `json:"onRampAddress"`
	OffRampAddress      types.TEXT       `json:"offRampAddress"`
	Sender              types.TEXT       `json:"sender"`
	Receiver            types.TEXT       `json:"receiver"`
	DestBlob            types.TEXT       `json:"destBlob"`
	TokenTransfer       *TokenTransferV1 `json:"tokenTransfer" hex:"optional"`
	MessageData         types.TEXT       `json:"messageData"`
}

MessageV1 is a Record type

func (MessageV1) MarshalHex

func (t MessageV1) MarshalHex() (string, error)

MarshalHex encodes MessageV1 to hex string (Canton MCMS format)

func (MessageV1) MarshalJSON

func (t MessageV1) MarshalJSON() ([]byte, error)

func (MessageV1) ToMap

func (t MessageV1) ToMap() map[string]any

ToMap converts MessageV1 to a map for DAML arguments

func (*MessageV1) UnmarshalHex

func (t *MessageV1) UnmarshalHex(data string) error

UnmarshalHex decodes MessageV1 from hex string (Canton MCMS format)

func (*MessageV1) UnmarshalJSON

func (t *MessageV1) UnmarshalJSON(data []byte) error

type PoolRegistration

type PoolRegistration struct {
	PoolOwner      types.PARTY `json:"poolOwner"`
	PoolInstanceId types.TEXT  `json:"poolInstanceId"`
}

PoolRegistration is a Record type

func (PoolRegistration) MarshalHex

func (t PoolRegistration) MarshalHex() (string, error)

MarshalHex encodes PoolRegistration to hex string (Canton MCMS format)

func (PoolRegistration) MarshalJSON

func (t PoolRegistration) MarshalJSON() ([]byte, error)

func (PoolRegistration) ToMap

func (t PoolRegistration) ToMap() map[string]any

ToMap converts PoolRegistration to a map for DAML arguments

func (*PoolRegistration) UnmarshalHex

func (t *PoolRegistration) UnmarshalHex(data string) error

UnmarshalHex decodes PoolRegistration from hex string (Canton MCMS format)

func (*PoolRegistration) UnmarshalJSON

func (t *PoolRegistration) UnmarshalJSON(data []byte) error

type PriceUpdates

type PriceUpdates struct {
	TokenPriceUpdates []TokenPriceUpdate `json:"tokenPriceUpdates"`
	GasPriceUpdates   []GasPriceUpdate   `json:"gasPriceUpdates"`
}

PriceUpdates is a Record type

func (PriceUpdates) MarshalHex

func (t PriceUpdates) MarshalHex() (string, error)

MarshalHex encodes PriceUpdates to hex string (Canton MCMS format)

func (PriceUpdates) MarshalJSON

func (t PriceUpdates) MarshalJSON() ([]byte, error)

func (PriceUpdates) ToMap

func (t PriceUpdates) ToMap() map[string]any

ToMap converts PriceUpdates to a map for DAML arguments

func (*PriceUpdates) UnmarshalHex

func (t *PriceUpdates) UnmarshalHex(data string) error

UnmarshalHex decodes PriceUpdates from hex string (Canton MCMS format)

func (*PriceUpdates) UnmarshalJSON

func (t *PriceUpdates) UnmarshalJSON(data []byte) error

type ProposeAdminParams

type ProposeAdminParams struct {
	InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	NewAdmin     types.PARTY                              `json:"newAdmin"`
}

ProposeAdminParams is a Record type

func (ProposeAdminParams) MarshalHex

func (t ProposeAdminParams) MarshalHex() (string, error)

MarshalHex encodes ProposeAdminParams to hex string (Canton MCMS format)

func (ProposeAdminParams) MarshalJSON

func (t ProposeAdminParams) MarshalJSON() ([]byte, error)

func (ProposeAdminParams) ToMap

func (t ProposeAdminParams) ToMap() map[string]any

ToMap converts ProposeAdminParams to a map for DAML arguments

func (*ProposeAdminParams) UnmarshalHex

func (t *ProposeAdminParams) UnmarshalHex(data string) error

UnmarshalHex decodes ProposeAdminParams from hex string (Canton MCMS format)

func (*ProposeAdminParams) UnmarshalJSON

func (t *ProposeAdminParams) UnmarshalJSON(data []byte) error

type ProposeAdministrator

type ProposeAdministrator struct {
	TokenConfigCid *types.CONTRACT_ID                       `json:"tokenConfigCid" hex:"optional"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	NewAdmin       types.PARTY                              `json:"newAdmin"`
	Caller         types.PARTY                              `json:"caller"`
}

ProposeAdministrator is a Record type

func (ProposeAdministrator) MarshalHex

func (t ProposeAdministrator) MarshalHex() (string, error)

MarshalHex encodes ProposeAdministrator to hex string (Canton MCMS format)

func (ProposeAdministrator) MarshalJSON

func (t ProposeAdministrator) MarshalJSON() ([]byte, error)

func (ProposeAdministrator) ToMap

func (t ProposeAdministrator) ToMap() map[string]any

ToMap converts ProposeAdministrator to a map for DAML arguments

func (*ProposeAdministrator) UnmarshalHex

func (t *ProposeAdministrator) UnmarshalHex(data string) error

UnmarshalHex decodes ProposeAdministrator from hex string (Canton MCMS format)

func (*ProposeAdministrator) UnmarshalJSON

func (t *ProposeAdministrator) UnmarshalJSON(data []byte) error

type ProposeAdministratorMCMSParams

type ProposeAdministratorMCMSParams struct {
	TokenConfigCid *types.CONTRACT_ID                       `json:"tokenConfigCid" hex:"optional"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	NewAdmin       types.PARTY                              `json:"newAdmin"`
}

ProposeAdministratorMCMSParams is ProposeAdministrator without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (ProposeAdministratorMCMSParams) MarshalHex

func (t ProposeAdministratorMCMSParams) MarshalHex() (string, error)

MarshalHex encodes ProposeAdministratorMCMSParams to hex string for MCMS operationData.

func (*ProposeAdministratorMCMSParams) UnmarshalHex

func (t *ProposeAdministratorMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes ProposeAdministratorMCMSParams from hex string.

type ProposeAdministratorResult

type ProposeAdministratorResult struct {
	TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
	TokenConfigCid        types.CONTRACT_ID `json:"tokenConfigCid"`
	Created               types.BOOL        `json:"created"`
	Index                 types.INT64       `json:"index"`
}

ProposeAdministratorResult is a Record type

func (ProposeAdministratorResult) MarshalHex

func (t ProposeAdministratorResult) MarshalHex() (string, error)

MarshalHex encodes ProposeAdministratorResult to hex string (Canton MCMS format)

func (ProposeAdministratorResult) MarshalJSON

func (t ProposeAdministratorResult) MarshalJSON() ([]byte, error)

func (ProposeAdministratorResult) ToMap

func (t ProposeAdministratorResult) ToMap() map[string]any

ToMap converts ProposeAdministratorResult to a map for DAML arguments

func (*ProposeAdministratorResult) UnmarshalHex

func (t *ProposeAdministratorResult) UnmarshalHex(data string) error

UnmarshalHex decodes ProposeAdministratorResult from hex string (Canton MCMS format)

func (*ProposeAdministratorResult) UnmarshalJSON

func (t *ProposeAdministratorResult) UnmarshalJSON(data []byte) error

type QuoteGasForExec

type QuoteGasForExec struct {
	DestChainSelector types.NUMERIC                            `json:"destChainSelector"`
	NonCalldataGas    types.INT64                              `json:"nonCalldataGas"`
	CalldataSize      types.INT64                              `json:"calldataSize"`
	FeeToken          splice_api_token_holding_v1.InstrumentId `json:"feeToken"`
	Caller            types.PARTY                              `json:"caller"`
}

QuoteGasForExec is a Record type

func (QuoteGasForExec) MarshalHex

func (t QuoteGasForExec) MarshalHex() (string, error)

MarshalHex encodes QuoteGasForExec to hex string (Canton MCMS format)

func (QuoteGasForExec) MarshalJSON

func (t QuoteGasForExec) MarshalJSON() ([]byte, error)

func (QuoteGasForExec) ToMap

func (t QuoteGasForExec) ToMap() map[string]any

ToMap converts QuoteGasForExec to a map for DAML arguments

func (*QuoteGasForExec) UnmarshalHex

func (t *QuoteGasForExec) UnmarshalHex(data string) error

UnmarshalHex decodes QuoteGasForExec from hex string (Canton MCMS format)

func (*QuoteGasForExec) UnmarshalJSON

func (t *QuoteGasForExec) UnmarshalJSON(data []byte) error

type QuoteGasForExecMCMSParams

type QuoteGasForExecMCMSParams struct {
	DestChainSelector types.NUMERIC                            `json:"destChainSelector"`
	NonCalldataGas    types.INT64                              `json:"nonCalldataGas"`
	CalldataSize      types.INT64                              `json:"calldataSize"`
	FeeToken          splice_api_token_holding_v1.InstrumentId `json:"feeToken"`
}

QuoteGasForExecMCMSParams is QuoteGasForExec without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (QuoteGasForExecMCMSParams) MarshalHex

func (t QuoteGasForExecMCMSParams) MarshalHex() (string, error)

MarshalHex encodes QuoteGasForExecMCMSParams to hex string for MCMS operationData.

func (*QuoteGasForExecMCMSParams) UnmarshalHex

func (t *QuoteGasForExecMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes QuoteGasForExecMCMSParams from hex string.

type QuoteGasForExecResult

type QuoteGasForExecResult struct {
	TotalGas          types.INT64   `json:"totalGas"`
	GasCostUSDCents   types.NUMERIC `json:"gasCostUSDCents"`
	FeeTokenPrice     types.NUMERIC `json:"feeTokenPrice"`
	PremiumMultiplier types.NUMERIC `json:"premiumMultiplier"`
}

QuoteGasForExecResult is a Record type

func (QuoteGasForExecResult) MarshalHex

func (t QuoteGasForExecResult) MarshalHex() (string, error)

MarshalHex encodes QuoteGasForExecResult to hex string (Canton MCMS format)

func (QuoteGasForExecResult) MarshalJSON

func (t QuoteGasForExecResult) MarshalJSON() ([]byte, error)

func (QuoteGasForExecResult) ToMap

func (t QuoteGasForExecResult) ToMap() map[string]any

ToMap converts QuoteGasForExecResult to a map for DAML arguments

func (*QuoteGasForExecResult) UnmarshalHex

func (t *QuoteGasForExecResult) UnmarshalHex(data string) error

UnmarshalHex decodes QuoteGasForExecResult from hex string (Canton MCMS format)

func (*QuoteGasForExecResult) UnmarshalJSON

func (t *QuoteGasForExecResult) UnmarshalJSON(data []byte) error

type RMNRemote

type RMNRemote struct {
	InstanceId      types.TEXT    `json:"instanceId"`
	RmnOwner        types.PARTY   `json:"rmnOwner"`
	CcipOwner       types.PARTY   `json:"ccipOwner"`
	CustomObservers []types.PARTY `json:"customObservers"`
	CursedSubjects  []types.TEXT  `json:"cursedSubjects"`
}

RMNRemote is a Template type

func (RMNRemote) AddCustomObservers

func (t RMNRemote) AddCustomObservers(contractID string, args AddCustomObservers) *model.ExerciseCommand

AddCustomObservers exercises the AddCustomObservers choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) AddCustomObserversWithPackageID

func (t RMNRemote) AddCustomObserversWithPackageID(contractID string, packageID string, args AddCustomObservers) *model.ExerciseCommand

AddCustomObserversWithPackageID exercises the AddCustomObservers choice using the provided package ID instead of package name

func (RMNRemote) Archive

func (t RMNRemote) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this RMNRemote contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (RMNRemote) ArchiveWithPackageID

func (t RMNRemote) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (RMNRemote) CreateCommand

func (t RMNRemote) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (RMNRemote) CreateCommandWithPackageID

func (t RMNRemote) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (RMNRemote) Curse

func (t RMNRemote) Curse(contractID string, args Curse) *model.ExerciseCommand

Curse exercises the Curse choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) CurseChain

func (t RMNRemote) CurseChain(contractID string, args CurseChain) *model.ExerciseCommand

CurseChain exercises the CurseChain choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) CurseChainWithPackageID

func (t RMNRemote) CurseChainWithPackageID(contractID string, packageID string, args CurseChain) *model.ExerciseCommand

CurseChainWithPackageID exercises the CurseChain choice using the provided package ID instead of package name

func (RMNRemote) CurseGlobal

func (t RMNRemote) CurseGlobal(contractID string, args CurseGlobal) *model.ExerciseCommand

CurseGlobal exercises the CurseGlobal choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) CurseGlobalWithPackageID

func (t RMNRemote) CurseGlobalWithPackageID(contractID string, packageID string, args CurseGlobal) *model.ExerciseCommand

CurseGlobalWithPackageID exercises the CurseGlobal choice using the provided package ID instead of package name

func (RMNRemote) CurseMultiple

func (t RMNRemote) CurseMultiple(contractID string, args CurseMultiple) *model.ExerciseCommand

CurseMultiple exercises the CurseMultiple choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) CurseMultipleWithPackageID

func (t RMNRemote) CurseMultipleWithPackageID(contractID string, packageID string, args CurseMultiple) *model.ExerciseCommand

CurseMultipleWithPackageID exercises the CurseMultiple choice using the provided package ID instead of package name

func (RMNRemote) CurseWithPackageID

func (t RMNRemote) CurseWithPackageID(contractID string, packageID string, args Curse) *model.ExerciseCommand

CurseWithPackageID exercises the Curse choice using the provided package ID instead of package name

func (RMNRemote) Get

func (t RMNRemote) Get(contractID string, args Get) *model.ExerciseCommand

Get exercises the Get choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) GetCursedSubjects

func (t RMNRemote) GetCursedSubjects(contractID string, args GetCursedSubjects) *model.ExerciseCommand

GetCursedSubjects exercises the GetCursedSubjects choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) GetCursedSubjectsWithPackageID

func (t RMNRemote) GetCursedSubjectsWithPackageID(contractID string, packageID string, args GetCursedSubjects) *model.ExerciseCommand

GetCursedSubjectsWithPackageID exercises the GetCursedSubjects choice using the provided package ID instead of package name

func (RMNRemote) GetTemplateID

func (t RMNRemote) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (RMNRemote) GetTemplateIDWithPackageID

func (t RMNRemote) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (RMNRemote) GetWithPackageID

func (t RMNRemote) GetWithPackageID(contractID string, packageID string, args Get) *model.ExerciseCommand

GetWithPackageID exercises the Get choice using the provided package ID instead of package name

func (RMNRemote) IsCursed

func (t RMNRemote) IsCursed(contractID string, args IsCursed) *model.ExerciseCommand

IsCursed exercises the IsCursed choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) IsCursedForChain

func (t RMNRemote) IsCursedForChain(contractID string, args IsCursedForChain) *model.ExerciseCommand

IsCursedForChain exercises the IsCursedForChain choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) IsCursedForChainWithPackageID

func (t RMNRemote) IsCursedForChainWithPackageID(contractID string, packageID string, args IsCursedForChain) *model.ExerciseCommand

IsCursedForChainWithPackageID exercises the IsCursedForChain choice using the provided package ID instead of package name

func (RMNRemote) IsCursedWithPackageID

func (t RMNRemote) IsCursedWithPackageID(contractID string, packageID string, args IsCursed) *model.ExerciseCommand

IsCursedWithPackageID exercises the IsCursed choice using the provided package ID instead of package name

func (RMNRemote) MCMSReceiverEntrypoint

func (t RMNRemote) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand

MCMSReceiverEntrypoint exercises the MCMSReceiver_Entrypoint choice on this RMNRemote contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (RMNRemote) MCMSReceiverEntrypointWithPackageID

func (t RMNRemote) 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 (RMNRemote) MarshalHex

func (t RMNRemote) MarshalHex() (string, error)

MarshalHex encodes RMNRemote to hex string (Canton MCMS format)

func (RMNRemote) MarshalJSON

func (t RMNRemote) MarshalJSON() ([]byte, error)

func (RMNRemote) RemoveCustomObservers

func (t RMNRemote) RemoveCustomObservers(contractID string, args RemoveCustomObservers) *model.ExerciseCommand

RemoveCustomObservers exercises the RemoveCustomObservers choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) RemoveCustomObserversWithPackageID

func (t RMNRemote) RemoveCustomObserversWithPackageID(contractID string, packageID string, args RemoveCustomObservers) *model.ExerciseCommand

RemoveCustomObserversWithPackageID exercises the RemoveCustomObservers choice using the provided package ID instead of package name

func (RMNRemote) Uncurse

func (t RMNRemote) Uncurse(contractID string, args Uncurse) *model.ExerciseCommand

Uncurse exercises the Uncurse choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) UncurseChain

func (t RMNRemote) UncurseChain(contractID string, args UncurseChain) *model.ExerciseCommand

UncurseChain exercises the UncurseChain choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) UncurseChainWithPackageID

func (t RMNRemote) UncurseChainWithPackageID(contractID string, packageID string, args UncurseChain) *model.ExerciseCommand

UncurseChainWithPackageID exercises the UncurseChain choice using the provided package ID instead of package name

func (RMNRemote) UncurseGlobal

func (t RMNRemote) UncurseGlobal(contractID string, args UncurseGlobal) *model.ExerciseCommand

UncurseGlobal exercises the UncurseGlobal choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) UncurseGlobalWithPackageID

func (t RMNRemote) UncurseGlobalWithPackageID(contractID string, packageID string, args UncurseGlobal) *model.ExerciseCommand

UncurseGlobalWithPackageID exercises the UncurseGlobal choice using the provided package ID instead of package name

func (RMNRemote) UncurseMultiple

func (t RMNRemote) UncurseMultiple(contractID string, args UncurseMultiple) *model.ExerciseCommand

UncurseMultiple exercises the UncurseMultiple choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) UncurseMultipleWithPackageID

func (t RMNRemote) UncurseMultipleWithPackageID(contractID string, packageID string, args UncurseMultiple) *model.ExerciseCommand

UncurseMultipleWithPackageID exercises the UncurseMultiple choice using the provided package ID instead of package name

func (RMNRemote) UncurseWithPackageID

func (t RMNRemote) UncurseWithPackageID(contractID string, packageID string, args Uncurse) *model.ExerciseCommand

UncurseWithPackageID exercises the Uncurse choice using the provided package ID instead of package name

func (*RMNRemote) UnmarshalHex

func (t *RMNRemote) UnmarshalHex(data string) error

UnmarshalHex decodes RMNRemote from hex string (Canton MCMS format)

func (*RMNRemote) UnmarshalJSON

func (t *RMNRemote) UnmarshalJSON(data []byte) error

func (RMNRemote) UpdateCCIPOwner

func (t RMNRemote) UpdateCCIPOwner(contractID string, args UpdateCCIPOwner) *model.ExerciseCommand

UpdateCCIPOwner exercises the UpdateCCIPOwner choice on this RMNRemote contract This method uses the package name in the template ID

func (RMNRemote) UpdateCCIPOwnerWithPackageID

func (t RMNRemote) UpdateCCIPOwnerWithPackageID(contractID string, packageID string, args UpdateCCIPOwner) *model.ExerciseCommand

UpdateCCIPOwnerWithPackageID exercises the UpdateCCIPOwner choice using the provided package ID instead of package name

type RateLimitDirection

type RateLimitDirection string

RateLimitDirection is an enum type

const (
	RateLimitDirectionRateLimitDirection_Outbound RateLimitDirection = "RateLimitDirection_Outbound"

	RateLimitDirectionRateLimitDirection_Inbound RateLimitDirection = "RateLimitDirection_Inbound"
)

func (RateLimitDirection) GetEnumConstructor

func (e RateLimitDirection) GetEnumConstructor() string

func (RateLimitDirection) GetEnumTypeID

func (e RateLimitDirection) GetEnumTypeID() string

func (RateLimitDirection) GetEnumTypeIDWithPackageID

func (e RateLimitDirection) GetEnumTypeIDWithPackageID(packageID string) string

GetEnumTypeIDWithPackageID returns the enum type ID using the provided package ID instead of package name

func (RateLimitDirection) MarshalHex

func (e RateLimitDirection) MarshalHex() (string, error)

MarshalHex encodes RateLimitDirection to hex string (Canton MCMS format)

func (RateLimitDirection) MarshalJSON

func (e RateLimitDirection) MarshalJSON() ([]byte, error)

func (*RateLimitDirection) UnmarshalHex

func (e *RateLimitDirection) UnmarshalHex(data string) error

UnmarshalHex decodes RateLimitDirection from hex string (Canton MCMS format)

func (*RateLimitDirection) UnmarshalJSON

func (e *RateLimitDirection) UnmarshalJSON(data []byte) error

type RateLimitMode

type RateLimitMode string

RateLimitMode is an enum type

const (
	RateLimitModeRateLimitMode_DefaultFinality RateLimitMode = "RateLimitMode_DefaultFinality"

	RateLimitModeRateLimitMode_CustomFinality RateLimitMode = "RateLimitMode_CustomFinality"
)

func (RateLimitMode) GetEnumConstructor

func (e RateLimitMode) GetEnumConstructor() string

func (RateLimitMode) GetEnumTypeID

func (e RateLimitMode) GetEnumTypeID() string

func (RateLimitMode) GetEnumTypeIDWithPackageID

func (e RateLimitMode) GetEnumTypeIDWithPackageID(packageID string) string

GetEnumTypeIDWithPackageID returns the enum type ID using the provided package ID instead of package name

func (RateLimitMode) MarshalHex

func (e RateLimitMode) MarshalHex() (string, error)

MarshalHex encodes RateLimitMode to hex string (Canton MCMS format)

func (RateLimitMode) MarshalJSON

func (e RateLimitMode) MarshalJSON() ([]byte, error)

func (*RateLimitMode) UnmarshalHex

func (e *RateLimitMode) UnmarshalHex(data string) error

UnmarshalHex decodes RateLimitMode from hex string (Canton MCMS format)

func (*RateLimitMode) UnmarshalJSON

func (e *RateLimitMode) UnmarshalJSON(data []byte) error

type RateLimiter

type RateLimiter struct {
	InstanceId          types.TEXT         `json:"instanceId"`
	PoolInstanceId      types.TEXT         `json:"poolInstanceId"`
	PoolOwner           types.PARTY        `json:"poolOwner"`
	RemoteChainSelector types.NUMERIC      `json:"remoteChainSelector"`
	Direction           RateLimitDirection `json:"direction"`
	Mode                RateLimitMode      `json:"mode"`
	IsEnabled           types.BOOL         `json:"isEnabled"`
	Capacity            types.NUMERIC      `json:"capacity"`
	Rate                types.NUMERIC      `json:"rate"`
	Tokens              types.NUMERIC      `json:"tokens"`
	LastUpdated         types.TIMESTAMP    `json:"lastUpdated"`
}

RateLimiter is a Template type

func (RateLimiter) Archive

func (t RateLimiter) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this RateLimiter contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (RateLimiter) ArchiveWithPackageID

func (t RateLimiter) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (RateLimiter) ConsumeCapacity

func (t RateLimiter) ConsumeCapacity(contractID string, args ConsumeCapacity) *model.ExerciseCommand

ConsumeCapacity exercises the ConsumeCapacity choice on this RateLimiter contract This method uses the package name in the template ID

func (RateLimiter) ConsumeCapacityWithPackageID

func (t RateLimiter) ConsumeCapacityWithPackageID(contractID string, packageID string, args ConsumeCapacity) *model.ExerciseCommand

ConsumeCapacityWithPackageID exercises the ConsumeCapacity choice using the provided package ID instead of package name

func (RateLimiter) CreateCommand

func (t RateLimiter) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (RateLimiter) CreateCommandWithPackageID

func (t RateLimiter) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (RateLimiter) GetTemplateID

func (t RateLimiter) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (RateLimiter) GetTemplateIDWithPackageID

func (t RateLimiter) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (RateLimiter) MCMSReceiverEntrypoint

func (t RateLimiter) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand

MCMSReceiverEntrypoint exercises the MCMSReceiver_Entrypoint choice on this RateLimiter contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (RateLimiter) MCMSReceiverEntrypointWithPackageID

func (t RateLimiter) 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 (RateLimiter) MarshalHex

func (t RateLimiter) MarshalHex() (string, error)

MarshalHex encodes RateLimiter to hex string (Canton MCMS format)

func (RateLimiter) MarshalJSON

func (t RateLimiter) MarshalJSON() ([]byte, error)

func (RateLimiter) SetConfig

func (t RateLimiter) SetConfig(contractID string, args SetConfig) *model.ExerciseCommand

SetConfig exercises the SetConfig choice on this RateLimiter contract This method uses the package name in the template ID

func (RateLimiter) SetConfigWithPackageID

func (t RateLimiter) SetConfigWithPackageID(contractID string, packageID string, args SetConfig) *model.ExerciseCommand

SetConfigWithPackageID exercises the SetConfig choice using the provided package ID instead of package name

func (*RateLimiter) UnmarshalHex

func (t *RateLimiter) UnmarshalHex(data string) error

UnmarshalHex decodes RateLimiter from hex string (Canton MCMS format)

func (*RateLimiter) UnmarshalJSON

func (t *RateLimiter) UnmarshalJSON(data []byte) error

type Receipt

type Receipt struct {
	IssuerType        IssuerType    `json:"issuerType"`
	IssuerAddress     types.TEXT    `json:"issuerAddress"`
	VersionTag        *types.TEXT   `json:"versionTag" hex:"optional"`
	DestGasLimit      types.INT64   `json:"destGasLimit"`
	DestBytesOverhead types.INT64   `json:"destBytesOverhead"`
	FeeTokenAmount    types.NUMERIC `json:"feeTokenAmount"`
	ExtraArgs         types.TEXT    `json:"extraArgs"`
}

Receipt is a Record type

func (Receipt) MarshalHex

func (t Receipt) MarshalHex() (string, error)

MarshalHex encodes Receipt to hex string (Canton MCMS format)

func (Receipt) MarshalJSON

func (t Receipt) MarshalJSON() ([]byte, error)

func (Receipt) ToMap

func (t Receipt) ToMap() map[string]any

ToMap converts Receipt to a map for DAML arguments

func (*Receipt) UnmarshalHex

func (t *Receipt) UnmarshalHex(data string) error

UnmarshalHex decodes Receipt from hex string (Canton MCMS format)

func (*Receipt) UnmarshalJSON

func (t *Receipt) UnmarshalJSON(data []byte) error

type RemoveCustomObservers

type RemoveCustomObservers struct {
	Parties []types.PARTY `json:"parties"`
}

RemoveCustomObservers is a Record type

func (RemoveCustomObservers) MarshalHex

func (t RemoveCustomObservers) MarshalHex() (string, error)

MarshalHex encodes RemoveCustomObservers to hex string (Canton MCMS format)

func (RemoveCustomObservers) MarshalJSON

func (t RemoveCustomObservers) MarshalJSON() ([]byte, error)

func (RemoveCustomObservers) ToMap

func (t RemoveCustomObservers) ToMap() map[string]any

ToMap converts RemoveCustomObservers to a map for DAML arguments

func (*RemoveCustomObservers) UnmarshalHex

func (t *RemoveCustomObservers) UnmarshalHex(data string) error

UnmarshalHex decodes RemoveCustomObservers from hex string (Canton MCMS format)

func (*RemoveCustomObservers) UnmarshalJSON

func (t *RemoveCustomObservers) UnmarshalJSON(data []byte) error

type RemoveCustomObserversParams

type RemoveCustomObserversParams struct {
	Parties []types.PARTY `json:"parties"`
}

RemoveCustomObserversParams is a Record type

func (RemoveCustomObserversParams) MarshalHex

func (t RemoveCustomObserversParams) MarshalHex() (string, error)

MarshalHex encodes RemoveCustomObserversParams to hex string (Canton MCMS format)

func (RemoveCustomObserversParams) MarshalJSON

func (t RemoveCustomObserversParams) MarshalJSON() ([]byte, error)

func (RemoveCustomObserversParams) ToMap

func (t RemoveCustomObserversParams) ToMap() map[string]any

ToMap converts RemoveCustomObserversParams to a map for DAML arguments

func (*RemoveCustomObserversParams) UnmarshalHex

func (t *RemoveCustomObserversParams) UnmarshalHex(data string) error

UnmarshalHex decodes RemoveCustomObserversParams from hex string (Canton MCMS format)

func (*RemoveCustomObserversParams) UnmarshalJSON

func (t *RemoveCustomObserversParams) UnmarshalJSON(data []byte) error

type RemoveFeeTokens

type RemoveFeeTokens struct {
	FeeTokensToRemove []splice_api_token_holding_v1.InstrumentId `json:"feeTokensToRemove"`
}

RemoveFeeTokens is a Record type

func (RemoveFeeTokens) MarshalHex

func (t RemoveFeeTokens) MarshalHex() (string, error)

MarshalHex encodes RemoveFeeTokens to hex string (Canton MCMS format)

func (RemoveFeeTokens) MarshalJSON

func (t RemoveFeeTokens) MarshalJSON() ([]byte, error)

func (RemoveFeeTokens) ToMap

func (t RemoveFeeTokens) ToMap() map[string]any

ToMap converts RemoveFeeTokens to a map for DAML arguments

func (*RemoveFeeTokens) UnmarshalHex

func (t *RemoveFeeTokens) UnmarshalHex(data string) error

UnmarshalHex decodes RemoveFeeTokens from hex string (Canton MCMS format)

func (*RemoveFeeTokens) UnmarshalJSON

func (t *RemoveFeeTokens) UnmarshalJSON(data []byte) error

type RemoveFeeTokensParams

type RemoveFeeTokensParams struct {
	FeeTokensToRemove []splice_api_token_holding_v1.InstrumentId `json:"feeTokensToRemove"`
}

RemoveFeeTokensParams is a Record type

func (RemoveFeeTokensParams) MarshalHex

func (t RemoveFeeTokensParams) MarshalHex() (string, error)

MarshalHex encodes RemoveFeeTokensParams to hex string (Canton MCMS format)

func (RemoveFeeTokensParams) MarshalJSON

func (t RemoveFeeTokensParams) MarshalJSON() ([]byte, error)

func (RemoveFeeTokensParams) ToMap

func (t RemoveFeeTokensParams) ToMap() map[string]any

ToMap converts RemoveFeeTokensParams to a map for DAML arguments

func (*RemoveFeeTokensParams) UnmarshalHex

func (t *RemoveFeeTokensParams) UnmarshalHex(data string) error

UnmarshalHex decodes RemoveFeeTokensParams from hex string (Canton MCMS format)

func (*RemoveFeeTokensParams) UnmarshalJSON

func (t *RemoveFeeTokensParams) UnmarshalJSON(data []byte) error

type RemovePriceUpdaters

type RemovePriceUpdaters struct {
	Parties []types.PARTY `json:"parties"`
}

RemovePriceUpdaters is a Record type

func (RemovePriceUpdaters) MarshalHex

func (t RemovePriceUpdaters) MarshalHex() (string, error)

MarshalHex encodes RemovePriceUpdaters to hex string (Canton MCMS format)

func (RemovePriceUpdaters) MarshalJSON

func (t RemovePriceUpdaters) MarshalJSON() ([]byte, error)

func (RemovePriceUpdaters) ToMap

func (t RemovePriceUpdaters) ToMap() map[string]any

ToMap converts RemovePriceUpdaters to a map for DAML arguments

func (*RemovePriceUpdaters) UnmarshalHex

func (t *RemovePriceUpdaters) UnmarshalHex(data string) error

UnmarshalHex decodes RemovePriceUpdaters from hex string (Canton MCMS format)

func (*RemovePriceUpdaters) UnmarshalJSON

func (t *RemovePriceUpdaters) UnmarshalJSON(data []byte) error

type SendingMessageDeps

type SendingMessageDeps struct {
	Router             chainlinkapi.RawInstanceAddress `json:"router"`
	OnRamp             chainlinkapi.RawInstanceAddress `json:"onRamp"`
	GlobalConfig       chainlinkapi.RawInstanceAddress `json:"globalConfig"`
	RmnRemote          chainlinkapi.RawInstanceAddress `json:"rmnRemote"`
	TokenAdminRegistry chainlinkapi.RawInstanceAddress `json:"tokenAdminRegistry"`
	FeeQuoter          chainlinkapi.RawInstanceAddress `json:"feeQuoter"`
}

SendingMessageDeps is a Record type

func (SendingMessageDeps) MarshalHex

func (t SendingMessageDeps) MarshalHex() (string, error)

MarshalHex encodes SendingMessageDeps to hex string (Canton MCMS format)

func (SendingMessageDeps) MarshalJSON

func (t SendingMessageDeps) MarshalJSON() ([]byte, error)

func (SendingMessageDeps) ToMap

func (t SendingMessageDeps) ToMap() map[string]any

ToMap converts SendingMessageDeps to a map for DAML arguments

func (*SendingMessageDeps) UnmarshalHex

func (t *SendingMessageDeps) UnmarshalHex(data string) error

UnmarshalHex decodes SendingMessageDeps from hex string (Canton MCMS format)

func (*SendingMessageDeps) UnmarshalJSON

func (t *SendingMessageDeps) UnmarshalJSON(data []byte) error

type SendingMessageState

type SendingMessageState string

SendingMessageState is an enum type

const (
	SendingMessageStateSendingMessageState_RequirePoolCCVs SendingMessageState = "SendingMessageState_RequirePoolCCVs"

	SendingMessageStateSendingMessageState_Prepared SendingMessageState = "SendingMessageState_Prepared"

	SendingMessageStateSendingMessageState_TokenLocked SendingMessageState = "SendingMessageState_TokenLocked"

	SendingMessageStateSendingMessageState_ExecutorFinalized SendingMessageState = "SendingMessageState_ExecutorFinalized"

	SendingMessageStateSendingMessageState_FeeFinalized SendingMessageState = "SendingMessageState_FeeFinalized"
)

func (SendingMessageState) GetEnumConstructor

func (e SendingMessageState) GetEnumConstructor() string

func (SendingMessageState) GetEnumTypeID

func (e SendingMessageState) GetEnumTypeID() string

func (SendingMessageState) GetEnumTypeIDWithPackageID

func (e SendingMessageState) GetEnumTypeIDWithPackageID(packageID string) string

GetEnumTypeIDWithPackageID returns the enum type ID using the provided package ID instead of package name

func (SendingMessageState) MarshalHex

func (e SendingMessageState) MarshalHex() (string, error)

MarshalHex encodes SendingMessageState to hex string (Canton MCMS format)

func (SendingMessageState) MarshalJSON

func (e SendingMessageState) MarshalJSON() ([]byte, error)

func (*SendingMessageState) UnmarshalHex

func (e *SendingMessageState) UnmarshalHex(data string) error

UnmarshalHex decodes SendingMessageState from hex string (Canton MCMS format)

func (*SendingMessageState) UnmarshalJSON

func (e *SendingMessageState) UnmarshalJSON(data []byte) error

type SendingMessageV1

type SendingMessageV1 struct {
	Deps                      SendingMessageDeps                        `json:"deps"`
	CcipOwner                 types.PARTY                               `json:"ccipOwner"`
	Sender                    types.PARTY                               `json:"sender"`
	DestChainSelector         types.NUMERIC                             `json:"destChainSelector"`
	SequenceNumber            types.NUMERIC                             `json:"sequenceNumber"`
	DestDefaultCCVs           []chainlinkapi.RawInstanceAddress         `json:"destDefaultCCVs"`
	RequiredCCVs              []chainlinkapi.RawInstanceAddress         `json:"requiredCCVs"`
	RequiredExecutor          *chainlinkapi.RawInstanceAddress          `json:"requiredExecutor" hex:"optional"`
	ExecutorAddress           types.TEXT                                `json:"executorAddress"`
	ExecutionMode             *ExecutionMode                            `json:"executionMode" hex:"optional"`
	SourceChainSelector       types.NUMERIC                             `json:"sourceChainSelector"`
	SenderAddress             types.TEXT                                `json:"senderAddress"`
	Receiver                  types.TEXT                                `json:"receiver"`
	Payload                   types.TEXT                                `json:"payload"`
	ExecutionGasLimit         types.INT64                               `json:"executionGasLimit"`
	CcipReceiveGasLimit       types.INT64                               `json:"ccipReceiveGasLimit"`
	CcvAndExecutorHash        types.TEXT                                `json:"ccvAndExecutorHash"`
	OnRampAddress             types.TEXT                                `json:"onRampAddress"`
	OffRampAddress            types.TEXT                                `json:"offRampAddress"`
	TokenReceiver             types.TEXT                                `json:"tokenReceiver"`
	TokenArgs                 types.TEXT                                `json:"tokenArgs"`
	FeeToken                  splice_api_token_holding_v1.InstrumentId  `json:"feeToken"`
	NetworkFeeUSDCents        types.NUMERIC                             `json:"networkFeeUSDCents"`
	ExpectedTokenInstrumentId *splice_api_token_holding_v1.InstrumentId `json:"expectedTokenInstrumentId" hex:"optional"`
	OutboundPoolCCVs          *[]chainlinkapi.RawInstanceAddress        `json:"outboundPoolCCVs" hex:"optional"`
	ExecutorArgs              types.TEXT                                `json:"executorArgs"`
	ExecutorFee               *ExecutorFee                              `json:"executorFee" hex:"optional"`
	ExecutorDestGasLimit      types.INT64                               `json:"executorDestGasLimit"`
	ExecutorDestBytesOverhead types.INT64                               `json:"executorDestBytesOverhead"`
	ExecutorFeeTokenAmount    types.NUMERIC                             `json:"executorFeeTokenAmount"`
	ObservingParties          []types.PARTY                             `json:"observingParties"`
	CcvFees                   []CCVFee                                  `json:"ccvFees"`
	TokenSendFee              *TokenSendFee                             `json:"tokenSendFee" hex:"optional"`
	CcvFeeTokenAmounts        []types.NUMERIC                           `json:"ccvFeeTokenAmounts"`
	TokenSendFeeTokenAmount   types.NUMERIC                             `json:"tokenSendFeeTokenAmount"`
	NetworkFeeTokenAmount     types.NUMERIC                             `json:"networkFeeTokenAmount"`
	TokenSendData             *TokenSendData                            `json:"tokenSendData" hex:"optional"`
	VerifierData              []VerifierData                            `json:"verifierData"`
	CcvOwners                 []types.PARTY                             `json:"ccvOwners"`
	Message                   *MessageV1                                `json:"message" hex:"optional"`
	EncodedMessage            types.TEXT                                `json:"encodedMessage"`
	MessageId                 types.TEXT                                `json:"messageId"`
	State                     SendingMessageState                       `json:"state"`
}

SendingMessageV1 is a Template type

func (SendingMessageV1) AddCCVFee

func (t SendingMessageV1) AddCCVFee(contractID string, args AddCCVFee) *model.ExerciseCommand

AddCCVFee exercises the AddCCVFee choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) AddCCVFeeWithPackageID

func (t SendingMessageV1) AddCCVFeeWithPackageID(contractID string, packageID string, args AddCCVFee) *model.ExerciseCommand

AddCCVFeeWithPackageID exercises the AddCCVFee choice using the provided package ID instead of package name

func (SendingMessageV1) AddExecutorFee

func (t SendingMessageV1) AddExecutorFee(contractID string, args AddExecutorFee) *model.ExerciseCommand

AddExecutorFee exercises the AddExecutorFee choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) AddExecutorFeeWithPackageID

func (t SendingMessageV1) AddExecutorFeeWithPackageID(contractID string, packageID string, args AddExecutorFee) *model.ExerciseCommand

AddExecutorFeeWithPackageID exercises the AddExecutorFee choice using the provided package ID instead of package name

func (SendingMessageV1) AddTokenSend

func (t SendingMessageV1) AddTokenSend(contractID string, args AddTokenSend) *model.ExerciseCommand

AddTokenSend exercises the AddTokenSend choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) AddTokenSendFee

func (t SendingMessageV1) AddTokenSendFee(contractID string, args AddTokenSendFee) *model.ExerciseCommand

AddTokenSendFee exercises the AddTokenSendFee choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) AddTokenSendFeeWithPackageID

func (t SendingMessageV1) AddTokenSendFeeWithPackageID(contractID string, packageID string, args AddTokenSendFee) *model.ExerciseCommand

AddTokenSendFeeWithPackageID exercises the AddTokenSendFee choice using the provided package ID instead of package name

func (SendingMessageV1) AddTokenSendWithPackageID

func (t SendingMessageV1) AddTokenSendWithPackageID(contractID string, packageID string, args AddTokenSend) *model.ExerciseCommand

AddTokenSendWithPackageID exercises the AddTokenSend choice using the provided package ID instead of package name

func (SendingMessageV1) AddVerifierData

func (t SendingMessageV1) AddVerifierData(contractID string, args AddVerifierData) *model.ExerciseCommand

AddVerifierData exercises the AddVerifierData choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) AddVerifierDataWithPackageID

func (t SendingMessageV1) AddVerifierDataWithPackageID(contractID string, packageID string, args AddVerifierData) *model.ExerciseCommand

AddVerifierDataWithPackageID exercises the AddVerifierData choice using the provided package ID instead of package name

func (SendingMessageV1) Archive

func (t SendingMessageV1) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) ArchiveWithPackageID

func (t SendingMessageV1) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (SendingMessageV1) BuildMessage

func (t SendingMessageV1) BuildMessage(contractID string, args BuildMessage) *model.ExerciseCommand

BuildMessage exercises the BuildMessage choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) BuildMessageWithPackageID

func (t SendingMessageV1) BuildMessageWithPackageID(contractID string, packageID string, args BuildMessage) *model.ExerciseCommand

BuildMessageWithPackageID exercises the BuildMessage choice using the provided package ID instead of package name

func (SendingMessageV1) CreateCommand

func (t SendingMessageV1) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (SendingMessageV1) CreateCommandWithPackageID

func (t SendingMessageV1) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (SendingMessageV1) FeeTokenAmount

func (t SendingMessageV1) FeeTokenAmount(contractID string, args FeeTokenAmount) *model.ExerciseCommand

FeeTokenAmount exercises the FeeTokenAmount choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) FeeTokenAmountWithPackageID

func (t SendingMessageV1) FeeTokenAmountWithPackageID(contractID string, packageID string, args FeeTokenAmount) *model.ExerciseCommand

FeeTokenAmountWithPackageID exercises the FeeTokenAmount choice using the provided package ID instead of package name

func (SendingMessageV1) FinalizeFee

func (t SendingMessageV1) FinalizeFee(contractID string, args FinalizeFee) *model.ExerciseCommand

FinalizeFee exercises the FinalizeFee choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) FinalizeFeeWithPackageID

func (t SendingMessageV1) FinalizeFeeWithPackageID(contractID string, packageID string, args FinalizeFee) *model.ExerciseCommand

FinalizeFeeWithPackageID exercises the FinalizeFee choice using the provided package ID instead of package name

func (SendingMessageV1) FinalizeSend

func (t SendingMessageV1) FinalizeSend(contractID string, args FinalizeSend) *model.ExerciseCommand

FinalizeSend exercises the FinalizeSend choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) FinalizeSendWithPackageID

func (t SendingMessageV1) FinalizeSendWithPackageID(contractID string, packageID string, args FinalizeSend) *model.ExerciseCommand

FinalizeSendWithPackageID exercises the FinalizeSend choice using the provided package ID instead of package name

func (SendingMessageV1) GetTemplateID

func (t SendingMessageV1) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (SendingMessageV1) GetTemplateIDWithPackageID

func (t SendingMessageV1) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (SendingMessageV1) MarshalHex

func (t SendingMessageV1) MarshalHex() (string, error)

MarshalHex encodes SendingMessageV1 to hex string (Canton MCMS format)

func (SendingMessageV1) MarshalJSON

func (t SendingMessageV1) MarshalJSON() ([]byte, error)

func (SendingMessageV1) SetOutboundPoolCCVs

func (t SendingMessageV1) SetOutboundPoolCCVs(contractID string, args SetOutboundPoolCCVs) *model.ExerciseCommand

SetOutboundPoolCCVs exercises the SetOutboundPoolCCVs choice on this SendingMessageV1 contract This method uses the package name in the template ID

func (SendingMessageV1) SetOutboundPoolCCVsWithPackageID

func (t SendingMessageV1) SetOutboundPoolCCVsWithPackageID(contractID string, packageID string, args SetOutboundPoolCCVs) *model.ExerciseCommand

SetOutboundPoolCCVsWithPackageID exercises the SetOutboundPoolCCVs choice using the provided package ID instead of package name

func (*SendingMessageV1) UnmarshalHex

func (t *SendingMessageV1) UnmarshalHex(data string) error

UnmarshalHex decodes SendingMessageV1 from hex string (Canton MCMS format)

func (*SendingMessageV1) UnmarshalJSON

func (t *SendingMessageV1) UnmarshalJSON(data []byte) error

type SetBurnMintFactory

type SetBurnMintFactory struct {
	TokenConfigCid  types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId    splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	BurnMintFactory *types.CONTRACT_ID                       `json:"burnMintFactory" hex:"optional"`
	Caller          types.PARTY                              `json:"caller"`
}

SetBurnMintFactory is a Record type

func (SetBurnMintFactory) MarshalHex

func (t SetBurnMintFactory) MarshalHex() (string, error)

MarshalHex encodes SetBurnMintFactory to hex string (Canton MCMS format)

func (SetBurnMintFactory) MarshalJSON

func (t SetBurnMintFactory) MarshalJSON() ([]byte, error)

func (SetBurnMintFactory) ToMap

func (t SetBurnMintFactory) ToMap() map[string]any

ToMap converts SetBurnMintFactory to a map for DAML arguments

func (*SetBurnMintFactory) UnmarshalHex

func (t *SetBurnMintFactory) UnmarshalHex(data string) error

UnmarshalHex decodes SetBurnMintFactory from hex string (Canton MCMS format)

func (*SetBurnMintFactory) UnmarshalJSON

func (t *SetBurnMintFactory) UnmarshalJSON(data []byte) error

type SetBurnMintFactoryMCMSParams

type SetBurnMintFactoryMCMSParams struct {
	TokenConfigCid  types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId    splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	BurnMintFactory *types.CONTRACT_ID                       `json:"burnMintFactory" hex:"optional"`
}

SetBurnMintFactoryMCMSParams is SetBurnMintFactory without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (SetBurnMintFactoryMCMSParams) MarshalHex

func (t SetBurnMintFactoryMCMSParams) MarshalHex() (string, error)

MarshalHex encodes SetBurnMintFactoryMCMSParams to hex string for MCMS operationData.

func (*SetBurnMintFactoryMCMSParams) UnmarshalHex

func (t *SetBurnMintFactoryMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes SetBurnMintFactoryMCMSParams from hex string.

type SetBurnMintFactoryParams

type SetBurnMintFactoryParams struct {
	InstrumentId           splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	BurnMintFactoryAddress *chainlinkapi.RawInstanceAddress         `json:"burnMintFactoryAddress" hex:"optional"`
}

SetBurnMintFactoryParams is a Record type

func (SetBurnMintFactoryParams) MarshalHex

func (t SetBurnMintFactoryParams) MarshalHex() (string, error)

MarshalHex encodes SetBurnMintFactoryParams to hex string (Canton MCMS format)

func (SetBurnMintFactoryParams) MarshalJSON

func (t SetBurnMintFactoryParams) MarshalJSON() ([]byte, error)

func (SetBurnMintFactoryParams) ToMap

func (t SetBurnMintFactoryParams) ToMap() map[string]any

ToMap converts SetBurnMintFactoryParams to a map for DAML arguments

func (*SetBurnMintFactoryParams) UnmarshalHex

func (t *SetBurnMintFactoryParams) UnmarshalHex(data string) error

UnmarshalHex decodes SetBurnMintFactoryParams from hex string (Canton MCMS format)

func (*SetBurnMintFactoryParams) UnmarshalJSON

func (t *SetBurnMintFactoryParams) UnmarshalJSON(data []byte) error

type SetConfig

type SetConfig struct {
	NewIsEnabled types.BOOL    `json:"newIsEnabled"`
	NewCapacity  types.NUMERIC `json:"newCapacity"`
	NewRate      types.NUMERIC `json:"newRate"`
}

SetConfig is a Record type

func (SetConfig) MarshalHex

func (t SetConfig) MarshalHex() (string, error)

MarshalHex encodes SetConfig to hex string (Canton MCMS format)

func (SetConfig) MarshalJSON

func (t SetConfig) MarshalJSON() ([]byte, error)

func (SetConfig) ToMap

func (t SetConfig) ToMap() map[string]any

ToMap converts SetConfig to a map for DAML arguments

func (*SetConfig) UnmarshalHex

func (t *SetConfig) UnmarshalHex(data string) error

UnmarshalHex decodes SetConfig from hex string (Canton MCMS format)

func (*SetConfig) UnmarshalJSON

func (t *SetConfig) UnmarshalJSON(data []byte) error

type SetInboundPoolCCVs

type SetInboundPoolCCVs struct {
	PoolAddress chainlinkapi.RawInstanceAddress   `json:"poolAddress"`
	PoolCCVs    []chainlinkapi.RawInstanceAddress `json:"poolCCVs"`
}

SetInboundPoolCCVs is a Record type

func (SetInboundPoolCCVs) MarshalHex

func (t SetInboundPoolCCVs) MarshalHex() (string, error)

MarshalHex encodes SetInboundPoolCCVs to hex string (Canton MCMS format)

func (SetInboundPoolCCVs) MarshalJSON

func (t SetInboundPoolCCVs) MarshalJSON() ([]byte, error)

func (SetInboundPoolCCVs) ToMap

func (t SetInboundPoolCCVs) ToMap() map[string]any

ToMap converts SetInboundPoolCCVs to a map for DAML arguments

func (*SetInboundPoolCCVs) UnmarshalHex

func (t *SetInboundPoolCCVs) UnmarshalHex(data string) error

UnmarshalHex decodes SetInboundPoolCCVs from hex string (Canton MCMS format)

func (*SetInboundPoolCCVs) UnmarshalJSON

func (t *SetInboundPoolCCVs) UnmarshalJSON(data []byte) error

type SetOutboundPoolCCVs

type SetOutboundPoolCCVs struct {
	PoolCCVs []chainlinkapi.RawInstanceAddress `json:"poolCCVs"`
}

SetOutboundPoolCCVs is a Record type

func (SetOutboundPoolCCVs) MarshalHex

func (t SetOutboundPoolCCVs) MarshalHex() (string, error)

MarshalHex encodes SetOutboundPoolCCVs to hex string (Canton MCMS format)

func (SetOutboundPoolCCVs) MarshalJSON

func (t SetOutboundPoolCCVs) MarshalJSON() ([]byte, error)

func (SetOutboundPoolCCVs) ToMap

func (t SetOutboundPoolCCVs) ToMap() map[string]any

ToMap converts SetOutboundPoolCCVs to a map for DAML arguments

func (*SetOutboundPoolCCVs) UnmarshalHex

func (t *SetOutboundPoolCCVs) UnmarshalHex(data string) error

UnmarshalHex decodes SetOutboundPoolCCVs from hex string (Canton MCMS format)

func (*SetOutboundPoolCCVs) UnmarshalJSON

func (t *SetOutboundPoolCCVs) UnmarshalJSON(data []byte) error

type SetPool

type SetPool struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	TokenPool      *PoolRegistration                        `json:"tokenPool" hex:"optional"`
	Caller         types.PARTY                              `json:"caller"`
}

SetPool is a Record type

func (SetPool) MarshalHex

func (t SetPool) MarshalHex() (string, error)

MarshalHex encodes SetPool to hex string (Canton MCMS format)

func (SetPool) MarshalJSON

func (t SetPool) MarshalJSON() ([]byte, error)

func (SetPool) ToMap

func (t SetPool) ToMap() map[string]any

ToMap converts SetPool to a map for DAML arguments

func (*SetPool) UnmarshalHex

func (t *SetPool) UnmarshalHex(data string) error

UnmarshalHex decodes SetPool from hex string (Canton MCMS format)

func (*SetPool) UnmarshalJSON

func (t *SetPool) UnmarshalJSON(data []byte) error

type SetPoolMCMSParams

type SetPoolMCMSParams struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	TokenPool      *PoolRegistration                        `json:"tokenPool" hex:"optional"`
}

SetPoolMCMSParams is SetPool without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (SetPoolMCMSParams) MarshalHex

func (t SetPoolMCMSParams) MarshalHex() (string, error)

MarshalHex encodes SetPoolMCMSParams to hex string for MCMS operationData.

func (*SetPoolMCMSParams) UnmarshalHex

func (t *SetPoolMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes SetPoolMCMSParams from hex string.

type SetPoolParams

type SetPoolParams struct {
	InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	TokenPool    *PoolRegistration                        `json:"tokenPool" hex:"optional"`
}

SetPoolParams is a Record type

func (SetPoolParams) MarshalHex

func (t SetPoolParams) MarshalHex() (string, error)

MarshalHex encodes SetPoolParams to hex string (Canton MCMS format)

func (SetPoolParams) MarshalJSON

func (t SetPoolParams) MarshalJSON() ([]byte, error)

func (SetPoolParams) ToMap

func (t SetPoolParams) ToMap() map[string]any

ToMap converts SetPoolParams to a map for DAML arguments

func (*SetPoolParams) UnmarshalHex

func (t *SetPoolParams) UnmarshalHex(data string) error

UnmarshalHex decodes SetPoolParams from hex string (Canton MCMS format)

func (*SetPoolParams) UnmarshalJSON

func (t *SetPoolParams) UnmarshalJSON(data []byte) error

type SetTransferFactory

type SetTransferFactory struct {
	TokenConfigCid  types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId    splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	TransferFactory *types.CONTRACT_ID                       `json:"transferFactory" hex:"optional"`
	Caller          types.PARTY                              `json:"caller"`
}

SetTransferFactory is a Record type

func (SetTransferFactory) MarshalHex

func (t SetTransferFactory) MarshalHex() (string, error)

MarshalHex encodes SetTransferFactory to hex string (Canton MCMS format)

func (SetTransferFactory) MarshalJSON

func (t SetTransferFactory) MarshalJSON() ([]byte, error)

func (SetTransferFactory) ToMap

func (t SetTransferFactory) ToMap() map[string]any

ToMap converts SetTransferFactory to a map for DAML arguments

func (*SetTransferFactory) UnmarshalHex

func (t *SetTransferFactory) UnmarshalHex(data string) error

UnmarshalHex decodes SetTransferFactory from hex string (Canton MCMS format)

func (*SetTransferFactory) UnmarshalJSON

func (t *SetTransferFactory) UnmarshalJSON(data []byte) error

type SetTransferFactoryMCMSParams

type SetTransferFactoryMCMSParams struct {
	TokenConfigCid  types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId    splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	TransferFactory *types.CONTRACT_ID                       `json:"transferFactory" hex:"optional"`
}

SetTransferFactoryMCMSParams is SetTransferFactory without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (SetTransferFactoryMCMSParams) MarshalHex

func (t SetTransferFactoryMCMSParams) MarshalHex() (string, error)

MarshalHex encodes SetTransferFactoryMCMSParams to hex string for MCMS operationData.

func (*SetTransferFactoryMCMSParams) UnmarshalHex

func (t *SetTransferFactoryMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes SetTransferFactoryMCMSParams from hex string.

type SetTransferFactoryParams

type SetTransferFactoryParams struct {
	InstrumentId           splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	TransferFactoryAddress *chainlinkapi.RawInstanceAddress         `json:"transferFactoryAddress" hex:"optional"`
}

SetTransferFactoryParams is a Record type

func (SetTransferFactoryParams) MarshalHex

func (t SetTransferFactoryParams) MarshalHex() (string, error)

MarshalHex encodes SetTransferFactoryParams to hex string (Canton MCMS format)

func (SetTransferFactoryParams) MarshalJSON

func (t SetTransferFactoryParams) MarshalJSON() ([]byte, error)

func (SetTransferFactoryParams) ToMap

func (t SetTransferFactoryParams) ToMap() map[string]any

ToMap converts SetTransferFactoryParams to a map for DAML arguments

func (*SetTransferFactoryParams) UnmarshalHex

func (t *SetTransferFactoryParams) UnmarshalHex(data string) error

UnmarshalHex decodes SetTransferFactoryParams from hex string (Canton MCMS format)

func (*SetTransferFactoryParams) UnmarshalJSON

func (t *SetTransferFactoryParams) UnmarshalJSON(data []byte) error

type SourceChainConfig

type SourceChainConfig struct {
	IsEnabled        types.BOOL                        `json:"isEnabled"`
	OnRampAddresses  []types.TEXT                      `json:"onRampAddresses"`
	DefaultCCVs      []chainlinkapi.RawInstanceAddress `json:"defaultCCVs"`
	LaneMandatedCCVs []chainlinkapi.RawInstanceAddress `json:"laneMandatedCCVs"`
}

SourceChainConfig is a Record type

func (SourceChainConfig) MarshalHex

func (t SourceChainConfig) MarshalHex() (string, error)

MarshalHex encodes SourceChainConfig to hex string (Canton MCMS format)

func (SourceChainConfig) MarshalJSON

func (t SourceChainConfig) MarshalJSON() ([]byte, error)

func (SourceChainConfig) ToMap

func (t SourceChainConfig) ToMap() map[string]any

ToMap converts SourceChainConfig to a map for DAML arguments

func (*SourceChainConfig) UnmarshalHex

func (t *SourceChainConfig) UnmarshalHex(data string) error

UnmarshalHex decodes SourceChainConfig from hex string (Canton MCMS format)

func (*SourceChainConfig) UnmarshalJSON

func (t *SourceChainConfig) UnmarshalJSON(data []byte) error

type SourceChainConfigArgs

type SourceChainConfigArgs struct {
	SourceChainSelector types.NUMERIC                     `json:"sourceChainSelector"`
	IsEnabled           types.BOOL                        `json:"isEnabled"`
	OnRampAddresses     []types.TEXT                      `json:"onRampAddresses"`
	DefaultCCVs         []chainlinkapi.RawInstanceAddress `json:"defaultCCVs"`
	LaneMandatedCCVs    []chainlinkapi.RawInstanceAddress `json:"laneMandatedCCVs"`
}

SourceChainConfigArgs is a Record type

func (SourceChainConfigArgs) MarshalHex

func (t SourceChainConfigArgs) MarshalHex() (string, error)

MarshalHex encodes SourceChainConfigArgs to hex string (Canton MCMS format)

func (SourceChainConfigArgs) MarshalJSON

func (t SourceChainConfigArgs) MarshalJSON() ([]byte, error)

func (SourceChainConfigArgs) ToMap

func (t SourceChainConfigArgs) ToMap() map[string]any

ToMap converts SourceChainConfigArgs to a map for DAML arguments

func (*SourceChainConfigArgs) UnmarshalHex

func (t *SourceChainConfigArgs) UnmarshalHex(data string) error

UnmarshalHex decodes SourceChainConfigArgs from hex string (Canton MCMS format)

func (*SourceChainConfigArgs) UnmarshalJSON

func (t *SourceChainConfigArgs) UnmarshalJSON(data []byte) error

type Template

type Template interface {
	CreateCommand() *model.CreateCommand
	GetTemplateID() string
}

type TimestampedPrice

type TimestampedPrice struct {
	Price     types.NUMERIC   `json:"price"`
	Timestamp types.TIMESTAMP `json:"timestamp"`
}

TimestampedPrice is a Record type

func (TimestampedPrice) MarshalHex

func (t TimestampedPrice) MarshalHex() (string, error)

MarshalHex encodes TimestampedPrice to hex string (Canton MCMS format)

func (TimestampedPrice) MarshalJSON

func (t TimestampedPrice) MarshalJSON() ([]byte, error)

func (TimestampedPrice) ToMap

func (t TimestampedPrice) ToMap() map[string]any

ToMap converts TimestampedPrice to a map for DAML arguments

func (*TimestampedPrice) UnmarshalHex

func (t *TimestampedPrice) UnmarshalHex(data string) error

UnmarshalHex decodes TimestampedPrice from hex string (Canton MCMS format)

func (*TimestampedPrice) UnmarshalJSON

func (t *TimestampedPrice) UnmarshalJSON(data []byte) error

type TokenAdminRegistry

type TokenAdminRegistry struct {
	InstanceId types.TEXT  `json:"instanceId"`
	Owner      types.PARTY `json:"owner"`
	EntryCount types.INT64 `json:"entryCount"`
}

TokenAdminRegistry is a Template type

func (TokenAdminRegistry) AcceptAdminRole

func (t TokenAdminRegistry) AcceptAdminRole(contractID string, args AcceptAdminRole) *model.ExerciseCommand

AcceptAdminRole exercises the AcceptAdminRole choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) AcceptAdminRoleWithPackageID

func (t TokenAdminRegistry) AcceptAdminRoleWithPackageID(contractID string, packageID string, args AcceptAdminRole) *model.ExerciseCommand

AcceptAdminRoleWithPackageID exercises the AcceptAdminRole choice using the provided package ID instead of package name

func (TokenAdminRegistry) AddTokenSend

func (t TokenAdminRegistry) AddTokenSend(contractID string, args AddTokenSend) *model.ExerciseCommand

AddTokenSend exercises the AddTokenSend choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) AddTokenSendFee

func (t TokenAdminRegistry) AddTokenSendFee(contractID string, args AddTokenSendFee) *model.ExerciseCommand

AddTokenSendFee exercises the AddTokenSendFee choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) AddTokenSendFeeWithPackageID

func (t TokenAdminRegistry) AddTokenSendFeeWithPackageID(contractID string, packageID string, args AddTokenSendFee) *model.ExerciseCommand

AddTokenSendFeeWithPackageID exercises the AddTokenSendFee choice using the provided package ID instead of package name

func (TokenAdminRegistry) AddTokenSendWithPackageID

func (t TokenAdminRegistry) AddTokenSendWithPackageID(contractID string, packageID string, args AddTokenSend) *model.ExerciseCommand

AddTokenSendWithPackageID exercises the AddTokenSend choice using the provided package ID instead of package name

func (TokenAdminRegistry) Archive

func (t TokenAdminRegistry) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this TokenAdminRegistry contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (TokenAdminRegistry) ArchiveWithPackageID

func (t TokenAdminRegistry) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (TokenAdminRegistry) ConsumeReceiveTicket

func (t TokenAdminRegistry) ConsumeReceiveTicket(contractID string, args ConsumeReceiveTicket) *model.ExerciseCommand

ConsumeReceiveTicket exercises the ConsumeReceiveTicket choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) ConsumeReceiveTicketWithPackageID

func (t TokenAdminRegistry) ConsumeReceiveTicketWithPackageID(contractID string, packageID string, args ConsumeReceiveTicket) *model.ExerciseCommand

ConsumeReceiveTicketWithPackageID exercises the ConsumeReceiveTicket choice using the provided package ID instead of package name

func (TokenAdminRegistry) CreateCommand

func (t TokenAdminRegistry) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (TokenAdminRegistry) CreateCommandWithPackageID

func (t TokenAdminRegistry) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (TokenAdminRegistry) FinalizeExecute

func (t TokenAdminRegistry) FinalizeExecute(contractID string, args FinalizeExecute) *model.ExerciseCommand

FinalizeExecute exercises the FinalizeExecute choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) FinalizeExecuteWithPackageID

func (t TokenAdminRegistry) FinalizeExecuteWithPackageID(contractID string, packageID string, args FinalizeExecute) *model.ExerciseCommand

FinalizeExecuteWithPackageID exercises the FinalizeExecute choice using the provided package ID instead of package name

func (TokenAdminRegistry) Get

func (t TokenAdminRegistry) Get(contractID string, args Get) *model.ExerciseCommand

Get exercises the Get choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) GetTemplateID

func (t TokenAdminRegistry) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (TokenAdminRegistry) GetTemplateIDWithPackageID

func (t TokenAdminRegistry) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (TokenAdminRegistry) GetTokenConfigByCid

func (t TokenAdminRegistry) GetTokenConfigByCid(contractID string, args GetTokenConfigByCid) *model.ExerciseCommand

GetTokenConfigByCid exercises the GetTokenConfigByCid choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) GetTokenConfigByCidWithPackageID

func (t TokenAdminRegistry) GetTokenConfigByCidWithPackageID(contractID string, packageID string, args GetTokenConfigByCid) *model.ExerciseCommand

GetTokenConfigByCidWithPackageID exercises the GetTokenConfigByCid choice using the provided package ID instead of package name

func (TokenAdminRegistry) GetWithPackageID

func (t TokenAdminRegistry) GetWithPackageID(contractID string, packageID string, args Get) *model.ExerciseCommand

GetWithPackageID exercises the Get choice using the provided package ID instead of package name

func (TokenAdminRegistry) IsAdministrator

func (t TokenAdminRegistry) IsAdministrator(contractID string, args IsAdministrator) *model.ExerciseCommand

IsAdministrator exercises the IsAdministrator choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) IsAdministratorWithPackageID

func (t TokenAdminRegistry) IsAdministratorWithPackageID(contractID string, packageID string, args IsAdministrator) *model.ExerciseCommand

IsAdministratorWithPackageID exercises the IsAdministrator choice using the provided package ID instead of package name

func (TokenAdminRegistry) MCMSReceiverEntrypoint

func (t TokenAdminRegistry) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand

MCMSReceiverEntrypoint exercises the MCMSReceiver_Entrypoint choice on this TokenAdminRegistry contract via the IMCMSReceiver interface This method uses the package name in the template ID

func (TokenAdminRegistry) MCMSReceiverEntrypointWithPackageID

func (t TokenAdminRegistry) 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 (TokenAdminRegistry) MarshalHex

func (t TokenAdminRegistry) MarshalHex() (string, error)

MarshalHex encodes TokenAdminRegistry to hex string (Canton MCMS format)

func (TokenAdminRegistry) MarshalJSON

func (t TokenAdminRegistry) MarshalJSON() ([]byte, error)

func (TokenAdminRegistry) ProposeAdministrator

func (t TokenAdminRegistry) ProposeAdministrator(contractID string, args ProposeAdministrator) *model.ExerciseCommand

ProposeAdministrator exercises the ProposeAdministrator choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) ProposeAdministratorWithPackageID

func (t TokenAdminRegistry) ProposeAdministratorWithPackageID(contractID string, packageID string, args ProposeAdministrator) *model.ExerciseCommand

ProposeAdministratorWithPackageID exercises the ProposeAdministrator choice using the provided package ID instead of package name

func (TokenAdminRegistry) SetBurnMintFactory

func (t TokenAdminRegistry) SetBurnMintFactory(contractID string, args SetBurnMintFactory) *model.ExerciseCommand

SetBurnMintFactory exercises the SetBurnMintFactory choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) SetBurnMintFactoryWithPackageID

func (t TokenAdminRegistry) SetBurnMintFactoryWithPackageID(contractID string, packageID string, args SetBurnMintFactory) *model.ExerciseCommand

SetBurnMintFactoryWithPackageID exercises the SetBurnMintFactory choice using the provided package ID instead of package name

func (TokenAdminRegistry) SetInboundPoolCCVs

func (t TokenAdminRegistry) SetInboundPoolCCVs(contractID string, args SetInboundPoolCCVs) *model.ExerciseCommand

SetInboundPoolCCVs exercises the SetInboundPoolCCVs choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) SetInboundPoolCCVsWithPackageID

func (t TokenAdminRegistry) SetInboundPoolCCVsWithPackageID(contractID string, packageID string, args SetInboundPoolCCVs) *model.ExerciseCommand

SetInboundPoolCCVsWithPackageID exercises the SetInboundPoolCCVs choice using the provided package ID instead of package name

func (TokenAdminRegistry) SetOutboundPoolCCVs

func (t TokenAdminRegistry) SetOutboundPoolCCVs(contractID string, args SetOutboundPoolCCVs) *model.ExerciseCommand

SetOutboundPoolCCVs exercises the SetOutboundPoolCCVs choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) SetOutboundPoolCCVsWithPackageID

func (t TokenAdminRegistry) SetOutboundPoolCCVsWithPackageID(contractID string, packageID string, args SetOutboundPoolCCVs) *model.ExerciseCommand

SetOutboundPoolCCVsWithPackageID exercises the SetOutboundPoolCCVs choice using the provided package ID instead of package name

func (TokenAdminRegistry) SetPool

func (t TokenAdminRegistry) SetPool(contractID string, args SetPool) *model.ExerciseCommand

SetPool exercises the SetPool choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) SetPoolWithPackageID

func (t TokenAdminRegistry) SetPoolWithPackageID(contractID string, packageID string, args SetPool) *model.ExerciseCommand

SetPoolWithPackageID exercises the SetPool choice using the provided package ID instead of package name

func (TokenAdminRegistry) SetTransferFactory

func (t TokenAdminRegistry) SetTransferFactory(contractID string, args SetTransferFactory) *model.ExerciseCommand

SetTransferFactory exercises the SetTransferFactory choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) SetTransferFactoryWithPackageID

func (t TokenAdminRegistry) SetTransferFactoryWithPackageID(contractID string, packageID string, args SetTransferFactory) *model.ExerciseCommand

SetTransferFactoryWithPackageID exercises the SetTransferFactory choice using the provided package ID instead of package name

func (TokenAdminRegistry) TransferAdminRole

func (t TokenAdminRegistry) TransferAdminRole(contractID string, args TransferAdminRole) *model.ExerciseCommand

TransferAdminRole exercises the TransferAdminRole choice on this TokenAdminRegistry contract This method uses the package name in the template ID

func (TokenAdminRegistry) TransferAdminRoleWithPackageID

func (t TokenAdminRegistry) TransferAdminRoleWithPackageID(contractID string, packageID string, args TransferAdminRole) *model.ExerciseCommand

TransferAdminRoleWithPackageID exercises the TransferAdminRole choice using the provided package ID instead of package name

func (*TokenAdminRegistry) UnmarshalHex

func (t *TokenAdminRegistry) UnmarshalHex(data string) error

UnmarshalHex decodes TokenAdminRegistry from hex string (Canton MCMS format)

func (*TokenAdminRegistry) UnmarshalJSON

func (t *TokenAdminRegistry) UnmarshalJSON(data []byte) error

type TokenConfig

type TokenConfig struct {
	InstanceId         types.TEXT                               `json:"instanceId"`
	RegistryInstanceId types.TEXT                               `json:"registryInstanceId"`
	RegistryOwner      types.PARTY                              `json:"registryOwner"`
	Index              types.INT64                              `json:"index"`
	IsCCIPManaged      types.BOOL                               `json:"isCCIPManaged"`
	InstrumentId       splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	Admin              *types.PARTY                             `json:"admin" hex:"optional"`
	PendingAdmin       *types.PARTY                             `json:"pendingAdmin" hex:"optional"`
	TokenPool          *PoolRegistration                        `json:"tokenPool" hex:"optional"`
	TransferFactory    *types.CONTRACT_ID                       `json:"transferFactory" hex:"optional"`
	BurnMintFactory    *types.CONTRACT_ID                       `json:"burnMintFactory" hex:"optional"`
}

TokenConfig is a Template type

func (TokenConfig) Archive

func (t TokenConfig) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this TokenConfig contract This method uses the package name in the template ID

func (TokenConfig) ArchiveWithPackageID

func (t TokenConfig) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (TokenConfig) CreateCommand

func (t TokenConfig) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (TokenConfig) CreateCommandWithPackageID

func (t TokenConfig) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (TokenConfig) GetTemplateID

func (t TokenConfig) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (TokenConfig) GetTemplateIDWithPackageID

func (t TokenConfig) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (TokenConfig) MarshalHex

func (t TokenConfig) MarshalHex() (string, error)

MarshalHex encodes TokenConfig to hex string (Canton MCMS format)

func (TokenConfig) MarshalJSON

func (t TokenConfig) MarshalJSON() ([]byte, error)

func (*TokenConfig) UnmarshalHex

func (t *TokenConfig) UnmarshalHex(data string) error

UnmarshalHex decodes TokenConfig from hex string (Canton MCMS format)

func (*TokenConfig) UnmarshalJSON

func (t *TokenConfig) UnmarshalJSON(data []byte) error

type TokenPriceUpdate

type TokenPriceUpdate struct {
	InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	UsdPerToken  types.NUMERIC                            `json:"usdPerToken"`
}

TokenPriceUpdate is a Record type

func (TokenPriceUpdate) MarshalHex

func (t TokenPriceUpdate) MarshalHex() (string, error)

MarshalHex encodes TokenPriceUpdate to hex string (Canton MCMS format)

func (TokenPriceUpdate) MarshalJSON

func (t TokenPriceUpdate) MarshalJSON() ([]byte, error)

func (TokenPriceUpdate) ToMap

func (t TokenPriceUpdate) ToMap() map[string]any

ToMap converts TokenPriceUpdate to a map for DAML arguments

func (*TokenPriceUpdate) UnmarshalHex

func (t *TokenPriceUpdate) UnmarshalHex(data string) error

UnmarshalHex decodes TokenPriceUpdate from hex string (Canton MCMS format)

func (*TokenPriceUpdate) UnmarshalJSON

func (t *TokenPriceUpdate) UnmarshalJSON(data []byte) error

type TokenReceiveTicket

type TokenReceiveTicket struct {
	CcipOwner                    types.PARTY                              `json:"ccipOwner"`
	CcvOwners                    []types.PARTY                            `json:"ccvOwners"`
	VerifiedCCVs                 []chainlinkapi.RawInstanceAddress        `json:"verifiedCCVs"`
	RequiredInboundPoolCCVs      []chainlinkapi.RawInstanceAddress        `json:"requiredInboundPoolCCVs"`
	TokenAdminRegistryInstanceId types.TEXT                               `json:"tokenAdminRegistryInstanceId"`
	PoolAddress                  chainlinkapi.RawInstanceAddress          `json:"poolAddress"`
	PoolOwner                    types.PARTY                              `json:"poolOwner"`
	Receiver                     types.PARTY                              `json:"receiver"`
	TokenReceiver                types.PARTY                              `json:"tokenReceiver"`
	InstrumentId                 splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	Amount                       types.TEXT                               `json:"amount"`
	SourcePoolData               types.TEXT                               `json:"sourcePoolData"`
	MessageId                    types.TEXT                               `json:"messageId"`
	SourceChainSelector          types.NUMERIC                            `json:"sourceChainSelector"`
	Finality                     FinalityConfig                           `json:"finality"`
}

TokenReceiveTicket is a Template type

func (TokenReceiveTicket) Archive

func (t TokenReceiveTicket) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this TokenReceiveTicket contract This method uses the package name in the template ID

func (TokenReceiveTicket) ArchiveWithPackageID

func (t TokenReceiveTicket) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (TokenReceiveTicket) ConsumeByCCIPOwner

func (t TokenReceiveTicket) ConsumeByCCIPOwner(contractID string, args ConsumeByCCIPOwner) *model.ExerciseCommand

ConsumeByCCIPOwner exercises the ConsumeByCCIPOwner choice on this TokenReceiveTicket contract This method uses the package name in the template ID

func (TokenReceiveTicket) ConsumeByCCIPOwnerWithPackageID

func (t TokenReceiveTicket) ConsumeByCCIPOwnerWithPackageID(contractID string, packageID string, args ConsumeByCCIPOwner) *model.ExerciseCommand

ConsumeByCCIPOwnerWithPackageID exercises the ConsumeByCCIPOwner choice using the provided package ID instead of package name

func (TokenReceiveTicket) CreateCommand

func (t TokenReceiveTicket) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (TokenReceiveTicket) CreateCommandWithPackageID

func (t TokenReceiveTicket) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (TokenReceiveTicket) GetTemplateID

func (t TokenReceiveTicket) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (TokenReceiveTicket) GetTemplateIDWithPackageID

func (t TokenReceiveTicket) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (TokenReceiveTicket) MarshalHex

func (t TokenReceiveTicket) MarshalHex() (string, error)

MarshalHex encodes TokenReceiveTicket to hex string (Canton MCMS format)

func (TokenReceiveTicket) MarshalJSON

func (t TokenReceiveTicket) MarshalJSON() ([]byte, error)

func (*TokenReceiveTicket) UnmarshalHex

func (t *TokenReceiveTicket) UnmarshalHex(data string) error

UnmarshalHex decodes TokenReceiveTicket from hex string (Canton MCMS format)

func (*TokenReceiveTicket) UnmarshalJSON

func (t *TokenReceiveTicket) UnmarshalJSON(data []byte) error

type TokenReceiveTicketClaimed

type TokenReceiveTicketClaimed struct {
	CcipOwner             types.PARTY                    `json:"ccipOwner"`
	CcvOwners             []types.PARTY                  `json:"ccvOwners"`
	PoolOwner             types.PARTY                    `json:"poolOwner"`
	Receiver              types.PARTY                    `json:"receiver"`
	TokenReceiver         types.PARTY                    `json:"tokenReceiver"`
	TokenReceiveTicketCid types.CONTRACT_ID              `json:"tokenReceiveTicketCid"`
	Event                 TokenReceiveTicketClaimedEvent `json:"event"`
}

TokenReceiveTicketClaimed is a Template type

func (TokenReceiveTicketClaimed) Archive

func (t TokenReceiveTicketClaimed) Archive(contractID string) *model.ExerciseCommand

Archive exercises the Archive choice on this TokenReceiveTicketClaimed contract This method uses the package name in the template ID

func (TokenReceiveTicketClaimed) ArchiveWithPackageID

func (t TokenReceiveTicketClaimed) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand

ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name

func (TokenReceiveTicketClaimed) CreateCommand

func (t TokenReceiveTicketClaimed) CreateCommand() *model.CreateCommand

CreateCommand returns a CreateCommand for this template using the package name

func (TokenReceiveTicketClaimed) CreateCommandWithPackageID

func (t TokenReceiveTicketClaimed) CreateCommandWithPackageID(packageID string) *model.CreateCommand

CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name

func (TokenReceiveTicketClaimed) GetTemplateID

func (t TokenReceiveTicketClaimed) GetTemplateID() string

GetTemplateID returns the template ID for this template using the package name

func (TokenReceiveTicketClaimed) GetTemplateIDWithPackageID

func (t TokenReceiveTicketClaimed) GetTemplateIDWithPackageID(packageID string) string

GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name

func (TokenReceiveTicketClaimed) MarshalHex

func (t TokenReceiveTicketClaimed) MarshalHex() (string, error)

MarshalHex encodes TokenReceiveTicketClaimed to hex string (Canton MCMS format)

func (TokenReceiveTicketClaimed) MarshalJSON

func (t TokenReceiveTicketClaimed) MarshalJSON() ([]byte, error)

func (*TokenReceiveTicketClaimed) UnmarshalHex

func (t *TokenReceiveTicketClaimed) UnmarshalHex(data string) error

UnmarshalHex decodes TokenReceiveTicketClaimed from hex string (Canton MCMS format)

func (*TokenReceiveTicketClaimed) UnmarshalJSON

func (t *TokenReceiveTicketClaimed) UnmarshalJSON(data []byte) error

type TokenReceiveTicketClaimedCompleted

type TokenReceiveTicketClaimedCompleted struct {
	ReceiverHoldingCids []types.CONTRACT_ID `json:"receiverHoldingCids"`
}

TokenReceiveTicketClaimedCompleted is a Record type

func (TokenReceiveTicketClaimedCompleted) MarshalHex

MarshalHex encodes TokenReceiveTicketClaimedCompleted to hex string (Canton MCMS format)

func (TokenReceiveTicketClaimedCompleted) MarshalJSON

func (t TokenReceiveTicketClaimedCompleted) MarshalJSON() ([]byte, error)

func (TokenReceiveTicketClaimedCompleted) ToMap

ToMap converts TokenReceiveTicketClaimedCompleted to a map for DAML arguments

func (*TokenReceiveTicketClaimedCompleted) UnmarshalHex

func (t *TokenReceiveTicketClaimedCompleted) UnmarshalHex(data string) error

UnmarshalHex decodes TokenReceiveTicketClaimedCompleted from hex string (Canton MCMS format)

func (*TokenReceiveTicketClaimedCompleted) UnmarshalJSON

func (t *TokenReceiveTicketClaimedCompleted) UnmarshalJSON(data []byte) error

type TokenReceiveTicketClaimedEvent

type TokenReceiveTicketClaimedEvent struct {
	VerifiedCCVs                 []chainlinkapi.RawInstanceAddress        `json:"verifiedCCVs"`
	TokenAdminRegistryInstanceId types.TEXT                               `json:"tokenAdminRegistryInstanceId"`
	PoolAddress                  chainlinkapi.RawInstanceAddress          `json:"poolAddress"`
	InstrumentId                 splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	SourceAmount                 types.TEXT                               `json:"sourceAmount"`
	LocalAmount                  types.NUMERIC                            `json:"localAmount"`
	SourcePoolData               types.TEXT                               `json:"sourcePoolData"`
	MessageId                    types.TEXT                               `json:"messageId"`
	SourceChainSelector          types.NUMERIC                            `json:"sourceChainSelector"`
	Finality                     FinalityConfig                           `json:"finality"`
	Output                       TokenReceiveTicketClaimedOutput          `json:"output"`
}

TokenReceiveTicketClaimedEvent is a Record type

func (TokenReceiveTicketClaimedEvent) MarshalHex

func (t TokenReceiveTicketClaimedEvent) MarshalHex() (string, error)

MarshalHex encodes TokenReceiveTicketClaimedEvent to hex string (Canton MCMS format)

func (TokenReceiveTicketClaimedEvent) MarshalJSON

func (t TokenReceiveTicketClaimedEvent) MarshalJSON() ([]byte, error)

func (TokenReceiveTicketClaimedEvent) ToMap

ToMap converts TokenReceiveTicketClaimedEvent to a map for DAML arguments

func (*TokenReceiveTicketClaimedEvent) UnmarshalHex

func (t *TokenReceiveTicketClaimedEvent) UnmarshalHex(data string) error

UnmarshalHex decodes TokenReceiveTicketClaimedEvent from hex string (Canton MCMS format)

func (*TokenReceiveTicketClaimedEvent) UnmarshalJSON

func (t *TokenReceiveTicketClaimedEvent) UnmarshalJSON(data []byte) error

type TokenReceiveTicketClaimedOutput

type TokenReceiveTicketClaimedOutput struct {
	TokenReceiveTicketClaimedPending   *TokenReceiveTicketClaimedPending   `json:"TokenReceiveTicketClaimed_Pending,omitempty"`
	TokenReceiveTicketClaimedCompleted *TokenReceiveTicketClaimedCompleted `json:"TokenReceiveTicketClaimed_Completed,omitempty"`
}

TokenReceiveTicketClaimedOutput is a variant/union type

func (TokenReceiveTicketClaimedOutput) GetVariantTag

func (v TokenReceiveTicketClaimedOutput) GetVariantTag() string

GetVariantTag implements types.VARIANT interface

func (TokenReceiveTicketClaimedOutput) GetVariantValue

func (v TokenReceiveTicketClaimedOutput) GetVariantValue() any

GetVariantValue implements types.VARIANT interface

func (TokenReceiveTicketClaimedOutput) MarshalHex

func (v TokenReceiveTicketClaimedOutput) MarshalHex() (string, error)

MarshalHex encodes TokenReceiveTicketClaimedOutput to hex string (Canton MCMS format)

func (TokenReceiveTicketClaimedOutput) MarshalJSON

func (v TokenReceiveTicketClaimedOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements custom JSON marshaling for TokenReceiveTicketClaimedOutput

func (*TokenReceiveTicketClaimedOutput) UnmarshalHex

func (v *TokenReceiveTicketClaimedOutput) UnmarshalHex(data string) error

UnmarshalHex decodes TokenReceiveTicketClaimedOutput from hex string (Canton MCMS format)

func (*TokenReceiveTicketClaimedOutput) UnmarshalJSON

func (v *TokenReceiveTicketClaimedOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements custom JSON unmarshalling for TokenReceiveTicketClaimedOutput

type TokenReceiveTicketClaimedPending

type TokenReceiveTicketClaimedPending struct {
	TransferInstructionCid types.CONTRACT_ID `json:"transferInstructionCid"`
}

TokenReceiveTicketClaimedPending is a Record type

func (TokenReceiveTicketClaimedPending) MarshalHex

func (t TokenReceiveTicketClaimedPending) MarshalHex() (string, error)

MarshalHex encodes TokenReceiveTicketClaimedPending to hex string (Canton MCMS format)

func (TokenReceiveTicketClaimedPending) MarshalJSON

func (t TokenReceiveTicketClaimedPending) MarshalJSON() ([]byte, error)

func (TokenReceiveTicketClaimedPending) ToMap

ToMap converts TokenReceiveTicketClaimedPending to a map for DAML arguments

func (*TokenReceiveTicketClaimedPending) UnmarshalHex

func (t *TokenReceiveTicketClaimedPending) UnmarshalHex(data string) error

UnmarshalHex decodes TokenReceiveTicketClaimedPending from hex string (Canton MCMS format)

func (*TokenReceiveTicketClaimedPending) UnmarshalJSON

func (t *TokenReceiveTicketClaimedPending) UnmarshalJSON(data []byte) error

type TokenSendData

type TokenSendData struct {
	PoolInstanceId   types.TEXT                               `json:"poolInstanceId"`
	PoolOwner        types.PARTY                              `json:"poolOwner"`
	InstrumentId     splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	Amount           types.TEXT                               `json:"amount"`
	DestTokenAddress types.TEXT                               `json:"destTokenAddress"`
	ExtraData        types.TEXT                               `json:"extraData"`
}

TokenSendData is a Record type

func (TokenSendData) MarshalHex

func (t TokenSendData) MarshalHex() (string, error)

MarshalHex encodes TokenSendData to hex string (Canton MCMS format)

func (TokenSendData) MarshalJSON

func (t TokenSendData) MarshalJSON() ([]byte, error)

func (TokenSendData) ToMap

func (t TokenSendData) ToMap() map[string]any

ToMap converts TokenSendData to a map for DAML arguments

func (*TokenSendData) UnmarshalHex

func (t *TokenSendData) UnmarshalHex(data string) error

UnmarshalHex decodes TokenSendData from hex string (Canton MCMS format)

func (*TokenSendData) UnmarshalJSON

func (t *TokenSendData) UnmarshalJSON(data []byte) error

type TokenSendFee

type TokenSendFee struct {
	PoolInstanceId    types.TEXT    `json:"poolInstanceId"`
	PoolOwner         types.PARTY   `json:"poolOwner"`
	FeeUSDCents       types.NUMERIC `json:"feeUSDCents"`
	DestGasOverhead   types.INT64   `json:"destGasOverhead"`
	DestBytesOverhead types.INT64   `json:"destBytesOverhead"`
}

TokenSendFee is a Record type

func (TokenSendFee) MarshalHex

func (t TokenSendFee) MarshalHex() (string, error)

MarshalHex encodes TokenSendFee to hex string (Canton MCMS format)

func (TokenSendFee) MarshalJSON

func (t TokenSendFee) MarshalJSON() ([]byte, error)

func (TokenSendFee) ToMap

func (t TokenSendFee) ToMap() map[string]any

ToMap converts TokenSendFee to a map for DAML arguments

func (*TokenSendFee) UnmarshalHex

func (t *TokenSendFee) UnmarshalHex(data string) error

UnmarshalHex decodes TokenSendFee from hex string (Canton MCMS format)

func (*TokenSendFee) UnmarshalJSON

func (t *TokenSendFee) UnmarshalJSON(data []byte) error

type TokenTransfer

type TokenTransfer struct {
	Token  splice_api_token_holding_v1.InstrumentId `json:"token"`
	Amount types.NUMERIC                            `json:"amount"`
}

TokenTransfer is a Record type

func (TokenTransfer) MarshalHex

func (t TokenTransfer) MarshalHex() (string, error)

MarshalHex encodes TokenTransfer to hex string (Canton MCMS format)

func (TokenTransfer) MarshalJSON

func (t TokenTransfer) MarshalJSON() ([]byte, error)

func (TokenTransfer) ToMap

func (t TokenTransfer) ToMap() map[string]any

ToMap converts TokenTransfer to a map for DAML arguments

func (*TokenTransfer) UnmarshalHex

func (t *TokenTransfer) UnmarshalHex(data string) error

UnmarshalHex decodes TokenTransfer from hex string (Canton MCMS format)

func (*TokenTransfer) UnmarshalJSON

func (t *TokenTransfer) UnmarshalJSON(data []byte) error

type TokenTransferFeeConfig

type TokenTransferFeeConfig struct {
	IsEnabled         types.BOOL    `json:"isEnabled"`
	FeeUSD            types.NUMERIC `json:"feeUSD"`
	DestGasOverhead   types.INT64   `json:"destGasOverhead"`
	DestBytesOverhead types.INT64   `json:"destBytesOverhead"`
}

TokenTransferFeeConfig is a Record type

func (TokenTransferFeeConfig) MarshalHex

func (t TokenTransferFeeConfig) MarshalHex() (string, error)

MarshalHex encodes TokenTransferFeeConfig to hex string (Canton MCMS format)

func (TokenTransferFeeConfig) MarshalJSON

func (t TokenTransferFeeConfig) MarshalJSON() ([]byte, error)

func (TokenTransferFeeConfig) ToMap

func (t TokenTransferFeeConfig) ToMap() map[string]any

ToMap converts TokenTransferFeeConfig to a map for DAML arguments

func (*TokenTransferFeeConfig) UnmarshalHex

func (t *TokenTransferFeeConfig) UnmarshalHex(data string) error

UnmarshalHex decodes TokenTransferFeeConfig from hex string (Canton MCMS format)

func (*TokenTransferFeeConfig) UnmarshalJSON

func (t *TokenTransferFeeConfig) UnmarshalJSON(data []byte) error

type TokenTransferV1

type TokenTransferV1 struct {
	Amount             types.TEXT `json:"amount"`
	SourcePoolAddress  types.TEXT `json:"sourcePoolAddress"`
	SourceTokenAddress types.TEXT `json:"sourceTokenAddress"`
	DestTokenAddress   types.TEXT `json:"destTokenAddress"`
	TokenReceiver      types.TEXT `json:"tokenReceiver"`
	ExtraData          types.TEXT `json:"extraData"`
}

TokenTransferV1 is a Record type

func (TokenTransferV1) MarshalHex

func (t TokenTransferV1) MarshalHex() (string, error)

MarshalHex encodes TokenTransferV1 to hex string (Canton MCMS format)

func (TokenTransferV1) MarshalJSON

func (t TokenTransferV1) MarshalJSON() ([]byte, error)

func (TokenTransferV1) ToMap

func (t TokenTransferV1) ToMap() map[string]any

ToMap converts TokenTransferV1 to a map for DAML arguments

func (*TokenTransferV1) UnmarshalHex

func (t *TokenTransferV1) UnmarshalHex(data string) error

UnmarshalHex decodes TokenTransferV1 from hex string (Canton MCMS format)

func (*TokenTransferV1) UnmarshalJSON

func (t *TokenTransferV1) UnmarshalJSON(data []byte) error

type TransferAdminParams

type TransferAdminParams struct {
	InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	NewAdmin     types.PARTY                              `json:"newAdmin"`
}

TransferAdminParams is a Record type

func (TransferAdminParams) MarshalHex

func (t TransferAdminParams) MarshalHex() (string, error)

MarshalHex encodes TransferAdminParams to hex string (Canton MCMS format)

func (TransferAdminParams) MarshalJSON

func (t TransferAdminParams) MarshalJSON() ([]byte, error)

func (TransferAdminParams) ToMap

func (t TransferAdminParams) ToMap() map[string]any

ToMap converts TransferAdminParams to a map for DAML arguments

func (*TransferAdminParams) UnmarshalHex

func (t *TransferAdminParams) UnmarshalHex(data string) error

UnmarshalHex decodes TransferAdminParams from hex string (Canton MCMS format)

func (*TransferAdminParams) UnmarshalJSON

func (t *TransferAdminParams) UnmarshalJSON(data []byte) error

type TransferAdminRole

type TransferAdminRole struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	NewAdmin       types.PARTY                              `json:"newAdmin"`
	Caller         types.PARTY                              `json:"caller"`
}

TransferAdminRole is a Record type

func (TransferAdminRole) MarshalHex

func (t TransferAdminRole) MarshalHex() (string, error)

MarshalHex encodes TransferAdminRole to hex string (Canton MCMS format)

func (TransferAdminRole) MarshalJSON

func (t TransferAdminRole) MarshalJSON() ([]byte, error)

func (TransferAdminRole) ToMap

func (t TransferAdminRole) ToMap() map[string]any

ToMap converts TransferAdminRole to a map for DAML arguments

func (*TransferAdminRole) UnmarshalHex

func (t *TransferAdminRole) UnmarshalHex(data string) error

UnmarshalHex decodes TransferAdminRole from hex string (Canton MCMS format)

func (*TransferAdminRole) UnmarshalJSON

func (t *TransferAdminRole) UnmarshalJSON(data []byte) error

type TransferAdminRoleMCMSParams

type TransferAdminRoleMCMSParams struct {
	TokenConfigCid types.CONTRACT_ID                        `json:"tokenConfigCid"`
	InstrumentId   splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
	NewAdmin       types.PARTY                              `json:"newAdmin"`
}

TransferAdminRoleMCMSParams is TransferAdminRole without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (TransferAdminRoleMCMSParams) MarshalHex

func (t TransferAdminRoleMCMSParams) MarshalHex() (string, error)

MarshalHex encodes TransferAdminRoleMCMSParams to hex string for MCMS operationData.

func (*TransferAdminRoleMCMSParams) UnmarshalHex

func (t *TransferAdminRoleMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes TransferAdminRoleMCMSParams from hex string.

type Uncurse

type Uncurse struct {
	Subject types.TEXT `json:"subject"`
}

Uncurse is a Record type

func (Uncurse) MarshalHex

func (t Uncurse) MarshalHex() (string, error)

MarshalHex encodes Uncurse to hex string (Canton MCMS format)

func (Uncurse) MarshalJSON

func (t Uncurse) MarshalJSON() ([]byte, error)

func (Uncurse) ToMap

func (t Uncurse) ToMap() map[string]any

ToMap converts Uncurse to a map for DAML arguments

func (*Uncurse) UnmarshalHex

func (t *Uncurse) UnmarshalHex(data string) error

UnmarshalHex decodes Uncurse from hex string (Canton MCMS format)

func (*Uncurse) UnmarshalJSON

func (t *Uncurse) UnmarshalJSON(data []byte) error

type UncurseChain

type UncurseChain struct {
	ChainSelector types.NUMERIC `json:"chainSelector"`
}

UncurseChain is a Record type

func (UncurseChain) MarshalHex

func (t UncurseChain) MarshalHex() (string, error)

MarshalHex encodes UncurseChain to hex string (Canton MCMS format)

func (UncurseChain) MarshalJSON

func (t UncurseChain) MarshalJSON() ([]byte, error)

func (UncurseChain) ToMap

func (t UncurseChain) ToMap() map[string]any

ToMap converts UncurseChain to a map for DAML arguments

func (*UncurseChain) UnmarshalHex

func (t *UncurseChain) UnmarshalHex(data string) error

UnmarshalHex decodes UncurseChain from hex string (Canton MCMS format)

func (*UncurseChain) UnmarshalJSON

func (t *UncurseChain) UnmarshalJSON(data []byte) error

type UncurseChainParams

type UncurseChainParams struct {
	ChainSelector types.NUMERIC `json:"chainSelector"`
}

UncurseChainParams is a Record type

func (UncurseChainParams) MarshalHex

func (t UncurseChainParams) MarshalHex() (string, error)

MarshalHex encodes UncurseChainParams to hex string (Canton MCMS format)

func (UncurseChainParams) MarshalJSON

func (t UncurseChainParams) MarshalJSON() ([]byte, error)

func (UncurseChainParams) ToMap

func (t UncurseChainParams) ToMap() map[string]any

ToMap converts UncurseChainParams to a map for DAML arguments

func (*UncurseChainParams) UnmarshalHex

func (t *UncurseChainParams) UnmarshalHex(data string) error

UnmarshalHex decodes UncurseChainParams from hex string (Canton MCMS format)

func (*UncurseChainParams) UnmarshalJSON

func (t *UncurseChainParams) UnmarshalJSON(data []byte) error

type UncurseGlobal

type UncurseGlobal struct {
}

UncurseGlobal is a Record type

func (UncurseGlobal) MarshalHex

func (t UncurseGlobal) MarshalHex() (string, error)

MarshalHex encodes UncurseGlobal to hex string (Canton MCMS format)

func (UncurseGlobal) MarshalJSON

func (t UncurseGlobal) MarshalJSON() ([]byte, error)

func (UncurseGlobal) ToMap

func (t UncurseGlobal) ToMap() map[string]any

ToMap converts UncurseGlobal to a map for DAML arguments

func (*UncurseGlobal) UnmarshalHex

func (t *UncurseGlobal) UnmarshalHex(data string) error

UnmarshalHex decodes UncurseGlobal from hex string (Canton MCMS format)

func (*UncurseGlobal) UnmarshalJSON

func (t *UncurseGlobal) UnmarshalJSON(data []byte) error

type UncurseMultiple

type UncurseMultiple struct {
	Subjects []types.TEXT `json:"subjects"`
}

UncurseMultiple is a Record type

func (UncurseMultiple) MarshalHex

func (t UncurseMultiple) MarshalHex() (string, error)

MarshalHex encodes UncurseMultiple to hex string (Canton MCMS format)

func (UncurseMultiple) MarshalJSON

func (t UncurseMultiple) MarshalJSON() ([]byte, error)

func (UncurseMultiple) ToMap

func (t UncurseMultiple) ToMap() map[string]any

ToMap converts UncurseMultiple to a map for DAML arguments

func (*UncurseMultiple) UnmarshalHex

func (t *UncurseMultiple) UnmarshalHex(data string) error

UnmarshalHex decodes UncurseMultiple from hex string (Canton MCMS format)

func (*UncurseMultiple) UnmarshalJSON

func (t *UncurseMultiple) UnmarshalJSON(data []byte) error

type UncurseMultipleParams

type UncurseMultipleParams struct {
	Subjects []types.TEXT `json:"subjects"`
}

UncurseMultipleParams is a Record type

func (UncurseMultipleParams) MarshalHex

func (t UncurseMultipleParams) MarshalHex() (string, error)

MarshalHex encodes UncurseMultipleParams to hex string (Canton MCMS format)

func (UncurseMultipleParams) MarshalJSON

func (t UncurseMultipleParams) MarshalJSON() ([]byte, error)

func (UncurseMultipleParams) ToMap

func (t UncurseMultipleParams) ToMap() map[string]any

ToMap converts UncurseMultipleParams to a map for DAML arguments

func (*UncurseMultipleParams) UnmarshalHex

func (t *UncurseMultipleParams) UnmarshalHex(data string) error

UnmarshalHex decodes UncurseMultipleParams from hex string (Canton MCMS format)

func (*UncurseMultipleParams) UnmarshalJSON

func (t *UncurseMultipleParams) UnmarshalJSON(data []byte) error

type UncurseParams

type UncurseParams struct {
	Subject types.TEXT `json:"subject"`
}

UncurseParams is a Record type

func (UncurseParams) MarshalHex

func (t UncurseParams) MarshalHex() (string, error)

MarshalHex encodes UncurseParams to hex string (Canton MCMS format)

func (UncurseParams) MarshalJSON

func (t UncurseParams) MarshalJSON() ([]byte, error)

func (UncurseParams) ToMap

func (t UncurseParams) ToMap() map[string]any

ToMap converts UncurseParams to a map for DAML arguments

func (*UncurseParams) UnmarshalHex

func (t *UncurseParams) UnmarshalHex(data string) error

UnmarshalHex decodes UncurseParams from hex string (Canton MCMS format)

func (*UncurseParams) UnmarshalJSON

func (t *UncurseParams) UnmarshalJSON(data []byte) error

type UpdateCCIPOwner

type UpdateCCIPOwner struct {
	NewCCIPOwner types.PARTY `json:"newCCIPOwner"`
}

UpdateCCIPOwner is a Record type

func (UpdateCCIPOwner) MarshalHex

func (t UpdateCCIPOwner) MarshalHex() (string, error)

MarshalHex encodes UpdateCCIPOwner to hex string (Canton MCMS format)

func (UpdateCCIPOwner) MarshalJSON

func (t UpdateCCIPOwner) MarshalJSON() ([]byte, error)

func (UpdateCCIPOwner) ToMap

func (t UpdateCCIPOwner) ToMap() map[string]any

ToMap converts UpdateCCIPOwner to a map for DAML arguments

func (*UpdateCCIPOwner) UnmarshalHex

func (t *UpdateCCIPOwner) UnmarshalHex(data string) error

UnmarshalHex decodes UpdateCCIPOwner from hex string (Canton MCMS format)

func (*UpdateCCIPOwner) UnmarshalJSON

func (t *UpdateCCIPOwner) UnmarshalJSON(data []byte) error

type UpdatePrices

type UpdatePrices struct {
	PriceUpdates PriceUpdates `json:"priceUpdates"`
	Caller       types.PARTY  `json:"caller"`
}

UpdatePrices is a Record type

func (UpdatePrices) MarshalHex

func (t UpdatePrices) MarshalHex() (string, error)

MarshalHex encodes UpdatePrices to hex string (Canton MCMS format)

func (UpdatePrices) MarshalJSON

func (t UpdatePrices) MarshalJSON() ([]byte, error)

func (UpdatePrices) ToMap

func (t UpdatePrices) ToMap() map[string]any

ToMap converts UpdatePrices to a map for DAML arguments

func (*UpdatePrices) UnmarshalHex

func (t *UpdatePrices) UnmarshalHex(data string) error

UnmarshalHex decodes UpdatePrices from hex string (Canton MCMS format)

func (*UpdatePrices) UnmarshalJSON

func (t *UpdatePrices) UnmarshalJSON(data []byte) error

type UpdatePricesMCMSParams

type UpdatePricesMCMSParams struct {
	PriceUpdates PriceUpdates `json:"priceUpdates"`
}

UpdatePricesMCMSParams is UpdatePrices without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.

func (UpdatePricesMCMSParams) MarshalHex

func (t UpdatePricesMCMSParams) MarshalHex() (string, error)

MarshalHex encodes UpdatePricesMCMSParams to hex string for MCMS operationData.

func (*UpdatePricesMCMSParams) UnmarshalHex

func (t *UpdatePricesMCMSParams) UnmarshalHex(data string) error

UnmarshalHex decodes UpdatePricesMCMSParams from hex string.

type UpdatePricesParams

type UpdatePricesParams struct {
	PriceUpdates PriceUpdates `json:"priceUpdates"`
	Caller       types.PARTY  `json:"caller"`
}

UpdatePricesParams is a Record type

func (UpdatePricesParams) MarshalHex

func (t UpdatePricesParams) MarshalHex() (string, error)

MarshalHex encodes UpdatePricesParams to hex string (Canton MCMS format)

func (UpdatePricesParams) MarshalJSON

func (t UpdatePricesParams) MarshalJSON() ([]byte, error)

func (UpdatePricesParams) ToMap

func (t UpdatePricesParams) ToMap() map[string]any

ToMap converts UpdatePricesParams to a map for DAML arguments

func (*UpdatePricesParams) UnmarshalHex

func (t *UpdatePricesParams) UnmarshalHex(data string) error

UnmarshalHex decodes UpdatePricesParams from hex string (Canton MCMS format)

func (*UpdatePricesParams) UnmarshalJSON

func (t *UpdatePricesParams) UnmarshalJSON(data []byte) error

type VerifierData

type VerifierData struct {
	CcvInstanceId        types.TEXT    `json:"ccvInstanceId"`
	CcvOwner             types.PARTY   `json:"ccvOwner"`
	VersionTag           types.TEXT    `json:"versionTag" hex:"bytes"`
	VerifierBlob         types.TEXT    `json:"verifierBlob"`
	MessageSentObservers []types.PARTY `json:"messageSentObservers"`
}

VerifierData is a Record type

func (VerifierData) MarshalHex

func (t VerifierData) MarshalHex() (string, error)

MarshalHex encodes VerifierData to hex string (Canton MCMS format)

func (VerifierData) MarshalJSON

func (t VerifierData) MarshalJSON() ([]byte, error)

func (VerifierData) ToMap

func (t VerifierData) ToMap() map[string]any

ToMap converts VerifierData to a map for DAML arguments

func (*VerifierData) UnmarshalHex

func (t *VerifierData) UnmarshalHex(data string) error

UnmarshalHex decodes VerifierData from hex string (Canton MCMS format)

func (*VerifierData) UnmarshalJSON

func (t *VerifierData) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL