ong

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: LGPL-3.0 Imports: 13 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitOng

func InitOng()

func OngAllowance

func OngAllowance(native *native.NativeService) ([]byte, error)

func OngAllowanceV2 added in v1.14.1

func OngAllowanceV2(native *native.NativeService) ([]byte, error)

func OngApprove

func OngApprove(native *native.NativeService) ([]byte, error)

func OngApproveV2 added in v1.14.1

func OngApproveV2(native *native.NativeService) ([]byte, error)

func OngBalanceOf

func OngBalanceOf(native *native.NativeService) ([]byte, error)

func OngBalanceOfV2 added in v1.14.1

func OngBalanceOfV2(native *native.NativeService) ([]byte, error)

func OngDecimals

func OngDecimals(native *native.NativeService) ([]byte, error)

func OngDecimalsV2 added in v1.14.1

func OngDecimalsV2(native *native.NativeService) ([]byte, error)

func OngInit

func OngInit(native *native.NativeService) ([]byte, error)

func OngName

func OngName(native *native.NativeService) ([]byte, error)

func OngSymbol

func OngSymbol(native *native.NativeService) ([]byte, error)

func OngTotalAllowance added in v1.10.0

func OngTotalAllowance(native *native.NativeService) ([]byte, error)

func OngTotalAllowanceV2 added in v1.14.1

func OngTotalAllowanceV2(native *native.NativeService) ([]byte, error)

func OngTotalSupply

func OngTotalSupply(native *native.NativeService) ([]byte, error)

func OngTotalSupplyV2 added in v1.14.1

func OngTotalSupplyV2(native *native.NativeService) ([]byte, error)

func OngTransfer

func OngTransfer(native *native.NativeService) ([]byte, error)

func OngTransferFrom

func OngTransferFrom(native *native.NativeService) ([]byte, error)

func OngTransferFromV2 added in v1.14.1

func OngTransferFromV2(native *native.NativeService) ([]byte, error)

func OngTransferV2 added in v1.14.1

func OngTransferV2(native *native.NativeService) ([]byte, error)

func RegisterOngContract

func RegisterOngContract(native *native.NativeService)

Types

type OngBalanceHandle added in v1.14.1

type OngBalanceHandle struct{}

func (OngBalanceHandle) AddBalance added in v1.14.1

func (self OngBalanceHandle) AddBalance(cache *storage.CacheDB, addr common.Address, val *big.Int) error

func (OngBalanceHandle) GetBalance added in v1.14.1

func (self OngBalanceHandle) GetBalance(cache *storage.CacheDB, addr common.Address) (*big.Int, error)

func (OngBalanceHandle) SetBalance added in v1.14.1

func (self OngBalanceHandle) SetBalance(cache *storage.CacheDB, addr common.Address, val *big.Int) error

func (OngBalanceHandle) SubBalance added in v1.14.1

func (self OngBalanceHandle) SubBalance(cache *storage.CacheDB, addr common.Address, val *big.Int) error

Jump to

Keyboard shortcuts

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