iapplicationfactory

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 IApplicationFactoryABI = IApplicationFactoryMetaData.ABI

IApplicationFactoryABI is the input ABI used to generate the binding from. Deprecated: Use IApplicationFactoryMetaData.ABI instead.

View Source
var IApplicationFactoryMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIConsensus\",\"name\":\"consensus\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"appOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"templateHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"contractIApplication\",\"name\":\"appContract\",\"type\":\"address\"}],\"name\":\"ApplicationCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"consensus\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"appOwner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"templateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"calculateApplicationAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"consensus\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"appOwner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"templateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"newApplication\",\"outputs\":[{\"internalType\":\"contractIApplication\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"consensus\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"appOwner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"templateHash\",\"type\":\"bytes32\"}],\"name\":\"newApplication\",\"outputs\":[{\"internalType\":\"contractIApplication\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IApplicationFactoryMetaData contains all meta data concerning the IApplicationFactory contract.

Functions

This section is empty.

Types

type IApplicationFactory

type IApplicationFactory struct {
	IApplicationFactoryCaller     // Read-only binding to the contract
	IApplicationFactoryTransactor // Write-only binding to the contract
	IApplicationFactoryFilterer   // Log filterer for contract events
}

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

func NewIApplicationFactory

func NewIApplicationFactory(address common.Address, backend bind.ContractBackend) (*IApplicationFactory, error)

NewIApplicationFactory creates a new instance of IApplicationFactory, bound to a specific deployed contract.

type IApplicationFactoryApplicationCreated

type IApplicationFactoryApplicationCreated struct {
	Consensus    common.Address
	AppOwner     common.Address
	TemplateHash [32]byte
	AppContract  common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

IApplicationFactoryApplicationCreated represents a ApplicationCreated event raised by the IApplicationFactory contract.

type IApplicationFactoryApplicationCreatedIterator

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

IApplicationFactoryApplicationCreatedIterator is returned from FilterApplicationCreated and is used to iterate over the raw logs and unpacked data for ApplicationCreated events raised by the IApplicationFactory contract.

func (*IApplicationFactoryApplicationCreatedIterator) Close

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

func (*IApplicationFactoryApplicationCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IApplicationFactoryApplicationCreatedIterator) 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 IApplicationFactoryCaller

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

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

func NewIApplicationFactoryCaller

func NewIApplicationFactoryCaller(address common.Address, caller bind.ContractCaller) (*IApplicationFactoryCaller, error)

NewIApplicationFactoryCaller creates a new read-only instance of IApplicationFactory, bound to a specific deployed contract.

func (*IApplicationFactoryCaller) CalculateApplicationAddress

func (_IApplicationFactory *IApplicationFactoryCaller) CalculateApplicationAddress(opts *bind.CallOpts, consensus common.Address, appOwner common.Address, templateHash [32]byte, salt [32]byte) (common.Address, error)

CalculateApplicationAddress is a free data retrieval call binding the contract method 0xbd4f1219.

Solidity: function calculateApplicationAddress(address consensus, address appOwner, bytes32 templateHash, bytes32 salt) view returns(address)

type IApplicationFactoryCallerRaw

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

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

func (*IApplicationFactoryCallerRaw) Call

func (_IApplicationFactory *IApplicationFactoryCallerRaw) 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 IApplicationFactoryCallerSession

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

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

func (*IApplicationFactoryCallerSession) CalculateApplicationAddress

func (_IApplicationFactory *IApplicationFactoryCallerSession) CalculateApplicationAddress(consensus common.Address, appOwner common.Address, templateHash [32]byte, salt [32]byte) (common.Address, error)

CalculateApplicationAddress is a free data retrieval call binding the contract method 0xbd4f1219.

Solidity: function calculateApplicationAddress(address consensus, address appOwner, bytes32 templateHash, bytes32 salt) view returns(address)

type IApplicationFactoryFilterer

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

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

func NewIApplicationFactoryFilterer

func NewIApplicationFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*IApplicationFactoryFilterer, error)

NewIApplicationFactoryFilterer creates a new log filterer instance of IApplicationFactory, bound to a specific deployed contract.

func (*IApplicationFactoryFilterer) FilterApplicationCreated

func (_IApplicationFactory *IApplicationFactoryFilterer) FilterApplicationCreated(opts *bind.FilterOpts, consensus []common.Address) (*IApplicationFactoryApplicationCreatedIterator, error)

FilterApplicationCreated is a free log retrieval operation binding the contract event 0xe73165c2d277daf8713fd08b40845cb6bb7a20b2b543f3d35324a475660fcebd.

Solidity: event ApplicationCreated(address indexed consensus, address appOwner, bytes32 templateHash, address appContract)

func (*IApplicationFactoryFilterer) ParseApplicationCreated

func (_IApplicationFactory *IApplicationFactoryFilterer) ParseApplicationCreated(log types.Log) (*IApplicationFactoryApplicationCreated, error)

ParseApplicationCreated is a log parse operation binding the contract event 0xe73165c2d277daf8713fd08b40845cb6bb7a20b2b543f3d35324a475660fcebd.

Solidity: event ApplicationCreated(address indexed consensus, address appOwner, bytes32 templateHash, address appContract)

func (*IApplicationFactoryFilterer) WatchApplicationCreated

func (_IApplicationFactory *IApplicationFactoryFilterer) WatchApplicationCreated(opts *bind.WatchOpts, sink chan<- *IApplicationFactoryApplicationCreated, consensus []common.Address) (event.Subscription, error)

WatchApplicationCreated is a free log subscription operation binding the contract event 0xe73165c2d277daf8713fd08b40845cb6bb7a20b2b543f3d35324a475660fcebd.

Solidity: event ApplicationCreated(address indexed consensus, address appOwner, bytes32 templateHash, address appContract)

type IApplicationFactoryRaw

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

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

func (*IApplicationFactoryRaw) Call

func (_IApplicationFactory *IApplicationFactoryRaw) 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 (*IApplicationFactoryRaw) Transact

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

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

func (*IApplicationFactoryRaw) Transfer

func (_IApplicationFactory *IApplicationFactoryRaw) 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 IApplicationFactorySession

type IApplicationFactorySession struct {
	Contract     *IApplicationFactory // 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
}

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

func (*IApplicationFactorySession) CalculateApplicationAddress

func (_IApplicationFactory *IApplicationFactorySession) CalculateApplicationAddress(consensus common.Address, appOwner common.Address, templateHash [32]byte, salt [32]byte) (common.Address, error)

CalculateApplicationAddress is a free data retrieval call binding the contract method 0xbd4f1219.

Solidity: function calculateApplicationAddress(address consensus, address appOwner, bytes32 templateHash, bytes32 salt) view returns(address)

func (*IApplicationFactorySession) NewApplication

func (_IApplicationFactory *IApplicationFactorySession) NewApplication(consensus common.Address, appOwner common.Address, templateHash [32]byte, salt [32]byte) (*types.Transaction, error)

NewApplication is a paid mutator transaction binding the contract method 0x0e1a07f5.

Solidity: function newApplication(address consensus, address appOwner, bytes32 templateHash, bytes32 salt) returns(address)

func (*IApplicationFactorySession) NewApplication0

func (_IApplicationFactory *IApplicationFactorySession) NewApplication0(consensus common.Address, appOwner common.Address, templateHash [32]byte) (*types.Transaction, error)

NewApplication0 is a paid mutator transaction binding the contract method 0x3648bfb5.

Solidity: function newApplication(address consensus, address appOwner, bytes32 templateHash) returns(address)

type IApplicationFactoryTransactor

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

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

func NewIApplicationFactoryTransactor

func NewIApplicationFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*IApplicationFactoryTransactor, error)

NewIApplicationFactoryTransactor creates a new write-only instance of IApplicationFactory, bound to a specific deployed contract.

func (*IApplicationFactoryTransactor) NewApplication

func (_IApplicationFactory *IApplicationFactoryTransactor) NewApplication(opts *bind.TransactOpts, consensus common.Address, appOwner common.Address, templateHash [32]byte, salt [32]byte) (*types.Transaction, error)

NewApplication is a paid mutator transaction binding the contract method 0x0e1a07f5.

Solidity: function newApplication(address consensus, address appOwner, bytes32 templateHash, bytes32 salt) returns(address)

func (*IApplicationFactoryTransactor) NewApplication0

func (_IApplicationFactory *IApplicationFactoryTransactor) NewApplication0(opts *bind.TransactOpts, consensus common.Address, appOwner common.Address, templateHash [32]byte) (*types.Transaction, error)

NewApplication0 is a paid mutator transaction binding the contract method 0x3648bfb5.

Solidity: function newApplication(address consensus, address appOwner, bytes32 templateHash) returns(address)

type IApplicationFactoryTransactorRaw

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

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

func (*IApplicationFactoryTransactorRaw) Transact

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

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

func (*IApplicationFactoryTransactorRaw) Transfer

func (_IApplicationFactory *IApplicationFactoryTransactorRaw) 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 IApplicationFactoryTransactorSession

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

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

func (*IApplicationFactoryTransactorSession) NewApplication

func (_IApplicationFactory *IApplicationFactoryTransactorSession) NewApplication(consensus common.Address, appOwner common.Address, templateHash [32]byte, salt [32]byte) (*types.Transaction, error)

NewApplication is a paid mutator transaction binding the contract method 0x0e1a07f5.

Solidity: function newApplication(address consensus, address appOwner, bytes32 templateHash, bytes32 salt) returns(address)

func (*IApplicationFactoryTransactorSession) NewApplication0

func (_IApplicationFactory *IApplicationFactoryTransactorSession) NewApplication0(consensus common.Address, appOwner common.Address, templateHash [32]byte) (*types.Transaction, error)

NewApplication0 is a paid mutator transaction binding the contract method 0x3648bfb5.

Solidity: function newApplication(address consensus, address appOwner, bytes32 templateHash) returns(address)

Jump to

Keyboard shortcuts

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