Documentation ¶
Overview ¶
SPDX-License-Identifier: LGPL-3.0-or-later Copyright 2019 DNA Dev team
- Copyright (C) 2018 The ontology Authors
- This file is part of The ontology library. *
- The ontology is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version. *
- The ontology is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Lesser General Public License for more details. *
- You should have received a copy of the GNU Lesser General Public License
- along with The ontology. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: LGPL-3.0-or-later Copyright 2019 DNA Dev team
- Copyright (C) 2018 The ontology Authors
- This file is part of The ontology library. *
- The ontology is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version. *
- The ontology is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Lesser General Public License for more details. *
- You should have received a copy of the GNU Lesser General Public License
- along with The ontology. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- type Oep4
- func (this *Oep4) Approve(owner *dnaSdk.Account, spender common.Address, amount *big.Int, ...) (common.Uint256, error)
- func (this *Oep4) BalanceOf(account common.Address) (*big.Int, error)
- func (this *Oep4) Decimals() (*big.Int, error)
- func (this *Oep4) FetchBlockTransferEvent(height uint32) ([]*Oep4TransferEvent, error)
- func (this *Oep4) FetchTxTransferEvent(hash string) ([]*Oep4TransferEvent, error)
- func (this *Oep4) MultiSignApprove(ownerAccounts []*dnaSdk.Account, m int, spender common.Address, ...) (common.Uint256, error)
- func (this *Oep4) MultiSignTransfer(fromAccounts []*dnaSdk.Account, m int, to common.Address, amount *big.Int, ...) (common.Uint256, error)
- func (this *Oep4) MultiSignTransferFrom(spenders []*dnaSdk.Account, m int, from, to common.Address, amount *big.Int, ...) (common.Uint256, error)
- func (this *Oep4) Name() (string, error)
- func (this *Oep4) Symbol() (string, error)
- func (this *Oep4) TotalSupply() (*big.Int, error)
- func (this *Oep4) Transfer(from *dnaSdk.Account, to common.Address, amount *big.Int, ...) (common.Uint256, error)
- func (this *Oep4) TransferFrom(spender *dnaSdk.Account, from, to common.Address, amount *big.Int, ...) (common.Uint256, error)
- func (this *Oep4) TransferMulti(fromAccounts []*dnaSdk.Account, to []common.Address, amount []*big.Int, ...) (common.Uint256, error)
- type Oep4TransferEvent
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oep4 ¶
func (*Oep4) FetchBlockTransferEvent ¶
func (this *Oep4) FetchBlockTransferEvent(height uint32) ([]*Oep4TransferEvent, error)
func (*Oep4) FetchTxTransferEvent ¶
func (this *Oep4) FetchTxTransferEvent(hash string) ([]*Oep4TransferEvent, error)
func (*Oep4) MultiSignApprove ¶
func (*Oep4) MultiSignTransfer ¶
func (*Oep4) MultiSignTransferFrom ¶
func (*Oep4) TransferFrom ¶
type Oep4TransferEvent ¶
func (*Oep4TransferEvent) String ¶
func (this *Oep4TransferEvent) String() string
Click to show internal directories.
Click to hide internal directories.