Documentation
¶
Index ¶
- Constants
- type AddPoolReceiveContextContractValue
- func (t AddPoolReceiveContextContractValue) MarshalHex() (string, error)
- func (t AddPoolReceiveContextContractValue) MarshalJSON() ([]byte, error)
- func (t AddPoolReceiveContextContractValue) ToMap() map[string]any
- func (t *AddPoolReceiveContextContractValue) UnmarshalHex(data string) error
- func (t *AddPoolReceiveContextContractValue) UnmarshalJSON(data []byte) error
- type AddPoolReceiveContextContractValueParams
- func (t AddPoolReceiveContextContractValueParams) MarshalHex() (string, error)
- func (t AddPoolReceiveContextContractValueParams) MarshalJSON() ([]byte, error)
- func (t AddPoolReceiveContextContractValueParams) ToMap() map[string]any
- func (t *AddPoolReceiveContextContractValueParams) UnmarshalHex(data string) error
- func (t *AddPoolReceiveContextContractValueParams) UnmarshalJSON(data []byte) error
- type AddPoolReceiveContextNonContractValue
- func (t AddPoolReceiveContextNonContractValue) MarshalHex() (string, error)
- func (t AddPoolReceiveContextNonContractValue) MarshalJSON() ([]byte, error)
- func (t AddPoolReceiveContextNonContractValue) ToMap() map[string]any
- func (t *AddPoolReceiveContextNonContractValue) UnmarshalHex(data string) error
- func (t *AddPoolReceiveContextNonContractValue) UnmarshalJSON(data []byte) error
- type AddPoolReceiveContextNonContractValueParams
- func (t AddPoolReceiveContextNonContractValueParams) MarshalHex() (string, error)
- func (t AddPoolReceiveContextNonContractValueParams) MarshalJSON() ([]byte, error)
- func (t AddPoolReceiveContextNonContractValueParams) ToMap() map[string]any
- func (t *AddPoolReceiveContextNonContractValueParams) UnmarshalHex(data string) error
- func (t *AddPoolReceiveContextNonContractValueParams) UnmarshalJSON(data []byte) error
- type ApplyChainUpdates
- type ApplyChainUpdatesParams
- func (t ApplyChainUpdatesParams) MarshalHex() (string, error)
- func (t ApplyChainUpdatesParams) MarshalJSON() ([]byte, error)
- func (t ApplyChainUpdatesParams) ToMap() map[string]any
- func (t *ApplyChainUpdatesParams) UnmarshalHex(data string) error
- func (t *ApplyChainUpdatesParams) UnmarshalJSON(data []byte) error
- type ApplyTokenTransferFeeConfigUpdates
- func (t ApplyTokenTransferFeeConfigUpdates) MarshalHex() (string, error)
- func (t ApplyTokenTransferFeeConfigUpdates) MarshalJSON() ([]byte, error)
- func (t ApplyTokenTransferFeeConfigUpdates) ToMap() map[string]any
- func (t *ApplyTokenTransferFeeConfigUpdates) UnmarshalHex(data string) error
- func (t *ApplyTokenTransferFeeConfigUpdates) UnmarshalJSON(data []byte) error
- type ApplyTokenTransferFeeConfigUpdatesParams
- func (t ApplyTokenTransferFeeConfigUpdatesParams) MarshalHex() (string, error)
- func (t ApplyTokenTransferFeeConfigUpdatesParams) MarshalJSON() ([]byte, error)
- func (t ApplyTokenTransferFeeConfigUpdatesParams) ToMap() map[string]any
- func (t *ApplyTokenTransferFeeConfigUpdatesParams) UnmarshalHex(data string) error
- func (t *ApplyTokenTransferFeeConfigUpdatesParams) UnmarshalJSON(data []byte) error
- type BurnMintTokenPool
- func (t BurnMintTokenPool) AddPoolReceiveContextContractValue(contractID string, args AddPoolReceiveContextContractValue) *model.ExerciseCommand
- func (t BurnMintTokenPool) AddPoolReceiveContextContractValueWithPackageID(contractID string, packageID string, args AddPoolReceiveContextContractValue) *model.ExerciseCommand
- func (t BurnMintTokenPool) AddPoolReceiveContextNonContractValue(contractID string, args AddPoolReceiveContextNonContractValue) *model.ExerciseCommand
- func (t BurnMintTokenPool) AddPoolReceiveContextNonContractValueWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t BurnMintTokenPool) ApplyChainUpdates(contractID string, args ApplyChainUpdates) *model.ExerciseCommand
- func (t BurnMintTokenPool) ApplyChainUpdatesWithPackageID(contractID string, packageID string, args ApplyChainUpdates) *model.ExerciseCommand
- func (t BurnMintTokenPool) ApplyTokenTransferFeeConfigUpdates(contractID string, args ApplyTokenTransferFeeConfigUpdates) *model.ExerciseCommand
- func (t BurnMintTokenPool) ApplyTokenTransferFeeConfigUpdatesWithPackageID(contractID string, packageID string, args ApplyTokenTransferFeeConfigUpdates) *model.ExerciseCommand
- func (t BurnMintTokenPool) Archive(contractID string) *model.ExerciseCommand
- func (t BurnMintTokenPool) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand
- func (t BurnMintTokenPool) CalculateFee(contractID string, args CalculateFee) *model.ExerciseCommand
- func (t BurnMintTokenPool) CalculateFeeWithPackageID(contractID string, packageID string, args CalculateFee) *model.ExerciseCommand
- func (t BurnMintTokenPool) ClearPoolReceiveContext(contractID string, args ClearPoolReceiveContext) *model.ExerciseCommand
- func (t BurnMintTokenPool) ClearPoolReceiveContextWithPackageID(contractID string, packageID string, args ClearPoolReceiveContext) *model.ExerciseCommand
- func (t BurnMintTokenPool) CreateCommand() *model.CreateCommand
- func (t BurnMintTokenPool) CreateCommandWithPackageID(packageID string) *model.CreateCommand
- func (t BurnMintTokenPool) GetFee(contractID string, args GetFee) *model.ExerciseCommand
- func (t BurnMintTokenPool) GetFeeWithPackageID(contractID string, packageID string, args GetFee) *model.ExerciseCommand
- func (t BurnMintTokenPool) GetRequiredCCVs(contractID string, args GetRequiredCCVs) *model.ExerciseCommand
- func (t BurnMintTokenPool) GetRequiredCCVsWithPackageID(contractID string, packageID string, args GetRequiredCCVs) *model.ExerciseCommand
- func (t BurnMintTokenPool) GetTemplateID() string
- func (t BurnMintTokenPool) GetTemplateIDWithPackageID(packageID string) string
- func (t BurnMintTokenPool) LockOrBurn(contractID string, args LockOrBurn) *model.ExerciseCommand
- func (t BurnMintTokenPool) LockOrBurnWithPackageID(contractID string, packageID string, args LockOrBurn) *model.ExerciseCommand
- func (t BurnMintTokenPool) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand
- func (t BurnMintTokenPool) MCMSReceiverEntrypointWithPackageID(contractID string, packageID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand
- func (t BurnMintTokenPool) MarshalHex() (string, error)
- func (t BurnMintTokenPool) MarshalJSON() ([]byte, error)
- func (t BurnMintTokenPool) ReleaseFromTicket(contractID string, args ReleaseFromTicket) *model.ExerciseCommand
- func (t BurnMintTokenPool) ReleaseFromTicketWithPackageID(contractID string, packageID string, args ReleaseFromTicket) *model.ExerciseCommand
- func (t BurnMintTokenPool) RemovePoolReceiveContextValue(contractID string, args RemovePoolReceiveContextValue) *model.ExerciseCommand
- func (t BurnMintTokenPool) RemovePoolReceiveContextValueWithPackageID(contractID string, packageID string, args RemovePoolReceiveContextValue) *model.ExerciseCommand
- func (t BurnMintTokenPool) SetDynamicConfig(contractID string, args SetDynamicConfig) *model.ExerciseCommand
- func (t BurnMintTokenPool) SetDynamicConfigWithPackageID(contractID string, packageID string, args SetDynamicConfig) *model.ExerciseCommand
- func (t BurnMintTokenPool) SetRateLimitConfig(contractID string, args SetRateLimitConfig) *model.ExerciseCommand
- func (t BurnMintTokenPool) SetRateLimitConfigWithPackageID(contractID string, packageID string, args SetRateLimitConfig) *model.ExerciseCommand
- func (t BurnMintTokenPool) SetTransferTimeout(contractID string, args SetTransferTimeout) *model.ExerciseCommand
- func (t BurnMintTokenPool) SetTransferTimeoutWithPackageID(contractID string, packageID string, args SetTransferTimeout) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolCalculateFee(contractID string, args extensionapi.TokenPoolCalculateFee) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolCalculateFeeWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolCalculateFee) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolGetFee(contractID string, args extensionapi.TokenPoolGetFee) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolGetFeeWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolGetFee) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolGetRequiredCCVs(contractID string, args extensionapi.TokenPoolGetRequiredCCVs) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolGetRequiredCCVsWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolLockOrBurn(contractID string, args extensionapi.TokenPoolLockOrBurn) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolLockOrBurnWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolLockOrBurn) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolReleaseFromTicket(contractID string, args extensionapi.TokenPoolReleaseFromTicket) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolReleaseFromTicketWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolVerifyInboundMessage(contractID string, args extensionapi.TokenPoolVerifyInboundMessage) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolVerifyInboundMessageWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolVerifyOutboundCCVs(contractID string, args extensionapi.TokenPoolVerifyOutboundCCVs) *model.ExerciseCommand
- func (t BurnMintTokenPool) TokenPoolVerifyOutboundCCVsWithPackageID(contractID string, packageID string, ...) *model.ExerciseCommand
- func (t *BurnMintTokenPool) UnmarshalHex(data string) error
- func (t *BurnMintTokenPool) UnmarshalJSON(data []byte) error
- func (t BurnMintTokenPool) VerifyInboundMessage(contractID string, args VerifyInboundMessage) *model.ExerciseCommand
- func (t BurnMintTokenPool) VerifyInboundMessageWithPackageID(contractID string, packageID string, args VerifyInboundMessage) *model.ExerciseCommand
- func (t BurnMintTokenPool) VerifyOutboundCCVs(contractID string, args VerifyOutboundCCVs) *model.ExerciseCommand
- func (t BurnMintTokenPool) VerifyOutboundCCVsWithPackageID(contractID string, packageID string, args VerifyOutboundCCVs) *model.ExerciseCommand
- type BurnMintTokenPoolDeps
- func (t BurnMintTokenPoolDeps) MarshalHex() (string, error)
- func (t BurnMintTokenPoolDeps) MarshalJSON() ([]byte, error)
- func (t BurnMintTokenPoolDeps) ToMap() map[string]any
- func (t *BurnMintTokenPoolDeps) UnmarshalHex(data string) error
- func (t *BurnMintTokenPoolDeps) UnmarshalJSON(data []byte) error
- type CalculateFee
- type CalculateFeeMCMSParams
- type ChainUpdate
- type ClearPoolReceiveContext
- func (t ClearPoolReceiveContext) MarshalHex() (string, error)
- func (t ClearPoolReceiveContext) MarshalJSON() ([]byte, error)
- func (t ClearPoolReceiveContext) ToMap() map[string]any
- func (t *ClearPoolReceiveContext) UnmarshalHex(data string) error
- func (t *ClearPoolReceiveContext) UnmarshalJSON(data []byte) error
- type Contract
- type GetFee
- type GetFeeMCMSParams
- type GetRequiredCCVs
- type GetRequiredCCVsMCMSParams
- type LockOrBurn
- type LockOrBurnMCMSParams
- type MCMSEncoder
- type RateLimitConfigArgs
- type ReleaseFromTicket
- type ReleaseFromTicketMCMSParams
- type RemoteChainConfig
- type RemovePoolReceiveContextValue
- func (t RemovePoolReceiveContextValue) MarshalHex() (string, error)
- func (t RemovePoolReceiveContextValue) MarshalJSON() ([]byte, error)
- func (t RemovePoolReceiveContextValue) ToMap() map[string]any
- func (t *RemovePoolReceiveContextValue) UnmarshalHex(data string) error
- func (t *RemovePoolReceiveContextValue) UnmarshalJSON(data []byte) error
- type RemovePoolReceiveContextValueParams
- func (t RemovePoolReceiveContextValueParams) MarshalHex() (string, error)
- func (t RemovePoolReceiveContextValueParams) MarshalJSON() ([]byte, error)
- func (t RemovePoolReceiveContextValueParams) ToMap() map[string]any
- func (t *RemovePoolReceiveContextValueParams) UnmarshalHex(data string) error
- func (t *RemovePoolReceiveContextValueParams) UnmarshalJSON(data []byte) error
- type SetDynamicConfig
- type SetDynamicConfigParams
- func (t SetDynamicConfigParams) MarshalHex() (string, error)
- func (t SetDynamicConfigParams) MarshalJSON() ([]byte, error)
- func (t SetDynamicConfigParams) ToMap() map[string]any
- func (t *SetDynamicConfigParams) UnmarshalHex(data string) error
- func (t *SetDynamicConfigParams) UnmarshalJSON(data []byte) error
- type SetRateLimitConfig
- type SetRateLimitConfigMCMSParams
- type SetRateLimitConfigParams
- func (t SetRateLimitConfigParams) MarshalHex() (string, error)
- func (t SetRateLimitConfigParams) MarshalJSON() ([]byte, error)
- func (t SetRateLimitConfigParams) ToMap() map[string]any
- func (t *SetRateLimitConfigParams) UnmarshalHex(data string) error
- func (t *SetRateLimitConfigParams) UnmarshalJSON(data []byte) error
- type SetTransferTimeout
- type SetTransferTimeoutParams
- func (t SetTransferTimeoutParams) MarshalHex() (string, error)
- func (t SetTransferTimeoutParams) MarshalJSON() ([]byte, error)
- func (t SetTransferTimeoutParams) ToMap() map[string]any
- func (t *SetTransferTimeoutParams) UnmarshalHex(data string) error
- func (t *SetTransferTimeoutParams) UnmarshalJSON(data []byte) error
- type Template
- type TokenTransferFeeConfig
- func (t TokenTransferFeeConfig) MarshalHex() (string, error)
- func (t TokenTransferFeeConfig) MarshalJSON() ([]byte, error)
- func (t TokenTransferFeeConfig) ToMap() map[string]any
- func (t *TokenTransferFeeConfig) UnmarshalHex(data string) error
- func (t *TokenTransferFeeConfig) UnmarshalJSON(data []byte) error
- type TokenTransferFeeConfigArgs
- func (t TokenTransferFeeConfigArgs) MarshalHex() (string, error)
- func (t TokenTransferFeeConfigArgs) MarshalJSON() ([]byte, error)
- func (t TokenTransferFeeConfigArgs) ToMap() map[string]any
- func (t *TokenTransferFeeConfigArgs) UnmarshalHex(data string) error
- func (t *TokenTransferFeeConfigArgs) UnmarshalJSON(data []byte) error
- type TransferTimeout
- func (v TransferTimeout) GetVariantTag() string
- func (v TransferTimeout) GetVariantTagByte() byte
- func (v TransferTimeout) GetVariantValue() any
- func (v TransferTimeout) MarshalHex() (string, error)
- func (v TransferTimeout) MarshalJSON() ([]byte, error)
- func (v *TransferTimeout) UnmarshalHex(data string) error
- func (v *TransferTimeout) UnmarshalJSON(data []byte) error
- type VerifyInboundMessage
- type VerifyInboundMessageMCMSParams
- type VerifyOutboundCCVs
- type VerifyOutboundCCVsMCMSParams
Constants ¶
const ( PackageName = "ccip-burn-mint-token-pool" PackageID = "d78aa5f8ab6cf32dec1bf575276ee4441aa82ab5167884805a682d8669d8fa41" SDKVersion = "3.4.11" )
const ( BurnMintFactoryExtraArgsMetaValuesContextKey = types.TEXT("burn-mint-factory-extra-args-meta-values") BurnMintFactoryExtraArgsContextValuesContextKey = types.TEXT("burn-mint-factory-extra-args-values") BurnMintFactoryContextKey = types.TEXT("burn-mint-factory") BpsDenominator = types.NUMERIC("10000.") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPoolReceiveContextContractValue ¶
type AddPoolReceiveContextContractValue struct {
ContextKey types.TEXT `json:"contextKey"`
ReferredContract types.CONTRACT_ID `json:"referredContract"`
}
AddPoolReceiveContextContractValue is a Record type
func (AddPoolReceiveContextContractValue) MarshalHex ¶
func (t AddPoolReceiveContextContractValue) MarshalHex() (string, error)
MarshalHex encodes AddPoolReceiveContextContractValue to hex string (Canton MCMS format)
func (AddPoolReceiveContextContractValue) MarshalJSON ¶
func (t AddPoolReceiveContextContractValue) MarshalJSON() ([]byte, error)
func (AddPoolReceiveContextContractValue) ToMap ¶
func (t AddPoolReceiveContextContractValue) ToMap() map[string]any
ToMap converts AddPoolReceiveContextContractValue to a map for DAML arguments
func (*AddPoolReceiveContextContractValue) UnmarshalHex ¶
func (t *AddPoolReceiveContextContractValue) UnmarshalHex(data string) error
UnmarshalHex decodes AddPoolReceiveContextContractValue from hex string (Canton MCMS format)
func (*AddPoolReceiveContextContractValue) UnmarshalJSON ¶
func (t *AddPoolReceiveContextContractValue) UnmarshalJSON(data []byte) error
type AddPoolReceiveContextContractValueParams ¶
type AddPoolReceiveContextContractValueParams struct {
ContextKey types.TEXT `json:"contextKey"`
ReferentInstanceAddress chainlinkapi.RawInstanceAddress `json:"referentInstanceAddress"`
}
AddPoolReceiveContextContractValueParams is a Record type
func (AddPoolReceiveContextContractValueParams) MarshalHex ¶
func (t AddPoolReceiveContextContractValueParams) MarshalHex() (string, error)
MarshalHex encodes AddPoolReceiveContextContractValueParams to hex string (Canton MCMS format)
func (AddPoolReceiveContextContractValueParams) MarshalJSON ¶
func (t AddPoolReceiveContextContractValueParams) MarshalJSON() ([]byte, error)
func (AddPoolReceiveContextContractValueParams) ToMap ¶
func (t AddPoolReceiveContextContractValueParams) ToMap() map[string]any
ToMap converts AddPoolReceiveContextContractValueParams to a map for DAML arguments
func (*AddPoolReceiveContextContractValueParams) UnmarshalHex ¶
func (t *AddPoolReceiveContextContractValueParams) UnmarshalHex(data string) error
UnmarshalHex decodes AddPoolReceiveContextContractValueParams from hex string (Canton MCMS format)
func (*AddPoolReceiveContextContractValueParams) UnmarshalJSON ¶
func (t *AddPoolReceiveContextContractValueParams) UnmarshalJSON(data []byte) error
type AddPoolReceiveContextNonContractValue ¶
type AddPoolReceiveContextNonContractValue struct {
ContextKey types.TEXT `json:"contextKey"`
Value splice_api_token_metadata_v1.AnyValue `json:"value"`
}
AddPoolReceiveContextNonContractValue is a Record type
func (AddPoolReceiveContextNonContractValue) MarshalHex ¶
func (t AddPoolReceiveContextNonContractValue) MarshalHex() (string, error)
MarshalHex encodes AddPoolReceiveContextNonContractValue to hex string (Canton MCMS format)
func (AddPoolReceiveContextNonContractValue) MarshalJSON ¶
func (t AddPoolReceiveContextNonContractValue) MarshalJSON() ([]byte, error)
func (AddPoolReceiveContextNonContractValue) ToMap ¶
func (t AddPoolReceiveContextNonContractValue) ToMap() map[string]any
ToMap converts AddPoolReceiveContextNonContractValue to a map for DAML arguments
func (*AddPoolReceiveContextNonContractValue) UnmarshalHex ¶
func (t *AddPoolReceiveContextNonContractValue) UnmarshalHex(data string) error
UnmarshalHex decodes AddPoolReceiveContextNonContractValue from hex string (Canton MCMS format)
func (*AddPoolReceiveContextNonContractValue) UnmarshalJSON ¶
func (t *AddPoolReceiveContextNonContractValue) UnmarshalJSON(data []byte) error
type AddPoolReceiveContextNonContractValueParams ¶
type AddPoolReceiveContextNonContractValueParams struct {
ContextKey types.TEXT `json:"contextKey"`
ValuePayload types.TEXT `json:"valuePayload"`
}
AddPoolReceiveContextNonContractValueParams is a Record type
func (AddPoolReceiveContextNonContractValueParams) MarshalHex ¶
func (t AddPoolReceiveContextNonContractValueParams) MarshalHex() (string, error)
MarshalHex encodes AddPoolReceiveContextNonContractValueParams to hex string (Canton MCMS format)
func (AddPoolReceiveContextNonContractValueParams) MarshalJSON ¶
func (t AddPoolReceiveContextNonContractValueParams) MarshalJSON() ([]byte, error)
func (AddPoolReceiveContextNonContractValueParams) ToMap ¶
func (t AddPoolReceiveContextNonContractValueParams) ToMap() map[string]any
ToMap converts AddPoolReceiveContextNonContractValueParams to a map for DAML arguments
func (*AddPoolReceiveContextNonContractValueParams) UnmarshalHex ¶
func (t *AddPoolReceiveContextNonContractValueParams) UnmarshalHex(data string) error
UnmarshalHex decodes AddPoolReceiveContextNonContractValueParams from hex string (Canton MCMS format)
func (*AddPoolReceiveContextNonContractValueParams) UnmarshalJSON ¶
func (t *AddPoolReceiveContextNonContractValueParams) UnmarshalJSON(data []byte) error
type ApplyChainUpdates ¶
type ApplyChainUpdates struct {
RemoteChainSelectorsToRemove []types.NUMERIC `json:"remoteChainSelectorsToRemove"`
ChainsToAdd []ChainUpdate `json:"chainsToAdd"`
}
ApplyChainUpdates is a Record type
func (ApplyChainUpdates) MarshalHex ¶
func (t ApplyChainUpdates) MarshalHex() (string, error)
MarshalHex encodes ApplyChainUpdates to hex string (Canton MCMS format)
func (ApplyChainUpdates) MarshalJSON ¶
func (t ApplyChainUpdates) MarshalJSON() ([]byte, error)
func (ApplyChainUpdates) ToMap ¶
func (t ApplyChainUpdates) ToMap() map[string]any
ToMap converts ApplyChainUpdates to a map for DAML arguments
func (*ApplyChainUpdates) UnmarshalHex ¶
func (t *ApplyChainUpdates) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyChainUpdates from hex string (Canton MCMS format)
func (*ApplyChainUpdates) UnmarshalJSON ¶
func (t *ApplyChainUpdates) UnmarshalJSON(data []byte) error
type ApplyChainUpdatesParams ¶
type ApplyChainUpdatesParams struct {
RemoteChainSelectorsToRemove []types.NUMERIC `json:"remoteChainSelectorsToRemove"`
ChainsToAdd []ChainUpdate `json:"chainsToAdd"`
}
ApplyChainUpdatesParams is a Record type
func (ApplyChainUpdatesParams) MarshalHex ¶
func (t ApplyChainUpdatesParams) MarshalHex() (string, error)
MarshalHex encodes ApplyChainUpdatesParams to hex string (Canton MCMS format)
func (ApplyChainUpdatesParams) MarshalJSON ¶
func (t ApplyChainUpdatesParams) MarshalJSON() ([]byte, error)
func (ApplyChainUpdatesParams) ToMap ¶
func (t ApplyChainUpdatesParams) ToMap() map[string]any
ToMap converts ApplyChainUpdatesParams to a map for DAML arguments
func (*ApplyChainUpdatesParams) UnmarshalHex ¶
func (t *ApplyChainUpdatesParams) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyChainUpdatesParams from hex string (Canton MCMS format)
func (*ApplyChainUpdatesParams) UnmarshalJSON ¶
func (t *ApplyChainUpdatesParams) UnmarshalJSON(data []byte) error
type ApplyTokenTransferFeeConfigUpdates ¶
type ApplyTokenTransferFeeConfigUpdates struct {
TokenTransferFeeConfigArgs []TokenTransferFeeConfigArgs `json:"tokenTransferFeeConfigArgs"`
DisableTokenTransferFeeConfigArgs []types.NUMERIC `json:"disableTokenTransferFeeConfigArgs"`
}
ApplyTokenTransferFeeConfigUpdates is a Record type
func (ApplyTokenTransferFeeConfigUpdates) MarshalHex ¶
func (t ApplyTokenTransferFeeConfigUpdates) MarshalHex() (string, error)
MarshalHex encodes ApplyTokenTransferFeeConfigUpdates to hex string (Canton MCMS format)
func (ApplyTokenTransferFeeConfigUpdates) MarshalJSON ¶
func (t ApplyTokenTransferFeeConfigUpdates) MarshalJSON() ([]byte, error)
func (ApplyTokenTransferFeeConfigUpdates) ToMap ¶
func (t ApplyTokenTransferFeeConfigUpdates) ToMap() map[string]any
ToMap converts ApplyTokenTransferFeeConfigUpdates to a map for DAML arguments
func (*ApplyTokenTransferFeeConfigUpdates) UnmarshalHex ¶
func (t *ApplyTokenTransferFeeConfigUpdates) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyTokenTransferFeeConfigUpdates from hex string (Canton MCMS format)
func (*ApplyTokenTransferFeeConfigUpdates) UnmarshalJSON ¶
func (t *ApplyTokenTransferFeeConfigUpdates) UnmarshalJSON(data []byte) error
type ApplyTokenTransferFeeConfigUpdatesParams ¶
type ApplyTokenTransferFeeConfigUpdatesParams struct {
TokenTransferFeeConfigArgs []TokenTransferFeeConfigArgs `json:"tokenTransferFeeConfigArgs"`
DisableTokenTransferFeeConfigArgs []types.NUMERIC `json:"disableTokenTransferFeeConfigArgs"`
}
ApplyTokenTransferFeeConfigUpdatesParams is a Record type
func (ApplyTokenTransferFeeConfigUpdatesParams) MarshalHex ¶
func (t ApplyTokenTransferFeeConfigUpdatesParams) MarshalHex() (string, error)
MarshalHex encodes ApplyTokenTransferFeeConfigUpdatesParams to hex string (Canton MCMS format)
func (ApplyTokenTransferFeeConfigUpdatesParams) MarshalJSON ¶
func (t ApplyTokenTransferFeeConfigUpdatesParams) MarshalJSON() ([]byte, error)
func (ApplyTokenTransferFeeConfigUpdatesParams) ToMap ¶
func (t ApplyTokenTransferFeeConfigUpdatesParams) ToMap() map[string]any
ToMap converts ApplyTokenTransferFeeConfigUpdatesParams to a map for DAML arguments
func (*ApplyTokenTransferFeeConfigUpdatesParams) UnmarshalHex ¶
func (t *ApplyTokenTransferFeeConfigUpdatesParams) UnmarshalHex(data string) error
UnmarshalHex decodes ApplyTokenTransferFeeConfigUpdatesParams from hex string (Canton MCMS format)
func (*ApplyTokenTransferFeeConfigUpdatesParams) UnmarshalJSON ¶
func (t *ApplyTokenTransferFeeConfigUpdatesParams) UnmarshalJSON(data []byte) error
type BurnMintTokenPool ¶
type BurnMintTokenPool 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"`
RemoteChainConfigs map[types.NUMERIC]RemoteChainConfig `json:"remoteChainConfigs"`
TokenTransferFeeConfigs map[types.NUMERIC]TokenTransferFeeConfig `json:"tokenTransferFeeConfigs"`
PoolReceiveContext splice_api_token_metadata_v1.ChoiceContext `json:"poolReceiveContext"`
TransferTimeout TransferTimeout `json:"transferTimeout"`
Deps BurnMintTokenPoolDeps `json:"deps"`
}
BurnMintTokenPool is a Template type
func (BurnMintTokenPool) AddPoolReceiveContextContractValue ¶
func (t BurnMintTokenPool) AddPoolReceiveContextContractValue(contractID string, args AddPoolReceiveContextContractValue) *model.ExerciseCommand
AddPoolReceiveContextContractValue exercises the AddPoolReceiveContextContractValue choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) AddPoolReceiveContextContractValueWithPackageID ¶
func (t BurnMintTokenPool) AddPoolReceiveContextContractValueWithPackageID(contractID string, packageID string, args AddPoolReceiveContextContractValue) *model.ExerciseCommand
AddPoolReceiveContextContractValueWithPackageID exercises the AddPoolReceiveContextContractValue choice using the provided package ID instead of package name
func (BurnMintTokenPool) AddPoolReceiveContextNonContractValue ¶
func (t BurnMintTokenPool) AddPoolReceiveContextNonContractValue(contractID string, args AddPoolReceiveContextNonContractValue) *model.ExerciseCommand
AddPoolReceiveContextNonContractValue exercises the AddPoolReceiveContextNonContractValue choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) AddPoolReceiveContextNonContractValueWithPackageID ¶
func (t BurnMintTokenPool) AddPoolReceiveContextNonContractValueWithPackageID(contractID string, packageID string, args AddPoolReceiveContextNonContractValue) *model.ExerciseCommand
AddPoolReceiveContextNonContractValueWithPackageID exercises the AddPoolReceiveContextNonContractValue choice using the provided package ID instead of package name
func (BurnMintTokenPool) ApplyChainUpdates ¶
func (t BurnMintTokenPool) ApplyChainUpdates(contractID string, args ApplyChainUpdates) *model.ExerciseCommand
ApplyChainUpdates exercises the ApplyChainUpdates choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) ApplyChainUpdatesWithPackageID ¶
func (t BurnMintTokenPool) ApplyChainUpdatesWithPackageID(contractID string, packageID string, args ApplyChainUpdates) *model.ExerciseCommand
ApplyChainUpdatesWithPackageID exercises the ApplyChainUpdates choice using the provided package ID instead of package name
func (BurnMintTokenPool) ApplyTokenTransferFeeConfigUpdates ¶
func (t BurnMintTokenPool) ApplyTokenTransferFeeConfigUpdates(contractID string, args ApplyTokenTransferFeeConfigUpdates) *model.ExerciseCommand
ApplyTokenTransferFeeConfigUpdates exercises the ApplyTokenTransferFeeConfigUpdates choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) ApplyTokenTransferFeeConfigUpdatesWithPackageID ¶
func (t BurnMintTokenPool) ApplyTokenTransferFeeConfigUpdatesWithPackageID(contractID string, packageID string, args ApplyTokenTransferFeeConfigUpdates) *model.ExerciseCommand
ApplyTokenTransferFeeConfigUpdatesWithPackageID exercises the ApplyTokenTransferFeeConfigUpdates choice using the provided package ID instead of package name
func (BurnMintTokenPool) Archive ¶
func (t BurnMintTokenPool) Archive(contractID string) *model.ExerciseCommand
Archive exercises the Archive choice on this BurnMintTokenPool contract via the IITokenPool interface This method uses the package name in the template ID
func (BurnMintTokenPool) ArchiveWithPackageID ¶
func (t BurnMintTokenPool) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand
ArchiveWithPackageID exercises the Archive choice using the provided package ID instead of package name
func (BurnMintTokenPool) CalculateFee ¶
func (t BurnMintTokenPool) CalculateFee(contractID string, args CalculateFee) *model.ExerciseCommand
CalculateFee exercises the CalculateFee choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) CalculateFeeWithPackageID ¶
func (t BurnMintTokenPool) CalculateFeeWithPackageID(contractID string, packageID string, args CalculateFee) *model.ExerciseCommand
CalculateFeeWithPackageID exercises the CalculateFee choice using the provided package ID instead of package name
func (BurnMintTokenPool) ClearPoolReceiveContext ¶
func (t BurnMintTokenPool) ClearPoolReceiveContext(contractID string, args ClearPoolReceiveContext) *model.ExerciseCommand
ClearPoolReceiveContext exercises the ClearPoolReceiveContext choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) ClearPoolReceiveContextWithPackageID ¶
func (t BurnMintTokenPool) ClearPoolReceiveContextWithPackageID(contractID string, packageID string, args ClearPoolReceiveContext) *model.ExerciseCommand
ClearPoolReceiveContextWithPackageID exercises the ClearPoolReceiveContext choice using the provided package ID instead of package name
func (BurnMintTokenPool) CreateCommand ¶
func (t BurnMintTokenPool) CreateCommand() *model.CreateCommand
CreateCommand returns a CreateCommand for this template using the package name
func (BurnMintTokenPool) CreateCommandWithPackageID ¶
func (t BurnMintTokenPool) CreateCommandWithPackageID(packageID string) *model.CreateCommand
CreateCommandWithPackageID returns a CreateCommand using the provided package ID instead of package name
func (BurnMintTokenPool) GetFee ¶
func (t BurnMintTokenPool) GetFee(contractID string, args GetFee) *model.ExerciseCommand
GetFee exercises the GetFee choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) GetFeeWithPackageID ¶
func (t BurnMintTokenPool) GetFeeWithPackageID(contractID string, packageID string, args GetFee) *model.ExerciseCommand
GetFeeWithPackageID exercises the GetFee choice using the provided package ID instead of package name
func (BurnMintTokenPool) GetRequiredCCVs ¶
func (t BurnMintTokenPool) GetRequiredCCVs(contractID string, args GetRequiredCCVs) *model.ExerciseCommand
GetRequiredCCVs exercises the GetRequiredCCVs choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) GetRequiredCCVsWithPackageID ¶
func (t BurnMintTokenPool) GetRequiredCCVsWithPackageID(contractID string, packageID string, args GetRequiredCCVs) *model.ExerciseCommand
GetRequiredCCVsWithPackageID exercises the GetRequiredCCVs choice using the provided package ID instead of package name
func (BurnMintTokenPool) GetTemplateID ¶
func (t BurnMintTokenPool) GetTemplateID() string
GetTemplateID returns the template ID for this template using the package name
func (BurnMintTokenPool) GetTemplateIDWithPackageID ¶
func (t BurnMintTokenPool) GetTemplateIDWithPackageID(packageID string) string
GetTemplateIDWithPackageID returns the template ID using the provided package ID instead of package name
func (BurnMintTokenPool) LockOrBurn ¶
func (t BurnMintTokenPool) LockOrBurn(contractID string, args LockOrBurn) *model.ExerciseCommand
LockOrBurn exercises the LockOrBurn choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) LockOrBurnWithPackageID ¶
func (t BurnMintTokenPool) LockOrBurnWithPackageID(contractID string, packageID string, args LockOrBurn) *model.ExerciseCommand
LockOrBurnWithPackageID exercises the LockOrBurn choice using the provided package ID instead of package name
func (BurnMintTokenPool) MCMSReceiverEntrypoint ¶
func (t BurnMintTokenPool) MCMSReceiverEntrypoint(contractID string, args api.MCMSReceiverEntrypoint) *model.ExerciseCommand
MCMSReceiverEntrypoint exercises the MCMSReceiver_Entrypoint choice on this BurnMintTokenPool contract via the IMCMSReceiver interface This method uses the package name in the template ID
func (BurnMintTokenPool) MCMSReceiverEntrypointWithPackageID ¶
func (t BurnMintTokenPool) 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 (BurnMintTokenPool) MarshalHex ¶
func (t BurnMintTokenPool) MarshalHex() (string, error)
MarshalHex encodes BurnMintTokenPool to hex string (Canton MCMS format)
func (BurnMintTokenPool) MarshalJSON ¶
func (t BurnMintTokenPool) MarshalJSON() ([]byte, error)
func (BurnMintTokenPool) ReleaseFromTicket ¶
func (t BurnMintTokenPool) ReleaseFromTicket(contractID string, args ReleaseFromTicket) *model.ExerciseCommand
ReleaseFromTicket exercises the ReleaseFromTicket choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) ReleaseFromTicketWithPackageID ¶
func (t BurnMintTokenPool) ReleaseFromTicketWithPackageID(contractID string, packageID string, args ReleaseFromTicket) *model.ExerciseCommand
ReleaseFromTicketWithPackageID exercises the ReleaseFromTicket choice using the provided package ID instead of package name
func (BurnMintTokenPool) RemovePoolReceiveContextValue ¶
func (t BurnMintTokenPool) RemovePoolReceiveContextValue(contractID string, args RemovePoolReceiveContextValue) *model.ExerciseCommand
RemovePoolReceiveContextValue exercises the RemovePoolReceiveContextValue choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) RemovePoolReceiveContextValueWithPackageID ¶
func (t BurnMintTokenPool) RemovePoolReceiveContextValueWithPackageID(contractID string, packageID string, args RemovePoolReceiveContextValue) *model.ExerciseCommand
RemovePoolReceiveContextValueWithPackageID exercises the RemovePoolReceiveContextValue choice using the provided package ID instead of package name
func (BurnMintTokenPool) SetDynamicConfig ¶
func (t BurnMintTokenPool) SetDynamicConfig(contractID string, args SetDynamicConfig) *model.ExerciseCommand
SetDynamicConfig exercises the SetDynamicConfig choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) SetDynamicConfigWithPackageID ¶
func (t BurnMintTokenPool) SetDynamicConfigWithPackageID(contractID string, packageID string, args SetDynamicConfig) *model.ExerciseCommand
SetDynamicConfigWithPackageID exercises the SetDynamicConfig choice using the provided package ID instead of package name
func (BurnMintTokenPool) SetRateLimitConfig ¶
func (t BurnMintTokenPool) SetRateLimitConfig(contractID string, args SetRateLimitConfig) *model.ExerciseCommand
SetRateLimitConfig exercises the SetRateLimitConfig choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) SetRateLimitConfigWithPackageID ¶
func (t BurnMintTokenPool) SetRateLimitConfigWithPackageID(contractID string, packageID string, args SetRateLimitConfig) *model.ExerciseCommand
SetRateLimitConfigWithPackageID exercises the SetRateLimitConfig choice using the provided package ID instead of package name
func (BurnMintTokenPool) SetTransferTimeout ¶
func (t BurnMintTokenPool) SetTransferTimeout(contractID string, args SetTransferTimeout) *model.ExerciseCommand
SetTransferTimeout exercises the SetTransferTimeout choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) SetTransferTimeoutWithPackageID ¶
func (t BurnMintTokenPool) SetTransferTimeoutWithPackageID(contractID string, packageID string, args SetTransferTimeout) *model.ExerciseCommand
SetTransferTimeoutWithPackageID exercises the SetTransferTimeout choice using the provided package ID instead of package name
func (BurnMintTokenPool) TokenPoolCalculateFee ¶
func (t BurnMintTokenPool) TokenPoolCalculateFee(contractID string, args extensionapi.TokenPoolCalculateFee) *model.ExerciseCommand
TokenPoolCalculateFee exercises the TokenPool_CalculateFee choice on this BurnMintTokenPool contract via the IITokenPool interface This method uses the package name in the template ID
func (BurnMintTokenPool) TokenPoolCalculateFeeWithPackageID ¶
func (t BurnMintTokenPool) TokenPoolCalculateFeeWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolCalculateFee) *model.ExerciseCommand
TokenPoolCalculateFeeWithPackageID exercises the TokenPool_CalculateFee choice using the provided package ID instead of package name
func (BurnMintTokenPool) TokenPoolGetFee ¶
func (t BurnMintTokenPool) TokenPoolGetFee(contractID string, args extensionapi.TokenPoolGetFee) *model.ExerciseCommand
TokenPoolGetFee exercises the TokenPool_GetFee choice on this BurnMintTokenPool contract via the IITokenPool interface This method uses the package name in the template ID
func (BurnMintTokenPool) TokenPoolGetFeeWithPackageID ¶
func (t BurnMintTokenPool) TokenPoolGetFeeWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolGetFee) *model.ExerciseCommand
TokenPoolGetFeeWithPackageID exercises the TokenPool_GetFee choice using the provided package ID instead of package name
func (BurnMintTokenPool) TokenPoolGetRequiredCCVs ¶
func (t BurnMintTokenPool) TokenPoolGetRequiredCCVs(contractID string, args extensionapi.TokenPoolGetRequiredCCVs) *model.ExerciseCommand
TokenPoolGetRequiredCCVs exercises the TokenPool_GetRequiredCCVs choice on this BurnMintTokenPool contract via the IITokenPool interface This method uses the package name in the template ID
func (BurnMintTokenPool) TokenPoolGetRequiredCCVsWithPackageID ¶
func (t BurnMintTokenPool) TokenPoolGetRequiredCCVsWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolGetRequiredCCVs) *model.ExerciseCommand
TokenPoolGetRequiredCCVsWithPackageID exercises the TokenPool_GetRequiredCCVs choice using the provided package ID instead of package name
func (BurnMintTokenPool) TokenPoolLockOrBurn ¶
func (t BurnMintTokenPool) TokenPoolLockOrBurn(contractID string, args extensionapi.TokenPoolLockOrBurn) *model.ExerciseCommand
TokenPoolLockOrBurn exercises the TokenPool_LockOrBurn choice on this BurnMintTokenPool contract via the IITokenPool interface This method uses the package name in the template ID
func (BurnMintTokenPool) TokenPoolLockOrBurnWithPackageID ¶
func (t BurnMintTokenPool) TokenPoolLockOrBurnWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolLockOrBurn) *model.ExerciseCommand
TokenPoolLockOrBurnWithPackageID exercises the TokenPool_LockOrBurn choice using the provided package ID instead of package name
func (BurnMintTokenPool) TokenPoolReleaseFromTicket ¶
func (t BurnMintTokenPool) TokenPoolReleaseFromTicket(contractID string, args extensionapi.TokenPoolReleaseFromTicket) *model.ExerciseCommand
TokenPoolReleaseFromTicket exercises the TokenPool_ReleaseFromTicket choice on this BurnMintTokenPool contract via the IITokenPool interface This method uses the package name in the template ID
func (BurnMintTokenPool) TokenPoolReleaseFromTicketWithPackageID ¶
func (t BurnMintTokenPool) TokenPoolReleaseFromTicketWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolReleaseFromTicket) *model.ExerciseCommand
TokenPoolReleaseFromTicketWithPackageID exercises the TokenPool_ReleaseFromTicket choice using the provided package ID instead of package name
func (BurnMintTokenPool) TokenPoolVerifyInboundMessage ¶
func (t BurnMintTokenPool) TokenPoolVerifyInboundMessage(contractID string, args extensionapi.TokenPoolVerifyInboundMessage) *model.ExerciseCommand
TokenPoolVerifyInboundMessage exercises the TokenPool_VerifyInboundMessage choice on this BurnMintTokenPool contract via the IITokenPool interface This method uses the package name in the template ID
func (BurnMintTokenPool) TokenPoolVerifyInboundMessageWithPackageID ¶
func (t BurnMintTokenPool) TokenPoolVerifyInboundMessageWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolVerifyInboundMessage) *model.ExerciseCommand
TokenPoolVerifyInboundMessageWithPackageID exercises the TokenPool_VerifyInboundMessage choice using the provided package ID instead of package name
func (BurnMintTokenPool) TokenPoolVerifyOutboundCCVs ¶
func (t BurnMintTokenPool) TokenPoolVerifyOutboundCCVs(contractID string, args extensionapi.TokenPoolVerifyOutboundCCVs) *model.ExerciseCommand
TokenPoolVerifyOutboundCCVs exercises the TokenPool_VerifyOutboundCCVs choice on this BurnMintTokenPool contract via the IITokenPool interface This method uses the package name in the template ID
func (BurnMintTokenPool) TokenPoolVerifyOutboundCCVsWithPackageID ¶
func (t BurnMintTokenPool) TokenPoolVerifyOutboundCCVsWithPackageID(contractID string, packageID string, args extensionapi.TokenPoolVerifyOutboundCCVs) *model.ExerciseCommand
TokenPoolVerifyOutboundCCVsWithPackageID exercises the TokenPool_VerifyOutboundCCVs choice using the provided package ID instead of package name
func (*BurnMintTokenPool) UnmarshalHex ¶
func (t *BurnMintTokenPool) UnmarshalHex(data string) error
UnmarshalHex decodes BurnMintTokenPool from hex string (Canton MCMS format)
func (*BurnMintTokenPool) UnmarshalJSON ¶
func (t *BurnMintTokenPool) UnmarshalJSON(data []byte) error
func (BurnMintTokenPool) VerifyInboundMessage ¶
func (t BurnMintTokenPool) VerifyInboundMessage(contractID string, args VerifyInboundMessage) *model.ExerciseCommand
VerifyInboundMessage exercises the VerifyInboundMessage choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) VerifyInboundMessageWithPackageID ¶
func (t BurnMintTokenPool) VerifyInboundMessageWithPackageID(contractID string, packageID string, args VerifyInboundMessage) *model.ExerciseCommand
VerifyInboundMessageWithPackageID exercises the VerifyInboundMessage choice using the provided package ID instead of package name
func (BurnMintTokenPool) VerifyOutboundCCVs ¶
func (t BurnMintTokenPool) VerifyOutboundCCVs(contractID string, args VerifyOutboundCCVs) *model.ExerciseCommand
VerifyOutboundCCVs exercises the VerifyOutboundCCVs choice on this BurnMintTokenPool contract This method uses the package name in the template ID
func (BurnMintTokenPool) VerifyOutboundCCVsWithPackageID ¶
func (t BurnMintTokenPool) VerifyOutboundCCVsWithPackageID(contractID string, packageID string, args VerifyOutboundCCVs) *model.ExerciseCommand
VerifyOutboundCCVsWithPackageID exercises the VerifyOutboundCCVs choice using the provided package ID instead of package name
type BurnMintTokenPoolDeps ¶
type BurnMintTokenPoolDeps struct {
TokenAdminRegistry chainlinkapi.RawInstanceAddress `json:"tokenAdminRegistry"`
RmnRemote chainlinkapi.RawInstanceAddress `json:"rmnRemote"`
FeeQuoter chainlinkapi.RawInstanceAddress `json:"feeQuoter"`
}
BurnMintTokenPoolDeps is a Record type
func (BurnMintTokenPoolDeps) MarshalHex ¶
func (t BurnMintTokenPoolDeps) MarshalHex() (string, error)
MarshalHex encodes BurnMintTokenPoolDeps to hex string (Canton MCMS format)
func (BurnMintTokenPoolDeps) MarshalJSON ¶
func (t BurnMintTokenPoolDeps) MarshalJSON() ([]byte, error)
func (BurnMintTokenPoolDeps) ToMap ¶
func (t BurnMintTokenPoolDeps) ToMap() map[string]any
ToMap converts BurnMintTokenPoolDeps to a map for DAML arguments
func (*BurnMintTokenPoolDeps) UnmarshalHex ¶
func (t *BurnMintTokenPoolDeps) UnmarshalHex(data string) error
UnmarshalHex decodes BurnMintTokenPoolDeps from hex string (Canton MCMS format)
func (*BurnMintTokenPoolDeps) UnmarshalJSON ¶
func (t *BurnMintTokenPoolDeps) UnmarshalJSON(data []byte) error
type CalculateFee ¶
type CalculateFee struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
FeeQuoterCid types.CONTRACT_ID `json:"feeQuoterCid"`
TokenInstrumentId splice_api_token_holding_v1.InstrumentId `json:"tokenInstrumentId"`
Caller types.PARTY `json:"caller"`
}
CalculateFee is a Record type
func (CalculateFee) MarshalHex ¶
func (t CalculateFee) MarshalHex() (string, error)
MarshalHex encodes CalculateFee to hex string (Canton MCMS format)
func (CalculateFee) MarshalJSON ¶
func (t CalculateFee) MarshalJSON() ([]byte, error)
func (CalculateFee) ToMap ¶
func (t CalculateFee) ToMap() map[string]any
ToMap converts CalculateFee to a map for DAML arguments
func (*CalculateFee) UnmarshalHex ¶
func (t *CalculateFee) UnmarshalHex(data string) error
UnmarshalHex decodes CalculateFee from hex string (Canton MCMS format)
func (*CalculateFee) UnmarshalJSON ¶
func (t *CalculateFee) UnmarshalJSON(data []byte) error
type CalculateFeeMCMSParams ¶
type CalculateFeeMCMSParams struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
FeeQuoterCid types.CONTRACT_ID `json:"feeQuoterCid"`
TokenInstrumentId splice_api_token_holding_v1.InstrumentId `json:"tokenInstrumentId"`
}
CalculateFeeMCMSParams is CalculateFee without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (CalculateFeeMCMSParams) MarshalHex ¶
func (t CalculateFeeMCMSParams) MarshalHex() (string, error)
MarshalHex encodes CalculateFeeMCMSParams to hex string for MCMS operationData.
func (*CalculateFeeMCMSParams) UnmarshalHex ¶
func (t *CalculateFeeMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes CalculateFeeMCMSParams from hex string.
type ChainUpdate ¶
type ChainUpdate struct {
RemoteChainSelector types.NUMERIC `json:"remoteChainSelector"`
RemotePools []types.TEXT `json:"remotePools"`
RemoteTokenAddress types.TEXT `json:"remoteTokenAddress"`
InboundCCVs []chainlinkapi.RawInstanceAddress `json:"inboundCCVs"`
OutboundCCVs []chainlinkapi.RawInstanceAddress `json:"outboundCCVs"`
FinalityConfig core.FinalityConfig `json:"finalityConfig"`
InboundRateLimiter chainlinkapi.RawInstanceAddress `json:"inboundRateLimiter"`
InboundCustomBlockConfirmationsRateLimiter chainlinkapi.RawInstanceAddress `json:"inboundCustomBlockConfirmationsRateLimiter"`
OutboundRateLimiter chainlinkapi.RawInstanceAddress `json:"outboundRateLimiter"`
}
ChainUpdate is a Record type
func (ChainUpdate) MarshalHex ¶
func (t ChainUpdate) MarshalHex() (string, error)
MarshalHex encodes ChainUpdate to hex string (Canton MCMS format)
func (ChainUpdate) MarshalJSON ¶
func (t ChainUpdate) MarshalJSON() ([]byte, error)
func (ChainUpdate) ToMap ¶
func (t ChainUpdate) ToMap() map[string]any
ToMap converts ChainUpdate to a map for DAML arguments
func (*ChainUpdate) UnmarshalHex ¶
func (t *ChainUpdate) UnmarshalHex(data string) error
UnmarshalHex decodes ChainUpdate from hex string (Canton MCMS format)
func (*ChainUpdate) UnmarshalJSON ¶
func (t *ChainUpdate) UnmarshalJSON(data []byte) error
type ClearPoolReceiveContext ¶
type ClearPoolReceiveContext struct {
}
ClearPoolReceiveContext is a Record type
func (ClearPoolReceiveContext) MarshalHex ¶
func (t ClearPoolReceiveContext) MarshalHex() (string, error)
MarshalHex encodes ClearPoolReceiveContext to hex string (Canton MCMS format)
func (ClearPoolReceiveContext) MarshalJSON ¶
func (t ClearPoolReceiveContext) MarshalJSON() ([]byte, error)
func (ClearPoolReceiveContext) ToMap ¶
func (t ClearPoolReceiveContext) ToMap() map[string]any
ToMap converts ClearPoolReceiveContext to a map for DAML arguments
func (*ClearPoolReceiveContext) UnmarshalHex ¶
func (t *ClearPoolReceiveContext) UnmarshalHex(data string) error
UnmarshalHex decodes ClearPoolReceiveContext from hex string (Canton MCMS format)
func (*ClearPoolReceiveContext) UnmarshalJSON ¶
func (t *ClearPoolReceiveContext) UnmarshalJSON(data []byte) error
type Contract ¶
type Contract struct {
// contains filtered or unexported fields
}
Contract wraps template operations with Sui-style API access. Use NewContract to create instances, then call Encoder() for encoding methods.
func NewContract ¶
NewContract creates a Contract with encoder for the given template. This provides Sui-style API: contract.Encoder().Method(args)
func (*Contract) Encoder ¶
func (c *Contract) Encoder() MCMSEncoder
Encoder returns the encoder for Sui-style contract.Encoder().Method() usage.
type GetFee ¶
type GetFee struct {
FeeQuoterCid types.CONTRACT_ID `json:"feeQuoterCid"`
DestChainSelector types.NUMERIC `json:"destChainSelector"`
TokenInstrumentId splice_api_token_holding_v1.InstrumentId `json:"tokenInstrumentId"`
Caller types.PARTY `json:"caller"`
}
GetFee is a Record type
func (GetFee) MarshalHex ¶
MarshalHex encodes GetFee to hex string (Canton MCMS format)
func (GetFee) MarshalJSON ¶
func (*GetFee) UnmarshalHex ¶
UnmarshalHex decodes GetFee from hex string (Canton MCMS format)
func (*GetFee) UnmarshalJSON ¶
type GetFeeMCMSParams ¶
type GetFeeMCMSParams struct {
FeeQuoterCid types.CONTRACT_ID `json:"feeQuoterCid"`
DestChainSelector types.NUMERIC `json:"destChainSelector"`
TokenInstrumentId splice_api_token_holding_v1.InstrumentId `json:"tokenInstrumentId"`
}
GetFeeMCMSParams is GetFee without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (GetFeeMCMSParams) MarshalHex ¶
func (t GetFeeMCMSParams) MarshalHex() (string, error)
MarshalHex encodes GetFeeMCMSParams to hex string for MCMS operationData.
func (*GetFeeMCMSParams) UnmarshalHex ¶
func (t *GetFeeMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes GetFeeMCMSParams from hex string.
type GetRequiredCCVs ¶
type GetRequiredCCVs struct {
RemoteChainSelector types.NUMERIC `json:"remoteChainSelector"`
SourceAmount types.TEXT `json:"sourceAmount"`
Finality core.FinalityConfig `json:"finality"`
ExtraData types.TEXT `json:"extraData"`
Direction extensionapi.TransferDirection `json:"direction"`
Caller types.PARTY `json:"caller"`
}
GetRequiredCCVs is a Record type
func (GetRequiredCCVs) MarshalHex ¶
func (t GetRequiredCCVs) MarshalHex() (string, error)
MarshalHex encodes GetRequiredCCVs to hex string (Canton MCMS format)
func (GetRequiredCCVs) MarshalJSON ¶
func (t GetRequiredCCVs) MarshalJSON() ([]byte, error)
func (GetRequiredCCVs) ToMap ¶
func (t GetRequiredCCVs) ToMap() map[string]any
ToMap converts GetRequiredCCVs to a map for DAML arguments
func (*GetRequiredCCVs) UnmarshalHex ¶
func (t *GetRequiredCCVs) UnmarshalHex(data string) error
UnmarshalHex decodes GetRequiredCCVs from hex string (Canton MCMS format)
func (*GetRequiredCCVs) UnmarshalJSON ¶
func (t *GetRequiredCCVs) UnmarshalJSON(data []byte) error
type GetRequiredCCVsMCMSParams ¶
type GetRequiredCCVsMCMSParams struct {
RemoteChainSelector types.NUMERIC `json:"remoteChainSelector"`
SourceAmount types.TEXT `json:"sourceAmount"`
Finality core.FinalityConfig `json:"finality"`
ExtraData types.TEXT `json:"extraData"`
Direction extensionapi.TransferDirection `json:"direction"`
}
GetRequiredCCVsMCMSParams is GetRequiredCCVs without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (GetRequiredCCVsMCMSParams) MarshalHex ¶
func (t GetRequiredCCVsMCMSParams) MarshalHex() (string, error)
MarshalHex encodes GetRequiredCCVsMCMSParams to hex string for MCMS operationData.
func (*GetRequiredCCVsMCMSParams) UnmarshalHex ¶
func (t *GetRequiredCCVsMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes GetRequiredCCVsMCMSParams from hex string.
type LockOrBurn ¶
type LockOrBurn struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
SenderInputCids []types.CONTRACT_ID `json:"senderInputCids"`
Amount types.NUMERIC `json:"amount"`
Caller types.PARTY `json:"caller"`
}
LockOrBurn is a Record type
func (LockOrBurn) MarshalHex ¶
func (t LockOrBurn) MarshalHex() (string, error)
MarshalHex encodes LockOrBurn to hex string (Canton MCMS format)
func (LockOrBurn) MarshalJSON ¶
func (t LockOrBurn) MarshalJSON() ([]byte, error)
func (LockOrBurn) ToMap ¶
func (t LockOrBurn) ToMap() map[string]any
ToMap converts LockOrBurn to a map for DAML arguments
func (*LockOrBurn) UnmarshalHex ¶
func (t *LockOrBurn) UnmarshalHex(data string) error
UnmarshalHex decodes LockOrBurn from hex string (Canton MCMS format)
func (*LockOrBurn) UnmarshalJSON ¶
func (t *LockOrBurn) UnmarshalJSON(data []byte) error
type LockOrBurnMCMSParams ¶
type LockOrBurnMCMSParams struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
SenderInputCids []types.CONTRACT_ID `json:"senderInputCids"`
Amount types.NUMERIC `json:"amount"`
}
LockOrBurnMCMSParams is LockOrBurn without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (LockOrBurnMCMSParams) MarshalHex ¶
func (t LockOrBurnMCMSParams) MarshalHex() (string, error)
MarshalHex encodes LockOrBurnMCMSParams to hex string for MCMS operationData.
func (*LockOrBurnMCMSParams) UnmarshalHex ¶
func (t *LockOrBurnMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes LockOrBurnMCMSParams from hex string.
type MCMSEncoder ¶
type MCMSEncoder interface {
AddPoolReceiveContextContractValue(args AddPoolReceiveContextContractValue) (*bind.EncodedChoice, error)
AddPoolReceiveContextContractValueParams(args AddPoolReceiveContextContractValueParams) (*bind.EncodedChoice, error)
AddPoolReceiveContextNonContractValue(args AddPoolReceiveContextNonContractValue) (*bind.EncodedChoice, error)
AddPoolReceiveContextNonContractValueParams(args AddPoolReceiveContextNonContractValueParams) (*bind.EncodedChoice, error)
ApplyChainUpdates(args ApplyChainUpdates) (*bind.EncodedChoice, error)
ApplyChainUpdatesParams(args ApplyChainUpdatesParams) (*bind.EncodedChoice, error)
ApplyTokenTransferFeeConfigUpdates(args ApplyTokenTransferFeeConfigUpdates) (*bind.EncodedChoice, error)
ApplyTokenTransferFeeConfigUpdatesParams(args ApplyTokenTransferFeeConfigUpdatesParams) (*bind.EncodedChoice, error)
CalculateFee(args CalculateFee) (*bind.EncodedChoice, error)
CalculateFeeMCMSParams(args CalculateFeeMCMSParams) (*bind.EncodedChoice, error)
ClearPoolReceiveContext(args ClearPoolReceiveContext) (*bind.EncodedChoice, error)
GetFee(args GetFee) (*bind.EncodedChoice, error)
GetFeeMCMSParams(args GetFeeMCMSParams) (*bind.EncodedChoice, error)
GetRequiredCCVs(args GetRequiredCCVs) (*bind.EncodedChoice, error)
GetRequiredCCVsMCMSParams(args GetRequiredCCVsMCMSParams) (*bind.EncodedChoice, error)
LockOrBurn(args LockOrBurn) (*bind.EncodedChoice, error)
LockOrBurnMCMSParams(args LockOrBurnMCMSParams) (*bind.EncodedChoice, error)
ReleaseFromTicket(args ReleaseFromTicket) (*bind.EncodedChoice, error)
ReleaseFromTicketMCMSParams(args ReleaseFromTicketMCMSParams) (*bind.EncodedChoice, error)
RemovePoolReceiveContextValue(args RemovePoolReceiveContextValue) (*bind.EncodedChoice, error)
RemovePoolReceiveContextValueParams(args RemovePoolReceiveContextValueParams) (*bind.EncodedChoice, error)
SetDynamicConfig(args SetDynamicConfig) (*bind.EncodedChoice, error)
SetDynamicConfigParams(args SetDynamicConfigParams) (*bind.EncodedChoice, error)
SetRateLimitConfig(args SetRateLimitConfig) (*bind.EncodedChoice, error)
SetRateLimitConfigMCMSParams(args SetRateLimitConfigMCMSParams) (*bind.EncodedChoice, error)
SetRateLimitConfigParams(args SetRateLimitConfigParams) (*bind.EncodedChoice, error)
SetTransferTimeout(args SetTransferTimeout) (*bind.EncodedChoice, error)
SetTransferTimeoutParams(args SetTransferTimeoutParams) (*bind.EncodedChoice, error)
VerifyInboundMessage(args VerifyInboundMessage) (*bind.EncodedChoice, error)
VerifyInboundMessageMCMSParams(args VerifyInboundMessageMCMSParams) (*bind.EncodedChoice, error)
VerifyOutboundCCVs(args VerifyOutboundCCVs) (*bind.EncodedChoice, error)
VerifyOutboundCCVsMCMSParams(args VerifyOutboundCCVsMCMSParams) (*bind.EncodedChoice, error)
}
MCMSEncoder interface for typed encoding methods. Implemented by Encoder for method-based encoding.
type RateLimitConfigArgs ¶
type RateLimitConfigArgs struct {
RemoteChainSelector types.NUMERIC `json:"remoteChainSelector"`
InboundRateLimiter chainlinkapi.RawInstanceAddress `json:"inboundRateLimiter"`
InboundCustomBlockConfirmationsRateLimiter chainlinkapi.RawInstanceAddress `json:"inboundCustomBlockConfirmationsRateLimiter"`
OutboundRateLimiter chainlinkapi.RawInstanceAddress `json:"outboundRateLimiter"`
}
RateLimitConfigArgs is a Record type
func (RateLimitConfigArgs) MarshalHex ¶
func (t RateLimitConfigArgs) MarshalHex() (string, error)
MarshalHex encodes RateLimitConfigArgs to hex string (Canton MCMS format)
func (RateLimitConfigArgs) MarshalJSON ¶
func (t RateLimitConfigArgs) MarshalJSON() ([]byte, error)
func (RateLimitConfigArgs) ToMap ¶
func (t RateLimitConfigArgs) ToMap() map[string]any
ToMap converts RateLimitConfigArgs to a map for DAML arguments
func (*RateLimitConfigArgs) UnmarshalHex ¶
func (t *RateLimitConfigArgs) UnmarshalHex(data string) error
UnmarshalHex decodes RateLimitConfigArgs from hex string (Canton MCMS format)
func (*RateLimitConfigArgs) UnmarshalJSON ¶
func (t *RateLimitConfigArgs) UnmarshalJSON(data []byte) error
type ReleaseFromTicket ¶
type ReleaseFromTicket struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
TokenReceiveTicketCid types.CONTRACT_ID `json:"tokenReceiveTicketCid"`
Caller types.PARTY `json:"caller"`
}
ReleaseFromTicket is a Record type
func (ReleaseFromTicket) MarshalHex ¶
func (t ReleaseFromTicket) MarshalHex() (string, error)
MarshalHex encodes ReleaseFromTicket to hex string (Canton MCMS format)
func (ReleaseFromTicket) MarshalJSON ¶
func (t ReleaseFromTicket) MarshalJSON() ([]byte, error)
func (ReleaseFromTicket) ToMap ¶
func (t ReleaseFromTicket) ToMap() map[string]any
ToMap converts ReleaseFromTicket to a map for DAML arguments
func (*ReleaseFromTicket) UnmarshalHex ¶
func (t *ReleaseFromTicket) UnmarshalHex(data string) error
UnmarshalHex decodes ReleaseFromTicket from hex string (Canton MCMS format)
func (*ReleaseFromTicket) UnmarshalJSON ¶
func (t *ReleaseFromTicket) UnmarshalJSON(data []byte) error
type ReleaseFromTicketMCMSParams ¶
type ReleaseFromTicketMCMSParams struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
TokenReceiveTicketCid types.CONTRACT_ID `json:"tokenReceiveTicketCid"`
}
ReleaseFromTicketMCMSParams is ReleaseFromTicket without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (ReleaseFromTicketMCMSParams) MarshalHex ¶
func (t ReleaseFromTicketMCMSParams) MarshalHex() (string, error)
MarshalHex encodes ReleaseFromTicketMCMSParams to hex string for MCMS operationData.
func (*ReleaseFromTicketMCMSParams) UnmarshalHex ¶
func (t *ReleaseFromTicketMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes ReleaseFromTicketMCMSParams from hex string.
type RemoteChainConfig ¶
type RemoteChainConfig struct {
RemotePools []types.TEXT `json:"remotePools"`
RemoteTokenAddress types.TEXT `json:"remoteTokenAddress"`
InboundCCVs []chainlinkapi.RawInstanceAddress `json:"inboundCCVs"`
OutboundCCVs []chainlinkapi.RawInstanceAddress `json:"outboundCCVs"`
FinalityConfig core.FinalityConfig `json:"finalityConfig"`
InboundRateLimiter chainlinkapi.RawInstanceAddress `json:"inboundRateLimiter"`
InboundCustomBlockConfirmationsRateLimiter chainlinkapi.RawInstanceAddress `json:"inboundCustomBlockConfirmationsRateLimiter"`
OutboundRateLimiter chainlinkapi.RawInstanceAddress `json:"outboundRateLimiter"`
}
RemoteChainConfig is a Record type
func (RemoteChainConfig) MarshalHex ¶
func (t RemoteChainConfig) MarshalHex() (string, error)
MarshalHex encodes RemoteChainConfig to hex string (Canton MCMS format)
func (RemoteChainConfig) MarshalJSON ¶
func (t RemoteChainConfig) MarshalJSON() ([]byte, error)
func (RemoteChainConfig) ToMap ¶
func (t RemoteChainConfig) ToMap() map[string]any
ToMap converts RemoteChainConfig to a map for DAML arguments
func (*RemoteChainConfig) UnmarshalHex ¶
func (t *RemoteChainConfig) UnmarshalHex(data string) error
UnmarshalHex decodes RemoteChainConfig from hex string (Canton MCMS format)
func (*RemoteChainConfig) UnmarshalJSON ¶
func (t *RemoteChainConfig) UnmarshalJSON(data []byte) error
type RemovePoolReceiveContextValue ¶
RemovePoolReceiveContextValue is a Record type
func (RemovePoolReceiveContextValue) MarshalHex ¶
func (t RemovePoolReceiveContextValue) MarshalHex() (string, error)
MarshalHex encodes RemovePoolReceiveContextValue to hex string (Canton MCMS format)
func (RemovePoolReceiveContextValue) MarshalJSON ¶
func (t RemovePoolReceiveContextValue) MarshalJSON() ([]byte, error)
func (RemovePoolReceiveContextValue) ToMap ¶
func (t RemovePoolReceiveContextValue) ToMap() map[string]any
ToMap converts RemovePoolReceiveContextValue to a map for DAML arguments
func (*RemovePoolReceiveContextValue) UnmarshalHex ¶
func (t *RemovePoolReceiveContextValue) UnmarshalHex(data string) error
UnmarshalHex decodes RemovePoolReceiveContextValue from hex string (Canton MCMS format)
func (*RemovePoolReceiveContextValue) UnmarshalJSON ¶
func (t *RemovePoolReceiveContextValue) UnmarshalJSON(data []byte) error
type RemovePoolReceiveContextValueParams ¶
RemovePoolReceiveContextValueParams is a Record type
func (RemovePoolReceiveContextValueParams) MarshalHex ¶
func (t RemovePoolReceiveContextValueParams) MarshalHex() (string, error)
MarshalHex encodes RemovePoolReceiveContextValueParams to hex string (Canton MCMS format)
func (RemovePoolReceiveContextValueParams) MarshalJSON ¶
func (t RemovePoolReceiveContextValueParams) MarshalJSON() ([]byte, error)
func (RemovePoolReceiveContextValueParams) ToMap ¶
func (t RemovePoolReceiveContextValueParams) ToMap() map[string]any
ToMap converts RemovePoolReceiveContextValueParams to a map for DAML arguments
func (*RemovePoolReceiveContextValueParams) UnmarshalHex ¶
func (t *RemovePoolReceiveContextValueParams) UnmarshalHex(data string) error
UnmarshalHex decodes RemovePoolReceiveContextValueParams from hex string (Canton MCMS format)
func (*RemovePoolReceiveContextValueParams) UnmarshalJSON ¶
func (t *RemovePoolReceiveContextValueParams) UnmarshalJSON(data []byte) error
type SetDynamicConfig ¶
SetDynamicConfig is a Record type
func (SetDynamicConfig) MarshalHex ¶
func (t SetDynamicConfig) MarshalHex() (string, error)
MarshalHex encodes SetDynamicConfig to hex string (Canton MCMS format)
func (SetDynamicConfig) MarshalJSON ¶
func (t SetDynamicConfig) MarshalJSON() ([]byte, error)
func (SetDynamicConfig) ToMap ¶
func (t SetDynamicConfig) ToMap() map[string]any
ToMap converts SetDynamicConfig to a map for DAML arguments
func (*SetDynamicConfig) UnmarshalHex ¶
func (t *SetDynamicConfig) UnmarshalHex(data string) error
UnmarshalHex decodes SetDynamicConfig from hex string (Canton MCMS format)
func (*SetDynamicConfig) UnmarshalJSON ¶
func (t *SetDynamicConfig) UnmarshalJSON(data []byte) error
type SetDynamicConfigParams ¶
type SetDynamicConfigParams struct {
RateLimitAdmin *types.PARTY `json:"rateLimitAdmin" hex:"optional"`
}
SetDynamicConfigParams is a Record type
func (SetDynamicConfigParams) MarshalHex ¶
func (t SetDynamicConfigParams) MarshalHex() (string, error)
MarshalHex encodes SetDynamicConfigParams to hex string (Canton MCMS format)
func (SetDynamicConfigParams) MarshalJSON ¶
func (t SetDynamicConfigParams) MarshalJSON() ([]byte, error)
func (SetDynamicConfigParams) ToMap ¶
func (t SetDynamicConfigParams) ToMap() map[string]any
ToMap converts SetDynamicConfigParams to a map for DAML arguments
func (*SetDynamicConfigParams) UnmarshalHex ¶
func (t *SetDynamicConfigParams) UnmarshalHex(data string) error
UnmarshalHex decodes SetDynamicConfigParams from hex string (Canton MCMS format)
func (*SetDynamicConfigParams) UnmarshalJSON ¶
func (t *SetDynamicConfigParams) UnmarshalJSON(data []byte) error
type SetRateLimitConfig ¶
type SetRateLimitConfig struct {
RateLimitConfigArgs []RateLimitConfigArgs `json:"rateLimitConfigArgs"`
Caller types.PARTY `json:"caller"`
}
SetRateLimitConfig is a Record type
func (SetRateLimitConfig) MarshalHex ¶
func (t SetRateLimitConfig) MarshalHex() (string, error)
MarshalHex encodes SetRateLimitConfig to hex string (Canton MCMS format)
func (SetRateLimitConfig) MarshalJSON ¶
func (t SetRateLimitConfig) MarshalJSON() ([]byte, error)
func (SetRateLimitConfig) ToMap ¶
func (t SetRateLimitConfig) ToMap() map[string]any
ToMap converts SetRateLimitConfig to a map for DAML arguments
func (*SetRateLimitConfig) UnmarshalHex ¶
func (t *SetRateLimitConfig) UnmarshalHex(data string) error
UnmarshalHex decodes SetRateLimitConfig from hex string (Canton MCMS format)
func (*SetRateLimitConfig) UnmarshalJSON ¶
func (t *SetRateLimitConfig) UnmarshalJSON(data []byte) error
type SetRateLimitConfigMCMSParams ¶
type SetRateLimitConfigMCMSParams struct {
RateLimitConfigArgs []RateLimitConfigArgs `json:"rateLimitConfigArgs"`
}
SetRateLimitConfigMCMSParams is SetRateLimitConfig without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (SetRateLimitConfigMCMSParams) MarshalHex ¶
func (t SetRateLimitConfigMCMSParams) MarshalHex() (string, error)
MarshalHex encodes SetRateLimitConfigMCMSParams to hex string for MCMS operationData.
func (*SetRateLimitConfigMCMSParams) UnmarshalHex ¶
func (t *SetRateLimitConfigMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes SetRateLimitConfigMCMSParams from hex string.
type SetRateLimitConfigParams ¶
type SetRateLimitConfigParams struct {
RateLimitConfigArgs []RateLimitConfigArgs `json:"rateLimitConfigArgs"`
Caller types.PARTY `json:"caller"`
}
SetRateLimitConfigParams is a Record type
func (SetRateLimitConfigParams) MarshalHex ¶
func (t SetRateLimitConfigParams) MarshalHex() (string, error)
MarshalHex encodes SetRateLimitConfigParams to hex string (Canton MCMS format)
func (SetRateLimitConfigParams) MarshalJSON ¶
func (t SetRateLimitConfigParams) MarshalJSON() ([]byte, error)
func (SetRateLimitConfigParams) ToMap ¶
func (t SetRateLimitConfigParams) ToMap() map[string]any
ToMap converts SetRateLimitConfigParams to a map for DAML arguments
func (*SetRateLimitConfigParams) UnmarshalHex ¶
func (t *SetRateLimitConfigParams) UnmarshalHex(data string) error
UnmarshalHex decodes SetRateLimitConfigParams from hex string (Canton MCMS format)
func (*SetRateLimitConfigParams) UnmarshalJSON ¶
func (t *SetRateLimitConfigParams) UnmarshalJSON(data []byte) error
type SetTransferTimeout ¶
type SetTransferTimeout struct {
NewTransferTimeout TransferTimeout `json:"newTransferTimeout"`
}
SetTransferTimeout is a Record type
func (SetTransferTimeout) MarshalHex ¶
func (t SetTransferTimeout) MarshalHex() (string, error)
MarshalHex encodes SetTransferTimeout to hex string (Canton MCMS format)
func (SetTransferTimeout) MarshalJSON ¶
func (t SetTransferTimeout) MarshalJSON() ([]byte, error)
func (SetTransferTimeout) ToMap ¶
func (t SetTransferTimeout) ToMap() map[string]any
ToMap converts SetTransferTimeout to a map for DAML arguments
func (*SetTransferTimeout) UnmarshalHex ¶
func (t *SetTransferTimeout) UnmarshalHex(data string) error
UnmarshalHex decodes SetTransferTimeout from hex string (Canton MCMS format)
func (*SetTransferTimeout) UnmarshalJSON ¶
func (t *SetTransferTimeout) UnmarshalJSON(data []byte) error
type SetTransferTimeoutParams ¶
type SetTransferTimeoutParams struct {
TransferTimeout TransferTimeout `json:"transferTimeout"`
}
SetTransferTimeoutParams is a Record type
func (SetTransferTimeoutParams) MarshalHex ¶
func (t SetTransferTimeoutParams) MarshalHex() (string, error)
MarshalHex encodes SetTransferTimeoutParams to hex string (Canton MCMS format)
func (SetTransferTimeoutParams) MarshalJSON ¶
func (t SetTransferTimeoutParams) MarshalJSON() ([]byte, error)
func (SetTransferTimeoutParams) ToMap ¶
func (t SetTransferTimeoutParams) ToMap() map[string]any
ToMap converts SetTransferTimeoutParams to a map for DAML arguments
func (*SetTransferTimeoutParams) UnmarshalHex ¶
func (t *SetTransferTimeoutParams) UnmarshalHex(data string) error
UnmarshalHex decodes SetTransferTimeoutParams from hex string (Canton MCMS format)
func (*SetTransferTimeoutParams) UnmarshalJSON ¶
func (t *SetTransferTimeoutParams) UnmarshalJSON(data []byte) error
type Template ¶
type Template interface {
CreateCommand() *model.CreateCommand
GetTemplateID() string
}
type TokenTransferFeeConfig ¶
type TokenTransferFeeConfig struct {
IsEnabled types.BOOL `json:"isEnabled"`
DestGasOverhead types.INT64 `json:"destGasOverhead"`
DestBytesOverhead types.INT64 `json:"destBytesOverhead"`
FeeUSDCents types.NUMERIC `json:"feeUSDCents"`
FeeBps types.NUMERIC `json:"feeBps"`
}
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 TokenTransferFeeConfigArgs ¶
type TokenTransferFeeConfigArgs struct {
DestChainSelector types.NUMERIC `json:"destChainSelector"`
IsEnabled types.BOOL `json:"isEnabled"`
DestGasOverhead types.INT64 `json:"destGasOverhead"`
DestBytesOverhead types.INT64 `json:"destBytesOverhead"`
FeeUSDCents types.NUMERIC `json:"feeUSDCents"`
FeeBps types.NUMERIC `json:"feeBps"`
}
TokenTransferFeeConfigArgs is a Record type
func (TokenTransferFeeConfigArgs) MarshalHex ¶
func (t TokenTransferFeeConfigArgs) MarshalHex() (string, error)
MarshalHex encodes TokenTransferFeeConfigArgs to hex string (Canton MCMS format)
func (TokenTransferFeeConfigArgs) MarshalJSON ¶
func (t TokenTransferFeeConfigArgs) MarshalJSON() ([]byte, error)
func (TokenTransferFeeConfigArgs) ToMap ¶
func (t TokenTransferFeeConfigArgs) ToMap() map[string]any
ToMap converts TokenTransferFeeConfigArgs to a map for DAML arguments
func (*TokenTransferFeeConfigArgs) UnmarshalHex ¶
func (t *TokenTransferFeeConfigArgs) UnmarshalHex(data string) error
UnmarshalHex decodes TokenTransferFeeConfigArgs from hex string (Canton MCMS format)
func (*TokenTransferFeeConfigArgs) UnmarshalJSON ¶
func (t *TokenTransferFeeConfigArgs) UnmarshalJSON(data []byte) error
type TransferTimeout ¶
type TransferTimeout struct {
Indefinite *types.UNIT `json:"Indefinite,omitempty"`
RelativeHours *types.INT64 `json:"RelativeHours,omitempty"`
}
TransferTimeout is a variant/union type
func (TransferTimeout) GetVariantTag ¶
func (v TransferTimeout) GetVariantTag() string
GetVariantTag implements types.VARIANT interface
func (TransferTimeout) GetVariantTagByte ¶
func (v TransferTimeout) GetVariantTagByte() byte
GetVariantTagByte implements types.VariantWithTagByte interface for MCMS numeric tag encoding
func (TransferTimeout) GetVariantValue ¶
func (v TransferTimeout) GetVariantValue() any
GetVariantValue implements types.VARIANT interface
func (TransferTimeout) MarshalHex ¶
func (v TransferTimeout) MarshalHex() (string, error)
MarshalHex encodes TransferTimeout to hex string (Canton MCMS format)
func (TransferTimeout) MarshalJSON ¶
func (v TransferTimeout) MarshalJSON() ([]byte, error)
MarshalJSON implements custom JSON marshaling for TransferTimeout
func (*TransferTimeout) UnmarshalHex ¶
func (v *TransferTimeout) UnmarshalHex(data string) error
UnmarshalHex decodes TransferTimeout from hex string (Canton MCMS format)
func (*TransferTimeout) UnmarshalJSON ¶
func (v *TransferTimeout) UnmarshalJSON(data []byte) error
UnmarshalJSON implements custom JSON unmarshalling for TransferTimeout
type VerifyInboundMessage ¶
type VerifyInboundMessage struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
ExecutingMessageCid types.CONTRACT_ID `json:"executingMessageCid"`
Caller types.PARTY `json:"caller"`
}
VerifyInboundMessage is a Record type
func (VerifyInboundMessage) MarshalHex ¶
func (t VerifyInboundMessage) MarshalHex() (string, error)
MarshalHex encodes VerifyInboundMessage to hex string (Canton MCMS format)
func (VerifyInboundMessage) MarshalJSON ¶
func (t VerifyInboundMessage) MarshalJSON() ([]byte, error)
func (VerifyInboundMessage) ToMap ¶
func (t VerifyInboundMessage) ToMap() map[string]any
ToMap converts VerifyInboundMessage to a map for DAML arguments
func (*VerifyInboundMessage) UnmarshalHex ¶
func (t *VerifyInboundMessage) UnmarshalHex(data string) error
UnmarshalHex decodes VerifyInboundMessage from hex string (Canton MCMS format)
func (*VerifyInboundMessage) UnmarshalJSON ¶
func (t *VerifyInboundMessage) UnmarshalJSON(data []byte) error
type VerifyInboundMessageMCMSParams ¶
type VerifyInboundMessageMCMSParams struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
ExecutingMessageCid types.CONTRACT_ID `json:"executingMessageCid"`
}
VerifyInboundMessageMCMSParams is VerifyInboundMessage without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (VerifyInboundMessageMCMSParams) MarshalHex ¶
func (t VerifyInboundMessageMCMSParams) MarshalHex() (string, error)
MarshalHex encodes VerifyInboundMessageMCMSParams to hex string for MCMS operationData.
func (*VerifyInboundMessageMCMSParams) UnmarshalHex ¶
func (t *VerifyInboundMessageMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes VerifyInboundMessageMCMSParams from hex string.
type VerifyOutboundCCVs ¶
type VerifyOutboundCCVs struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
Amount types.NUMERIC `json:"amount"`
Caller types.PARTY `json:"caller"`
}
VerifyOutboundCCVs is a Record type
func (VerifyOutboundCCVs) MarshalHex ¶
func (t VerifyOutboundCCVs) MarshalHex() (string, error)
MarshalHex encodes VerifyOutboundCCVs to hex string (Canton MCMS format)
func (VerifyOutboundCCVs) MarshalJSON ¶
func (t VerifyOutboundCCVs) MarshalJSON() ([]byte, error)
func (VerifyOutboundCCVs) ToMap ¶
func (t VerifyOutboundCCVs) ToMap() map[string]any
ToMap converts VerifyOutboundCCVs to a map for DAML arguments
func (*VerifyOutboundCCVs) UnmarshalHex ¶
func (t *VerifyOutboundCCVs) UnmarshalHex(data string) error
UnmarshalHex decodes VerifyOutboundCCVs from hex string (Canton MCMS format)
func (*VerifyOutboundCCVs) UnmarshalJSON ¶
func (t *VerifyOutboundCCVs) UnmarshalJSON(data []byte) error
type VerifyOutboundCCVsMCMSParams ¶
type VerifyOutboundCCVsMCMSParams struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
Amount types.NUMERIC `json:"amount"`
}
VerifyOutboundCCVsMCMSParams is VerifyOutboundCCVs without the Caller field for MCMS operationData encoding. Use this when encoding choice arguments for MCMS timelock operations.
func (VerifyOutboundCCVsMCMSParams) MarshalHex ¶
func (t VerifyOutboundCCVsMCMSParams) MarshalHex() (string, error)
MarshalHex encodes VerifyOutboundCCVsMCMSParams to hex string for MCMS operationData.
func (*VerifyOutboundCCVsMCMSParams) UnmarshalHex ¶
func (t *VerifyOutboundCCVsMCMSParams) UnmarshalHex(data string) error
UnmarshalHex decodes VerifyOutboundCCVsMCMSParams from hex string.