interfaces

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAll

func GetAll() (map[string]ContractInterface, error)

GetAll - receives all contract interfaces

func GetMethods

func GetMethods(name string) ([]string, error)

GetMethods - returns list of interface methods

Types

type Contract

type Contract interface {
	GetName() string
	GetContractInterface() string
}

Contract -

type ContractInterface

type ContractInterface struct {
	IsRoot      bool `json:"is_root,omitempty"`
	Entrypoints map[string]stdJSON.RawMessage
}

ContractInterface -

type Fa1

type Fa1 struct{}

Fa1 -

func (*Fa1) GetContractInterface

func (f *Fa1) GetContractInterface() string

GetContractInterface -

func (*Fa1) GetName

func (f *Fa1) GetName() string

GetName -

type Fa1_2

type Fa1_2 struct{}

Fa1_2 -

func (*Fa1_2) GetContractInterface

func (f *Fa1_2) GetContractInterface() string

GetContractInterface -

func (*Fa1_2) GetName

func (f *Fa1_2) GetName() string

GetName -

type Fa2

type Fa2 struct{}

Fa2 -

func (*Fa2) GetContractInterface

func (f *Fa2) GetContractInterface() string

GetContractInterface -

func (*Fa2) GetName

func (f *Fa2) GetName() string

GetName -

type ViewAddress

type ViewAddress struct{}

ViewAddress -

func (*ViewAddress) GetContractInterface

func (f *ViewAddress) GetContractInterface() string

GetContractInterface -

func (*ViewAddress) GetName

func (f *ViewAddress) GetName() string

GetName -

type ViewBalanceOf

type ViewBalanceOf struct{}

ViewBalanceOf -

func (*ViewBalanceOf) GetContractInterface

func (f *ViewBalanceOf) GetContractInterface() string

GetContractInterface -

func (*ViewBalanceOf) GetName

func (f *ViewBalanceOf) GetName() string

GetName -

type ViewNat

type ViewNat struct{}

ViewNat -

func (*ViewNat) GetContractInterface

func (f *ViewNat) GetContractInterface() string

GetContractInterface -

func (*ViewNat) GetName

func (f *ViewNat) GetName() string

GetName -

Jump to

Keyboard shortcuts

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