diamondcutabi

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IDiamondCutABI = IDiamondCutMetaData.ABI

IDiamondCutABI is the input ABI used to generate the binding from. Deprecated: Use IDiamondCutMetaData.ABI instead.

View Source
var IDiamondCutMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumIDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"structIDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumIDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structIDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"diamondCut\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IDiamondCutMetaData contains all meta data concerning the IDiamondCut contract.

Functions

This section is empty.

Types

type IDiamondCut

type IDiamondCut struct {
	IDiamondCutCaller     // Read-only binding to the contract
	IDiamondCutTransactor // Write-only binding to the contract
	IDiamondCutFilterer   // Log filterer for contract events
}

IDiamondCut is an auto generated Go binding around an Ethereum contract.

func NewIDiamondCut

func NewIDiamondCut(address common.Address, backend bind.ContractBackend) (*IDiamondCut, error)

NewIDiamondCut creates a new instance of IDiamondCut, bound to a specific deployed contract.

type IDiamondCutCaller

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

IDiamondCutCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIDiamondCutCaller

func NewIDiamondCutCaller(address common.Address, caller bind.ContractCaller) (*IDiamondCutCaller, error)

NewIDiamondCutCaller creates a new read-only instance of IDiamondCut, bound to a specific deployed contract.

type IDiamondCutCallerRaw

type IDiamondCutCallerRaw struct {
	Contract *IDiamondCutCaller // Generic read-only contract binding to access the raw methods on
}

IDiamondCutCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IDiamondCutCallerRaw) Call

func (_IDiamondCut *IDiamondCutCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IDiamondCutCallerSession

type IDiamondCutCallerSession struct {
	Contract *IDiamondCutCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

IDiamondCutCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type IDiamondCutDiamondCut

type IDiamondCutDiamondCut struct {
	DiamondCut []IDiamondCutFacetCut
	Init       common.Address
	Calldata   []byte
	Raw        types.Log // Blockchain specific contextual infos
}

IDiamondCutDiamondCut represents a DiamondCut event raised by the IDiamondCut contract.

type IDiamondCutDiamondCutIterator

type IDiamondCutDiamondCutIterator struct {
	Event *IDiamondCutDiamondCut // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IDiamondCutDiamondCutIterator is returned from FilterDiamondCut and is used to iterate over the raw logs and unpacked data for DiamondCut events raised by the IDiamondCut contract.

func (*IDiamondCutDiamondCutIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IDiamondCutDiamondCutIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDiamondCutDiamondCutIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IDiamondCutFacetCut

type IDiamondCutFacetCut struct {
	FacetAddress      common.Address
	Action            uint8
	FunctionSelectors [][4]byte
}

IDiamondCutFacetCut is an auto generated low-level Go binding around an user-defined struct.

type IDiamondCutFilterer

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

IDiamondCutFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIDiamondCutFilterer

func NewIDiamondCutFilterer(address common.Address, filterer bind.ContractFilterer) (*IDiamondCutFilterer, error)

NewIDiamondCutFilterer creates a new log filterer instance of IDiamondCut, bound to a specific deployed contract.

func (*IDiamondCutFilterer) FilterDiamondCut

func (_IDiamondCut *IDiamondCutFilterer) FilterDiamondCut(opts *bind.FilterOpts) (*IDiamondCutDiamondCutIterator, error)

FilterDiamondCut is a free log retrieval operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.

Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)

func (*IDiamondCutFilterer) ParseDiamondCut

func (_IDiamondCut *IDiamondCutFilterer) ParseDiamondCut(log types.Log) (*IDiamondCutDiamondCut, error)

ParseDiamondCut is a log parse operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.

Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)

func (*IDiamondCutFilterer) WatchDiamondCut

func (_IDiamondCut *IDiamondCutFilterer) WatchDiamondCut(opts *bind.WatchOpts, sink chan<- *IDiamondCutDiamondCut) (event.Subscription, error)

WatchDiamondCut is a free log subscription operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.

Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)

type IDiamondCutRaw

type IDiamondCutRaw struct {
	Contract *IDiamondCut // Generic contract binding to access the raw methods on
}

IDiamondCutRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IDiamondCutRaw) Call

func (_IDiamondCut *IDiamondCutRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IDiamondCutRaw) Transact

func (_IDiamondCut *IDiamondCutRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IDiamondCutRaw) Transfer

func (_IDiamondCut *IDiamondCutRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IDiamondCutSession

type IDiamondCutSession struct {
	Contract     *IDiamondCut      // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IDiamondCutSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IDiamondCutSession) DiamondCut

func (_IDiamondCut *IDiamondCutSession) DiamondCut(_diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)

DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.

Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()

type IDiamondCutTransactor

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

IDiamondCutTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIDiamondCutTransactor

func NewIDiamondCutTransactor(address common.Address, transactor bind.ContractTransactor) (*IDiamondCutTransactor, error)

NewIDiamondCutTransactor creates a new write-only instance of IDiamondCut, bound to a specific deployed contract.

func (*IDiamondCutTransactor) DiamondCut

func (_IDiamondCut *IDiamondCutTransactor) DiamondCut(opts *bind.TransactOpts, _diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)

DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.

Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()

type IDiamondCutTransactorRaw

type IDiamondCutTransactorRaw struct {
	Contract *IDiamondCutTransactor // Generic write-only contract binding to access the raw methods on
}

IDiamondCutTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IDiamondCutTransactorRaw) Transact

func (_IDiamondCut *IDiamondCutTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IDiamondCutTransactorRaw) Transfer

func (_IDiamondCut *IDiamondCutTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IDiamondCutTransactorSession

type IDiamondCutTransactorSession struct {
	Contract     *IDiamondCutTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

IDiamondCutTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IDiamondCutTransactorSession) DiamondCut

func (_IDiamondCut *IDiamondCutTransactorSession) DiamondCut(_diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)

DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.

Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()

Jump to

Keyboard shortcuts

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