Documentation
¶
Index ¶
- Constants
- func IICrossChainVerifierInterfaceID() string
- func IICrossChainVerifierInterfaceIDWithPackageID(packageID string) string
- func IIExecutorInterfaceID() string
- func IIExecutorInterfaceIDWithPackageID(packageID string) string
- func IITokenPoolInterfaceID() string
- func IITokenPoolInterfaceIDWithPackageID(packageID string) string
- type Contract
- type CrossChainVerifierCalculateFee
- func (t CrossChainVerifierCalculateFee) MarshalHex() (string, error)
- func (t CrossChainVerifierCalculateFee) MarshalJSON() ([]byte, error)
- func (t CrossChainVerifierCalculateFee) ToMap() map[string]any
- func (t *CrossChainVerifierCalculateFee) UnmarshalHex(data string) error
- func (t *CrossChainVerifierCalculateFee) UnmarshalJSON(data []byte) error
- type CrossChainVerifierFeeQuote
- func (t CrossChainVerifierFeeQuote) MarshalHex() (string, error)
- func (t CrossChainVerifierFeeQuote) MarshalJSON() ([]byte, error)
- func (t CrossChainVerifierFeeQuote) ToMap() map[string]any
- func (t *CrossChainVerifierFeeQuote) UnmarshalHex(data string) error
- func (t *CrossChainVerifierFeeQuote) UnmarshalJSON(data []byte) error
- type CrossChainVerifierForwardToVerifier
- func (t CrossChainVerifierForwardToVerifier) MarshalHex() (string, error)
- func (t CrossChainVerifierForwardToVerifier) MarshalJSON() ([]byte, error)
- func (t CrossChainVerifierForwardToVerifier) ToMap() map[string]any
- func (t *CrossChainVerifierForwardToVerifier) UnmarshalHex(data string) error
- func (t *CrossChainVerifierForwardToVerifier) UnmarshalJSON(data []byte) error
- type CrossChainVerifierGetFee
- func (t CrossChainVerifierGetFee) MarshalHex() (string, error)
- func (t CrossChainVerifierGetFee) MarshalJSON() ([]byte, error)
- func (t CrossChainVerifierGetFee) ToMap() map[string]any
- func (t *CrossChainVerifierGetFee) UnmarshalHex(data string) error
- func (t *CrossChainVerifierGetFee) UnmarshalJSON(data []byte) error
- type CrossChainVerifierVerifyMessage
- func (t CrossChainVerifierVerifyMessage) MarshalHex() (string, error)
- func (t CrossChainVerifierVerifyMessage) MarshalJSON() ([]byte, error)
- func (t CrossChainVerifierVerifyMessage) ToMap() map[string]any
- func (t *CrossChainVerifierVerifyMessage) UnmarshalHex(data string) error
- func (t *CrossChainVerifierVerifyMessage) UnmarshalJSON(data []byte) error
- type CrossChainVerifierView
- func (t CrossChainVerifierView) MarshalHex() (string, error)
- func (t CrossChainVerifierView) MarshalJSON() ([]byte, error)
- func (t CrossChainVerifierView) ToMap() map[string]any
- func (t *CrossChainVerifierView) UnmarshalHex(data string) error
- func (t *CrossChainVerifierView) UnmarshalJSON(data []byte) error
- type ExecutorCalculateFee
- type ExecutorFeeQuote
- type ExecutorGetFee
- type ExecutorView
- type IICrossChainVerifier
- type IIExecutor
- type IITokenPool
- type LockOrBurnResult
- type MCMSEncoder
- type ReleaseOrMintResult
- type ReleaseOrMintResultCompleted
- func (t ReleaseOrMintResultCompleted) MarshalHex() (string, error)
- func (t ReleaseOrMintResultCompleted) MarshalJSON() ([]byte, error)
- func (t ReleaseOrMintResultCompleted) ToMap() map[string]any
- func (t *ReleaseOrMintResultCompleted) UnmarshalHex(data string) error
- func (t *ReleaseOrMintResultCompleted) UnmarshalJSON(data []byte) error
- type ReleaseOrMintResultOutput
- func (v ReleaseOrMintResultOutput) GetVariantTag() string
- func (v ReleaseOrMintResultOutput) GetVariantValue() any
- func (v ReleaseOrMintResultOutput) MarshalHex() (string, error)
- func (v ReleaseOrMintResultOutput) MarshalJSON() ([]byte, error)
- func (v *ReleaseOrMintResultOutput) UnmarshalHex(data string) error
- func (v *ReleaseOrMintResultOutput) UnmarshalJSON(data []byte) error
- type ReleaseOrMintResultPending
- func (t ReleaseOrMintResultPending) MarshalHex() (string, error)
- func (t ReleaseOrMintResultPending) MarshalJSON() ([]byte, error)
- func (t ReleaseOrMintResultPending) ToMap() map[string]any
- func (t *ReleaseOrMintResultPending) UnmarshalHex(data string) error
- func (t *ReleaseOrMintResultPending) UnmarshalJSON(data []byte) error
- type Template
- type TokenPoolCalculateFee
- func (t TokenPoolCalculateFee) MarshalHex() (string, error)
- func (t TokenPoolCalculateFee) MarshalJSON() ([]byte, error)
- func (t TokenPoolCalculateFee) ToMap() map[string]any
- func (t *TokenPoolCalculateFee) UnmarshalHex(data string) error
- func (t *TokenPoolCalculateFee) UnmarshalJSON(data []byte) error
- type TokenPoolFeeQuote
- type TokenPoolGetFee
- type TokenPoolGetRequiredCCVs
- func (t TokenPoolGetRequiredCCVs) MarshalHex() (string, error)
- func (t TokenPoolGetRequiredCCVs) MarshalJSON() ([]byte, error)
- func (t TokenPoolGetRequiredCCVs) ToMap() map[string]any
- func (t *TokenPoolGetRequiredCCVs) UnmarshalHex(data string) error
- func (t *TokenPoolGetRequiredCCVs) UnmarshalJSON(data []byte) error
- type TokenPoolLockOrBurn
- type TokenPoolReleaseFromTicket
- func (t TokenPoolReleaseFromTicket) MarshalHex() (string, error)
- func (t TokenPoolReleaseFromTicket) MarshalJSON() ([]byte, error)
- func (t TokenPoolReleaseFromTicket) ToMap() map[string]any
- func (t *TokenPoolReleaseFromTicket) UnmarshalHex(data string) error
- func (t *TokenPoolReleaseFromTicket) UnmarshalJSON(data []byte) error
- type TokenPoolVerifyInboundMessage
- func (t TokenPoolVerifyInboundMessage) MarshalHex() (string, error)
- func (t TokenPoolVerifyInboundMessage) MarshalJSON() ([]byte, error)
- func (t TokenPoolVerifyInboundMessage) ToMap() map[string]any
- func (t *TokenPoolVerifyInboundMessage) UnmarshalHex(data string) error
- func (t *TokenPoolVerifyInboundMessage) UnmarshalJSON(data []byte) error
- type TokenPoolVerifyOutboundCCVs
- func (t TokenPoolVerifyOutboundCCVs) MarshalHex() (string, error)
- func (t TokenPoolVerifyOutboundCCVs) MarshalJSON() ([]byte, error)
- func (t TokenPoolVerifyOutboundCCVs) ToMap() map[string]any
- func (t *TokenPoolVerifyOutboundCCVs) UnmarshalHex(data string) error
- func (t *TokenPoolVerifyOutboundCCVs) UnmarshalJSON(data []byte) error
- type TokenPoolView
- type TransferDirection
- func (e TransferDirection) GetEnumConstructor() string
- func (e TransferDirection) GetEnumTypeID() string
- func (e TransferDirection) GetEnumTypeIDWithPackageID(packageID string) string
- func (e TransferDirection) MarshalHex() (string, error)
- func (e TransferDirection) MarshalJSON() ([]byte, error)
- func (e *TransferDirection) UnmarshalHex(data string) error
- func (e *TransferDirection) UnmarshalJSON(data []byte) error
Constants ¶
const ( PackageName = "ccip-extension-api" PackageID = "d3fd418a7d8170bc85f7e8f6f4b36520de4dd208ec8b4d995180c65a72d81f34" SDKVersion = "3.4.11" )
Variables ¶
This section is empty.
Functions ¶
func IICrossChainVerifierInterfaceID ¶
func IICrossChainVerifierInterfaceID() string
IICrossChainVerifierInterfaceID returns the interface ID for the IICrossChainVerifier interface using the package name
func IICrossChainVerifierInterfaceIDWithPackageID ¶
IICrossChainVerifierInterfaceIDWithPackageID returns the interface ID using the provided package ID instead of package name
func IIExecutorInterfaceID ¶
func IIExecutorInterfaceID() string
IIExecutorInterfaceID returns the interface ID for the IIExecutor interface using the package name
func IIExecutorInterfaceIDWithPackageID ¶
IIExecutorInterfaceIDWithPackageID returns the interface ID using the provided package ID instead of package name
func IITokenPoolInterfaceID ¶
func IITokenPoolInterfaceID() string
IITokenPoolInterfaceID returns the interface ID for the IITokenPool interface using the package name
func IITokenPoolInterfaceIDWithPackageID ¶
IITokenPoolInterfaceIDWithPackageID returns the interface ID using the provided package ID instead of package name
Types ¶
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 CrossChainVerifierCalculateFee ¶
type CrossChainVerifierCalculateFee struct {
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
Caller types.PARTY `json:"caller"`
}
CrossChainVerifierCalculateFee is a Record type
func (CrossChainVerifierCalculateFee) MarshalHex ¶
func (t CrossChainVerifierCalculateFee) MarshalHex() (string, error)
MarshalHex encodes CrossChainVerifierCalculateFee to hex string (Canton MCMS format)
func (CrossChainVerifierCalculateFee) MarshalJSON ¶
func (t CrossChainVerifierCalculateFee) MarshalJSON() ([]byte, error)
func (CrossChainVerifierCalculateFee) ToMap ¶
func (t CrossChainVerifierCalculateFee) ToMap() map[string]any
ToMap converts CrossChainVerifierCalculateFee to a map for DAML arguments
func (*CrossChainVerifierCalculateFee) UnmarshalHex ¶
func (t *CrossChainVerifierCalculateFee) UnmarshalHex(data string) error
UnmarshalHex decodes CrossChainVerifierCalculateFee from hex string (Canton MCMS format)
func (*CrossChainVerifierCalculateFee) UnmarshalJSON ¶
func (t *CrossChainVerifierCalculateFee) UnmarshalJSON(data []byte) error
type CrossChainVerifierFeeQuote ¶
type CrossChainVerifierFeeQuote struct {
CcvInstanceId types.TEXT `json:"ccvInstanceId"`
CcvOwner types.PARTY `json:"ccvOwner"`
FeeUSDCents types.NUMERIC `json:"feeUSDCents"`
GasForVerification types.INT64 `json:"gasForVerification"`
PayloadSizeBytes types.INT64 `json:"payloadSizeBytes"`
}
CrossChainVerifierFeeQuote is a Record type
func (CrossChainVerifierFeeQuote) MarshalHex ¶
func (t CrossChainVerifierFeeQuote) MarshalHex() (string, error)
MarshalHex encodes CrossChainVerifierFeeQuote to hex string (Canton MCMS format)
func (CrossChainVerifierFeeQuote) MarshalJSON ¶
func (t CrossChainVerifierFeeQuote) MarshalJSON() ([]byte, error)
func (CrossChainVerifierFeeQuote) ToMap ¶
func (t CrossChainVerifierFeeQuote) ToMap() map[string]any
ToMap converts CrossChainVerifierFeeQuote to a map for DAML arguments
func (*CrossChainVerifierFeeQuote) UnmarshalHex ¶
func (t *CrossChainVerifierFeeQuote) UnmarshalHex(data string) error
UnmarshalHex decodes CrossChainVerifierFeeQuote from hex string (Canton MCMS format)
func (*CrossChainVerifierFeeQuote) UnmarshalJSON ¶
func (t *CrossChainVerifierFeeQuote) UnmarshalJSON(data []byte) error
type CrossChainVerifierForwardToVerifier ¶
type CrossChainVerifierForwardToVerifier struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
VerifierArgs types.TEXT `json:"verifierArgs"`
Caller types.PARTY `json:"caller"`
}
CrossChainVerifierForwardToVerifier is a Record type
func (CrossChainVerifierForwardToVerifier) MarshalHex ¶
func (t CrossChainVerifierForwardToVerifier) MarshalHex() (string, error)
MarshalHex encodes CrossChainVerifierForwardToVerifier to hex string (Canton MCMS format)
func (CrossChainVerifierForwardToVerifier) MarshalJSON ¶
func (t CrossChainVerifierForwardToVerifier) MarshalJSON() ([]byte, error)
func (CrossChainVerifierForwardToVerifier) ToMap ¶
func (t CrossChainVerifierForwardToVerifier) ToMap() map[string]any
ToMap converts CrossChainVerifierForwardToVerifier to a map for DAML arguments
func (*CrossChainVerifierForwardToVerifier) UnmarshalHex ¶
func (t *CrossChainVerifierForwardToVerifier) UnmarshalHex(data string) error
UnmarshalHex decodes CrossChainVerifierForwardToVerifier from hex string (Canton MCMS format)
func (*CrossChainVerifierForwardToVerifier) UnmarshalJSON ¶
func (t *CrossChainVerifierForwardToVerifier) UnmarshalJSON(data []byte) error
type CrossChainVerifierGetFee ¶
type CrossChainVerifierGetFee struct {
DestChainSelector types.NUMERIC `json:"destChainSelector"`
Caller types.PARTY `json:"caller"`
}
CrossChainVerifierGetFee is a Record type
func (CrossChainVerifierGetFee) MarshalHex ¶
func (t CrossChainVerifierGetFee) MarshalHex() (string, error)
MarshalHex encodes CrossChainVerifierGetFee to hex string (Canton MCMS format)
func (CrossChainVerifierGetFee) MarshalJSON ¶
func (t CrossChainVerifierGetFee) MarshalJSON() ([]byte, error)
func (CrossChainVerifierGetFee) ToMap ¶
func (t CrossChainVerifierGetFee) ToMap() map[string]any
ToMap converts CrossChainVerifierGetFee to a map for DAML arguments
func (*CrossChainVerifierGetFee) UnmarshalHex ¶
func (t *CrossChainVerifierGetFee) UnmarshalHex(data string) error
UnmarshalHex decodes CrossChainVerifierGetFee from hex string (Canton MCMS format)
func (*CrossChainVerifierGetFee) UnmarshalJSON ¶
func (t *CrossChainVerifierGetFee) UnmarshalJSON(data []byte) error
type CrossChainVerifierVerifyMessage ¶
type CrossChainVerifierVerifyMessage struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
ExecutingMessageCid types.CONTRACT_ID `json:"executingMessageCid"`
VerifierResults types.TEXT `json:"verifierResults"`
Caller types.PARTY `json:"caller"`
}
CrossChainVerifierVerifyMessage is a Record type
func (CrossChainVerifierVerifyMessage) MarshalHex ¶
func (t CrossChainVerifierVerifyMessage) MarshalHex() (string, error)
MarshalHex encodes CrossChainVerifierVerifyMessage to hex string (Canton MCMS format)
func (CrossChainVerifierVerifyMessage) MarshalJSON ¶
func (t CrossChainVerifierVerifyMessage) MarshalJSON() ([]byte, error)
func (CrossChainVerifierVerifyMessage) ToMap ¶
func (t CrossChainVerifierVerifyMessage) ToMap() map[string]any
ToMap converts CrossChainVerifierVerifyMessage to a map for DAML arguments
func (*CrossChainVerifierVerifyMessage) UnmarshalHex ¶
func (t *CrossChainVerifierVerifyMessage) UnmarshalHex(data string) error
UnmarshalHex decodes CrossChainVerifierVerifyMessage from hex string (Canton MCMS format)
func (*CrossChainVerifierVerifyMessage) UnmarshalJSON ¶
func (t *CrossChainVerifierVerifyMessage) UnmarshalJSON(data []byte) error
type CrossChainVerifierView ¶
type CrossChainVerifierView struct {
InstanceId types.TEXT `json:"instanceId"`
Owner types.PARTY `json:"owner"`
CcipOwner types.PARTY `json:"ccipOwner"`
StorageLocations []types.TEXT `json:"storageLocations"`
}
CrossChainVerifierView is a Record type
func (CrossChainVerifierView) MarshalHex ¶
func (t CrossChainVerifierView) MarshalHex() (string, error)
MarshalHex encodes CrossChainVerifierView to hex string (Canton MCMS format)
func (CrossChainVerifierView) MarshalJSON ¶
func (t CrossChainVerifierView) MarshalJSON() ([]byte, error)
func (CrossChainVerifierView) ToMap ¶
func (t CrossChainVerifierView) ToMap() map[string]any
ToMap converts CrossChainVerifierView to a map for DAML arguments
func (*CrossChainVerifierView) UnmarshalHex ¶
func (t *CrossChainVerifierView) UnmarshalHex(data string) error
UnmarshalHex decodes CrossChainVerifierView from hex string (Canton MCMS format)
func (*CrossChainVerifierView) UnmarshalJSON ¶
func (t *CrossChainVerifierView) UnmarshalJSON(data []byte) error
type ExecutorCalculateFee ¶
type ExecutorCalculateFee struct {
ExpectedExecutor chainlinkapi.RawInstanceAddress `json:"expectedExecutor"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
ExecutorArgs types.TEXT `json:"executorArgs"`
ExtraContext splice_api_token_metadata_v1.ChoiceContext `json:"extraContext"`
Caller types.PARTY `json:"caller"`
}
ExecutorCalculateFee is a Record type
func (ExecutorCalculateFee) MarshalHex ¶
func (t ExecutorCalculateFee) MarshalHex() (string, error)
MarshalHex encodes ExecutorCalculateFee to hex string (Canton MCMS format)
func (ExecutorCalculateFee) MarshalJSON ¶
func (t ExecutorCalculateFee) MarshalJSON() ([]byte, error)
func (ExecutorCalculateFee) ToMap ¶
func (t ExecutorCalculateFee) ToMap() map[string]any
ToMap converts ExecutorCalculateFee to a map for DAML arguments
func (*ExecutorCalculateFee) UnmarshalHex ¶
func (t *ExecutorCalculateFee) UnmarshalHex(data string) error
UnmarshalHex decodes ExecutorCalculateFee from hex string (Canton MCMS format)
func (*ExecutorCalculateFee) UnmarshalJSON ¶
func (t *ExecutorCalculateFee) UnmarshalJSON(data []byte) error
type ExecutorFeeQuote ¶
type ExecutorFeeQuote struct {
ExecutorInstanceId types.TEXT `json:"executorInstanceId"`
ExecutorOwner types.PARTY `json:"executorOwner"`
FeeUSDCents types.NUMERIC `json:"feeUSDCents"`
}
ExecutorFeeQuote is a Record type
func (ExecutorFeeQuote) MarshalHex ¶
func (t ExecutorFeeQuote) MarshalHex() (string, error)
MarshalHex encodes ExecutorFeeQuote to hex string (Canton MCMS format)
func (ExecutorFeeQuote) MarshalJSON ¶
func (t ExecutorFeeQuote) MarshalJSON() ([]byte, error)
func (ExecutorFeeQuote) ToMap ¶
func (t ExecutorFeeQuote) ToMap() map[string]any
ToMap converts ExecutorFeeQuote to a map for DAML arguments
func (*ExecutorFeeQuote) UnmarshalHex ¶
func (t *ExecutorFeeQuote) UnmarshalHex(data string) error
UnmarshalHex decodes ExecutorFeeQuote from hex string (Canton MCMS format)
func (*ExecutorFeeQuote) UnmarshalJSON ¶
func (t *ExecutorFeeQuote) UnmarshalJSON(data []byte) error
type ExecutorGetFee ¶
type ExecutorGetFee struct {
ExpectedExecutor chainlinkapi.RawInstanceAddress `json:"expectedExecutor"`
DestChainSelector types.NUMERIC `json:"destChainSelector"`
RequiredCCVs []chainlinkapi.RawInstanceAddress `json:"requiredCCVs"`
Caller types.PARTY `json:"caller"`
}
ExecutorGetFee is a Record type
func (ExecutorGetFee) MarshalHex ¶
func (t ExecutorGetFee) MarshalHex() (string, error)
MarshalHex encodes ExecutorGetFee to hex string (Canton MCMS format)
func (ExecutorGetFee) MarshalJSON ¶
func (t ExecutorGetFee) MarshalJSON() ([]byte, error)
func (ExecutorGetFee) ToMap ¶
func (t ExecutorGetFee) ToMap() map[string]any
ToMap converts ExecutorGetFee to a map for DAML arguments
func (*ExecutorGetFee) UnmarshalHex ¶
func (t *ExecutorGetFee) UnmarshalHex(data string) error
UnmarshalHex decodes ExecutorGetFee from hex string (Canton MCMS format)
func (*ExecutorGetFee) UnmarshalJSON ¶
func (t *ExecutorGetFee) UnmarshalJSON(data []byte) error
type ExecutorView ¶
type ExecutorView struct {
InstanceId types.TEXT `json:"instanceId"`
Owner types.PARTY `json:"owner"`
}
ExecutorView is a Record type
func (ExecutorView) MarshalHex ¶
func (t ExecutorView) MarshalHex() (string, error)
MarshalHex encodes ExecutorView to hex string (Canton MCMS format)
func (ExecutorView) MarshalJSON ¶
func (t ExecutorView) MarshalJSON() ([]byte, error)
func (ExecutorView) ToMap ¶
func (t ExecutorView) ToMap() map[string]any
ToMap converts ExecutorView to a map for DAML arguments
func (*ExecutorView) UnmarshalHex ¶
func (t *ExecutorView) UnmarshalHex(data string) error
UnmarshalHex decodes ExecutorView from hex string (Canton MCMS format)
func (*ExecutorView) UnmarshalJSON ¶
func (t *ExecutorView) UnmarshalJSON(data []byte) error
type IICrossChainVerifier ¶
type IICrossChainVerifier interface {
// Archive executes the Archive choice
Archive(contractID string) *model.ExerciseCommand
// CrossChainVerifierVerifyMessage executes the CrossChainVerifier_VerifyMessage choice
CrossChainVerifierVerifyMessage(contractID string, args CrossChainVerifierVerifyMessage) *model.ExerciseCommand
// CrossChainVerifierCalculateFee executes the CrossChainVerifier_CalculateFee choice
CrossChainVerifierCalculateFee(contractID string, args CrossChainVerifierCalculateFee) *model.ExerciseCommand
// CrossChainVerifierGetFee executes the CrossChainVerifier_GetFee choice
CrossChainVerifierGetFee(contractID string, args CrossChainVerifierGetFee) *model.ExerciseCommand
// CrossChainVerifierForwardToVerifier executes the CrossChainVerifier_ForwardToVerifier choice
CrossChainVerifierForwardToVerifier(contractID string, args CrossChainVerifierForwardToVerifier) *model.ExerciseCommand
}
IICrossChainVerifier is a DAML interface
type IIExecutor ¶
type IIExecutor interface {
// Archive executes the Archive choice
Archive(contractID string) *model.ExerciseCommand
// ExecutorCalculateFee executes the Executor_CalculateFee choice
ExecutorCalculateFee(contractID string, args ExecutorCalculateFee) *model.ExerciseCommand
// ExecutorGetFee executes the Executor_GetFee choice
ExecutorGetFee(contractID string, args ExecutorGetFee) *model.ExerciseCommand
}
IIExecutor is a DAML interface
type IITokenPool ¶
type IITokenPool interface {
// Archive executes the Archive choice
Archive(contractID string) *model.ExerciseCommand
// TokenPoolGetRequiredCCVs executes the TokenPool_GetRequiredCCVs choice
TokenPoolGetRequiredCCVs(contractID string, args TokenPoolGetRequiredCCVs) *model.ExerciseCommand
// TokenPoolVerifyInboundMessage executes the TokenPool_VerifyInboundMessage choice
TokenPoolVerifyInboundMessage(contractID string, args TokenPoolVerifyInboundMessage) *model.ExerciseCommand
// TokenPoolVerifyOutboundCCVs executes the TokenPool_VerifyOutboundCCVs choice
TokenPoolVerifyOutboundCCVs(contractID string, args TokenPoolVerifyOutboundCCVs) *model.ExerciseCommand
// TokenPoolReleaseFromTicket executes the TokenPool_ReleaseFromTicket choice
TokenPoolReleaseFromTicket(contractID string, args TokenPoolReleaseFromTicket) *model.ExerciseCommand
// TokenPoolLockOrBurn executes the TokenPool_LockOrBurn choice
TokenPoolLockOrBurn(contractID string, args TokenPoolLockOrBurn) *model.ExerciseCommand
// TokenPoolCalculateFee executes the TokenPool_CalculateFee choice
TokenPoolCalculateFee(contractID string, args TokenPoolCalculateFee) *model.ExerciseCommand
// TokenPoolGetFee executes the TokenPool_GetFee choice
TokenPoolGetFee(contractID string, args TokenPoolGetFee) *model.ExerciseCommand
}
IITokenPool is a DAML interface
type LockOrBurnResult ¶
type LockOrBurnResult struct {
PoolChangeCids []types.CONTRACT_ID `json:"poolChangeCids"`
SenderChangeCids []types.CONTRACT_ID `json:"senderChangeCids"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
}
LockOrBurnResult is a Record type
func (LockOrBurnResult) MarshalHex ¶
func (t LockOrBurnResult) MarshalHex() (string, error)
MarshalHex encodes LockOrBurnResult to hex string (Canton MCMS format)
func (LockOrBurnResult) MarshalJSON ¶
func (t LockOrBurnResult) MarshalJSON() ([]byte, error)
func (LockOrBurnResult) ToMap ¶
func (t LockOrBurnResult) ToMap() map[string]any
ToMap converts LockOrBurnResult to a map for DAML arguments
func (*LockOrBurnResult) UnmarshalHex ¶
func (t *LockOrBurnResult) UnmarshalHex(data string) error
UnmarshalHex decodes LockOrBurnResult from hex string (Canton MCMS format)
func (*LockOrBurnResult) UnmarshalJSON ¶
func (t *LockOrBurnResult) UnmarshalJSON(data []byte) error
type MCMSEncoder ¶
type MCMSEncoder interface {
}
MCMSEncoder interface for typed encoding methods. Implemented by Encoder for method-based encoding.
type ReleaseOrMintResult ¶
type ReleaseOrMintResult struct {
Output ReleaseOrMintResultOutput `json:"output"`
PoolChangeCids []types.CONTRACT_ID `json:"poolChangeCids"`
ClaimedEventCid types.CONTRACT_ID `json:"claimedEventCid"`
}
ReleaseOrMintResult is a Record type
func (ReleaseOrMintResult) MarshalHex ¶
func (t ReleaseOrMintResult) MarshalHex() (string, error)
MarshalHex encodes ReleaseOrMintResult to hex string (Canton MCMS format)
func (ReleaseOrMintResult) MarshalJSON ¶
func (t ReleaseOrMintResult) MarshalJSON() ([]byte, error)
func (ReleaseOrMintResult) ToMap ¶
func (t ReleaseOrMintResult) ToMap() map[string]any
ToMap converts ReleaseOrMintResult to a map for DAML arguments
func (*ReleaseOrMintResult) UnmarshalHex ¶
func (t *ReleaseOrMintResult) UnmarshalHex(data string) error
UnmarshalHex decodes ReleaseOrMintResult from hex string (Canton MCMS format)
func (*ReleaseOrMintResult) UnmarshalJSON ¶
func (t *ReleaseOrMintResult) UnmarshalJSON(data []byte) error
type ReleaseOrMintResultCompleted ¶
type ReleaseOrMintResultCompleted struct {
ReceiverHoldingCids []types.CONTRACT_ID `json:"receiverHoldingCids"`
}
ReleaseOrMintResultCompleted is a Record type
func (ReleaseOrMintResultCompleted) MarshalHex ¶
func (t ReleaseOrMintResultCompleted) MarshalHex() (string, error)
MarshalHex encodes ReleaseOrMintResultCompleted to hex string (Canton MCMS format)
func (ReleaseOrMintResultCompleted) MarshalJSON ¶
func (t ReleaseOrMintResultCompleted) MarshalJSON() ([]byte, error)
func (ReleaseOrMintResultCompleted) ToMap ¶
func (t ReleaseOrMintResultCompleted) ToMap() map[string]any
ToMap converts ReleaseOrMintResultCompleted to a map for DAML arguments
func (*ReleaseOrMintResultCompleted) UnmarshalHex ¶
func (t *ReleaseOrMintResultCompleted) UnmarshalHex(data string) error
UnmarshalHex decodes ReleaseOrMintResultCompleted from hex string (Canton MCMS format)
func (*ReleaseOrMintResultCompleted) UnmarshalJSON ¶
func (t *ReleaseOrMintResultCompleted) UnmarshalJSON(data []byte) error
type ReleaseOrMintResultOutput ¶
type ReleaseOrMintResultOutput struct {
ReleaseOrMintResultPending *ReleaseOrMintResultPending `json:"ReleaseOrMintResult_Pending,omitempty"`
ReleaseOrMintResultCompleted *ReleaseOrMintResultCompleted `json:"ReleaseOrMintResult_Completed,omitempty"`
}
ReleaseOrMintResultOutput is a variant/union type
func (ReleaseOrMintResultOutput) GetVariantTag ¶
func (v ReleaseOrMintResultOutput) GetVariantTag() string
GetVariantTag implements types.VARIANT interface
func (ReleaseOrMintResultOutput) GetVariantValue ¶
func (v ReleaseOrMintResultOutput) GetVariantValue() any
GetVariantValue implements types.VARIANT interface
func (ReleaseOrMintResultOutput) MarshalHex ¶
func (v ReleaseOrMintResultOutput) MarshalHex() (string, error)
MarshalHex encodes ReleaseOrMintResultOutput to hex string (Canton MCMS format)
func (ReleaseOrMintResultOutput) MarshalJSON ¶
func (v ReleaseOrMintResultOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements custom JSON marshaling for ReleaseOrMintResultOutput
func (*ReleaseOrMintResultOutput) UnmarshalHex ¶
func (v *ReleaseOrMintResultOutput) UnmarshalHex(data string) error
UnmarshalHex decodes ReleaseOrMintResultOutput from hex string (Canton MCMS format)
func (*ReleaseOrMintResultOutput) UnmarshalJSON ¶
func (v *ReleaseOrMintResultOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements custom JSON unmarshalling for ReleaseOrMintResultOutput
type ReleaseOrMintResultPending ¶
type ReleaseOrMintResultPending struct {
TransferInstructionCid types.CONTRACT_ID `json:"transferInstructionCid"`
}
ReleaseOrMintResultPending is a Record type
func (ReleaseOrMintResultPending) MarshalHex ¶
func (t ReleaseOrMintResultPending) MarshalHex() (string, error)
MarshalHex encodes ReleaseOrMintResultPending to hex string (Canton MCMS format)
func (ReleaseOrMintResultPending) MarshalJSON ¶
func (t ReleaseOrMintResultPending) MarshalJSON() ([]byte, error)
func (ReleaseOrMintResultPending) ToMap ¶
func (t ReleaseOrMintResultPending) ToMap() map[string]any
ToMap converts ReleaseOrMintResultPending to a map for DAML arguments
func (*ReleaseOrMintResultPending) UnmarshalHex ¶
func (t *ReleaseOrMintResultPending) UnmarshalHex(data string) error
UnmarshalHex decodes ReleaseOrMintResultPending from hex string (Canton MCMS format)
func (*ReleaseOrMintResultPending) UnmarshalJSON ¶
func (t *ReleaseOrMintResultPending) UnmarshalJSON(data []byte) error
type Template ¶
type Template interface {
CreateCommand() *model.CreateCommand
GetTemplateID() string
}
type TokenPoolCalculateFee ¶
type TokenPoolCalculateFee 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"`
}
TokenPoolCalculateFee is a Record type
func (TokenPoolCalculateFee) MarshalHex ¶
func (t TokenPoolCalculateFee) MarshalHex() (string, error)
MarshalHex encodes TokenPoolCalculateFee to hex string (Canton MCMS format)
func (TokenPoolCalculateFee) MarshalJSON ¶
func (t TokenPoolCalculateFee) MarshalJSON() ([]byte, error)
func (TokenPoolCalculateFee) ToMap ¶
func (t TokenPoolCalculateFee) ToMap() map[string]any
ToMap converts TokenPoolCalculateFee to a map for DAML arguments
func (*TokenPoolCalculateFee) UnmarshalHex ¶
func (t *TokenPoolCalculateFee) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolCalculateFee from hex string (Canton MCMS format)
func (*TokenPoolCalculateFee) UnmarshalJSON ¶
func (t *TokenPoolCalculateFee) UnmarshalJSON(data []byte) error
type TokenPoolFeeQuote ¶
type TokenPoolFeeQuote struct {
PoolInstanceId types.TEXT `json:"poolInstanceId"`
PoolOwner types.PARTY `json:"poolOwner"`
FeeUSDCents types.NUMERIC `json:"feeUSDCents"`
DestGasOverhead types.INT64 `json:"destGasOverhead"`
DestBytesOverhead types.INT64 `json:"destBytesOverhead"`
TokenFeeBps types.NUMERIC `json:"tokenFeeBps"`
IsEnabled types.BOOL `json:"isEnabled"`
}
TokenPoolFeeQuote is a Record type
func (TokenPoolFeeQuote) MarshalHex ¶
func (t TokenPoolFeeQuote) MarshalHex() (string, error)
MarshalHex encodes TokenPoolFeeQuote to hex string (Canton MCMS format)
func (TokenPoolFeeQuote) MarshalJSON ¶
func (t TokenPoolFeeQuote) MarshalJSON() ([]byte, error)
func (TokenPoolFeeQuote) ToMap ¶
func (t TokenPoolFeeQuote) ToMap() map[string]any
ToMap converts TokenPoolFeeQuote to a map for DAML arguments
func (*TokenPoolFeeQuote) UnmarshalHex ¶
func (t *TokenPoolFeeQuote) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolFeeQuote from hex string (Canton MCMS format)
func (*TokenPoolFeeQuote) UnmarshalJSON ¶
func (t *TokenPoolFeeQuote) UnmarshalJSON(data []byte) error
type TokenPoolGetFee ¶
type TokenPoolGetFee 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"`
}
TokenPoolGetFee is a Record type
func (TokenPoolGetFee) MarshalHex ¶
func (t TokenPoolGetFee) MarshalHex() (string, error)
MarshalHex encodes TokenPoolGetFee to hex string (Canton MCMS format)
func (TokenPoolGetFee) MarshalJSON ¶
func (t TokenPoolGetFee) MarshalJSON() ([]byte, error)
func (TokenPoolGetFee) ToMap ¶
func (t TokenPoolGetFee) ToMap() map[string]any
ToMap converts TokenPoolGetFee to a map for DAML arguments
func (*TokenPoolGetFee) UnmarshalHex ¶
func (t *TokenPoolGetFee) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolGetFee from hex string (Canton MCMS format)
func (*TokenPoolGetFee) UnmarshalJSON ¶
func (t *TokenPoolGetFee) UnmarshalJSON(data []byte) error
type TokenPoolGetRequiredCCVs ¶
type TokenPoolGetRequiredCCVs struct {
RemoteChainSelector types.NUMERIC `json:"remoteChainSelector"`
SourceAmount types.TEXT `json:"sourceAmount"`
Finality core.FinalityConfig `json:"finality"`
ExtraData types.TEXT `json:"extraData"`
Direction TransferDirection `json:"direction"`
Caller types.PARTY `json:"caller"`
}
TokenPoolGetRequiredCCVs is a Record type
func (TokenPoolGetRequiredCCVs) MarshalHex ¶
func (t TokenPoolGetRequiredCCVs) MarshalHex() (string, error)
MarshalHex encodes TokenPoolGetRequiredCCVs to hex string (Canton MCMS format)
func (TokenPoolGetRequiredCCVs) MarshalJSON ¶
func (t TokenPoolGetRequiredCCVs) MarshalJSON() ([]byte, error)
func (TokenPoolGetRequiredCCVs) ToMap ¶
func (t TokenPoolGetRequiredCCVs) ToMap() map[string]any
ToMap converts TokenPoolGetRequiredCCVs to a map for DAML arguments
func (*TokenPoolGetRequiredCCVs) UnmarshalHex ¶
func (t *TokenPoolGetRequiredCCVs) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolGetRequiredCCVs from hex string (Canton MCMS format)
func (*TokenPoolGetRequiredCCVs) UnmarshalJSON ¶
func (t *TokenPoolGetRequiredCCVs) UnmarshalJSON(data []byte) error
type TokenPoolLockOrBurn ¶
type TokenPoolLockOrBurn 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"`
}
TokenPoolLockOrBurn is a Record type
func (TokenPoolLockOrBurn) MarshalHex ¶
func (t TokenPoolLockOrBurn) MarshalHex() (string, error)
MarshalHex encodes TokenPoolLockOrBurn to hex string (Canton MCMS format)
func (TokenPoolLockOrBurn) MarshalJSON ¶
func (t TokenPoolLockOrBurn) MarshalJSON() ([]byte, error)
func (TokenPoolLockOrBurn) ToMap ¶
func (t TokenPoolLockOrBurn) ToMap() map[string]any
ToMap converts TokenPoolLockOrBurn to a map for DAML arguments
func (*TokenPoolLockOrBurn) UnmarshalHex ¶
func (t *TokenPoolLockOrBurn) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolLockOrBurn from hex string (Canton MCMS format)
func (*TokenPoolLockOrBurn) UnmarshalJSON ¶
func (t *TokenPoolLockOrBurn) UnmarshalJSON(data []byte) error
type TokenPoolReleaseFromTicket ¶
type TokenPoolReleaseFromTicket 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"`
}
TokenPoolReleaseFromTicket is a Record type
func (TokenPoolReleaseFromTicket) MarshalHex ¶
func (t TokenPoolReleaseFromTicket) MarshalHex() (string, error)
MarshalHex encodes TokenPoolReleaseFromTicket to hex string (Canton MCMS format)
func (TokenPoolReleaseFromTicket) MarshalJSON ¶
func (t TokenPoolReleaseFromTicket) MarshalJSON() ([]byte, error)
func (TokenPoolReleaseFromTicket) ToMap ¶
func (t TokenPoolReleaseFromTicket) ToMap() map[string]any
ToMap converts TokenPoolReleaseFromTicket to a map for DAML arguments
func (*TokenPoolReleaseFromTicket) UnmarshalHex ¶
func (t *TokenPoolReleaseFromTicket) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolReleaseFromTicket from hex string (Canton MCMS format)
func (*TokenPoolReleaseFromTicket) UnmarshalJSON ¶
func (t *TokenPoolReleaseFromTicket) UnmarshalJSON(data []byte) error
type TokenPoolVerifyInboundMessage ¶
type TokenPoolVerifyInboundMessage 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"`
}
TokenPoolVerifyInboundMessage is a Record type
func (TokenPoolVerifyInboundMessage) MarshalHex ¶
func (t TokenPoolVerifyInboundMessage) MarshalHex() (string, error)
MarshalHex encodes TokenPoolVerifyInboundMessage to hex string (Canton MCMS format)
func (TokenPoolVerifyInboundMessage) MarshalJSON ¶
func (t TokenPoolVerifyInboundMessage) MarshalJSON() ([]byte, error)
func (TokenPoolVerifyInboundMessage) ToMap ¶
func (t TokenPoolVerifyInboundMessage) ToMap() map[string]any
ToMap converts TokenPoolVerifyInboundMessage to a map for DAML arguments
func (*TokenPoolVerifyInboundMessage) UnmarshalHex ¶
func (t *TokenPoolVerifyInboundMessage) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolVerifyInboundMessage from hex string (Canton MCMS format)
func (*TokenPoolVerifyInboundMessage) UnmarshalJSON ¶
func (t *TokenPoolVerifyInboundMessage) UnmarshalJSON(data []byte) error
type TokenPoolVerifyOutboundCCVs ¶
type TokenPoolVerifyOutboundCCVs 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"`
}
TokenPoolVerifyOutboundCCVs is a Record type
func (TokenPoolVerifyOutboundCCVs) MarshalHex ¶
func (t TokenPoolVerifyOutboundCCVs) MarshalHex() (string, error)
MarshalHex encodes TokenPoolVerifyOutboundCCVs to hex string (Canton MCMS format)
func (TokenPoolVerifyOutboundCCVs) MarshalJSON ¶
func (t TokenPoolVerifyOutboundCCVs) MarshalJSON() ([]byte, error)
func (TokenPoolVerifyOutboundCCVs) ToMap ¶
func (t TokenPoolVerifyOutboundCCVs) ToMap() map[string]any
ToMap converts TokenPoolVerifyOutboundCCVs to a map for DAML arguments
func (*TokenPoolVerifyOutboundCCVs) UnmarshalHex ¶
func (t *TokenPoolVerifyOutboundCCVs) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolVerifyOutboundCCVs from hex string (Canton MCMS format)
func (*TokenPoolVerifyOutboundCCVs) UnmarshalJSON ¶
func (t *TokenPoolVerifyOutboundCCVs) UnmarshalJSON(data []byte) error
type TokenPoolView ¶
type TokenPoolView struct {
Owner types.PARTY `json:"owner"`
CcipOwner types.PARTY `json:"ccipOwner"`
InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
}
TokenPoolView is a Record type
func (TokenPoolView) MarshalHex ¶
func (t TokenPoolView) MarshalHex() (string, error)
MarshalHex encodes TokenPoolView to hex string (Canton MCMS format)
func (TokenPoolView) MarshalJSON ¶
func (t TokenPoolView) MarshalJSON() ([]byte, error)
func (TokenPoolView) ToMap ¶
func (t TokenPoolView) ToMap() map[string]any
ToMap converts TokenPoolView to a map for DAML arguments
func (*TokenPoolView) UnmarshalHex ¶
func (t *TokenPoolView) UnmarshalHex(data string) error
UnmarshalHex decodes TokenPoolView from hex string (Canton MCMS format)
func (*TokenPoolView) UnmarshalJSON ¶
func (t *TokenPoolView) UnmarshalJSON(data []byte) error
type TransferDirection ¶
type TransferDirection string
TransferDirection is an enum type
const ( TransferDirectionOutbound TransferDirection = "Outbound" TransferDirectionInbound TransferDirection = "Inbound" )
func (TransferDirection) GetEnumConstructor ¶
func (e TransferDirection) GetEnumConstructor() string
func (TransferDirection) GetEnumTypeID ¶
func (e TransferDirection) GetEnumTypeID() string
func (TransferDirection) GetEnumTypeIDWithPackageID ¶
func (e TransferDirection) GetEnumTypeIDWithPackageID(packageID string) string
GetEnumTypeIDWithPackageID returns the enum type ID using the provided package ID instead of package name
func (TransferDirection) MarshalHex ¶
func (e TransferDirection) MarshalHex() (string, error)
MarshalHex encodes TransferDirection to hex string (Canton MCMS format)
func (TransferDirection) MarshalJSON ¶
func (e TransferDirection) MarshalJSON() ([]byte, error)
func (*TransferDirection) UnmarshalHex ¶
func (e *TransferDirection) UnmarshalHex(data string) error
UnmarshalHex decodes TransferDirection from hex string (Canton MCMS format)
func (*TransferDirection) UnmarshalJSON ¶
func (e *TransferDirection) UnmarshalJSON(data []byte) error