Documentation ¶
Index ¶
- func Assert(assertion bool)
- func ConvAddrStrToAddressType(addrStr string) (addr addr.AddressType, err error)
- func Exists(name string) bool
- func Fopen(fn string, mode string) (file *os.File, err error)
- func IsValidAddress(addrStr string) bool
- func RunSmartContract()
- func SVarI(v interface{}) string
- func ValidSignature(sig SignatureType, message string, from addr.AddressType) bool
- type SignatureType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvAddrStrToAddressType ¶
func ConvAddrStrToAddressType(addrStr string) (addr addr.AddressType, err error)
func IsValidAddress ¶
IsValidAddress returns true if the addresss is a validate looking address.
func SVarI ¶
func SVarI(v interface{}) string
SVarI marshals and indents a data structure into JSON.
func ValidSignature ¶
func ValidSignature(sig SignatureType, message string, from addr.AddressType) bool
Types ¶
type SignatureType ¶
type SignatureType string
Click to show internal directories.
Click to hide internal directories.