diamondcut

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Facet

type Facet struct {
	*facet.Facet
	// contains filtered or unexported fields
}

Facet is something which should, somewhere down the line, quack like an IDiamondCutFacet.

func NewFacet

func NewFacet(f *facet.Facet) (*Facet, error)

NewFacet returns an initialized DiamondCutFacet.

func (*Facet) DiamondCut

func (f *Facet) DiamondCut(
	opts *bind.TransactOpts,
	facetCuts []diamondcutabi.IDiamondCutFacetCut,
	initContract common.Address,
	initCalldata []byte,
) (*types.Transaction, error)

DiamondCut is a wrapper around the IDiamondCutFacet.DiamondCut function call.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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