native

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2018 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CoinContractPrefix = "OC"
	CoinRatePrefix     = "OR"
)

const prifix

Variables

This section is empty.

Functions

func ABI

func ABI() *contract.Contract

ABI generate iost.system abi and contract

func BonusABI

func BonusABI() *contract.Contract

BonusABI generate iost.bonus abi and contract

Types

type Impl

type Impl struct {
}

Impl .

func (*Impl) Compile

func (i *Impl) Compile(contract *contract.Contract) (string, error)

Compile ...

func (*Impl) Init

func (i *Impl) Init() error

Init .

func (*Impl) LoadAndCall

func (i *Impl) LoadAndCall(h *host.Host, con *contract.Contract, api string, args ...interface{}) (rtn []interface{}, cost *contract.Cost, err error)

LoadAndCall implement

func (*Impl) Release

func (i *Impl) Release()

Release .

Jump to

Keyboard shortcuts

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