natspec

package
v0.9.26 Latest Latest
Warning

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

Go to latest
Published: May 28, 2015 License: LGPL-2.1-or-later Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchDocsForContract

func FetchDocsForContract(contractAddress string, xeth *xeth.XEth, http *docserver.DocServer) (content []byte, err error)

also called by admin.contractInfo.get

func GetNotice

func GetNotice(xeth *xeth.XEth, tx string, http *docserver.DocServer) (notice string)

main entry point for to get natspec notice for a transaction the implementation is frontend friendly in that it always gives back a notice that is safe to display :FIXME: the second return value is an error, which can be used to fine-tune bahaviour

Types

type NatSpec

type NatSpec struct {
	// contains filtered or unexported fields
}

func New

func New(xeth *xeth.XEth, jsontx string, http *docserver.DocServer) (self *NatSpec, err error)

func NewWithDocs

func NewWithDocs(infoDoc []byte, tx string, data string) (self *NatSpec, err error)

func (*NatSpec) Notice

func (self *NatSpec) Notice() (notice string, err error)

Jump to

Keyboard shortcuts

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