stx_v0

package
v0.0.0-...-93382e6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProofToHash

func ProofToHash(proof *c_type.Proof) (ret c_type.Uint256)

Types

type Desc_O

type Desc_O struct {
	Ins  []In_S
	Outs []Out_O
}

func (*Desc_O) HasContent

func (self *Desc_O) HasContent() bool

func (*Desc_O) ToHash

func (self *Desc_O) ToHash() (ret c_type.Uint256)

func (*Desc_O) ToHash_for_gen

func (self *Desc_O) ToHash_for_gen() (ret c_type.Uint256)

func (*Desc_O) ToHash_for_sign

func (self *Desc_O) ToHash_for_sign() (ret c_type.Uint256)

type Desc_Z

type Desc_Z struct {
	Ins  []In_Z
	Outs []Out_Z
}

func (*Desc_Z) HasContent

func (self *Desc_Z) HasContent() bool

func (*Desc_Z) ToHash

func (self *Desc_Z) ToHash() (ret c_type.Uint256)

func (*Desc_Z) ToHash_for_gen

func (self *Desc_Z) ToHash_for_gen() (ret c_type.Uint256)

func (*Desc_Z) ToHash_for_sign

func (self *Desc_Z) ToHash_for_sign() (ret c_type.Uint256)

type In_S

type In_S struct {
	Root c_type.Uint256
	Nil  c_type.Uint256
	Sign c_type.Uint512
}

func (*In_S) ToHash

func (self *In_S) ToHash() (ret c_type.Uint256)

func (*In_S) ToHash_for_gen

func (self *In_S) ToHash_for_gen() (ret c_type.Uint256)

func (*In_S) ToHash_for_sign

func (self *In_S) ToHash_for_sign() (ret c_type.Uint256)

type In_Z

type In_Z struct {
	Anchor  c_type.Uint256
	Nil     c_type.Uint256
	Trace   c_type.Uint256
	AssetCM c_type.Uint256
	Proof   c_type.Proof
}

func (*In_Z) ToHash

func (self *In_Z) ToHash() (ret c_type.Uint256)

func (*In_Z) ToHash_for_sign

func (self *In_Z) ToHash_for_sign() (ret c_type.Uint256)

type Out_O

type Out_O struct {
	Addr  c_type.PKr
	Asset assets.Asset
	Memo  c_type.Uint512
}

func (*Out_O) Clone

func (self *Out_O) Clone() (ret Out_O)

func (*Out_O) ToHash

func (self *Out_O) ToHash() (ret c_type.Uint256)

func (*Out_O) ToHash_for_gen

func (self *Out_O) ToHash_for_gen() (ret c_type.Uint256)

func (*Out_O) ToHash_for_sign

func (self *Out_O) ToHash_for_sign() (ret c_type.Uint256)

func (Out_O) ToRef

func (this Out_O) ToRef() (ret *Out_O)

type Out_Z

type Out_Z struct {
	AssetCM c_type.Uint256
	OutCM   c_type.Uint256
	RPK     c_type.Uint256
	EInfo   c_type.Einfo
	PKr     c_type.PKr
	Proof   c_type.Proof
}

func (*Out_Z) Clone

func (self *Out_Z) Clone() (ret Out_Z)

func (*Out_Z) ToHash

func (self *Out_Z) ToHash() (ret c_type.Uint256)

func (*Out_Z) ToHash_for_gen

func (self *Out_Z) ToHash_for_gen() (ret c_type.Uint256)

func (*Out_Z) ToHash_for_sign

func (self *Out_Z) ToHash_for_sign() (ret c_type.Uint256)

func (Out_Z) ToRef

func (this Out_Z) ToRef() (ret *Out_Z)

Jump to

Keyboard shortcuts

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