Documentation
¶
Index ¶
- Constants
- type Cardano
- func (c *Cardano) AddContractListener(ctx context.Context, listener *core.ContractListener, lastProtocolID string) (err error)
- func (c *Cardano) AddFireflySubscription(ctx context.Context, namespace *core.Namespace, ...) (string, error)
- func (c *Cardano) Capabilities() *blockchain.Capabilities
- func (c *Cardano) CheckOverlappingLocations(ctx context.Context, left *fftypes.JSONAny, right *fftypes.JSONAny) (bool, error)
- func (c *Cardano) DeleteContractListener(ctx context.Context, subscription *core.ContractListener, okNotFound bool) error
- func (c *Cardano) DeployContract(ctx context.Context, nsOpID, signingKey string, ...) (submissionRejected bool, err error)
- func (c *Cardano) GenerateErrorSignature(ctx context.Context, event *fftypes.FFIErrorDefinition) string
- func (c *Cardano) GenerateEventSignature(ctx context.Context, event *fftypes.FFIEventDefinition) (string, error)
- func (c *Cardano) GenerateEventSignatureWithLocation(ctx context.Context, event *fftypes.FFIEventDefinition, ...) (string, error)
- func (c *Cardano) GenerateFFI(ctx context.Context, generationRequest *fftypes.FFIGenerationRequest) (*fftypes.FFI, error)
- func (c *Cardano) GetAndConvertDeprecatedContractConfig(ctx context.Context) (location *fftypes.JSONAny, fromBlock string, err error)
- func (c *Cardano) GetContractListenerStatus(ctx context.Context, namespace, subID string, okNotFound bool) (found bool, detail interface{}, status core.ContractListenerStatus, err error)
- func (c *Cardano) GetFFIParamValidator(ctx context.Context) (fftypes.FFIParamValidator, error)
- func (c *Cardano) GetNetworkVersion(ctx context.Context, location *fftypes.JSONAny) (version int, err error)
- func (c *Cardano) GetTransactionStatus(ctx context.Context, operation *core.Operation) (interface{}, error)
- func (c *Cardano) Init(ctx context.Context, cancelCtx context.CancelFunc, conf config.Section, ...) (err error)
- func (c *Cardano) InitConfig(config config.Section)
- func (c *Cardano) InvokeContract(ctx context.Context, nsOpID string, signingKey string, ...) (bool, error)
- func (c *Cardano) Name() string
- func (c *Cardano) NormalizeContractLocation(ctx context.Context, ntype blockchain.NormalizeType, location *fftypes.JSONAny) (result *fftypes.JSONAny, err error)
- func (c *Cardano) ParseInterface(ctx context.Context, method *fftypes.FFIMethod, errors []*fftypes.FFIError) (interface{}, error)
- func (c *Cardano) QueryContract(ctx context.Context, signingKey string, location *fftypes.JSONAny, ...) (interface{}, error)
- func (c *Cardano) RemoveFireflySubscription(ctx context.Context, subID string)
- func (c *Cardano) ResolveSigningKey(ctx context.Context, key string, intent blockchain.ResolveKeyIntent) (resolved string, err error)
- func (c *Cardano) SetHandler(namespace string, handler blockchain.Callbacks)
- func (c *Cardano) SetOperationHandler(namespace string, handler core.OperationCallbacks)
- func (c *Cardano) StartNamespace(ctx context.Context, namespace string) (err error)
- func (c *Cardano) StopNamespace(ctx context.Context, namespace string) (err error)
- func (c *Cardano) SubmitBatchPin(ctx context.Context, nsOpID, networkNamespace, signingKey string, ...) error
- func (c *Cardano) SubmitNetworkAction(ctx context.Context, nsOpID string, signingKey string, ...) error
- func (c *Cardano) ValidateInvokeRequest(ctx context.Context, parsedMethod interface{}, input map[string]interface{}, ...) error
- func (c *Cardano) VerifierType() core.VerifierType
- type Location
Constants ¶
View Source
const ( // CardanoconnectConfigKey is a sub-key in the config to contain all the cardanoconnect specific config CardanoconnectConfigKey = "cardanoconnect" // CardanoconnectConfigTopic is the websocket listen topic that the node should register on, which is important if there are multiple // nodes using a single cardanoconnect CardanoconnectConfigTopic = "topic" // CardanoconnectConfigBatchSize is the batch size to configure on event streams, when auto-defining them CardanoconnectConfigBatchSize = "batchSize" // CardanoconnectConfigBatchTimeout is the batch timeout to configure on event streams, when auto-defining them CardanoconnectConfigBatchTimeout = "batchTimeout" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cardano ¶
type Cardano struct {
// contains filtered or unexported fields
}
func (*Cardano) AddContractListener ¶
func (*Cardano) AddFireflySubscription ¶
func (c *Cardano) AddFireflySubscription(ctx context.Context, namespace *core.Namespace, contract *blockchain.MultipartyContract, lastProtocolID string) (string, error)
func (*Cardano) Capabilities ¶
func (c *Cardano) Capabilities() *blockchain.Capabilities
func (*Cardano) CheckOverlappingLocations ¶
func (*Cardano) DeleteContractListener ¶
func (*Cardano) DeployContract ¶
func (*Cardano) GenerateErrorSignature ¶
func (*Cardano) GenerateEventSignature ¶
func (*Cardano) GenerateEventSignatureWithLocation ¶
func (*Cardano) GenerateFFI ¶
func (*Cardano) GetAndConvertDeprecatedContractConfig ¶
func (*Cardano) GetContractListenerStatus ¶
func (*Cardano) GetFFIParamValidator ¶
func (*Cardano) GetNetworkVersion ¶
func (*Cardano) GetTransactionStatus ¶
func (*Cardano) InitConfig ¶
func (*Cardano) InvokeContract ¶
func (*Cardano) NormalizeContractLocation ¶
func (c *Cardano) NormalizeContractLocation(ctx context.Context, ntype blockchain.NormalizeType, location *fftypes.JSONAny) (result *fftypes.JSONAny, err error)
func (*Cardano) ParseInterface ¶
func (*Cardano) QueryContract ¶
func (*Cardano) RemoveFireflySubscription ¶
func (*Cardano) ResolveSigningKey ¶
func (c *Cardano) ResolveSigningKey(ctx context.Context, key string, intent blockchain.ResolveKeyIntent) (resolved string, err error)
func (*Cardano) SetHandler ¶
func (c *Cardano) SetHandler(namespace string, handler blockchain.Callbacks)
func (*Cardano) SetOperationHandler ¶
func (c *Cardano) SetOperationHandler(namespace string, handler core.OperationCallbacks)
func (*Cardano) StartNamespace ¶
func (*Cardano) StopNamespace ¶
func (*Cardano) SubmitBatchPin ¶
func (*Cardano) SubmitNetworkAction ¶
func (*Cardano) ValidateInvokeRequest ¶
func (*Cardano) VerifierType ¶
func (c *Cardano) VerifierType() core.VerifierType
Click to show internal directories.
Click to hide internal directories.