factory

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: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PackageName = "ccip-factory"
	PackageID   = "4d2ea9b243806a0a91aac617268a9a55833787e5f6d2f31c41a9087890c6da89"
	SDKVersion  = "3.4.11"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CCIPFactory

type CCIPFactory struct {
	InstanceId                    types.TEXT                       `json:"instanceId"`
	Owner                         types.PARTY                      `json:"owner"`
	McmsParty                     types.PARTY                      `json:"mcmsParty"`
	UsedInstanceIds               map[types.TEXT]types.BOOL        `json:"usedInstanceIds"`
	DeployedContracts             map[types.TEXT]types.CONTRACT_ID `json:"deployedContracts"`
	PerPartyRouterFactoryDeployed types.BOOL                       `json:"perPartyRouterFactoryDeployed"`
}

CCIPFactory is a Template type

func (CCIPFactory) Archive

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

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

func (CCIPFactory) ArchiveWithPackageID

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

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

func (CCIPFactory) CreateCommand

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

CreateCommand returns a CreateCommand for this template using the package name

func (CCIPFactory) CreateCommandWithPackageID

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

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

func (CCIPFactory) DeployBurnMintTokenPool

func (t CCIPFactory) DeployBurnMintTokenPool(contractID string, args DeployBurnMintTokenPool) *model.ExerciseCommand

DeployBurnMintTokenPool exercises the DeployBurnMintTokenPool choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployBurnMintTokenPoolWithPackageID

func (t CCIPFactory) DeployBurnMintTokenPoolWithPackageID(contractID string, packageID string, args DeployBurnMintTokenPool) *model.ExerciseCommand

DeployBurnMintTokenPoolWithPackageID exercises the DeployBurnMintTokenPool choice using the provided package ID instead of package name

func (CCIPFactory) DeployCommitteeVerifier

func (t CCIPFactory) DeployCommitteeVerifier(contractID string, args DeployCommitteeVerifier) *model.ExerciseCommand

DeployCommitteeVerifier exercises the DeployCommitteeVerifier choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployCommitteeVerifierWithPackageID

func (t CCIPFactory) DeployCommitteeVerifierWithPackageID(contractID string, packageID string, args DeployCommitteeVerifier) *model.ExerciseCommand

DeployCommitteeVerifierWithPackageID exercises the DeployCommitteeVerifier choice using the provided package ID instead of package name

func (CCIPFactory) DeployExecutor

func (t CCIPFactory) DeployExecutor(contractID string, args DeployExecutor) *model.ExerciseCommand

DeployExecutor exercises the DeployExecutor choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployExecutorWithPackageID

func (t CCIPFactory) DeployExecutorWithPackageID(contractID string, packageID string, args DeployExecutor) *model.ExerciseCommand

DeployExecutorWithPackageID exercises the DeployExecutor choice using the provided package ID instead of package name

func (CCIPFactory) DeployFeeQuoter

func (t CCIPFactory) DeployFeeQuoter(contractID string, args DeployFeeQuoter) *model.ExerciseCommand

DeployFeeQuoter exercises the DeployFeeQuoter choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployFeeQuoterWithPackageID

func (t CCIPFactory) DeployFeeQuoterWithPackageID(contractID string, packageID string, args DeployFeeQuoter) *model.ExerciseCommand

DeployFeeQuoterWithPackageID exercises the DeployFeeQuoter choice using the provided package ID instead of package name

func (CCIPFactory) DeployGlobalConfig

func (t CCIPFactory) DeployGlobalConfig(contractID string, args DeployGlobalConfig) *model.ExerciseCommand

DeployGlobalConfig exercises the DeployGlobalConfig choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployGlobalConfigWithPackageID

func (t CCIPFactory) DeployGlobalConfigWithPackageID(contractID string, packageID string, args DeployGlobalConfig) *model.ExerciseCommand

DeployGlobalConfigWithPackageID exercises the DeployGlobalConfig choice using the provided package ID instead of package name

func (CCIPFactory) DeployLinkToken

func (t CCIPFactory) DeployLinkToken(contractID string, args DeployLinkToken) *model.ExerciseCommand

DeployLinkToken exercises the DeployLinkToken choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployLinkTokenWithPackageID

func (t CCIPFactory) DeployLinkTokenWithPackageID(contractID string, packageID string, args DeployLinkToken) *model.ExerciseCommand

DeployLinkTokenWithPackageID exercises the DeployLinkToken choice using the provided package ID instead of package name

func (CCIPFactory) DeployLockReleaseTokenPool

func (t CCIPFactory) DeployLockReleaseTokenPool(contractID string, args DeployLockReleaseTokenPool) *model.ExerciseCommand

DeployLockReleaseTokenPool exercises the DeployLockReleaseTokenPool choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployLockReleaseTokenPoolWithPackageID

func (t CCIPFactory) DeployLockReleaseTokenPoolWithPackageID(contractID string, packageID string, args DeployLockReleaseTokenPool) *model.ExerciseCommand

DeployLockReleaseTokenPoolWithPackageID exercises the DeployLockReleaseTokenPool choice using the provided package ID instead of package name

func (CCIPFactory) DeployOffRamp

func (t CCIPFactory) DeployOffRamp(contractID string, args DeployOffRamp) *model.ExerciseCommand

DeployOffRamp exercises the DeployOffRamp choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployOffRampWithPackageID

func (t CCIPFactory) DeployOffRampWithPackageID(contractID string, packageID string, args DeployOffRamp) *model.ExerciseCommand

DeployOffRampWithPackageID exercises the DeployOffRamp choice using the provided package ID instead of package name

func (CCIPFactory) DeployOnRamp

func (t CCIPFactory) DeployOnRamp(contractID string, args DeployOnRamp) *model.ExerciseCommand

DeployOnRamp exercises the DeployOnRamp choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployOnRampWithPackageID

func (t CCIPFactory) DeployOnRampWithPackageID(contractID string, packageID string, args DeployOnRamp) *model.ExerciseCommand

DeployOnRampWithPackageID exercises the DeployOnRamp choice using the provided package ID instead of package name

func (CCIPFactory) DeployPerPartyRouterFactory

func (t CCIPFactory) DeployPerPartyRouterFactory(contractID string, args DeployPerPartyRouterFactory) *model.ExerciseCommand

DeployPerPartyRouterFactory exercises the DeployPerPartyRouterFactory choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployPerPartyRouterFactoryWithPackageID

func (t CCIPFactory) DeployPerPartyRouterFactoryWithPackageID(contractID string, packageID string, args DeployPerPartyRouterFactory) *model.ExerciseCommand

DeployPerPartyRouterFactoryWithPackageID exercises the DeployPerPartyRouterFactory choice using the provided package ID instead of package name

func (CCIPFactory) DeployRMNRemote

func (t CCIPFactory) DeployRMNRemote(contractID string, args DeployRMNRemote) *model.ExerciseCommand

DeployRMNRemote exercises the DeployRMNRemote choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployRMNRemoteWithPackageID

func (t CCIPFactory) DeployRMNRemoteWithPackageID(contractID string, packageID string, args DeployRMNRemote) *model.ExerciseCommand

DeployRMNRemoteWithPackageID exercises the DeployRMNRemote choice using the provided package ID instead of package name

func (CCIPFactory) DeployRateLimiter

func (t CCIPFactory) DeployRateLimiter(contractID string, args DeployRateLimiter) *model.ExerciseCommand

DeployRateLimiter exercises the DeployRateLimiter choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployRateLimiterWithPackageID

func (t CCIPFactory) DeployRateLimiterWithPackageID(contractID string, packageID string, args DeployRateLimiter) *model.ExerciseCommand

DeployRateLimiterWithPackageID exercises the DeployRateLimiter choice using the provided package ID instead of package name

func (CCIPFactory) DeployTokenAdminRegistry

func (t CCIPFactory) DeployTokenAdminRegistry(contractID string, args DeployTokenAdminRegistry) *model.ExerciseCommand

DeployTokenAdminRegistry exercises the DeployTokenAdminRegistry choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) DeployTokenAdminRegistryWithPackageID

func (t CCIPFactory) DeployTokenAdminRegistryWithPackageID(contractID string, packageID string, args DeployTokenAdminRegistry) *model.ExerciseCommand

DeployTokenAdminRegistryWithPackageID exercises the DeployTokenAdminRegistry choice using the provided package ID instead of package name

func (CCIPFactory) GetFactoryState

func (t CCIPFactory) GetFactoryState(contractID string, args GetFactoryState) *model.ExerciseCommand

GetFactoryState exercises the GetFactoryState choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) GetFactoryStateWithPackageID

func (t CCIPFactory) GetFactoryStateWithPackageID(contractID string, packageID string, args GetFactoryState) *model.ExerciseCommand

GetFactoryStateWithPackageID exercises the GetFactoryState choice using the provided package ID instead of package name

func (CCIPFactory) GetTemplateID

func (t CCIPFactory) GetTemplateID() string

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

func (CCIPFactory) GetTemplateIDWithPackageID

func (t CCIPFactory) GetTemplateIDWithPackageID(packageID string) string

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

func (CCIPFactory) MCMSReceiverEntrypoint

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

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

func (CCIPFactory) MCMSReceiverEntrypointWithPackageID

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

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

MarshalHex encodes CCIPFactory to hex string (Canton MCMS format)

func (CCIPFactory) MarshalJSON

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

func (CCIPFactory) SetOwnerToMCMS

func (t CCIPFactory) SetOwnerToMCMS(contractID string, args SetOwnerToMCMS) *model.ExerciseCommand

SetOwnerToMCMS exercises the SetOwnerToMCMS choice on this CCIPFactory contract This method uses the package name in the template ID

func (CCIPFactory) SetOwnerToMCMSWithPackageID

func (t CCIPFactory) SetOwnerToMCMSWithPackageID(contractID string, packageID string, args SetOwnerToMCMS) *model.ExerciseCommand

SetOwnerToMCMSWithPackageID exercises the SetOwnerToMCMS choice using the provided package ID instead of package name

func (*CCIPFactory) UnmarshalHex

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

UnmarshalHex decodes CCIPFactory from hex string (Canton MCMS format)

func (*CCIPFactory) UnmarshalJSON

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

type Contract

type Contract struct {
	// contains filtered or unexported fields
}

Contract wraps template operations with Sui-style API access. Use NewContract to create instances, then call Encoder() for encoding methods.

func NewContract

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 DeployBurnMintTokenPool

type DeployBurnMintTokenPool struct {
	Contract burnminttokenpool.BurnMintTokenPool `json:"contract"`
}

DeployBurnMintTokenPool is a Record type

func (DeployBurnMintTokenPool) MarshalHex

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

MarshalHex encodes DeployBurnMintTokenPool to hex string (Canton MCMS format)

func (DeployBurnMintTokenPool) MarshalJSON

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

func (DeployBurnMintTokenPool) ToMap

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

ToMap converts DeployBurnMintTokenPool to a map for DAML arguments

func (*DeployBurnMintTokenPool) UnmarshalHex

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

UnmarshalHex decodes DeployBurnMintTokenPool from hex string (Canton MCMS format)

func (*DeployBurnMintTokenPool) UnmarshalJSON

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

type DeployBurnMintTokenPoolParams

type DeployBurnMintTokenPoolParams struct {
	InstanceId         types.TEXT                                 `json:"instanceId"`
	PoolOwner          types.PARTY                                `json:"poolOwner"`
	CcipOwner          types.PARTY                                `json:"ccipOwner"`
	InstrumentId       splice_api_token_holding_v1.InstrumentId   `json:"instrumentId"`
	Decimals           types.INT64                                `json:"decimals"`
	RateLimitAdmin     *types.PARTY                               `json:"rateLimitAdmin" hex:"optional"`
	TokenAdminRegistry chainlinkapi.RawInstanceAddress            `json:"tokenAdminRegistry"`
	FeeQuoter          chainlinkapi.RawInstanceAddress            `json:"feeQuoter"`
	RmnRemote          chainlinkapi.RawInstanceAddress            `json:"rmnRemote"`
	PoolReceiveContext splice_api_token_metadata_v1.ChoiceContext `json:"poolReceiveContext"`
	TransferTimeout    burnminttokenpool.TransferTimeout          `json:"transferTimeout"`
}

DeployBurnMintTokenPoolParams is a Record type

func (DeployBurnMintTokenPoolParams) MarshalHex

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

MarshalHex encodes DeployBurnMintTokenPoolParams to hex string (Canton MCMS format)

func (DeployBurnMintTokenPoolParams) MarshalJSON

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

func (DeployBurnMintTokenPoolParams) ToMap

ToMap converts DeployBurnMintTokenPoolParams to a map for DAML arguments

func (*DeployBurnMintTokenPoolParams) UnmarshalHex

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

UnmarshalHex decodes DeployBurnMintTokenPoolParams from hex string (Canton MCMS format)

func (*DeployBurnMintTokenPoolParams) UnmarshalJSON

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

type DeployCommitteeVerifier

type DeployCommitteeVerifier struct {
	Contract committeeverifier.CommitteeVerifier `json:"contract"`
}

DeployCommitteeVerifier is a Record type

func (DeployCommitteeVerifier) MarshalHex

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

MarshalHex encodes DeployCommitteeVerifier to hex string (Canton MCMS format)

func (DeployCommitteeVerifier) MarshalJSON

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

func (DeployCommitteeVerifier) ToMap

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

ToMap converts DeployCommitteeVerifier to a map for DAML arguments

func (*DeployCommitteeVerifier) UnmarshalHex

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

UnmarshalHex decodes DeployCommitteeVerifier from hex string (Canton MCMS format)

func (*DeployCommitteeVerifier) UnmarshalJSON

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

type DeployCommitteeVerifierParams

type DeployCommitteeVerifierParams struct {
	InstanceId                   types.TEXT                      `json:"instanceId"`
	Owner                        types.PARTY                     `json:"owner"`
	CcipOwner                    types.PARTY                     `json:"ccipOwner"`
	VersionTag                   types.TEXT                      `json:"versionTag" hex:"bytes"`
	AllowListAdmin               *types.PARTY                    `json:"allowListAdmin" hex:"optional"`
	MessageSentObservers         []types.PARTY                   `json:"messageSentObservers"`
	RmnRemote                    chainlinkapi.RawInstanceAddress `json:"rmnRemote"`
	StorageLocations             []types.TEXT                    `json:"storageLocations"`
	StorageLocationsAdmin        types.PARTY                     `json:"storageLocationsAdmin"`
	PendingStorageLocationsAdmin types.PARTY                     `json:"pendingStorageLocationsAdmin"`
}

DeployCommitteeVerifierParams is a Record type

func (DeployCommitteeVerifierParams) MarshalHex

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

MarshalHex encodes DeployCommitteeVerifierParams to hex string (Canton MCMS format)

func (DeployCommitteeVerifierParams) MarshalJSON

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

func (DeployCommitteeVerifierParams) ToMap

ToMap converts DeployCommitteeVerifierParams to a map for DAML arguments

func (*DeployCommitteeVerifierParams) UnmarshalHex

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

UnmarshalHex decodes DeployCommitteeVerifierParams from hex string (Canton MCMS format)

func (*DeployCommitteeVerifierParams) UnmarshalJSON

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

type DeployExecutor

type DeployExecutor struct {
	Contract executor.Executor `json:"contract"`
}

DeployExecutor is a Record type

func (DeployExecutor) MarshalHex

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

MarshalHex encodes DeployExecutor to hex string (Canton MCMS format)

func (DeployExecutor) MarshalJSON

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

func (DeployExecutor) ToMap

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

ToMap converts DeployExecutor to a map for DAML arguments

func (*DeployExecutor) UnmarshalHex

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

UnmarshalHex decodes DeployExecutor from hex string (Canton MCMS format)

func (*DeployExecutor) UnmarshalJSON

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

type DeployExecutorParams

type DeployExecutorParams struct {
	InstanceId            types.TEXT          `json:"instanceId"`
	Owner                 types.PARTY         `json:"owner"`
	MaxCCVsPerMsg         types.INT64         `json:"maxCCVsPerMsg"`
	AllowedFinalityConfig core.FinalityConfig `json:"allowedFinalityConfig"`
	CcvAllowlistEnabled   types.BOOL          `json:"ccvAllowlistEnabled"`
}

DeployExecutorParams is a Record type

func (DeployExecutorParams) MarshalHex

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

MarshalHex encodes DeployExecutorParams to hex string (Canton MCMS format)

func (DeployExecutorParams) MarshalJSON

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

func (DeployExecutorParams) ToMap

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

ToMap converts DeployExecutorParams to a map for DAML arguments

func (*DeployExecutorParams) UnmarshalHex

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

UnmarshalHex decodes DeployExecutorParams from hex string (Canton MCMS format)

func (*DeployExecutorParams) UnmarshalJSON

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

type DeployFeeQuoter

type DeployFeeQuoter struct {
	Contract core.FeeQuoter `json:"contract"`
}

DeployFeeQuoter is a Record type

func (DeployFeeQuoter) MarshalHex

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

MarshalHex encodes DeployFeeQuoter to hex string (Canton MCMS format)

func (DeployFeeQuoter) MarshalJSON

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

func (DeployFeeQuoter) ToMap

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

ToMap converts DeployFeeQuoter to a map for DAML arguments

func (*DeployFeeQuoter) UnmarshalHex

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

UnmarshalHex decodes DeployFeeQuoter from hex string (Canton MCMS format)

func (*DeployFeeQuoter) UnmarshalJSON

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

type DeployFeeQuoterParams

type DeployFeeQuoterParams struct {
	InstanceId            types.TEXT                               `json:"instanceId"`
	LinkTokenInstrumentId splice_api_token_holding_v1.InstrumentId `json:"linkTokenInstrumentId"`
}

DeployFeeQuoterParams is a Record type

func (DeployFeeQuoterParams) MarshalHex

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

MarshalHex encodes DeployFeeQuoterParams to hex string (Canton MCMS format)

func (DeployFeeQuoterParams) MarshalJSON

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

func (DeployFeeQuoterParams) ToMap

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

ToMap converts DeployFeeQuoterParams to a map for DAML arguments

func (*DeployFeeQuoterParams) UnmarshalHex

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

UnmarshalHex decodes DeployFeeQuoterParams from hex string (Canton MCMS format)

func (*DeployFeeQuoterParams) UnmarshalJSON

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

type DeployGlobalConfig

type DeployGlobalConfig struct {
	Contract core.GlobalConfig `json:"contract"`
}

DeployGlobalConfig is a Record type

func (DeployGlobalConfig) MarshalHex

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

MarshalHex encodes DeployGlobalConfig to hex string (Canton MCMS format)

func (DeployGlobalConfig) MarshalJSON

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

func (DeployGlobalConfig) ToMap

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

ToMap converts DeployGlobalConfig to a map for DAML arguments

func (*DeployGlobalConfig) UnmarshalHex

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

UnmarshalHex decodes DeployGlobalConfig from hex string (Canton MCMS format)

func (*DeployGlobalConfig) UnmarshalJSON

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

type DeployGlobalConfigParams

type DeployGlobalConfigParams struct {
	InstanceId    types.TEXT    `json:"instanceId"`
	ChainSelector types.NUMERIC `json:"chainSelector"`
}

DeployGlobalConfigParams is a Record type

func (DeployGlobalConfigParams) MarshalHex

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

MarshalHex encodes DeployGlobalConfigParams to hex string (Canton MCMS format)

func (DeployGlobalConfigParams) MarshalJSON

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

func (DeployGlobalConfigParams) ToMap

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

ToMap converts DeployGlobalConfigParams to a map for DAML arguments

func (*DeployGlobalConfigParams) UnmarshalHex

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

UnmarshalHex decodes DeployGlobalConfigParams from hex string (Canton MCMS format)

func (*DeployGlobalConfigParams) UnmarshalJSON

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

type DeployLinkToken

type DeployLinkToken struct {
	Contract link.LinkRegistry `json:"contract"`
}

DeployLinkToken is a Record type

func (DeployLinkToken) MarshalHex

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

MarshalHex encodes DeployLinkToken to hex string (Canton MCMS format)

func (DeployLinkToken) MarshalJSON

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

func (DeployLinkToken) ToMap

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

ToMap converts DeployLinkToken to a map for DAML arguments

func (*DeployLinkToken) UnmarshalHex

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

UnmarshalHex decodes DeployLinkToken from hex string (Canton MCMS format)

func (*DeployLinkToken) UnmarshalJSON

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

type DeployLinkTokenParams

type DeployLinkTokenParams struct {
	InstanceId   types.TEXT                               `json:"instanceId"`
	InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
}

DeployLinkTokenParams is a Record type

func (DeployLinkTokenParams) MarshalHex

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

MarshalHex encodes DeployLinkTokenParams to hex string (Canton MCMS format)

func (DeployLinkTokenParams) MarshalJSON

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

func (DeployLinkTokenParams) ToMap

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

ToMap converts DeployLinkTokenParams to a map for DAML arguments

func (*DeployLinkTokenParams) UnmarshalHex

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

UnmarshalHex decodes DeployLinkTokenParams from hex string (Canton MCMS format)

func (*DeployLinkTokenParams) UnmarshalJSON

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

type DeployLockReleaseTokenPool

type DeployLockReleaseTokenPool struct {
	Contract lockreleasetokenpool.LockReleaseTokenPool `json:"contract"`
}

DeployLockReleaseTokenPool is a Record type

func (DeployLockReleaseTokenPool) MarshalHex

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

MarshalHex encodes DeployLockReleaseTokenPool to hex string (Canton MCMS format)

func (DeployLockReleaseTokenPool) MarshalJSON

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

func (DeployLockReleaseTokenPool) ToMap

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

ToMap converts DeployLockReleaseTokenPool to a map for DAML arguments

func (*DeployLockReleaseTokenPool) UnmarshalHex

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

UnmarshalHex decodes DeployLockReleaseTokenPool from hex string (Canton MCMS format)

func (*DeployLockReleaseTokenPool) UnmarshalJSON

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

type DeployLockReleaseTokenPoolParams

type DeployLockReleaseTokenPoolParams struct {
	InstanceId         types.TEXT                                 `json:"instanceId"`
	PoolOwner          types.PARTY                                `json:"poolOwner"`
	CcipOwner          types.PARTY                                `json:"ccipOwner"`
	InstrumentId       splice_api_token_holding_v1.InstrumentId   `json:"instrumentId"`
	Decimals           types.INT64                                `json:"decimals"`
	RateLimitAdmin     *types.PARTY                               `json:"rateLimitAdmin" hex:"optional"`
	TokenAdminRegistry chainlinkapi.RawInstanceAddress            `json:"tokenAdminRegistry"`
	FeeQuoter          chainlinkapi.RawInstanceAddress            `json:"feeQuoter"`
	RmnRemote          chainlinkapi.RawInstanceAddress            `json:"rmnRemote"`
	PoolReceiveContext splice_api_token_metadata_v1.ChoiceContext `json:"poolReceiveContext"`
	TransferTimeout    lockreleasetokenpool.TransferTimeout       `json:"transferTimeout"`
}

DeployLockReleaseTokenPoolParams is a Record type

func (DeployLockReleaseTokenPoolParams) MarshalHex

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

MarshalHex encodes DeployLockReleaseTokenPoolParams to hex string (Canton MCMS format)

func (DeployLockReleaseTokenPoolParams) MarshalJSON

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

func (DeployLockReleaseTokenPoolParams) ToMap

ToMap converts DeployLockReleaseTokenPoolParams to a map for DAML arguments

func (*DeployLockReleaseTokenPoolParams) UnmarshalHex

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

UnmarshalHex decodes DeployLockReleaseTokenPoolParams from hex string (Canton MCMS format)

func (*DeployLockReleaseTokenPoolParams) UnmarshalJSON

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

type DeployOffRamp

type DeployOffRamp struct {
	Contract ccipruntime.OffRamp `json:"contract"`
}

DeployOffRamp is a Record type

func (DeployOffRamp) MarshalHex

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

MarshalHex encodes DeployOffRamp to hex string (Canton MCMS format)

func (DeployOffRamp) MarshalJSON

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

func (DeployOffRamp) ToMap

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

ToMap converts DeployOffRamp to a map for DAML arguments

func (*DeployOffRamp) UnmarshalHex

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

UnmarshalHex decodes DeployOffRamp from hex string (Canton MCMS format)

func (*DeployOffRamp) UnmarshalJSON

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

type DeployOffRampParams

type DeployOffRampParams struct {
	InstanceId         types.TEXT                      `json:"instanceId"`
	GlobalConfig       chainlinkapi.RawInstanceAddress `json:"globalConfig"`
	RmnRemote          chainlinkapi.RawInstanceAddress `json:"rmnRemote"`
	TokenAdminRegistry chainlinkapi.RawInstanceAddress `json:"tokenAdminRegistry"`
}

DeployOffRampParams is a Record type

func (DeployOffRampParams) MarshalHex

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

MarshalHex encodes DeployOffRampParams to hex string (Canton MCMS format)

func (DeployOffRampParams) MarshalJSON

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

func (DeployOffRampParams) ToMap

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

ToMap converts DeployOffRampParams to a map for DAML arguments

func (*DeployOffRampParams) UnmarshalHex

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

UnmarshalHex decodes DeployOffRampParams from hex string (Canton MCMS format)

func (*DeployOffRampParams) UnmarshalJSON

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

type DeployOnRamp

type DeployOnRamp struct {
	Contract ccipruntime.OnRamp `json:"contract"`
}

DeployOnRamp is a Record type

func (DeployOnRamp) MarshalHex

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

MarshalHex encodes DeployOnRamp to hex string (Canton MCMS format)

func (DeployOnRamp) MarshalJSON

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

func (DeployOnRamp) ToMap

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

ToMap converts DeployOnRamp to a map for DAML arguments

func (*DeployOnRamp) UnmarshalHex

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

UnmarshalHex decodes DeployOnRamp from hex string (Canton MCMS format)

func (*DeployOnRamp) UnmarshalJSON

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

type DeployOnRampParams

type DeployOnRampParams struct {
	InstanceId         types.TEXT                      `json:"instanceId"`
	GlobalConfig       chainlinkapi.RawInstanceAddress `json:"globalConfig"`
	RmnRemote          chainlinkapi.RawInstanceAddress `json:"rmnRemote"`
	TokenAdminRegistry chainlinkapi.RawInstanceAddress `json:"tokenAdminRegistry"`
	FeeQuoter          chainlinkapi.RawInstanceAddress `json:"feeQuoter"`
	CcvRegistry        chainlinkapi.RawInstanceAddress `json:"ccvRegistry"`
	MaxUSDCentsPerMsg  types.NUMERIC                   `json:"maxUSDCentsPerMsg"`
}

DeployOnRampParams is a Record type

func (DeployOnRampParams) MarshalHex

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

MarshalHex encodes DeployOnRampParams to hex string (Canton MCMS format)

func (DeployOnRampParams) MarshalJSON

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

func (DeployOnRampParams) ToMap

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

ToMap converts DeployOnRampParams to a map for DAML arguments

func (*DeployOnRampParams) UnmarshalHex

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

UnmarshalHex decodes DeployOnRampParams from hex string (Canton MCMS format)

func (*DeployOnRampParams) UnmarshalJSON

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

type DeployPerPartyRouterFactory

type DeployPerPartyRouterFactory struct {
	Contract ccipruntime.PerPartyRouterFactory `json:"contract"`
}

DeployPerPartyRouterFactory is a Record type

func (DeployPerPartyRouterFactory) MarshalHex

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

MarshalHex encodes DeployPerPartyRouterFactory to hex string (Canton MCMS format)

func (DeployPerPartyRouterFactory) MarshalJSON

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

func (DeployPerPartyRouterFactory) ToMap

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

ToMap converts DeployPerPartyRouterFactory to a map for DAML arguments

func (*DeployPerPartyRouterFactory) UnmarshalHex

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

UnmarshalHex decodes DeployPerPartyRouterFactory from hex string (Canton MCMS format)

func (*DeployPerPartyRouterFactory) UnmarshalJSON

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

type DeployPerPartyRouterFactoryParams

type DeployPerPartyRouterFactoryParams struct {
	InstanceId         types.TEXT                      `json:"instanceId"`
	OnRamp             chainlinkapi.RawInstanceAddress `json:"onRamp"`
	OffRamp            chainlinkapi.RawInstanceAddress `json:"offRamp"`
	GlobalConfig       chainlinkapi.RawInstanceAddress `json:"globalConfig"`
	TokenAdminRegistry chainlinkapi.RawInstanceAddress `json:"tokenAdminRegistry"`
	FeeQuoter          chainlinkapi.RawInstanceAddress `json:"feeQuoter"`
	RmnRemote          chainlinkapi.RawInstanceAddress `json:"rmnRemote"`
}

DeployPerPartyRouterFactoryParams is a Record type

func (DeployPerPartyRouterFactoryParams) MarshalHex

MarshalHex encodes DeployPerPartyRouterFactoryParams to hex string (Canton MCMS format)

func (DeployPerPartyRouterFactoryParams) MarshalJSON

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

func (DeployPerPartyRouterFactoryParams) ToMap

ToMap converts DeployPerPartyRouterFactoryParams to a map for DAML arguments

func (*DeployPerPartyRouterFactoryParams) UnmarshalHex

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

UnmarshalHex decodes DeployPerPartyRouterFactoryParams from hex string (Canton MCMS format)

func (*DeployPerPartyRouterFactoryParams) UnmarshalJSON

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

type DeployRMNRemote

type DeployRMNRemote struct {
	Contract core.RMNRemote `json:"contract"`
}

DeployRMNRemote is a Record type

func (DeployRMNRemote) MarshalHex

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

MarshalHex encodes DeployRMNRemote to hex string (Canton MCMS format)

func (DeployRMNRemote) MarshalJSON

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

func (DeployRMNRemote) ToMap

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

ToMap converts DeployRMNRemote to a map for DAML arguments

func (*DeployRMNRemote) UnmarshalHex

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

UnmarshalHex decodes DeployRMNRemote from hex string (Canton MCMS format)

func (*DeployRMNRemote) UnmarshalJSON

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

type DeployRMNRemoteParams

type DeployRMNRemoteParams 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"`
}

DeployRMNRemoteParams is a Record type

func (DeployRMNRemoteParams) MarshalHex

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

MarshalHex encodes DeployRMNRemoteParams to hex string (Canton MCMS format)

func (DeployRMNRemoteParams) MarshalJSON

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

func (DeployRMNRemoteParams) ToMap

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

ToMap converts DeployRMNRemoteParams to a map for DAML arguments

func (*DeployRMNRemoteParams) UnmarshalHex

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

UnmarshalHex decodes DeployRMNRemoteParams from hex string (Canton MCMS format)

func (*DeployRMNRemoteParams) UnmarshalJSON

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

type DeployRateLimiter

type DeployRateLimiter struct {
	Contract core.RateLimiter `json:"contract"`
}

DeployRateLimiter is a Record type

func (DeployRateLimiter) MarshalHex

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

MarshalHex encodes DeployRateLimiter to hex string (Canton MCMS format)

func (DeployRateLimiter) MarshalJSON

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

func (DeployRateLimiter) ToMap

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

ToMap converts DeployRateLimiter to a map for DAML arguments

func (*DeployRateLimiter) UnmarshalHex

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

UnmarshalHex decodes DeployRateLimiter from hex string (Canton MCMS format)

func (*DeployRateLimiter) UnmarshalJSON

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

type DeployRateLimiterParams

type DeployRateLimiterParams struct {
	InstanceId          types.TEXT              `json:"instanceId"`
	PoolInstanceId      types.TEXT              `json:"poolInstanceId"`
	PoolOwner           types.PARTY             `json:"poolOwner"`
	RemoteChainSelector types.NUMERIC           `json:"remoteChainSelector"`
	Direction           core.RateLimitDirection `json:"direction"`
	Mode                core.RateLimitMode      `json:"mode"`
	IsEnabled           types.BOOL              `json:"isEnabled"`
	Capacity            types.NUMERIC           `json:"capacity"`
	Rate                types.NUMERIC           `json:"rate"`
}

DeployRateLimiterParams is a Record type

func (DeployRateLimiterParams) MarshalHex

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

MarshalHex encodes DeployRateLimiterParams to hex string (Canton MCMS format)

func (DeployRateLimiterParams) MarshalJSON

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

func (DeployRateLimiterParams) ToMap

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

ToMap converts DeployRateLimiterParams to a map for DAML arguments

func (*DeployRateLimiterParams) UnmarshalHex

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

UnmarshalHex decodes DeployRateLimiterParams from hex string (Canton MCMS format)

func (*DeployRateLimiterParams) UnmarshalJSON

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

type DeployResult

type DeployResult struct {
	FactoryCid  types.CONTRACT_ID `json:"factoryCid"`
	DeployedCid types.CONTRACT_ID `json:"deployedCid"`
}

DeployResult is a Record type

func (DeployResult) MarshalHex

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

MarshalHex encodes DeployResult to hex string (Canton MCMS format)

func (DeployResult) MarshalJSON

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

func (DeployResult) ToMap

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

ToMap converts DeployResult to a map for DAML arguments

func (*DeployResult) UnmarshalHex

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

UnmarshalHex decodes DeployResult from hex string (Canton MCMS format)

func (*DeployResult) UnmarshalJSON

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

type DeployTokenAdminRegistry

type DeployTokenAdminRegistry struct {
	Contract core.TokenAdminRegistry `json:"contract"`
}

DeployTokenAdminRegistry is a Record type

func (DeployTokenAdminRegistry) MarshalHex

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

MarshalHex encodes DeployTokenAdminRegistry to hex string (Canton MCMS format)

func (DeployTokenAdminRegistry) MarshalJSON

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

func (DeployTokenAdminRegistry) ToMap

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

ToMap converts DeployTokenAdminRegistry to a map for DAML arguments

func (*DeployTokenAdminRegistry) UnmarshalHex

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

UnmarshalHex decodes DeployTokenAdminRegistry from hex string (Canton MCMS format)

func (*DeployTokenAdminRegistry) UnmarshalJSON

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

type DeployTokenAdminRegistryParams

type DeployTokenAdminRegistryParams struct {
	InstanceId types.TEXT `json:"instanceId"`
}

DeployTokenAdminRegistryParams is a Record type

func (DeployTokenAdminRegistryParams) MarshalHex

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

MarshalHex encodes DeployTokenAdminRegistryParams to hex string (Canton MCMS format)

func (DeployTokenAdminRegistryParams) MarshalJSON

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

func (DeployTokenAdminRegistryParams) ToMap

ToMap converts DeployTokenAdminRegistryParams to a map for DAML arguments

func (*DeployTokenAdminRegistryParams) UnmarshalHex

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

UnmarshalHex decodes DeployTokenAdminRegistryParams from hex string (Canton MCMS format)

func (*DeployTokenAdminRegistryParams) UnmarshalJSON

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

type FactoryState

type FactoryState struct {
	InstanceId                    types.TEXT                       `json:"instanceId"`
	Owner                         types.PARTY                      `json:"owner"`
	McmsParty                     types.PARTY                      `json:"mcmsParty"`
	UsedInstanceIds               map[types.TEXT]types.BOOL        `json:"usedInstanceIds"`
	DeployedContracts             map[types.TEXT]types.CONTRACT_ID `json:"deployedContracts"`
	PerPartyRouterFactoryDeployed types.BOOL                       `json:"perPartyRouterFactoryDeployed"`
}

FactoryState is a Record type

func (FactoryState) MarshalHex

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

MarshalHex encodes FactoryState to hex string (Canton MCMS format)

func (FactoryState) MarshalJSON

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

func (FactoryState) ToMap

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

ToMap converts FactoryState to a map for DAML arguments

func (*FactoryState) UnmarshalHex

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

UnmarshalHex decodes FactoryState from hex string (Canton MCMS format)

func (*FactoryState) UnmarshalJSON

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

type GetFactoryState

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

GetFactoryState is a Record type

func (GetFactoryState) MarshalHex

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

MarshalHex encodes GetFactoryState to hex string (Canton MCMS format)

func (GetFactoryState) MarshalJSON

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

func (GetFactoryState) ToMap

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

ToMap converts GetFactoryState to a map for DAML arguments

func (*GetFactoryState) UnmarshalHex

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

UnmarshalHex decodes GetFactoryState from hex string (Canton MCMS format)

func (*GetFactoryState) UnmarshalJSON

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

type GetFactoryStateMCMSParams

type GetFactoryStateMCMSParams struct {
}

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

func (GetFactoryStateMCMSParams) MarshalHex

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

MarshalHex encodes GetFactoryStateMCMSParams to hex string for MCMS operationData.

func (*GetFactoryStateMCMSParams) UnmarshalHex

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

UnmarshalHex decodes GetFactoryStateMCMSParams from hex string.

type MCMSEncoder

type MCMSEncoder interface {
	DeployBurnMintTokenPool(args DeployBurnMintTokenPool) (*bind.EncodedChoice, error)
	DeployBurnMintTokenPoolParams(args DeployBurnMintTokenPoolParams) (*bind.EncodedChoice, error)
	DeployCommitteeVerifier(args DeployCommitteeVerifier) (*bind.EncodedChoice, error)
	DeployCommitteeVerifierParams(args DeployCommitteeVerifierParams) (*bind.EncodedChoice, error)
	DeployExecutor(args DeployExecutor) (*bind.EncodedChoice, error)
	DeployExecutorParams(args DeployExecutorParams) (*bind.EncodedChoice, error)
	DeployFeeQuoter(args DeployFeeQuoter) (*bind.EncodedChoice, error)
	DeployFeeQuoterParams(args DeployFeeQuoterParams) (*bind.EncodedChoice, error)
	DeployGlobalConfig(args DeployGlobalConfig) (*bind.EncodedChoice, error)
	DeployGlobalConfigParams(args DeployGlobalConfigParams) (*bind.EncodedChoice, error)
	DeployLinkToken(args DeployLinkToken) (*bind.EncodedChoice, error)
	DeployLinkTokenParams(args DeployLinkTokenParams) (*bind.EncodedChoice, error)
	DeployLockReleaseTokenPool(args DeployLockReleaseTokenPool) (*bind.EncodedChoice, error)
	DeployLockReleaseTokenPoolParams(args DeployLockReleaseTokenPoolParams) (*bind.EncodedChoice, error)
	DeployOffRamp(args DeployOffRamp) (*bind.EncodedChoice, error)
	DeployOffRampParams(args DeployOffRampParams) (*bind.EncodedChoice, error)
	DeployOnRamp(args DeployOnRamp) (*bind.EncodedChoice, error)
	DeployOnRampParams(args DeployOnRampParams) (*bind.EncodedChoice, error)
	DeployPerPartyRouterFactory(args DeployPerPartyRouterFactory) (*bind.EncodedChoice, error)
	DeployPerPartyRouterFactoryParams(args DeployPerPartyRouterFactoryParams) (*bind.EncodedChoice, error)
	DeployRMNRemote(args DeployRMNRemote) (*bind.EncodedChoice, error)
	DeployRMNRemoteParams(args DeployRMNRemoteParams) (*bind.EncodedChoice, error)
	DeployRateLimiter(args DeployRateLimiter) (*bind.EncodedChoice, error)
	DeployRateLimiterParams(args DeployRateLimiterParams) (*bind.EncodedChoice, error)
	DeployTokenAdminRegistry(args DeployTokenAdminRegistry) (*bind.EncodedChoice, error)
	DeployTokenAdminRegistryParams(args DeployTokenAdminRegistryParams) (*bind.EncodedChoice, error)
	GetFactoryState(args GetFactoryState) (*bind.EncodedChoice, error)
	GetFactoryStateMCMSParams(args GetFactoryStateMCMSParams) (*bind.EncodedChoice, error)
	SetOwnerToMCMS(args SetOwnerToMCMS) (*bind.EncodedChoice, error)
}

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

type SetOwnerToMCMS

type SetOwnerToMCMS struct {
}

SetOwnerToMCMS is a Record type

func (SetOwnerToMCMS) MarshalHex

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

MarshalHex encodes SetOwnerToMCMS to hex string (Canton MCMS format)

func (SetOwnerToMCMS) MarshalJSON

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

func (SetOwnerToMCMS) ToMap

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

ToMap converts SetOwnerToMCMS to a map for DAML arguments

func (*SetOwnerToMCMS) UnmarshalHex

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

UnmarshalHex decodes SetOwnerToMCMS from hex string (Canton MCMS format)

func (*SetOwnerToMCMS) UnmarshalJSON

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

type Template

type Template interface {
	CreateCommand() *model.CreateCommand
	GetTemplateID() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL