validator

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copyright IBM Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IssueValidate added in v0.4.0

func IssueValidate(ctx *Context) error

func TransferHTLCValidate

func TransferHTLCValidate(ctx *Context) error

func TransferSignatureValidate

func TransferSignatureValidate(ctx *Context) error

func TransferZKProofValidate

func TransferZKProofValidate(ctx *Context) error

Types

type ActionDeserializer added in v0.4.0

type ActionDeserializer struct{}

func (*ActionDeserializer) DeserializeActions added in v0.4.0

func (a *ActionDeserializer) DeserializeActions(tr *driver.TokenRequest) ([]*issue.IssueAction, []*transfer.Action, error)

type Ledger

type Ledger interface {
	GetState(id token.ID) ([]byte, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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