iauthorityfactory

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IAuthorityFactoryABI = IAuthorityFactoryMetaData.ABI

IAuthorityFactoryABI is the input ABI used to generate the binding from. Deprecated: Use IAuthorityFactoryMetaData.ABI instead.

View Source
var IAuthorityFactoryMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIAuthority\",\"name\":\"authority\",\"type\":\"address\"}],\"name\":\"AuthorityCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authorityOwner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"epochLength\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"calculateAuthorityAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authorityOwner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"epochLength\",\"type\":\"uint256\"}],\"name\":\"newAuthority\",\"outputs\":[{\"internalType\":\"contractIAuthority\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authorityOwner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"epochLength\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"newAuthority\",\"outputs\":[{\"internalType\":\"contractIAuthority\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IAuthorityFactoryMetaData contains all meta data concerning the IAuthorityFactory contract.

Functions

This section is empty.

Types

type IAuthorityFactory

type IAuthorityFactory struct {
	IAuthorityFactoryCaller     // Read-only binding to the contract
	IAuthorityFactoryTransactor // Write-only binding to the contract
	IAuthorityFactoryFilterer   // Log filterer for contract events
}

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

func NewIAuthorityFactory

func NewIAuthorityFactory(address common.Address, backend bind.ContractBackend) (*IAuthorityFactory, error)

NewIAuthorityFactory creates a new instance of IAuthorityFactory, bound to a specific deployed contract.

type IAuthorityFactoryAuthorityCreated

type IAuthorityFactoryAuthorityCreated struct {
	Authority common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

IAuthorityFactoryAuthorityCreated represents a AuthorityCreated event raised by the IAuthorityFactory contract.

type IAuthorityFactoryAuthorityCreatedIterator

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

IAuthorityFactoryAuthorityCreatedIterator is returned from FilterAuthorityCreated and is used to iterate over the raw logs and unpacked data for AuthorityCreated events raised by the IAuthorityFactory contract.

func (*IAuthorityFactoryAuthorityCreatedIterator) Close

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

func (*IAuthorityFactoryAuthorityCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAuthorityFactoryAuthorityCreatedIterator) 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 IAuthorityFactoryCaller

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

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

func NewIAuthorityFactoryCaller

func NewIAuthorityFactoryCaller(address common.Address, caller bind.ContractCaller) (*IAuthorityFactoryCaller, error)

NewIAuthorityFactoryCaller creates a new read-only instance of IAuthorityFactory, bound to a specific deployed contract.

func (*IAuthorityFactoryCaller) CalculateAuthorityAddress

func (_IAuthorityFactory *IAuthorityFactoryCaller) CalculateAuthorityAddress(opts *bind.CallOpts, authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (common.Address, error)

CalculateAuthorityAddress is a free data retrieval call binding the contract method 0x1442f7bb.

Solidity: function calculateAuthorityAddress(address authorityOwner, uint256 epochLength, bytes32 salt) view returns(address)

type IAuthorityFactoryCallerRaw

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

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

func (*IAuthorityFactoryCallerRaw) Call

func (_IAuthorityFactory *IAuthorityFactoryCallerRaw) 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 IAuthorityFactoryCallerSession

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

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

func (*IAuthorityFactoryCallerSession) CalculateAuthorityAddress

func (_IAuthorityFactory *IAuthorityFactoryCallerSession) CalculateAuthorityAddress(authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (common.Address, error)

CalculateAuthorityAddress is a free data retrieval call binding the contract method 0x1442f7bb.

Solidity: function calculateAuthorityAddress(address authorityOwner, uint256 epochLength, bytes32 salt) view returns(address)

type IAuthorityFactoryFilterer

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

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

func NewIAuthorityFactoryFilterer

func NewIAuthorityFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*IAuthorityFactoryFilterer, error)

NewIAuthorityFactoryFilterer creates a new log filterer instance of IAuthorityFactory, bound to a specific deployed contract.

func (*IAuthorityFactoryFilterer) FilterAuthorityCreated

func (_IAuthorityFactory *IAuthorityFactoryFilterer) FilterAuthorityCreated(opts *bind.FilterOpts) (*IAuthorityFactoryAuthorityCreatedIterator, error)

FilterAuthorityCreated is a free log retrieval operation binding the contract event 0xdca1fad70bee4ba7a4e17a1c6e99e657d2251af7a279124758bc01588abe2d2f.

Solidity: event AuthorityCreated(address authority)

func (*IAuthorityFactoryFilterer) ParseAuthorityCreated

func (_IAuthorityFactory *IAuthorityFactoryFilterer) ParseAuthorityCreated(log types.Log) (*IAuthorityFactoryAuthorityCreated, error)

ParseAuthorityCreated is a log parse operation binding the contract event 0xdca1fad70bee4ba7a4e17a1c6e99e657d2251af7a279124758bc01588abe2d2f.

Solidity: event AuthorityCreated(address authority)

func (*IAuthorityFactoryFilterer) WatchAuthorityCreated

func (_IAuthorityFactory *IAuthorityFactoryFilterer) WatchAuthorityCreated(opts *bind.WatchOpts, sink chan<- *IAuthorityFactoryAuthorityCreated) (event.Subscription, error)

WatchAuthorityCreated is a free log subscription operation binding the contract event 0xdca1fad70bee4ba7a4e17a1c6e99e657d2251af7a279124758bc01588abe2d2f.

Solidity: event AuthorityCreated(address authority)

type IAuthorityFactoryRaw

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

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

func (*IAuthorityFactoryRaw) Call

func (_IAuthorityFactory *IAuthorityFactoryRaw) 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 (*IAuthorityFactoryRaw) Transact

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

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

func (*IAuthorityFactoryRaw) Transfer

func (_IAuthorityFactory *IAuthorityFactoryRaw) 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 IAuthorityFactorySession

type IAuthorityFactorySession struct {
	Contract     *IAuthorityFactory // 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
}

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

func (*IAuthorityFactorySession) CalculateAuthorityAddress

func (_IAuthorityFactory *IAuthorityFactorySession) CalculateAuthorityAddress(authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (common.Address, error)

CalculateAuthorityAddress is a free data retrieval call binding the contract method 0x1442f7bb.

Solidity: function calculateAuthorityAddress(address authorityOwner, uint256 epochLength, bytes32 salt) view returns(address)

func (*IAuthorityFactorySession) NewAuthority

func (_IAuthorityFactory *IAuthorityFactorySession) NewAuthority(authorityOwner common.Address, epochLength *big.Int) (*types.Transaction, error)

NewAuthority is a paid mutator transaction binding the contract method 0x93d7217c.

Solidity: function newAuthority(address authorityOwner, uint256 epochLength) returns(address)

func (*IAuthorityFactorySession) NewAuthority0

func (_IAuthorityFactory *IAuthorityFactorySession) NewAuthority0(authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (*types.Transaction, error)

NewAuthority0 is a paid mutator transaction binding the contract method 0xec992668.

Solidity: function newAuthority(address authorityOwner, uint256 epochLength, bytes32 salt) returns(address)

type IAuthorityFactoryTransactor

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

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

func NewIAuthorityFactoryTransactor

func NewIAuthorityFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*IAuthorityFactoryTransactor, error)

NewIAuthorityFactoryTransactor creates a new write-only instance of IAuthorityFactory, bound to a specific deployed contract.

func (*IAuthorityFactoryTransactor) NewAuthority

func (_IAuthorityFactory *IAuthorityFactoryTransactor) NewAuthority(opts *bind.TransactOpts, authorityOwner common.Address, epochLength *big.Int) (*types.Transaction, error)

NewAuthority is a paid mutator transaction binding the contract method 0x93d7217c.

Solidity: function newAuthority(address authorityOwner, uint256 epochLength) returns(address)

func (*IAuthorityFactoryTransactor) NewAuthority0

func (_IAuthorityFactory *IAuthorityFactoryTransactor) NewAuthority0(opts *bind.TransactOpts, authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (*types.Transaction, error)

NewAuthority0 is a paid mutator transaction binding the contract method 0xec992668.

Solidity: function newAuthority(address authorityOwner, uint256 epochLength, bytes32 salt) returns(address)

type IAuthorityFactoryTransactorRaw

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

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

func (*IAuthorityFactoryTransactorRaw) Transact

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

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

func (*IAuthorityFactoryTransactorRaw) Transfer

func (_IAuthorityFactory *IAuthorityFactoryTransactorRaw) 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 IAuthorityFactoryTransactorSession

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

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

func (*IAuthorityFactoryTransactorSession) NewAuthority

func (_IAuthorityFactory *IAuthorityFactoryTransactorSession) NewAuthority(authorityOwner common.Address, epochLength *big.Int) (*types.Transaction, error)

NewAuthority is a paid mutator transaction binding the contract method 0x93d7217c.

Solidity: function newAuthority(address authorityOwner, uint256 epochLength) returns(address)

func (*IAuthorityFactoryTransactorSession) NewAuthority0

func (_IAuthorityFactory *IAuthorityFactoryTransactorSession) NewAuthority0(authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (*types.Transaction, error)

NewAuthority0 is a paid mutator transaction binding the contract method 0xec992668.

Solidity: function newAuthority(address authorityOwner, uint256 epochLength, bytes32 salt) returns(address)

Jump to

Keyboard shortcuts

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