Documentation ¶
Index ¶
- func InitOng()
- func OngAllowance(native *native.NativeService) ([]byte, error)
- func OngAllowanceV2(native *native.NativeService) ([]byte, error)
- func OngApprove(native *native.NativeService) ([]byte, error)
- func OngApproveV2(native *native.NativeService) ([]byte, error)
- func OngBalanceOf(native *native.NativeService) ([]byte, error)
- func OngBalanceOfV2(native *native.NativeService) ([]byte, error)
- func OngDecimals(native *native.NativeService) ([]byte, error)
- func OngDecimalsV2(native *native.NativeService) ([]byte, error)
- func OngInit(native *native.NativeService) ([]byte, error)
- func OngName(native *native.NativeService) ([]byte, error)
- func OngSymbol(native *native.NativeService) ([]byte, error)
- func OngTotalAllowance(native *native.NativeService) ([]byte, error)
- func OngTotalAllowanceV2(native *native.NativeService) ([]byte, error)
- func OngTotalSupply(native *native.NativeService) ([]byte, error)
- func OngTotalSupplyV2(native *native.NativeService) ([]byte, error)
- func OngTransfer(native *native.NativeService) ([]byte, error)
- func OngTransferFrom(native *native.NativeService) ([]byte, error)
- func OngTransferFromV2(native *native.NativeService) ([]byte, error)
- func OngTransferV2(native *native.NativeService) ([]byte, error)
- func RegisterOngContract(native *native.NativeService)
- type OngBalanceHandle
- func (self OngBalanceHandle) AddBalance(cache *storage.CacheDB, addr common.Address, val *big.Int) error
- func (self OngBalanceHandle) GetBalance(cache *storage.CacheDB, addr common.Address) (*big.Int, error)
- func (self OngBalanceHandle) SetBalance(cache *storage.CacheDB, addr common.Address, val *big.Int) error
- func (self OngBalanceHandle) SubBalance(cache *storage.CacheDB, addr common.Address, val *big.Int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 (OngBalanceHandle) GetBalance ¶ added in v1.14.1
func (OngBalanceHandle) SetBalance ¶ added in v1.14.1
func (OngBalanceHandle) SubBalance ¶ added in v1.14.1
Click to show internal directories.
Click to hide internal directories.