erc777

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ERC777Call

type ERC777Call interface {
	Name(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (n string, err error)
	Symbol(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (s string, err error)
	Granularity(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (g big.Int, err error)
	TotalSupply(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (ts big.Int, err error)
	BalanceOf(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, tokenHolder common.Address) (balance big.Int, err error)
	Send(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, recipient common.Address, amount *big.Int, data []byte) (err error)
	Burn(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, amount *big.Int, data []byte) (err error)
	IsOperatorFor(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, operator, tokenHolder common.Address) (res bool, err error)
	AuthorizeOperator(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, operator common.Address) (err error)
	RevokeOperator(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, operator common.Address) (err error)
	DefaultOperators(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (operators []common.Address, err error)
	OperatorSend(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, sender, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (err error)
	OperatorBurn(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, account common.Address, amount *big.Int, data []byte, operatorData []byte) (err error)
}

type ERC777Caller

type ERC777Caller struct {
	NodeType EthereumNodeType
}

func (*ERC777Caller) AuthorizeOperator

func (c *ERC777Caller) AuthorizeOperator(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, operator common.Address) (err error)

func (*ERC777Caller) BalanceOf

func (c *ERC777Caller) BalanceOf(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, tokenHolder common.Address) (balance big.Int, err error)

func (*ERC777Caller) Burn

func (c *ERC777Caller) Burn(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, amount *big.Int, data []byte) (err error)

func (*ERC777Caller) DefaultOperators

func (c *ERC777Caller) DefaultOperators(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (operators []common.Address, err error)

func (*ERC777Caller) Granularity

func (c *ERC777Caller) Granularity(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (g big.Int, err error)

func (*ERC777Caller) IsOperatorFor

func (c *ERC777Caller) IsOperatorFor(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, operator, tokenHolder common.Address) (res bool, err error)

func (*ERC777Caller) Name

func (c *ERC777Caller) Name(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (n string, err error)

func (*ERC777Caller) OperatorBurn

func (c *ERC777Caller) OperatorBurn(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, account common.Address, amount *big.Int, data []byte, operatorData []byte) (err error)

func (*ERC777Caller) OperatorSend

func (c *ERC777Caller) OperatorSend(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, sender, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (err error)

func (*ERC777Caller) RevokeOperator

func (c *ERC777Caller) RevokeOperator(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, operator common.Address) (err error)

func (*ERC777Caller) Send

func (c *ERC777Caller) Send(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, recipient common.Address, amount *big.Int, data []byte) (err error)

func (*ERC777Caller) Symbol

func (c *ERC777Caller) Symbol(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (s string, err error)

func (*ERC777Caller) TotalSupply

func (c *ERC777Caller) TotalSupply(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (ts big.Int, err error)

type EthereumNodeType

type EthereumNodeType uint8
const (
	ENTArchive EthereumNodeType = iota
	ENTRecent
)

Jump to

Keyboard shortcuts

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