diamond

package
v0.0.0-...-726cabc Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diamond

type Diamond struct {
	// contains filtered or unexported fields
}

func NewDiamond

func NewDiamond(
	address common.Address,
	chainID *big.Int,
	rpcClient *ethclient.Client,
	acc *account.Account,
) (*Diamond, error)

func (*Diamond) Account

func (d *Diamond) Account() *account.Account

func (*Diamond) Address

func (d *Diamond) Address() common.Address

func (*Diamond) CallOpts

func (d *Diamond) CallOpts() *bind.CallOpts

func (*Diamond) ChainID

func (d *Diamond) ChainID() *big.Int

func (*Diamond) Diamond

func (d *Diamond) Diamond() *diamondabi.Diamond

func (*Diamond) DiamondCut

func (d *Diamond) DiamondCut() *diamondcut.Facet

func (*Diamond) DiamondLoupe

func (d *Diamond) DiamondLoupe() *diamondloupe.Facet

func (*Diamond) RPCClient

func (d *Diamond) RPCClient() *ethclient.Client

func (*Diamond) SetAccount

func (d *Diamond) SetAccount(acc *account.Account)

func (*Diamond) TransactOpts

func (d *Diamond) TransactOpts() (*bind.TransactOpts, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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