Documentation ¶
Overview ¶
This package contains the contract bindings for Cartesi Rollups.
Index ¶
- Variables
- type Application
- type ApplicationCaller
- func (_Application *ApplicationCaller) GetConsensus(opts *bind.CallOpts) (common.Address, error)
- func (_Application *ApplicationCaller) GetTemplateHash(opts *bind.CallOpts) ([32]byte, error)
- func (_Application *ApplicationCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Application *ApplicationCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Application *ApplicationCaller) ValidateOutput(opts *bind.CallOpts, output []byte, proof OutputValidityProof) error
- func (_Application *ApplicationCaller) ValidateOutputHash(opts *bind.CallOpts, outputHash [32]byte, proof OutputValidityProof) error
- func (_Application *ApplicationCaller) WasOutputExecuted(opts *bind.CallOpts, outputIndex *big.Int) (bool, error)
- type ApplicationCallerRaw
- type ApplicationCallerSession
- func (_Application *ApplicationCallerSession) GetConsensus() (common.Address, error)
- func (_Application *ApplicationCallerSession) GetTemplateHash() ([32]byte, error)
- func (_Application *ApplicationCallerSession) Owner() (common.Address, error)
- func (_Application *ApplicationCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Application *ApplicationCallerSession) ValidateOutput(output []byte, proof OutputValidityProof) error
- func (_Application *ApplicationCallerSession) ValidateOutputHash(outputHash [32]byte, proof OutputValidityProof) error
- func (_Application *ApplicationCallerSession) WasOutputExecuted(outputIndex *big.Int) (bool, error)
- type ApplicationFilterer
- func (_Application *ApplicationFilterer) FilterNewConsensus(opts *bind.FilterOpts) (*ApplicationNewConsensusIterator, error)
- func (_Application *ApplicationFilterer) FilterOutputExecuted(opts *bind.FilterOpts) (*ApplicationOutputExecutedIterator, error)
- func (_Application *ApplicationFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ApplicationOwnershipTransferredIterator, error)
- func (_Application *ApplicationFilterer) ParseNewConsensus(log types.Log) (*ApplicationNewConsensus, error)
- func (_Application *ApplicationFilterer) ParseOutputExecuted(log types.Log) (*ApplicationOutputExecuted, error)
- func (_Application *ApplicationFilterer) ParseOwnershipTransferred(log types.Log) (*ApplicationOwnershipTransferred, error)
- func (_Application *ApplicationFilterer) WatchNewConsensus(opts *bind.WatchOpts, sink chan<- *ApplicationNewConsensus) (event.Subscription, error)
- func (_Application *ApplicationFilterer) WatchOutputExecuted(opts *bind.WatchOpts, sink chan<- *ApplicationOutputExecuted) (event.Subscription, error)
- func (_Application *ApplicationFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ApplicationOwnershipTransferred, ...) (event.Subscription, error)
- type ApplicationNewConsensus
- type ApplicationNewConsensusIterator
- type ApplicationOutputExecuted
- type ApplicationOutputExecutedIterator
- type ApplicationOwnershipTransferred
- type ApplicationOwnershipTransferredIterator
- type ApplicationRaw
- func (_Application *ApplicationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Application *ApplicationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Application *ApplicationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ApplicationSession
- func (_Application *ApplicationSession) ExecuteOutput(output []byte, proof OutputValidityProof) (*types.Transaction, error)
- func (_Application *ApplicationSession) GetConsensus() (common.Address, error)
- func (_Application *ApplicationSession) GetTemplateHash() ([32]byte, error)
- func (_Application *ApplicationSession) MigrateToConsensus(newConsensus common.Address) (*types.Transaction, error)
- func (_Application *ApplicationSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_Application *ApplicationSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_Application *ApplicationSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
- func (_Application *ApplicationSession) Owner() (common.Address, error)
- func (_Application *ApplicationSession) Receive() (*types.Transaction, error)
- func (_Application *ApplicationSession) RenounceOwnership() (*types.Transaction, error)
- func (_Application *ApplicationSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Application *ApplicationSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Application *ApplicationSession) ValidateOutput(output []byte, proof OutputValidityProof) error
- func (_Application *ApplicationSession) ValidateOutputHash(outputHash [32]byte, proof OutputValidityProof) error
- func (_Application *ApplicationSession) WasOutputExecuted(outputIndex *big.Int) (bool, error)
- type ApplicationTransactor
- func (_Application *ApplicationTransactor) ExecuteOutput(opts *bind.TransactOpts, output []byte, proof OutputValidityProof) (*types.Transaction, error)
- func (_Application *ApplicationTransactor) MigrateToConsensus(opts *bind.TransactOpts, newConsensus common.Address) (*types.Transaction, error)
- func (_Application *ApplicationTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_Application *ApplicationTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_Application *ApplicationTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_Application *ApplicationTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Application *ApplicationTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Application *ApplicationTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type ApplicationTransactorRaw
- type ApplicationTransactorSession
- func (_Application *ApplicationTransactorSession) ExecuteOutput(output []byte, proof OutputValidityProof) (*types.Transaction, error)
- func (_Application *ApplicationTransactorSession) MigrateToConsensus(newConsensus common.Address) (*types.Transaction, error)
- func (_Application *ApplicationTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_Application *ApplicationTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_Application *ApplicationTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
- func (_Application *ApplicationTransactorSession) Receive() (*types.Transaction, error)
- func (_Application *ApplicationTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Application *ApplicationTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type EIP712
- type EIP712Caller
- type EIP712CallerRaw
- type EIP712CallerSession
- type EIP712EIP712DomainChanged
- type EIP712EIP712DomainChangedIterator
- type EIP712Filterer
- func (_EIP712 *EIP712Filterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*EIP712EIP712DomainChangedIterator, error)
- func (_EIP712 *EIP712Filterer) ParseEIP712DomainChanged(log types.Log) (*EIP712EIP712DomainChanged, error)
- func (_EIP712 *EIP712Filterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *EIP712EIP712DomainChanged) (event.Subscription, error)
- type EIP712Raw
- func (_EIP712 *EIP712Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_EIP712 *EIP712Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EIP712 *EIP712Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EIP712Session
- type EIP712Transactor
- type EIP712TransactorRaw
- type EIP712TransactorSession
- type IApplicationFactory
- type IApplicationFactoryApplicationCreated
- type IApplicationFactoryApplicationCreatedIterator
- type IApplicationFactoryCaller
- type IApplicationFactoryCallerRaw
- type IApplicationFactoryCallerSession
- type IApplicationFactoryFilterer
- func (_IApplicationFactory *IApplicationFactoryFilterer) FilterApplicationCreated(opts *bind.FilterOpts, consensus []common.Address) (*IApplicationFactoryApplicationCreatedIterator, error)
- func (_IApplicationFactory *IApplicationFactoryFilterer) ParseApplicationCreated(log types.Log) (*IApplicationFactoryApplicationCreated, error)
- func (_IApplicationFactory *IApplicationFactoryFilterer) WatchApplicationCreated(opts *bind.WatchOpts, sink chan<- *IApplicationFactoryApplicationCreated, ...) (event.Subscription, error)
- type IApplicationFactoryRaw
- func (_IApplicationFactory *IApplicationFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IApplicationFactory *IApplicationFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IApplicationFactory *IApplicationFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IApplicationFactorySession
- func (_IApplicationFactory *IApplicationFactorySession) CalculateApplicationAddress(consensus common.Address, appOwner common.Address, templateHash [32]byte, ...) (common.Address, error)
- func (_IApplicationFactory *IApplicationFactorySession) NewApplication(consensus common.Address, appOwner common.Address, templateHash [32]byte, ...) (*types.Transaction, error)
- func (_IApplicationFactory *IApplicationFactorySession) NewApplication0(consensus common.Address, appOwner common.Address, templateHash [32]byte) (*types.Transaction, error)
- type IApplicationFactoryTransactor
- func (_IApplicationFactory *IApplicationFactoryTransactor) NewApplication(opts *bind.TransactOpts, consensus common.Address, appOwner common.Address, ...) (*types.Transaction, error)
- func (_IApplicationFactory *IApplicationFactoryTransactor) NewApplication0(opts *bind.TransactOpts, consensus common.Address, appOwner common.Address, ...) (*types.Transaction, error)
- type IApplicationFactoryTransactorRaw
- type IApplicationFactoryTransactorSession
- func (_IApplicationFactory *IApplicationFactoryTransactorSession) NewApplication(consensus common.Address, appOwner common.Address, templateHash [32]byte, ...) (*types.Transaction, error)
- func (_IApplicationFactory *IApplicationFactoryTransactorSession) NewApplication0(consensus common.Address, appOwner common.Address, templateHash [32]byte) (*types.Transaction, error)
- type IAuthorityFactory
- type IAuthorityFactoryAuthorityCreated
- type IAuthorityFactoryAuthorityCreatedIterator
- type IAuthorityFactoryCaller
- type IAuthorityFactoryCallerRaw
- type IAuthorityFactoryCallerSession
- type IAuthorityFactoryFilterer
- func (_IAuthorityFactory *IAuthorityFactoryFilterer) FilterAuthorityCreated(opts *bind.FilterOpts) (*IAuthorityFactoryAuthorityCreatedIterator, error)
- func (_IAuthorityFactory *IAuthorityFactoryFilterer) ParseAuthorityCreated(log types.Log) (*IAuthorityFactoryAuthorityCreated, error)
- func (_IAuthorityFactory *IAuthorityFactoryFilterer) WatchAuthorityCreated(opts *bind.WatchOpts, sink chan<- *IAuthorityFactoryAuthorityCreated) (event.Subscription, error)
- type IAuthorityFactoryRaw
- func (_IAuthorityFactory *IAuthorityFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IAuthorityFactory *IAuthorityFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IAuthorityFactory *IAuthorityFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IAuthorityFactorySession
- func (_IAuthorityFactory *IAuthorityFactorySession) CalculateAuthorityAddress(authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (common.Address, error)
- func (_IAuthorityFactory *IAuthorityFactorySession) NewAuthority(authorityOwner common.Address, epochLength *big.Int) (*types.Transaction, error)
- func (_IAuthorityFactory *IAuthorityFactorySession) NewAuthority0(authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (*types.Transaction, error)
- type IAuthorityFactoryTransactor
- func (_IAuthorityFactory *IAuthorityFactoryTransactor) NewAuthority(opts *bind.TransactOpts, authorityOwner common.Address, epochLength *big.Int) (*types.Transaction, error)
- func (_IAuthorityFactory *IAuthorityFactoryTransactor) NewAuthority0(opts *bind.TransactOpts, authorityOwner common.Address, epochLength *big.Int, ...) (*types.Transaction, error)
- type IAuthorityFactoryTransactorRaw
- type IAuthorityFactoryTransactorSession
- func (_IAuthorityFactory *IAuthorityFactoryTransactorSession) NewAuthority(authorityOwner common.Address, epochLength *big.Int) (*types.Transaction, error)
- func (_IAuthorityFactory *IAuthorityFactoryTransactorSession) NewAuthority0(authorityOwner common.Address, epochLength *big.Int, salt [32]byte) (*types.Transaction, error)
- type IConsensus
- type IConsensusCaller
- type IConsensusCallerRaw
- type IConsensusCallerSession
- type IConsensusClaimAcceptance
- type IConsensusClaimAcceptanceIterator
- type IConsensusClaimSubmission
- type IConsensusClaimSubmissionIterator
- type IConsensusFilterer
- func (_IConsensus *IConsensusFilterer) FilterClaimAcceptance(opts *bind.FilterOpts, appContract []common.Address) (*IConsensusClaimAcceptanceIterator, error)
- func (_IConsensus *IConsensusFilterer) FilterClaimSubmission(opts *bind.FilterOpts, submitter []common.Address, ...) (*IConsensusClaimSubmissionIterator, error)
- func (_IConsensus *IConsensusFilterer) ParseClaimAcceptance(log types.Log) (*IConsensusClaimAcceptance, error)
- func (_IConsensus *IConsensusFilterer) ParseClaimSubmission(log types.Log) (*IConsensusClaimSubmission, error)
- func (_IConsensus *IConsensusFilterer) WatchClaimAcceptance(opts *bind.WatchOpts, sink chan<- *IConsensusClaimAcceptance, ...) (event.Subscription, error)
- func (_IConsensus *IConsensusFilterer) WatchClaimSubmission(opts *bind.WatchOpts, sink chan<- *IConsensusClaimSubmission, ...) (event.Subscription, error)
- type IConsensusRaw
- func (_IConsensus *IConsensusRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IConsensus *IConsensusRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IConsensus *IConsensusRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IConsensusSession
- func (_IConsensus *IConsensusSession) GetEpochLength() (*big.Int, error)
- func (_IConsensus *IConsensusSession) SubmitClaim(appContract common.Address, lastProcessedBlockNumber *big.Int, claim [32]byte) (*types.Transaction, error)
- func (_IConsensus *IConsensusSession) WasClaimAccepted(appContract common.Address, claim [32]byte) (bool, error)
- type IConsensusTransactor
- type IConsensusTransactorRaw
- type IConsensusTransactorSession
- type InputBox
- type InputBoxCaller
- type InputBoxCallerRaw
- type InputBoxCallerSession
- type InputBoxFilterer
- func (_InputBox *InputBoxFilterer) FilterInputAdded(opts *bind.FilterOpts, appContract []common.Address, index []*big.Int) (*InputBoxInputAddedIterator, error)
- func (_InputBox *InputBoxFilterer) ParseInputAdded(log types.Log) (*InputBoxInputAdded, error)
- func (_InputBox *InputBoxFilterer) WatchInputAdded(opts *bind.WatchOpts, sink chan<- *InputBoxInputAdded, ...) (event.Subscription, error)
- type InputBoxInputAdded
- type InputBoxInputAddedIterator
- type InputBoxRaw
- func (_InputBox *InputBoxRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InputBox *InputBoxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InputBox *InputBoxRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InputBoxSession
- func (_InputBox *InputBoxSession) AddInput(appContract common.Address, payload []byte) (*types.Transaction, error)
- func (_InputBox *InputBoxSession) GetInputHash(appContract common.Address, index *big.Int) ([32]byte, error)
- func (_InputBox *InputBoxSession) GetNumberOfInputs(appContract common.Address) (*big.Int, error)
- type InputBoxTransactor
- type InputBoxTransactorRaw
- type InputBoxTransactorSession
- type Inputs
- type InputsCaller
- type InputsCallerRaw
- type InputsCallerSession
- type InputsFilterer
- type InputsRaw
- func (_Inputs *InputsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Inputs *InputsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Inputs *InputsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InputsSession
- type InputsTransactor
- type InputsTransactorRaw
- type InputsTransactorSession
- type OutputValidityProof
- type Outputs
- type OutputsCaller
- type OutputsCallerRaw
- type OutputsCallerSession
- type OutputsFilterer
- type OutputsRaw
- func (_Outputs *OutputsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Outputs *OutputsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Outputs *OutputsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OutputsSession
- func (_Outputs *OutputsSession) DelegateCallVoucher(destination common.Address, payload []byte) (*types.Transaction, error)
- func (_Outputs *OutputsSession) Notice(payload []byte) (*types.Transaction, error)
- func (_Outputs *OutputsSession) Voucher(destination common.Address, value *big.Int, payload []byte) (*types.Transaction, error)
- type OutputsTransactor
- func (_Outputs *OutputsTransactor) DelegateCallVoucher(opts *bind.TransactOpts, destination common.Address, payload []byte) (*types.Transaction, error)
- func (_Outputs *OutputsTransactor) Notice(opts *bind.TransactOpts, payload []byte) (*types.Transaction, error)
- func (_Outputs *OutputsTransactor) Voucher(opts *bind.TransactOpts, destination common.Address, value *big.Int, ...) (*types.Transaction, error)
- type OutputsTransactorRaw
- type OutputsTransactorSession
- func (_Outputs *OutputsTransactorSession) DelegateCallVoucher(destination common.Address, payload []byte) (*types.Transaction, error)
- func (_Outputs *OutputsTransactorSession) Notice(payload []byte) (*types.Transaction, error)
- func (_Outputs *OutputsTransactorSession) Voucher(destination common.Address, value *big.Int, payload []byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ApplicationABI = ApplicationMetaData.ABI
ApplicationABI is the input ABI used to generate the binding from. Deprecated: Use ApplicationMetaData.ABI instead.
var ApplicationMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"consensus\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"templateHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"claim\",\"type\":\"bytes32\"}],\"name\":\"ClaimNotAccepted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOutputHashesSiblingsArrayLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"name\":\"OutputNotExecutable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"name\":\"OutputNotReexecutable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIConsensus\",\"name\":\"newConsensus\",\"type\":\"address\"}],\"name\":\"NewConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"outputIndex\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"name\":\"OutputExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"outputIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"executeOutput\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConsensus\",\"outputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTemplateHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"newConsensus\",\"type\":\"address\"}],\"name\":\"migrateToConsensus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"outputIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"validateOutput\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"outputHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"outputIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"validateOutputHash\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"outputIndex\",\"type\":\"uint256\"}],\"name\":\"wasOutputExecuted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
ApplicationMetaData contains all meta data concerning the Application contract.
var EIP712ABI = EIP712MetaData.ABI
EIP712ABI is the input ABI used to generate the binding from. Deprecated: Use EIP712MetaData.ABI instead.
var EIP712MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
EIP712MetaData contains all meta data concerning the EIP712 contract.
var IApplicationFactoryABI = IApplicationFactoryMetaData.ABI
IApplicationFactoryABI is the input ABI used to generate the binding from. Deprecated: Use IApplicationFactoryMetaData.ABI instead.
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.
var IAuthorityFactoryABI = IAuthorityFactoryMetaData.ABI
IAuthorityFactoryABI is the input ABI used to generate the binding from. Deprecated: Use IAuthorityFactoryMetaData.ABI instead.
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.
var IConsensusABI = IConsensusMetaData.ABI
IConsensusABI is the input ABI used to generate the binding from. Deprecated: Use IConsensusMetaData.ABI instead.
var IConsensusMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lastProcessedBlockNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"claim\",\"type\":\"bytes32\"}],\"name\":\"ClaimAcceptance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"submitter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lastProcessedBlockNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"claim\",\"type\":\"bytes32\"}],\"name\":\"ClaimSubmission\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getEpochLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"lastProcessedBlockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"claim\",\"type\":\"bytes32\"}],\"name\":\"submitClaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"claim\",\"type\":\"bytes32\"}],\"name\":\"wasClaimAccepted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
IConsensusMetaData contains all meta data concerning the IConsensus contract.
var InputBoxABI = InputBoxMetaData.ABI
InputBoxABI is the input ABI used to generate the binding from. Deprecated: Use InputBoxMetaData.ABI instead.
var InputBoxMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inputLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxInputLength\",\"type\":\"uint256\"}],\"name\":\"InputTooLarge\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"name\":\"InputAdded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"addInput\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getInputHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"}],\"name\":\"getNumberOfInputs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
InputBoxMetaData contains all meta data concerning the InputBox contract.
var InputsABI = InputsMetaData.ABI
InputsABI is the input ABI used to generate the binding from. Deprecated: Use InputsMetaData.ABI instead.
var InputsMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevRandao\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"EvmAdvance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
InputsMetaData contains all meta data concerning the Inputs contract.
var OutputsABI = OutputsMetaData.ABI
OutputsABI is the input ABI used to generate the binding from. Deprecated: Use OutputsMetaData.ABI instead.
var OutputsMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"DelegateCallVoucher\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"Notice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"Voucher\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
OutputsMetaData contains all meta data concerning the Outputs contract.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { ApplicationCaller // Read-only binding to the contract ApplicationTransactor // Write-only binding to the contract ApplicationFilterer // Log filterer for contract events }
Application is an auto generated Go binding around an Ethereum contract.
func NewApplication ¶
func NewApplication(address common.Address, backend bind.ContractBackend) (*Application, error)
NewApplication creates a new instance of Application, bound to a specific deployed contract.
type ApplicationCaller ¶
type ApplicationCaller struct {
// contains filtered or unexported fields
}
ApplicationCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewApplicationCaller ¶
func NewApplicationCaller(address common.Address, caller bind.ContractCaller) (*ApplicationCaller, error)
NewApplicationCaller creates a new read-only instance of Application, bound to a specific deployed contract.
func (*ApplicationCaller) GetConsensus ¶
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*ApplicationCaller) GetTemplateHash ¶
func (_Application *ApplicationCaller) GetTemplateHash(opts *bind.CallOpts) ([32]byte, error)
GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.
Solidity: function getTemplateHash() view returns(bytes32)
func (*ApplicationCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ApplicationCaller) SupportsInterface ¶
func (_Application *ApplicationCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ApplicationCaller) ValidateOutput ¶
func (_Application *ApplicationCaller) ValidateOutput(opts *bind.CallOpts, output []byte, proof OutputValidityProof) error
ValidateOutput is a free data retrieval call binding the contract method 0xe88d39c0.
Solidity: function validateOutput(bytes output, (uint64,bytes32[]) proof) view returns()
func (*ApplicationCaller) ValidateOutputHash ¶
func (_Application *ApplicationCaller) ValidateOutputHash(opts *bind.CallOpts, outputHash [32]byte, proof OutputValidityProof) error
ValidateOutputHash is a free data retrieval call binding the contract method 0x08eb89ab.
Solidity: function validateOutputHash(bytes32 outputHash, (uint64,bytes32[]) proof) view returns()
func (*ApplicationCaller) WasOutputExecuted ¶
func (_Application *ApplicationCaller) WasOutputExecuted(opts *bind.CallOpts, outputIndex *big.Int) (bool, error)
WasOutputExecuted is a free data retrieval call binding the contract method 0x71891db0.
Solidity: function wasOutputExecuted(uint256 outputIndex) view returns(bool)
type ApplicationCallerRaw ¶
type ApplicationCallerRaw struct {
Contract *ApplicationCaller // Generic read-only contract binding to access the raw methods on
}
ApplicationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ApplicationCallerRaw) Call ¶
func (_Application *ApplicationCallerRaw) 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 ApplicationCallerSession ¶
type ApplicationCallerSession struct { Contract *ApplicationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ApplicationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ApplicationCallerSession) GetConsensus ¶
func (_Application *ApplicationCallerSession) GetConsensus() (common.Address, error)
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*ApplicationCallerSession) GetTemplateHash ¶
func (_Application *ApplicationCallerSession) GetTemplateHash() ([32]byte, error)
GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.
Solidity: function getTemplateHash() view returns(bytes32)
func (*ApplicationCallerSession) Owner ¶
func (_Application *ApplicationCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ApplicationCallerSession) SupportsInterface ¶
func (_Application *ApplicationCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ApplicationCallerSession) ValidateOutput ¶
func (_Application *ApplicationCallerSession) ValidateOutput(output []byte, proof OutputValidityProof) error
ValidateOutput is a free data retrieval call binding the contract method 0xe88d39c0.
Solidity: function validateOutput(bytes output, (uint64,bytes32[]) proof) view returns()
func (*ApplicationCallerSession) ValidateOutputHash ¶
func (_Application *ApplicationCallerSession) ValidateOutputHash(outputHash [32]byte, proof OutputValidityProof) error
ValidateOutputHash is a free data retrieval call binding the contract method 0x08eb89ab.
Solidity: function validateOutputHash(bytes32 outputHash, (uint64,bytes32[]) proof) view returns()
func (*ApplicationCallerSession) WasOutputExecuted ¶
func (_Application *ApplicationCallerSession) WasOutputExecuted(outputIndex *big.Int) (bool, error)
WasOutputExecuted is a free data retrieval call binding the contract method 0x71891db0.
Solidity: function wasOutputExecuted(uint256 outputIndex) view returns(bool)
type ApplicationFilterer ¶
type ApplicationFilterer struct {
// contains filtered or unexported fields
}
ApplicationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewApplicationFilterer ¶
func NewApplicationFilterer(address common.Address, filterer bind.ContractFilterer) (*ApplicationFilterer, error)
NewApplicationFilterer creates a new log filterer instance of Application, bound to a specific deployed contract.
func (*ApplicationFilterer) FilterNewConsensus ¶
func (_Application *ApplicationFilterer) FilterNewConsensus(opts *bind.FilterOpts) (*ApplicationNewConsensusIterator, error)
FilterNewConsensus is a free log retrieval operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*ApplicationFilterer) FilterOutputExecuted ¶
func (_Application *ApplicationFilterer) FilterOutputExecuted(opts *bind.FilterOpts) (*ApplicationOutputExecutedIterator, error)
FilterOutputExecuted is a free log retrieval operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.
Solidity: event OutputExecuted(uint64 outputIndex, bytes output)
func (*ApplicationFilterer) FilterOwnershipTransferred ¶
func (_Application *ApplicationFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ApplicationOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ApplicationFilterer) ParseNewConsensus ¶
func (_Application *ApplicationFilterer) ParseNewConsensus(log types.Log) (*ApplicationNewConsensus, error)
ParseNewConsensus is a log parse operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*ApplicationFilterer) ParseOutputExecuted ¶
func (_Application *ApplicationFilterer) ParseOutputExecuted(log types.Log) (*ApplicationOutputExecuted, error)
ParseOutputExecuted is a log parse operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.
Solidity: event OutputExecuted(uint64 outputIndex, bytes output)
func (*ApplicationFilterer) ParseOwnershipTransferred ¶
func (_Application *ApplicationFilterer) ParseOwnershipTransferred(log types.Log) (*ApplicationOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ApplicationFilterer) WatchNewConsensus ¶
func (_Application *ApplicationFilterer) WatchNewConsensus(opts *bind.WatchOpts, sink chan<- *ApplicationNewConsensus) (event.Subscription, error)
WatchNewConsensus is a free log subscription operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*ApplicationFilterer) WatchOutputExecuted ¶
func (_Application *ApplicationFilterer) WatchOutputExecuted(opts *bind.WatchOpts, sink chan<- *ApplicationOutputExecuted) (event.Subscription, error)
WatchOutputExecuted is a free log subscription operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.
Solidity: event OutputExecuted(uint64 outputIndex, bytes output)
func (*ApplicationFilterer) WatchOwnershipTransferred ¶
func (_Application *ApplicationFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ApplicationOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type ApplicationNewConsensus ¶
type ApplicationNewConsensus struct { NewConsensus common.Address Raw types.Log // Blockchain specific contextual infos }
ApplicationNewConsensus represents a NewConsensus event raised by the Application contract.
type ApplicationNewConsensusIterator ¶
type ApplicationNewConsensusIterator struct { Event *ApplicationNewConsensus // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ApplicationNewConsensusIterator is returned from FilterNewConsensus and is used to iterate over the raw logs and unpacked data for NewConsensus events raised by the Application contract.
func (*ApplicationNewConsensusIterator) Close ¶
func (it *ApplicationNewConsensusIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ApplicationNewConsensusIterator) Error ¶
func (it *ApplicationNewConsensusIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ApplicationNewConsensusIterator) Next ¶
func (it *ApplicationNewConsensusIterator) Next() bool
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 ApplicationOutputExecuted ¶
type ApplicationOutputExecuted struct { OutputIndex uint64 Output []byte Raw types.Log // Blockchain specific contextual infos }
ApplicationOutputExecuted represents a OutputExecuted event raised by the Application contract.
type ApplicationOutputExecutedIterator ¶
type ApplicationOutputExecutedIterator struct { Event *ApplicationOutputExecuted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ApplicationOutputExecutedIterator is returned from FilterOutputExecuted and is used to iterate over the raw logs and unpacked data for OutputExecuted events raised by the Application contract.
func (*ApplicationOutputExecutedIterator) Close ¶
func (it *ApplicationOutputExecutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ApplicationOutputExecutedIterator) Error ¶
func (it *ApplicationOutputExecutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ApplicationOutputExecutedIterator) Next ¶
func (it *ApplicationOutputExecutedIterator) Next() bool
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 ApplicationOwnershipTransferred ¶
type ApplicationOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ApplicationOwnershipTransferred represents a OwnershipTransferred event raised by the Application contract.
type ApplicationOwnershipTransferredIterator ¶
type ApplicationOwnershipTransferredIterator struct { Event *ApplicationOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ApplicationOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Application contract.
func (*ApplicationOwnershipTransferredIterator) Close ¶
func (it *ApplicationOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ApplicationOwnershipTransferredIterator) Error ¶
func (it *ApplicationOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ApplicationOwnershipTransferredIterator) Next ¶
func (it *ApplicationOwnershipTransferredIterator) Next() bool
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 ApplicationRaw ¶
type ApplicationRaw struct {
Contract *Application // Generic contract binding to access the raw methods on
}
ApplicationRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ApplicationRaw) Call ¶
func (_Application *ApplicationRaw) 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 (*ApplicationRaw) Transact ¶
func (_Application *ApplicationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ApplicationRaw) Transfer ¶
func (_Application *ApplicationRaw) 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 ApplicationSession ¶
type ApplicationSession struct { Contract *Application // 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 }
ApplicationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ApplicationSession) ExecuteOutput ¶
func (_Application *ApplicationSession) ExecuteOutput(output []byte, proof OutputValidityProof) (*types.Transaction, error)
ExecuteOutput is a paid mutator transaction binding the contract method 0x33137b76.
Solidity: function executeOutput(bytes output, (uint64,bytes32[]) proof) returns()
func (*ApplicationSession) GetConsensus ¶
func (_Application *ApplicationSession) GetConsensus() (common.Address, error)
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*ApplicationSession) GetTemplateHash ¶
func (_Application *ApplicationSession) GetTemplateHash() ([32]byte, error)
GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.
Solidity: function getTemplateHash() view returns(bytes32)
func (*ApplicationSession) MigrateToConsensus ¶
func (_Application *ApplicationSession) MigrateToConsensus(newConsensus common.Address) (*types.Transaction, error)
MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.
Solidity: function migrateToConsensus(address newConsensus) returns()
func (*ApplicationSession) OnERC1155BatchReceived ¶
func (_Application *ApplicationSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*ApplicationSession) OnERC1155Received ¶
func (_Application *ApplicationSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*ApplicationSession) OnERC721Received ¶
func (_Application *ApplicationSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*ApplicationSession) Owner ¶
func (_Application *ApplicationSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ApplicationSession) Receive ¶
func (_Application *ApplicationSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ApplicationSession) RenounceOwnership ¶
func (_Application *ApplicationSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ApplicationSession) SupportsInterface ¶
func (_Application *ApplicationSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ApplicationSession) TransferOwnership ¶
func (_Application *ApplicationSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ApplicationSession) ValidateOutput ¶
func (_Application *ApplicationSession) ValidateOutput(output []byte, proof OutputValidityProof) error
ValidateOutput is a free data retrieval call binding the contract method 0xe88d39c0.
Solidity: function validateOutput(bytes output, (uint64,bytes32[]) proof) view returns()
func (*ApplicationSession) ValidateOutputHash ¶
func (_Application *ApplicationSession) ValidateOutputHash(outputHash [32]byte, proof OutputValidityProof) error
ValidateOutputHash is a free data retrieval call binding the contract method 0x08eb89ab.
Solidity: function validateOutputHash(bytes32 outputHash, (uint64,bytes32[]) proof) view returns()
func (*ApplicationSession) WasOutputExecuted ¶
func (_Application *ApplicationSession) WasOutputExecuted(outputIndex *big.Int) (bool, error)
WasOutputExecuted is a free data retrieval call binding the contract method 0x71891db0.
Solidity: function wasOutputExecuted(uint256 outputIndex) view returns(bool)
type ApplicationTransactor ¶
type ApplicationTransactor struct {
// contains filtered or unexported fields
}
ApplicationTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewApplicationTransactor ¶
func NewApplicationTransactor(address common.Address, transactor bind.ContractTransactor) (*ApplicationTransactor, error)
NewApplicationTransactor creates a new write-only instance of Application, bound to a specific deployed contract.
func (*ApplicationTransactor) ExecuteOutput ¶
func (_Application *ApplicationTransactor) ExecuteOutput(opts *bind.TransactOpts, output []byte, proof OutputValidityProof) (*types.Transaction, error)
ExecuteOutput is a paid mutator transaction binding the contract method 0x33137b76.
Solidity: function executeOutput(bytes output, (uint64,bytes32[]) proof) returns()
func (*ApplicationTransactor) MigrateToConsensus ¶
func (_Application *ApplicationTransactor) MigrateToConsensus(opts *bind.TransactOpts, newConsensus common.Address) (*types.Transaction, error)
MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.
Solidity: function migrateToConsensus(address newConsensus) returns()
func (*ApplicationTransactor) OnERC1155BatchReceived ¶
func (_Application *ApplicationTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*ApplicationTransactor) OnERC1155Received ¶
func (_Application *ApplicationTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*ApplicationTransactor) OnERC721Received ¶
func (_Application *ApplicationTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*ApplicationTransactor) Receive ¶
func (_Application *ApplicationTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ApplicationTransactor) RenounceOwnership ¶
func (_Application *ApplicationTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ApplicationTransactor) TransferOwnership ¶
func (_Application *ApplicationTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ApplicationTransactorRaw ¶
type ApplicationTransactorRaw struct {
Contract *ApplicationTransactor // Generic write-only contract binding to access the raw methods on
}
ApplicationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ApplicationTransactorRaw) Transact ¶
func (_Application *ApplicationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ApplicationTransactorRaw) Transfer ¶
func (_Application *ApplicationTransactorRaw) 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 ApplicationTransactorSession ¶
type ApplicationTransactorSession struct { Contract *ApplicationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ApplicationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ApplicationTransactorSession) ExecuteOutput ¶
func (_Application *ApplicationTransactorSession) ExecuteOutput(output []byte, proof OutputValidityProof) (*types.Transaction, error)
ExecuteOutput is a paid mutator transaction binding the contract method 0x33137b76.
Solidity: function executeOutput(bytes output, (uint64,bytes32[]) proof) returns()
func (*ApplicationTransactorSession) MigrateToConsensus ¶
func (_Application *ApplicationTransactorSession) MigrateToConsensus(newConsensus common.Address) (*types.Transaction, error)
MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.
Solidity: function migrateToConsensus(address newConsensus) returns()
func (*ApplicationTransactorSession) OnERC1155BatchReceived ¶
func (_Application *ApplicationTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*ApplicationTransactorSession) OnERC1155Received ¶
func (_Application *ApplicationTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*ApplicationTransactorSession) OnERC721Received ¶
func (_Application *ApplicationTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*ApplicationTransactorSession) Receive ¶
func (_Application *ApplicationTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ApplicationTransactorSession) RenounceOwnership ¶
func (_Application *ApplicationTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ApplicationTransactorSession) TransferOwnership ¶
func (_Application *ApplicationTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type EIP712 ¶
type EIP712 struct { EIP712Caller // Read-only binding to the contract EIP712Transactor // Write-only binding to the contract EIP712Filterer // Log filterer for contract events }
EIP712 is an auto generated Go binding around an Ethereum contract.
type EIP712Caller ¶
type EIP712Caller struct {
// contains filtered or unexported fields
}
EIP712Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewEIP712Caller ¶
func NewEIP712Caller(address common.Address, caller bind.ContractCaller) (*EIP712Caller, error)
NewEIP712Caller creates a new read-only instance of EIP712, bound to a specific deployed contract.
func (*EIP712Caller) Eip712Domain ¶
func (_EIP712 *EIP712Caller) Eip712Domain(opts *bind.CallOpts) (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
type EIP712CallerRaw ¶
type EIP712CallerRaw struct {
Contract *EIP712Caller // Generic read-only contract binding to access the raw methods on
}
EIP712CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EIP712CallerRaw) Call ¶
func (_EIP712 *EIP712CallerRaw) 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 EIP712CallerSession ¶
type EIP712CallerSession struct { Contract *EIP712Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EIP712CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EIP712CallerSession) Eip712Domain ¶
func (_EIP712 *EIP712CallerSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
type EIP712EIP712DomainChanged ¶
EIP712EIP712DomainChanged represents a EIP712DomainChanged event raised by the EIP712 contract.
type EIP712EIP712DomainChangedIterator ¶
type EIP712EIP712DomainChangedIterator struct { Event *EIP712EIP712DomainChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EIP712EIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the EIP712 contract.
func (*EIP712EIP712DomainChangedIterator) Close ¶
func (it *EIP712EIP712DomainChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EIP712EIP712DomainChangedIterator) Error ¶
func (it *EIP712EIP712DomainChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EIP712EIP712DomainChangedIterator) Next ¶
func (it *EIP712EIP712DomainChangedIterator) Next() bool
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 EIP712Filterer ¶
type EIP712Filterer struct {
// contains filtered or unexported fields
}
EIP712Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEIP712Filterer ¶
func NewEIP712Filterer(address common.Address, filterer bind.ContractFilterer) (*EIP712Filterer, error)
NewEIP712Filterer creates a new log filterer instance of EIP712, bound to a specific deployed contract.
func (*EIP712Filterer) FilterEIP712DomainChanged ¶
func (_EIP712 *EIP712Filterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*EIP712EIP712DomainChangedIterator, error)
FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*EIP712Filterer) ParseEIP712DomainChanged ¶
func (_EIP712 *EIP712Filterer) ParseEIP712DomainChanged(log types.Log) (*EIP712EIP712DomainChanged, error)
ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*EIP712Filterer) WatchEIP712DomainChanged ¶
func (_EIP712 *EIP712Filterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *EIP712EIP712DomainChanged) (event.Subscription, error)
WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
type EIP712Raw ¶
type EIP712Raw struct {
Contract *EIP712 // Generic contract binding to access the raw methods on
}
EIP712Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*EIP712Raw) Call ¶
func (_EIP712 *EIP712Raw) 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 (*EIP712Raw) Transact ¶
func (_EIP712 *EIP712Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EIP712Raw) Transfer ¶
func (_EIP712 *EIP712Raw) 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 EIP712Session ¶
type EIP712Session struct { Contract *EIP712 // 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 }
EIP712Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EIP712Session) Eip712Domain ¶
func (_EIP712 *EIP712Session) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
type EIP712Transactor ¶
type EIP712Transactor struct {
// contains filtered or unexported fields
}
EIP712Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEIP712Transactor ¶
func NewEIP712Transactor(address common.Address, transactor bind.ContractTransactor) (*EIP712Transactor, error)
NewEIP712Transactor creates a new write-only instance of EIP712, bound to a specific deployed contract.
type EIP712TransactorRaw ¶
type EIP712TransactorRaw struct {
Contract *EIP712Transactor // Generic write-only contract binding to access the raw methods on
}
EIP712TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EIP712TransactorRaw) Transact ¶
func (_EIP712 *EIP712TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EIP712TransactorRaw) Transfer ¶
func (_EIP712 *EIP712TransactorRaw) 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 EIP712TransactorSession ¶
type EIP712TransactorSession struct { Contract *EIP712Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EIP712TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
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 ¶
func (it *IApplicationFactoryApplicationCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IApplicationFactoryApplicationCreatedIterator) Error ¶
func (it *IApplicationFactoryApplicationCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IApplicationFactoryApplicationCreatedIterator) Next ¶
func (it *IApplicationFactoryApplicationCreatedIterator) Next() bool
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)
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 ¶
func (it *IAuthorityFactoryAuthorityCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAuthorityFactoryAuthorityCreatedIterator) Error ¶
func (it *IAuthorityFactoryAuthorityCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAuthorityFactoryAuthorityCreatedIterator) Next ¶
func (it *IAuthorityFactoryAuthorityCreatedIterator) Next() bool
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)
type IConsensus ¶
type IConsensus struct { IConsensusCaller // Read-only binding to the contract IConsensusTransactor // Write-only binding to the contract IConsensusFilterer // Log filterer for contract events }
IConsensus is an auto generated Go binding around an Ethereum contract.
func NewIConsensus ¶
func NewIConsensus(address common.Address, backend bind.ContractBackend) (*IConsensus, error)
NewIConsensus creates a new instance of IConsensus, bound to a specific deployed contract.
type IConsensusCaller ¶
type IConsensusCaller struct {
// contains filtered or unexported fields
}
IConsensusCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIConsensusCaller ¶
func NewIConsensusCaller(address common.Address, caller bind.ContractCaller) (*IConsensusCaller, error)
NewIConsensusCaller creates a new read-only instance of IConsensus, bound to a specific deployed contract.
func (*IConsensusCaller) GetEpochLength ¶
GetEpochLength is a free data retrieval call binding the contract method 0xcfe8a73b.
Solidity: function getEpochLength() view returns(uint256)
func (*IConsensusCaller) WasClaimAccepted ¶
func (_IConsensus *IConsensusCaller) WasClaimAccepted(opts *bind.CallOpts, appContract common.Address, claim [32]byte) (bool, error)
WasClaimAccepted is a free data retrieval call binding the contract method 0x9618f35b.
Solidity: function wasClaimAccepted(address appContract, bytes32 claim) view returns(bool)
type IConsensusCallerRaw ¶
type IConsensusCallerRaw struct {
Contract *IConsensusCaller // Generic read-only contract binding to access the raw methods on
}
IConsensusCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IConsensusCallerRaw) Call ¶
func (_IConsensus *IConsensusCallerRaw) 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 IConsensusCallerSession ¶
type IConsensusCallerSession struct { Contract *IConsensusCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IConsensusCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IConsensusCallerSession) GetEpochLength ¶
func (_IConsensus *IConsensusCallerSession) GetEpochLength() (*big.Int, error)
GetEpochLength is a free data retrieval call binding the contract method 0xcfe8a73b.
Solidity: function getEpochLength() view returns(uint256)
func (*IConsensusCallerSession) WasClaimAccepted ¶
func (_IConsensus *IConsensusCallerSession) WasClaimAccepted(appContract common.Address, claim [32]byte) (bool, error)
WasClaimAccepted is a free data retrieval call binding the contract method 0x9618f35b.
Solidity: function wasClaimAccepted(address appContract, bytes32 claim) view returns(bool)
type IConsensusClaimAcceptance ¶
type IConsensusClaimAcceptance struct { AppContract common.Address LastProcessedBlockNumber *big.Int Claim [32]byte Raw types.Log // Blockchain specific contextual infos }
IConsensusClaimAcceptance represents a ClaimAcceptance event raised by the IConsensus contract.
type IConsensusClaimAcceptanceIterator ¶
type IConsensusClaimAcceptanceIterator struct { Event *IConsensusClaimAcceptance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IConsensusClaimAcceptanceIterator is returned from FilterClaimAcceptance and is used to iterate over the raw logs and unpacked data for ClaimAcceptance events raised by the IConsensus contract.
func (*IConsensusClaimAcceptanceIterator) Close ¶
func (it *IConsensusClaimAcceptanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IConsensusClaimAcceptanceIterator) Error ¶
func (it *IConsensusClaimAcceptanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IConsensusClaimAcceptanceIterator) Next ¶
func (it *IConsensusClaimAcceptanceIterator) Next() bool
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 IConsensusClaimSubmission ¶
type IConsensusClaimSubmission struct { Submitter common.Address AppContract common.Address LastProcessedBlockNumber *big.Int Claim [32]byte Raw types.Log // Blockchain specific contextual infos }
IConsensusClaimSubmission represents a ClaimSubmission event raised by the IConsensus contract.
type IConsensusClaimSubmissionIterator ¶
type IConsensusClaimSubmissionIterator struct { Event *IConsensusClaimSubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IConsensusClaimSubmissionIterator is returned from FilterClaimSubmission and is used to iterate over the raw logs and unpacked data for ClaimSubmission events raised by the IConsensus contract.
func (*IConsensusClaimSubmissionIterator) Close ¶
func (it *IConsensusClaimSubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IConsensusClaimSubmissionIterator) Error ¶
func (it *IConsensusClaimSubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IConsensusClaimSubmissionIterator) Next ¶
func (it *IConsensusClaimSubmissionIterator) Next() bool
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 IConsensusFilterer ¶
type IConsensusFilterer struct {
// contains filtered or unexported fields
}
IConsensusFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIConsensusFilterer ¶
func NewIConsensusFilterer(address common.Address, filterer bind.ContractFilterer) (*IConsensusFilterer, error)
NewIConsensusFilterer creates a new log filterer instance of IConsensus, bound to a specific deployed contract.
func (*IConsensusFilterer) FilterClaimAcceptance ¶
func (_IConsensus *IConsensusFilterer) FilterClaimAcceptance(opts *bind.FilterOpts, appContract []common.Address) (*IConsensusClaimAcceptanceIterator, error)
FilterClaimAcceptance is a free log retrieval operation binding the contract event 0xd3e4892959c6ddb27e02bcaaebc0c1898d0f677b7360bf80339f10a8717957d3.
Solidity: event ClaimAcceptance(address indexed appContract, uint256 lastProcessedBlockNumber, bytes32 claim)
func (*IConsensusFilterer) FilterClaimSubmission ¶
func (_IConsensus *IConsensusFilterer) FilterClaimSubmission(opts *bind.FilterOpts, submitter []common.Address, appContract []common.Address) (*IConsensusClaimSubmissionIterator, error)
FilterClaimSubmission is a free log retrieval operation binding the contract event 0xf5a28e07a1b89d1ca3f9a2a7ef16bd650503a4791baf2e70dc401c21ee505f0a.
Solidity: event ClaimSubmission(address indexed submitter, address indexed appContract, uint256 lastProcessedBlockNumber, bytes32 claim)
func (*IConsensusFilterer) ParseClaimAcceptance ¶
func (_IConsensus *IConsensusFilterer) ParseClaimAcceptance(log types.Log) (*IConsensusClaimAcceptance, error)
ParseClaimAcceptance is a log parse operation binding the contract event 0xd3e4892959c6ddb27e02bcaaebc0c1898d0f677b7360bf80339f10a8717957d3.
Solidity: event ClaimAcceptance(address indexed appContract, uint256 lastProcessedBlockNumber, bytes32 claim)
func (*IConsensusFilterer) ParseClaimSubmission ¶
func (_IConsensus *IConsensusFilterer) ParseClaimSubmission(log types.Log) (*IConsensusClaimSubmission, error)
ParseClaimSubmission is a log parse operation binding the contract event 0xf5a28e07a1b89d1ca3f9a2a7ef16bd650503a4791baf2e70dc401c21ee505f0a.
Solidity: event ClaimSubmission(address indexed submitter, address indexed appContract, uint256 lastProcessedBlockNumber, bytes32 claim)
func (*IConsensusFilterer) WatchClaimAcceptance ¶
func (_IConsensus *IConsensusFilterer) WatchClaimAcceptance(opts *bind.WatchOpts, sink chan<- *IConsensusClaimAcceptance, appContract []common.Address) (event.Subscription, error)
WatchClaimAcceptance is a free log subscription operation binding the contract event 0xd3e4892959c6ddb27e02bcaaebc0c1898d0f677b7360bf80339f10a8717957d3.
Solidity: event ClaimAcceptance(address indexed appContract, uint256 lastProcessedBlockNumber, bytes32 claim)
func (*IConsensusFilterer) WatchClaimSubmission ¶
func (_IConsensus *IConsensusFilterer) WatchClaimSubmission(opts *bind.WatchOpts, sink chan<- *IConsensusClaimSubmission, submitter []common.Address, appContract []common.Address) (event.Subscription, error)
WatchClaimSubmission is a free log subscription operation binding the contract event 0xf5a28e07a1b89d1ca3f9a2a7ef16bd650503a4791baf2e70dc401c21ee505f0a.
Solidity: event ClaimSubmission(address indexed submitter, address indexed appContract, uint256 lastProcessedBlockNumber, bytes32 claim)
type IConsensusRaw ¶
type IConsensusRaw struct {
Contract *IConsensus // Generic contract binding to access the raw methods on
}
IConsensusRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IConsensusRaw) Call ¶
func (_IConsensus *IConsensusRaw) 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 (*IConsensusRaw) Transact ¶
func (_IConsensus *IConsensusRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IConsensusRaw) Transfer ¶
func (_IConsensus *IConsensusRaw) 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 IConsensusSession ¶
type IConsensusSession struct { Contract *IConsensus // 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 }
IConsensusSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IConsensusSession) GetEpochLength ¶
func (_IConsensus *IConsensusSession) GetEpochLength() (*big.Int, error)
GetEpochLength is a free data retrieval call binding the contract method 0xcfe8a73b.
Solidity: function getEpochLength() view returns(uint256)
func (*IConsensusSession) SubmitClaim ¶
func (_IConsensus *IConsensusSession) SubmitClaim(appContract common.Address, lastProcessedBlockNumber *big.Int, claim [32]byte) (*types.Transaction, error)
SubmitClaim is a paid mutator transaction binding the contract method 0x6470af00.
Solidity: function submitClaim(address appContract, uint256 lastProcessedBlockNumber, bytes32 claim) returns()
func (*IConsensusSession) WasClaimAccepted ¶
func (_IConsensus *IConsensusSession) WasClaimAccepted(appContract common.Address, claim [32]byte) (bool, error)
WasClaimAccepted is a free data retrieval call binding the contract method 0x9618f35b.
Solidity: function wasClaimAccepted(address appContract, bytes32 claim) view returns(bool)
type IConsensusTransactor ¶
type IConsensusTransactor struct {
// contains filtered or unexported fields
}
IConsensusTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIConsensusTransactor ¶
func NewIConsensusTransactor(address common.Address, transactor bind.ContractTransactor) (*IConsensusTransactor, error)
NewIConsensusTransactor creates a new write-only instance of IConsensus, bound to a specific deployed contract.
func (*IConsensusTransactor) SubmitClaim ¶
func (_IConsensus *IConsensusTransactor) SubmitClaim(opts *bind.TransactOpts, appContract common.Address, lastProcessedBlockNumber *big.Int, claim [32]byte) (*types.Transaction, error)
SubmitClaim is a paid mutator transaction binding the contract method 0x6470af00.
Solidity: function submitClaim(address appContract, uint256 lastProcessedBlockNumber, bytes32 claim) returns()
type IConsensusTransactorRaw ¶
type IConsensusTransactorRaw struct {
Contract *IConsensusTransactor // Generic write-only contract binding to access the raw methods on
}
IConsensusTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IConsensusTransactorRaw) Transact ¶
func (_IConsensus *IConsensusTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IConsensusTransactorRaw) Transfer ¶
func (_IConsensus *IConsensusTransactorRaw) 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 IConsensusTransactorSession ¶
type IConsensusTransactorSession struct { Contract *IConsensusTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IConsensusTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IConsensusTransactorSession) SubmitClaim ¶
func (_IConsensus *IConsensusTransactorSession) SubmitClaim(appContract common.Address, lastProcessedBlockNumber *big.Int, claim [32]byte) (*types.Transaction, error)
SubmitClaim is a paid mutator transaction binding the contract method 0x6470af00.
Solidity: function submitClaim(address appContract, uint256 lastProcessedBlockNumber, bytes32 claim) returns()
type InputBox ¶
type InputBox struct { InputBoxCaller // Read-only binding to the contract InputBoxTransactor // Write-only binding to the contract InputBoxFilterer // Log filterer for contract events }
InputBox is an auto generated Go binding around an Ethereum contract.
func NewInputBox ¶
NewInputBox creates a new instance of InputBox, bound to a specific deployed contract.
type InputBoxCaller ¶
type InputBoxCaller struct {
// contains filtered or unexported fields
}
InputBoxCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInputBoxCaller ¶
func NewInputBoxCaller(address common.Address, caller bind.ContractCaller) (*InputBoxCaller, error)
NewInputBoxCaller creates a new read-only instance of InputBox, bound to a specific deployed contract.
func (*InputBoxCaller) GetInputHash ¶
func (_InputBox *InputBoxCaller) GetInputHash(opts *bind.CallOpts, appContract common.Address, index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address appContract, uint256 index) view returns(bytes32)
func (*InputBoxCaller) GetNumberOfInputs ¶
func (_InputBox *InputBoxCaller) GetNumberOfInputs(opts *bind.CallOpts, appContract common.Address) (*big.Int, error)
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address appContract) view returns(uint256)
type InputBoxCallerRaw ¶
type InputBoxCallerRaw struct {
Contract *InputBoxCaller // Generic read-only contract binding to access the raw methods on
}
InputBoxCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InputBoxCallerRaw) Call ¶
func (_InputBox *InputBoxCallerRaw) 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 InputBoxCallerSession ¶
type InputBoxCallerSession struct { Contract *InputBoxCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InputBoxCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InputBoxCallerSession) GetInputHash ¶
func (_InputBox *InputBoxCallerSession) GetInputHash(appContract common.Address, index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address appContract, uint256 index) view returns(bytes32)
func (*InputBoxCallerSession) GetNumberOfInputs ¶
func (_InputBox *InputBoxCallerSession) GetNumberOfInputs(appContract common.Address) (*big.Int, error)
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address appContract) view returns(uint256)
type InputBoxFilterer ¶
type InputBoxFilterer struct {
// contains filtered or unexported fields
}
InputBoxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInputBoxFilterer ¶
func NewInputBoxFilterer(address common.Address, filterer bind.ContractFilterer) (*InputBoxFilterer, error)
NewInputBoxFilterer creates a new log filterer instance of InputBox, bound to a specific deployed contract.
func (*InputBoxFilterer) FilterInputAdded ¶
func (_InputBox *InputBoxFilterer) FilterInputAdded(opts *bind.FilterOpts, appContract []common.Address, index []*big.Int) (*InputBoxInputAddedIterator, error)
FilterInputAdded is a free log retrieval operation binding the contract event 0xc05d337121a6e8605c6ec0b72aa29c4210ffe6e5b9cefdd6a7058188a8f66f98.
Solidity: event InputAdded(address indexed appContract, uint256 indexed index, bytes input)
func (*InputBoxFilterer) ParseInputAdded ¶
func (_InputBox *InputBoxFilterer) ParseInputAdded(log types.Log) (*InputBoxInputAdded, error)
ParseInputAdded is a log parse operation binding the contract event 0xc05d337121a6e8605c6ec0b72aa29c4210ffe6e5b9cefdd6a7058188a8f66f98.
Solidity: event InputAdded(address indexed appContract, uint256 indexed index, bytes input)
func (*InputBoxFilterer) WatchInputAdded ¶
func (_InputBox *InputBoxFilterer) WatchInputAdded(opts *bind.WatchOpts, sink chan<- *InputBoxInputAdded, appContract []common.Address, index []*big.Int) (event.Subscription, error)
WatchInputAdded is a free log subscription operation binding the contract event 0xc05d337121a6e8605c6ec0b72aa29c4210ffe6e5b9cefdd6a7058188a8f66f98.
Solidity: event InputAdded(address indexed appContract, uint256 indexed index, bytes input)
type InputBoxInputAdded ¶
type InputBoxInputAdded struct { AppContract common.Address Index *big.Int Input []byte Raw types.Log // Blockchain specific contextual infos }
InputBoxInputAdded represents a InputAdded event raised by the InputBox contract.
type InputBoxInputAddedIterator ¶
type InputBoxInputAddedIterator struct { Event *InputBoxInputAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InputBoxInputAddedIterator is returned from FilterInputAdded and is used to iterate over the raw logs and unpacked data for InputAdded events raised by the InputBox contract.
func (*InputBoxInputAddedIterator) Close ¶
func (it *InputBoxInputAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InputBoxInputAddedIterator) Error ¶
func (it *InputBoxInputAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InputBoxInputAddedIterator) Next ¶
func (it *InputBoxInputAddedIterator) Next() bool
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 InputBoxRaw ¶
type InputBoxRaw struct {
Contract *InputBox // Generic contract binding to access the raw methods on
}
InputBoxRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InputBoxRaw) Call ¶
func (_InputBox *InputBoxRaw) 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 (*InputBoxRaw) Transact ¶
func (_InputBox *InputBoxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InputBoxRaw) Transfer ¶
func (_InputBox *InputBoxRaw) 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 InputBoxSession ¶
type InputBoxSession struct { Contract *InputBox // 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 }
InputBoxSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InputBoxSession) AddInput ¶
func (_InputBox *InputBoxSession) AddInput(appContract common.Address, payload []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address appContract, bytes payload) returns(bytes32)
func (*InputBoxSession) GetInputHash ¶
func (_InputBox *InputBoxSession) GetInputHash(appContract common.Address, index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address appContract, uint256 index) view returns(bytes32)
func (*InputBoxSession) GetNumberOfInputs ¶
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address appContract) view returns(uint256)
type InputBoxTransactor ¶
type InputBoxTransactor struct {
// contains filtered or unexported fields
}
InputBoxTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInputBoxTransactor ¶
func NewInputBoxTransactor(address common.Address, transactor bind.ContractTransactor) (*InputBoxTransactor, error)
NewInputBoxTransactor creates a new write-only instance of InputBox, bound to a specific deployed contract.
func (*InputBoxTransactor) AddInput ¶
func (_InputBox *InputBoxTransactor) AddInput(opts *bind.TransactOpts, appContract common.Address, payload []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address appContract, bytes payload) returns(bytes32)
type InputBoxTransactorRaw ¶
type InputBoxTransactorRaw struct {
Contract *InputBoxTransactor // Generic write-only contract binding to access the raw methods on
}
InputBoxTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InputBoxTransactorRaw) Transact ¶
func (_InputBox *InputBoxTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InputBoxTransactorRaw) Transfer ¶
func (_InputBox *InputBoxTransactorRaw) 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 InputBoxTransactorSession ¶
type InputBoxTransactorSession struct { Contract *InputBoxTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InputBoxTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InputBoxTransactorSession) AddInput ¶
func (_InputBox *InputBoxTransactorSession) AddInput(appContract common.Address, payload []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address appContract, bytes payload) returns(bytes32)
type Inputs ¶
type Inputs struct { InputsCaller // Read-only binding to the contract InputsTransactor // Write-only binding to the contract InputsFilterer // Log filterer for contract events }
Inputs is an auto generated Go binding around an Ethereum contract.
type InputsCaller ¶
type InputsCaller struct {
// contains filtered or unexported fields
}
InputsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInputsCaller ¶
func NewInputsCaller(address common.Address, caller bind.ContractCaller) (*InputsCaller, error)
NewInputsCaller creates a new read-only instance of Inputs, bound to a specific deployed contract.
type InputsCallerRaw ¶
type InputsCallerRaw struct {
Contract *InputsCaller // Generic read-only contract binding to access the raw methods on
}
InputsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InputsCallerRaw) Call ¶
func (_Inputs *InputsCallerRaw) 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 InputsCallerSession ¶
type InputsCallerSession struct { Contract *InputsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InputsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InputsFilterer ¶
type InputsFilterer struct {
// contains filtered or unexported fields
}
InputsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInputsFilterer ¶
func NewInputsFilterer(address common.Address, filterer bind.ContractFilterer) (*InputsFilterer, error)
NewInputsFilterer creates a new log filterer instance of Inputs, bound to a specific deployed contract.
type InputsRaw ¶
type InputsRaw struct {
Contract *Inputs // Generic contract binding to access the raw methods on
}
InputsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InputsRaw) Call ¶
func (_Inputs *InputsRaw) 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 (*InputsRaw) Transact ¶
func (_Inputs *InputsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InputsRaw) Transfer ¶
func (_Inputs *InputsRaw) 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 InputsSession ¶
type InputsSession struct { Contract *Inputs // 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 }
InputsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InputsSession) EvmAdvance ¶
func (_Inputs *InputsSession) EvmAdvance(chainId *big.Int, appContract common.Address, msgSender common.Address, blockNumber *big.Int, blockTimestamp *big.Int, prevRandao *big.Int, index *big.Int, payload []byte) (*types.Transaction, error)
EvmAdvance is a paid mutator transaction binding the contract method 0x415bf363.
Solidity: function EvmAdvance(uint256 chainId, address appContract, address msgSender, uint256 blockNumber, uint256 blockTimestamp, uint256 prevRandao, uint256 index, bytes payload) returns()
type InputsTransactor ¶
type InputsTransactor struct {
// contains filtered or unexported fields
}
InputsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInputsTransactor ¶
func NewInputsTransactor(address common.Address, transactor bind.ContractTransactor) (*InputsTransactor, error)
NewInputsTransactor creates a new write-only instance of Inputs, bound to a specific deployed contract.
func (*InputsTransactor) EvmAdvance ¶
func (_Inputs *InputsTransactor) EvmAdvance(opts *bind.TransactOpts, chainId *big.Int, appContract common.Address, msgSender common.Address, blockNumber *big.Int, blockTimestamp *big.Int, prevRandao *big.Int, index *big.Int, payload []byte) (*types.Transaction, error)
EvmAdvance is a paid mutator transaction binding the contract method 0x415bf363.
Solidity: function EvmAdvance(uint256 chainId, address appContract, address msgSender, uint256 blockNumber, uint256 blockTimestamp, uint256 prevRandao, uint256 index, bytes payload) returns()
type InputsTransactorRaw ¶
type InputsTransactorRaw struct {
Contract *InputsTransactor // Generic write-only contract binding to access the raw methods on
}
InputsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InputsTransactorRaw) Transact ¶
func (_Inputs *InputsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InputsTransactorRaw) Transfer ¶
func (_Inputs *InputsTransactorRaw) 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 InputsTransactorSession ¶
type InputsTransactorSession struct { Contract *InputsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InputsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InputsTransactorSession) EvmAdvance ¶
func (_Inputs *InputsTransactorSession) EvmAdvance(chainId *big.Int, appContract common.Address, msgSender common.Address, blockNumber *big.Int, blockTimestamp *big.Int, prevRandao *big.Int, index *big.Int, payload []byte) (*types.Transaction, error)
EvmAdvance is a paid mutator transaction binding the contract method 0x415bf363.
Solidity: function EvmAdvance(uint256 chainId, address appContract, address msgSender, uint256 blockNumber, uint256 blockTimestamp, uint256 prevRandao, uint256 index, bytes payload) returns()
type OutputValidityProof ¶
OutputValidityProof is an auto generated low-level Go binding around an user-defined struct.
type Outputs ¶
type Outputs struct { OutputsCaller // Read-only binding to the contract OutputsTransactor // Write-only binding to the contract OutputsFilterer // Log filterer for contract events }
Outputs is an auto generated Go binding around an Ethereum contract.
func NewOutputs ¶
NewOutputs creates a new instance of Outputs, bound to a specific deployed contract.
type OutputsCaller ¶
type OutputsCaller struct {
// contains filtered or unexported fields
}
OutputsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOutputsCaller ¶
func NewOutputsCaller(address common.Address, caller bind.ContractCaller) (*OutputsCaller, error)
NewOutputsCaller creates a new read-only instance of Outputs, bound to a specific deployed contract.
type OutputsCallerRaw ¶
type OutputsCallerRaw struct {
Contract *OutputsCaller // Generic read-only contract binding to access the raw methods on
}
OutputsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OutputsCallerRaw) Call ¶
func (_Outputs *OutputsCallerRaw) 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 OutputsCallerSession ¶
type OutputsCallerSession struct { Contract *OutputsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OutputsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OutputsFilterer ¶
type OutputsFilterer struct {
// contains filtered or unexported fields
}
OutputsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOutputsFilterer ¶
func NewOutputsFilterer(address common.Address, filterer bind.ContractFilterer) (*OutputsFilterer, error)
NewOutputsFilterer creates a new log filterer instance of Outputs, bound to a specific deployed contract.
type OutputsRaw ¶
type OutputsRaw struct {
Contract *Outputs // Generic contract binding to access the raw methods on
}
OutputsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OutputsRaw) Call ¶
func (_Outputs *OutputsRaw) 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 (*OutputsRaw) Transact ¶
func (_Outputs *OutputsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OutputsRaw) Transfer ¶
func (_Outputs *OutputsRaw) 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 OutputsSession ¶
type OutputsSession struct { Contract *Outputs // 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 }
OutputsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OutputsSession) DelegateCallVoucher ¶
func (_Outputs *OutputsSession) DelegateCallVoucher(destination common.Address, payload []byte) (*types.Transaction, error)
DelegateCallVoucher is a paid mutator transaction binding the contract method 0x10321e8b.
Solidity: function DelegateCallVoucher(address destination, bytes payload) returns()
func (*OutputsSession) Notice ¶
func (_Outputs *OutputsSession) Notice(payload []byte) (*types.Transaction, error)
Notice is a paid mutator transaction binding the contract method 0xc258d6e5.
Solidity: function Notice(bytes payload) returns()
func (*OutputsSession) Voucher ¶
func (_Outputs *OutputsSession) Voucher(destination common.Address, value *big.Int, payload []byte) (*types.Transaction, error)
Voucher is a paid mutator transaction binding the contract method 0x237a816f.
Solidity: function Voucher(address destination, uint256 value, bytes payload) returns()
type OutputsTransactor ¶
type OutputsTransactor struct {
// contains filtered or unexported fields
}
OutputsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOutputsTransactor ¶
func NewOutputsTransactor(address common.Address, transactor bind.ContractTransactor) (*OutputsTransactor, error)
NewOutputsTransactor creates a new write-only instance of Outputs, bound to a specific deployed contract.
func (*OutputsTransactor) DelegateCallVoucher ¶
func (_Outputs *OutputsTransactor) DelegateCallVoucher(opts *bind.TransactOpts, destination common.Address, payload []byte) (*types.Transaction, error)
DelegateCallVoucher is a paid mutator transaction binding the contract method 0x10321e8b.
Solidity: function DelegateCallVoucher(address destination, bytes payload) returns()
func (*OutputsTransactor) Notice ¶
func (_Outputs *OutputsTransactor) Notice(opts *bind.TransactOpts, payload []byte) (*types.Transaction, error)
Notice is a paid mutator transaction binding the contract method 0xc258d6e5.
Solidity: function Notice(bytes payload) returns()
func (*OutputsTransactor) Voucher ¶
func (_Outputs *OutputsTransactor) Voucher(opts *bind.TransactOpts, destination common.Address, value *big.Int, payload []byte) (*types.Transaction, error)
Voucher is a paid mutator transaction binding the contract method 0x237a816f.
Solidity: function Voucher(address destination, uint256 value, bytes payload) returns()
type OutputsTransactorRaw ¶
type OutputsTransactorRaw struct {
Contract *OutputsTransactor // Generic write-only contract binding to access the raw methods on
}
OutputsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OutputsTransactorRaw) Transact ¶
func (_Outputs *OutputsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OutputsTransactorRaw) Transfer ¶
func (_Outputs *OutputsTransactorRaw) 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 OutputsTransactorSession ¶
type OutputsTransactorSession struct { Contract *OutputsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OutputsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OutputsTransactorSession) DelegateCallVoucher ¶
func (_Outputs *OutputsTransactorSession) DelegateCallVoucher(destination common.Address, payload []byte) (*types.Transaction, error)
DelegateCallVoucher is a paid mutator transaction binding the contract method 0x10321e8b.
Solidity: function DelegateCallVoucher(address destination, bytes payload) returns()
func (*OutputsTransactorSession) Notice ¶
func (_Outputs *OutputsTransactorSession) Notice(payload []byte) (*types.Transaction, error)
Notice is a paid mutator transaction binding the contract method 0xc258d6e5.
Solidity: function Notice(bytes payload) returns()
func (*OutputsTransactorSession) Voucher ¶
func (_Outputs *OutputsTransactorSession) Voucher(destination common.Address, value *big.Int, payload []byte) (*types.Transaction, error)
Voucher is a paid mutator transaction binding the contract method 0x237a816f.
Solidity: function Voucher(address destination, uint256 value, bytes payload) returns()