transparent_proofsv1alpha1

package
v8.3.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTransparentProofs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTransparentProofs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTransparentProofs = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type SwapClaimProof

type SwapClaimProof struct {
	// The swap being claimed
	SwapPlaintext *v1alpha1.SwapPlaintext `protobuf:"bytes,1,opt,name=swap_plaintext,json=swapPlaintext,proto3" json:"swap_plaintext,omitempty"`
	// Inclusion proof for the swap commitment
	SwapCommitmentProof *v1alpha11.StateCommitmentProof `protobuf:"bytes,4,opt,name=swap_commitment_proof,json=swapCommitmentProof,proto3" json:"swap_commitment_proof,omitempty"`
	// The nullifier key used to derive the swap nullifier
	Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"`
	//*
	// @exclude
	// Describes output amounts
	Lambda_1I *v1alpha11.Amount `protobuf:"bytes,20,opt,name=lambda_1_i,json=lambda1I,proto3" json:"lambda_1_i,omitempty"`
	Lambda_2I *v1alpha11.Amount `protobuf:"bytes,21,opt,name=lambda_2_i,json=lambda2I,proto3" json:"lambda_2_i,omitempty"`
}

A Penumbra transparent SwapClaimProof.

func (*SwapClaimProof) Descriptor

func (*SwapClaimProof) Descriptor() ([]byte, []int)

func (*SwapClaimProof) GetLambda_1I

func (m *SwapClaimProof) GetLambda_1I() *v1alpha11.Amount

func (*SwapClaimProof) GetLambda_2I

func (m *SwapClaimProof) GetLambda_2I() *v1alpha11.Amount

func (*SwapClaimProof) GetNk

func (m *SwapClaimProof) GetNk() []byte

func (*SwapClaimProof) GetSwapCommitmentProof

func (m *SwapClaimProof) GetSwapCommitmentProof() *v1alpha11.StateCommitmentProof

func (*SwapClaimProof) GetSwapPlaintext

func (m *SwapClaimProof) GetSwapPlaintext() *v1alpha1.SwapPlaintext

func (*SwapClaimProof) Marshal

func (m *SwapClaimProof) Marshal() (dAtA []byte, err error)

func (*SwapClaimProof) MarshalTo

func (m *SwapClaimProof) MarshalTo(dAtA []byte) (int, error)

func (*SwapClaimProof) MarshalToSizedBuffer

func (m *SwapClaimProof) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwapClaimProof) ProtoMessage

func (*SwapClaimProof) ProtoMessage()

func (*SwapClaimProof) Reset

func (m *SwapClaimProof) Reset()

func (*SwapClaimProof) Size

func (m *SwapClaimProof) Size() (n int)

func (*SwapClaimProof) String

func (m *SwapClaimProof) String() string

func (*SwapClaimProof) Unmarshal

func (m *SwapClaimProof) Unmarshal(dAtA []byte) error

func (*SwapClaimProof) XXX_DiscardUnknown

func (m *SwapClaimProof) XXX_DiscardUnknown()

func (*SwapClaimProof) XXX_Marshal

func (m *SwapClaimProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwapClaimProof) XXX_Merge

func (m *SwapClaimProof) XXX_Merge(src proto.Message)

func (*SwapClaimProof) XXX_Size

func (m *SwapClaimProof) XXX_Size() int

func (*SwapClaimProof) XXX_Unmarshal

func (m *SwapClaimProof) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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