Documentation
¶
Index ¶
- Variables
- type Prover
- type ProverBeneficiarySet
- type ProverBeneficiarySetIterator
- type ProverCaller
- func (_Prover *ProverCaller) Beneficiary(opts *bind.CallOpts, _prover common.Address) (common.Address, error)
- func (_Prover *ProverCaller) IsPaused(opts *bind.CallOpts, _prover common.Address) (bool, error)
- func (_Prover *ProverCaller) IsVMTypeSupported(opts *bind.CallOpts, _prover common.Address, _type *big.Int) (bool, error)
- func (_Prover *ProverCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Prover *ProverCaller) RebateRatio(opts *bind.CallOpts, _prover common.Address) (uint16, error)
- type ProverCallerRaw
- type ProverCallerSession
- func (_Prover *ProverCallerSession) Beneficiary(_prover common.Address) (common.Address, error)
- func (_Prover *ProverCallerSession) IsPaused(_prover common.Address) (bool, error)
- func (_Prover *ProverCallerSession) IsVMTypeSupported(_prover common.Address, _type *big.Int) (bool, error)
- func (_Prover *ProverCallerSession) Owner() (common.Address, error)
- func (_Prover *ProverCallerSession) RebateRatio(_prover common.Address) (uint16, error)
- type ProverFilterer
- func (_Prover *ProverFilterer) FilterBeneficiarySet(opts *bind.FilterOpts, prover []common.Address, beneficiary []common.Address) (*ProverBeneficiarySetIterator, error)
- func (_Prover *ProverFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProverInitializedIterator, error)
- func (_Prover *ProverFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ProverOwnershipTransferredIterator, error)
- func (_Prover *ProverFilterer) FilterProverPaused(opts *bind.FilterOpts, prover []common.Address) (*ProverProverPausedIterator, error)
- func (_Prover *ProverFilterer) FilterProverResumed(opts *bind.FilterOpts, prover []common.Address) (*ProverProverResumedIterator, error)
- func (_Prover *ProverFilterer) FilterRebateRatioSet(opts *bind.FilterOpts, prover []common.Address) (*ProverRebateRatioSetIterator, error)
- func (_Prover *ProverFilterer) FilterVMTypeAdded(opts *bind.FilterOpts, prover []common.Address) (*ProverVMTypeAddedIterator, error)
- func (_Prover *ProverFilterer) FilterVMTypeDeleted(opts *bind.FilterOpts, prover []common.Address) (*ProverVMTypeDeletedIterator, error)
- func (_Prover *ProverFilterer) ParseBeneficiarySet(log types.Log) (*ProverBeneficiarySet, error)
- func (_Prover *ProverFilterer) ParseInitialized(log types.Log) (*ProverInitialized, error)
- func (_Prover *ProverFilterer) ParseOwnershipTransferred(log types.Log) (*ProverOwnershipTransferred, error)
- func (_Prover *ProverFilterer) ParseProverPaused(log types.Log) (*ProverProverPaused, error)
- func (_Prover *ProverFilterer) ParseProverResumed(log types.Log) (*ProverProverResumed, error)
- func (_Prover *ProverFilterer) ParseRebateRatioSet(log types.Log) (*ProverRebateRatioSet, error)
- func (_Prover *ProverFilterer) ParseVMTypeAdded(log types.Log) (*ProverVMTypeAdded, error)
- func (_Prover *ProverFilterer) ParseVMTypeDeleted(log types.Log) (*ProverVMTypeDeleted, error)
- func (_Prover *ProverFilterer) WatchBeneficiarySet(opts *bind.WatchOpts, sink chan<- *ProverBeneficiarySet, ...) (event.Subscription, error)
- func (_Prover *ProverFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProverInitialized) (event.Subscription, error)
- func (_Prover *ProverFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProverOwnershipTransferred, ...) (event.Subscription, error)
- func (_Prover *ProverFilterer) WatchProverPaused(opts *bind.WatchOpts, sink chan<- *ProverProverPaused, prover []common.Address) (event.Subscription, error)
- func (_Prover *ProverFilterer) WatchProverResumed(opts *bind.WatchOpts, sink chan<- *ProverProverResumed, ...) (event.Subscription, error)
- func (_Prover *ProverFilterer) WatchRebateRatioSet(opts *bind.WatchOpts, sink chan<- *ProverRebateRatioSet, ...) (event.Subscription, error)
- func (_Prover *ProverFilterer) WatchVMTypeAdded(opts *bind.WatchOpts, sink chan<- *ProverVMTypeAdded, prover []common.Address) (event.Subscription, error)
- func (_Prover *ProverFilterer) WatchVMTypeDeleted(opts *bind.WatchOpts, sink chan<- *ProverVMTypeDeleted, ...) (event.Subscription, error)
- type ProverInitialized
- type ProverInitializedIterator
- type ProverOwnershipTransferred
- type ProverOwnershipTransferredIterator
- type ProverProverPaused
- type ProverProverPausedIterator
- type ProverProverResumed
- type ProverProverResumedIterator
- type ProverRaw
- func (_Prover *ProverRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Prover *ProverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Prover *ProverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProverRebateRatioSet
- type ProverRebateRatioSetIterator
- type ProverSession
- func (_Prover *ProverSession) AddVMType(_type *big.Int) (*types.Transaction, error)
- func (_Prover *ProverSession) Beneficiary(_prover common.Address) (common.Address, error)
- func (_Prover *ProverSession) ChangeBeneficiary(_beneficiary common.Address) (*types.Transaction, error)
- func (_Prover *ProverSession) DelVMType(_type *big.Int) (*types.Transaction, error)
- func (_Prover *ProverSession) Initialize() (*types.Transaction, error)
- func (_Prover *ProverSession) IsPaused(_prover common.Address) (bool, error)
- func (_Prover *ProverSession) IsVMTypeSupported(_prover common.Address, _type *big.Int) (bool, error)
- func (_Prover *ProverSession) Owner() (common.Address, error)
- func (_Prover *ProverSession) Pause() (*types.Transaction, error)
- func (_Prover *ProverSession) RebateRatio(_prover common.Address) (uint16, error)
- func (_Prover *ProverSession) Register() (*types.Transaction, error)
- func (_Prover *ProverSession) RenounceOwnership() (*types.Transaction, error)
- func (_Prover *ProverSession) Resume() (*types.Transaction, error)
- func (_Prover *ProverSession) SetRebateRatio(_ratio uint16) (*types.Transaction, error)
- func (_Prover *ProverSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ProverTransactor
- func (_Prover *ProverTransactor) AddVMType(opts *bind.TransactOpts, _type *big.Int) (*types.Transaction, error)
- func (_Prover *ProverTransactor) ChangeBeneficiary(opts *bind.TransactOpts, _beneficiary common.Address) (*types.Transaction, error)
- func (_Prover *ProverTransactor) DelVMType(opts *bind.TransactOpts, _type *big.Int) (*types.Transaction, error)
- func (_Prover *ProverTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Prover *ProverTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Prover *ProverTransactor) Register(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Prover *ProverTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Prover *ProverTransactor) Resume(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Prover *ProverTransactor) SetRebateRatio(opts *bind.TransactOpts, _ratio uint16) (*types.Transaction, error)
- func (_Prover *ProverTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type ProverTransactorRaw
- type ProverTransactorSession
- func (_Prover *ProverTransactorSession) AddVMType(_type *big.Int) (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) ChangeBeneficiary(_beneficiary common.Address) (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) DelVMType(_type *big.Int) (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) Initialize() (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) Pause() (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) Register() (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) Resume() (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) SetRebateRatio(_ratio uint16) (*types.Transaction, error)
- func (_Prover *ProverTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ProverVMTypeAdded
- type ProverVMTypeAddedIterator
- type ProverVMTypeDeleted
- type ProverVMTypeDeletedIterator
Constants ¶
This section is empty.
Variables ¶
var ProverABI = ProverMetaData.ABI
ProverABI is the input ABI used to generate the binding from. Deprecated: Use ProverMetaData.ABI instead.
var ProverMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"name\":\"BeneficiarySet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"ProverPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"ProverResumed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"ratio\",\"type\":\"uint16\"}],\"name\":\"RebateRatioSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"typ\",\"type\":\"uint256\"}],\"name\":\"VMTypeAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"typ\",\"type\":\"uint256\"}],\"name\":\"VMTypeDeleted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_type\",\"type\":\"uint256\"}],\"name\":\"addVMType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_prover\",\"type\":\"address\"}],\"name\":\"beneficiary\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"}],\"name\":\"changeBeneficiary\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_type\",\"type\":\"uint256\"}],\"name\":\"delVMType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_prover\",\"type\":\"address\"}],\"name\":\"isPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_prover\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_type\",\"type\":\"uint256\"}],\"name\":\"isVMTypeSupported\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_prover\",\"type\":\"address\"}],\"name\":\"rebateRatio\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"resume\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_ratio\",\"type\":\"uint16\"}],\"name\":\"setRebateRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ProverMetaData contains all meta data concerning the Prover contract.
Functions ¶
This section is empty.
Types ¶
type Prover ¶
type Prover struct {
ProverCaller // Read-only binding to the contract
ProverTransactor // Write-only binding to the contract
ProverFilterer // Log filterer for contract events
}
Prover is an auto generated Go binding around an Ethereum contract.
type ProverBeneficiarySet ¶ added in v0.19.0
type ProverBeneficiarySet struct {
Prover common.Address
Beneficiary common.Address
Raw types.Log // Blockchain specific contextual infos
}
ProverBeneficiarySet represents a BeneficiarySet event raised by the Prover contract.
type ProverBeneficiarySetIterator ¶ added in v0.19.0
type ProverBeneficiarySetIterator struct {
Event *ProverBeneficiarySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProverBeneficiarySetIterator is returned from FilterBeneficiarySet and is used to iterate over the raw logs and unpacked data for BeneficiarySet events raised by the Prover contract.
func (*ProverBeneficiarySetIterator) Close ¶ added in v0.19.0
func (it *ProverBeneficiarySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProverBeneficiarySetIterator) Error ¶ added in v0.19.0
func (it *ProverBeneficiarySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProverBeneficiarySetIterator) Next ¶ added in v0.19.0
func (it *ProverBeneficiarySetIterator) 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 ProverCaller ¶
type ProverCaller struct {
// contains filtered or unexported fields
}
ProverCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewProverCaller ¶
func NewProverCaller(address common.Address, caller bind.ContractCaller) (*ProverCaller, error)
NewProverCaller creates a new read-only instance of Prover, bound to a specific deployed contract.
func (*ProverCaller) Beneficiary ¶ added in v0.19.0
func (_Prover *ProverCaller) Beneficiary(opts *bind.CallOpts, _prover common.Address) (common.Address, error)
Beneficiary is a free data retrieval call binding the contract method 0x81008568.
Solidity: function beneficiary(address _prover) view returns(address)
func (*ProverCaller) IsPaused ¶
IsPaused is a free data retrieval call binding the contract method 0x5b14f183.
Solidity: function isPaused(address _prover) view returns(bool)
func (*ProverCaller) IsVMTypeSupported ¶
func (_Prover *ProverCaller) IsVMTypeSupported(opts *bind.CallOpts, _prover common.Address, _type *big.Int) (bool, error)
IsVMTypeSupported is a free data retrieval call binding the contract method 0x17490cbc.
Solidity: function isVMTypeSupported(address _prover, uint256 _type) view returns(bool)
func (*ProverCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProverCaller) RebateRatio ¶ added in v0.19.0
func (_Prover *ProverCaller) RebateRatio(opts *bind.CallOpts, _prover common.Address) (uint16, error)
RebateRatio is a free data retrieval call binding the contract method 0xff763ceb.
Solidity: function rebateRatio(address _prover) view returns(uint16)
type ProverCallerRaw ¶
type ProverCallerRaw struct {
Contract *ProverCaller // Generic read-only contract binding to access the raw methods on
}
ProverCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ProverCallerRaw) Call ¶
func (_Prover *ProverCallerRaw) 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 ProverCallerSession ¶
type ProverCallerSession struct {
Contract *ProverCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ProverCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ProverCallerSession) Beneficiary ¶ added in v0.19.0
Beneficiary is a free data retrieval call binding the contract method 0x81008568.
Solidity: function beneficiary(address _prover) view returns(address)
func (*ProverCallerSession) IsPaused ¶
func (_Prover *ProverCallerSession) IsPaused(_prover common.Address) (bool, error)
IsPaused is a free data retrieval call binding the contract method 0x5b14f183.
Solidity: function isPaused(address _prover) view returns(bool)
func (*ProverCallerSession) IsVMTypeSupported ¶
func (_Prover *ProverCallerSession) IsVMTypeSupported(_prover common.Address, _type *big.Int) (bool, error)
IsVMTypeSupported is a free data retrieval call binding the contract method 0x17490cbc.
Solidity: function isVMTypeSupported(address _prover, uint256 _type) view returns(bool)
func (*ProverCallerSession) Owner ¶
func (_Prover *ProverCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProverCallerSession) RebateRatio ¶ added in v0.19.0
func (_Prover *ProverCallerSession) RebateRatio(_prover common.Address) (uint16, error)
RebateRatio is a free data retrieval call binding the contract method 0xff763ceb.
Solidity: function rebateRatio(address _prover) view returns(uint16)
type ProverFilterer ¶
type ProverFilterer struct {
// contains filtered or unexported fields
}
ProverFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewProverFilterer ¶
func NewProverFilterer(address common.Address, filterer bind.ContractFilterer) (*ProverFilterer, error)
NewProverFilterer creates a new log filterer instance of Prover, bound to a specific deployed contract.
func (*ProverFilterer) FilterBeneficiarySet ¶ added in v0.19.0
func (_Prover *ProverFilterer) FilterBeneficiarySet(opts *bind.FilterOpts, prover []common.Address, beneficiary []common.Address) (*ProverBeneficiarySetIterator, error)
FilterBeneficiarySet is a free log retrieval operation binding the contract event 0x2906d223dc4163733bb374af8641c7e9ae256e2bae53c90e0c9a2be2e611ae44.
Solidity: event BeneficiarySet(address indexed prover, address indexed beneficiary)
func (*ProverFilterer) FilterInitialized ¶
func (_Prover *ProverFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProverInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProverFilterer) FilterOwnershipTransferred ¶
func (_Prover *ProverFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ProverOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ProverFilterer) FilterProverPaused ¶
func (_Prover *ProverFilterer) FilterProverPaused(opts *bind.FilterOpts, prover []common.Address) (*ProverProverPausedIterator, error)
FilterProverPaused is a free log retrieval operation binding the contract event 0xb60833f9b39cb3f4532bc36a284e3a48f4f2ff9c4a057a295568315811c3daff.
Solidity: event ProverPaused(address indexed prover)
func (*ProverFilterer) FilterProverResumed ¶
func (_Prover *ProverFilterer) FilterProverResumed(opts *bind.FilterOpts, prover []common.Address) (*ProverProverResumedIterator, error)
FilterProverResumed is a free log retrieval operation binding the contract event 0xfedc704ee832701f3256eda12d9b4abb087fbbdf584108e7aef66b6e07abdaab.
Solidity: event ProverResumed(address indexed prover)
func (*ProverFilterer) FilterRebateRatioSet ¶ added in v0.19.0
func (_Prover *ProverFilterer) FilterRebateRatioSet(opts *bind.FilterOpts, prover []common.Address) (*ProverRebateRatioSetIterator, error)
FilterRebateRatioSet is a free log retrieval operation binding the contract event 0xa0f5fcdc71c05b9272e6317da907366e3ebb2ef84f089a53c325c3a9cb8d4cbd.
Solidity: event RebateRatioSet(address indexed prover, uint16 ratio)
func (*ProverFilterer) FilterVMTypeAdded ¶
func (_Prover *ProverFilterer) FilterVMTypeAdded(opts *bind.FilterOpts, prover []common.Address) (*ProverVMTypeAddedIterator, error)
FilterVMTypeAdded is a free log retrieval operation binding the contract event 0x9584d49ad17d5b2fc346a4680a1be7b2a02bf95d734fd677d9df585e9d52a655.
Solidity: event VMTypeAdded(address indexed prover, uint256 typ)
func (*ProverFilterer) FilterVMTypeDeleted ¶
func (_Prover *ProverFilterer) FilterVMTypeDeleted(opts *bind.FilterOpts, prover []common.Address) (*ProverVMTypeDeletedIterator, error)
FilterVMTypeDeleted is a free log retrieval operation binding the contract event 0xf1b01f10c033f88aa1a9daf399bdec09f261109268766ce78194396f3ff77ce8.
Solidity: event VMTypeDeleted(address indexed prover, uint256 typ)
func (*ProverFilterer) ParseBeneficiarySet ¶ added in v0.19.0
func (_Prover *ProverFilterer) ParseBeneficiarySet(log types.Log) (*ProverBeneficiarySet, error)
ParseBeneficiarySet is a log parse operation binding the contract event 0x2906d223dc4163733bb374af8641c7e9ae256e2bae53c90e0c9a2be2e611ae44.
Solidity: event BeneficiarySet(address indexed prover, address indexed beneficiary)
func (*ProverFilterer) ParseInitialized ¶
func (_Prover *ProverFilterer) ParseInitialized(log types.Log) (*ProverInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProverFilterer) ParseOwnershipTransferred ¶
func (_Prover *ProverFilterer) ParseOwnershipTransferred(log types.Log) (*ProverOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ProverFilterer) ParseProverPaused ¶
func (_Prover *ProverFilterer) ParseProverPaused(log types.Log) (*ProverProverPaused, error)
ParseProverPaused is a log parse operation binding the contract event 0xb60833f9b39cb3f4532bc36a284e3a48f4f2ff9c4a057a295568315811c3daff.
Solidity: event ProverPaused(address indexed prover)
func (*ProverFilterer) ParseProverResumed ¶
func (_Prover *ProverFilterer) ParseProverResumed(log types.Log) (*ProverProverResumed, error)
ParseProverResumed is a log parse operation binding the contract event 0xfedc704ee832701f3256eda12d9b4abb087fbbdf584108e7aef66b6e07abdaab.
Solidity: event ProverResumed(address indexed prover)
func (*ProverFilterer) ParseRebateRatioSet ¶ added in v0.19.0
func (_Prover *ProverFilterer) ParseRebateRatioSet(log types.Log) (*ProverRebateRatioSet, error)
ParseRebateRatioSet is a log parse operation binding the contract event 0xa0f5fcdc71c05b9272e6317da907366e3ebb2ef84f089a53c325c3a9cb8d4cbd.
Solidity: event RebateRatioSet(address indexed prover, uint16 ratio)
func (*ProverFilterer) ParseVMTypeAdded ¶
func (_Prover *ProverFilterer) ParseVMTypeAdded(log types.Log) (*ProverVMTypeAdded, error)
ParseVMTypeAdded is a log parse operation binding the contract event 0x9584d49ad17d5b2fc346a4680a1be7b2a02bf95d734fd677d9df585e9d52a655.
Solidity: event VMTypeAdded(address indexed prover, uint256 typ)
func (*ProverFilterer) ParseVMTypeDeleted ¶
func (_Prover *ProverFilterer) ParseVMTypeDeleted(log types.Log) (*ProverVMTypeDeleted, error)
ParseVMTypeDeleted is a log parse operation binding the contract event 0xf1b01f10c033f88aa1a9daf399bdec09f261109268766ce78194396f3ff77ce8.
Solidity: event VMTypeDeleted(address indexed prover, uint256 typ)
func (*ProverFilterer) WatchBeneficiarySet ¶ added in v0.19.0
func (_Prover *ProverFilterer) WatchBeneficiarySet(opts *bind.WatchOpts, sink chan<- *ProverBeneficiarySet, prover []common.Address, beneficiary []common.Address) (event.Subscription, error)
WatchBeneficiarySet is a free log subscription operation binding the contract event 0x2906d223dc4163733bb374af8641c7e9ae256e2bae53c90e0c9a2be2e611ae44.
Solidity: event BeneficiarySet(address indexed prover, address indexed beneficiary)
func (*ProverFilterer) WatchInitialized ¶
func (_Prover *ProverFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProverInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProverFilterer) WatchOwnershipTransferred ¶
func (_Prover *ProverFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProverOwnershipTransferred, 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)
func (*ProverFilterer) WatchProverPaused ¶
func (_Prover *ProverFilterer) WatchProverPaused(opts *bind.WatchOpts, sink chan<- *ProverProverPaused, prover []common.Address) (event.Subscription, error)
WatchProverPaused is a free log subscription operation binding the contract event 0xb60833f9b39cb3f4532bc36a284e3a48f4f2ff9c4a057a295568315811c3daff.
Solidity: event ProverPaused(address indexed prover)
func (*ProverFilterer) WatchProverResumed ¶
func (_Prover *ProverFilterer) WatchProverResumed(opts *bind.WatchOpts, sink chan<- *ProverProverResumed, prover []common.Address) (event.Subscription, error)
WatchProverResumed is a free log subscription operation binding the contract event 0xfedc704ee832701f3256eda12d9b4abb087fbbdf584108e7aef66b6e07abdaab.
Solidity: event ProverResumed(address indexed prover)
func (*ProverFilterer) WatchRebateRatioSet ¶ added in v0.19.0
func (_Prover *ProverFilterer) WatchRebateRatioSet(opts *bind.WatchOpts, sink chan<- *ProverRebateRatioSet, prover []common.Address) (event.Subscription, error)
WatchRebateRatioSet is a free log subscription operation binding the contract event 0xa0f5fcdc71c05b9272e6317da907366e3ebb2ef84f089a53c325c3a9cb8d4cbd.
Solidity: event RebateRatioSet(address indexed prover, uint16 ratio)
func (*ProverFilterer) WatchVMTypeAdded ¶
func (_Prover *ProverFilterer) WatchVMTypeAdded(opts *bind.WatchOpts, sink chan<- *ProverVMTypeAdded, prover []common.Address) (event.Subscription, error)
WatchVMTypeAdded is a free log subscription operation binding the contract event 0x9584d49ad17d5b2fc346a4680a1be7b2a02bf95d734fd677d9df585e9d52a655.
Solidity: event VMTypeAdded(address indexed prover, uint256 typ)
func (*ProverFilterer) WatchVMTypeDeleted ¶
func (_Prover *ProverFilterer) WatchVMTypeDeleted(opts *bind.WatchOpts, sink chan<- *ProverVMTypeDeleted, prover []common.Address) (event.Subscription, error)
WatchVMTypeDeleted is a free log subscription operation binding the contract event 0xf1b01f10c033f88aa1a9daf399bdec09f261109268766ce78194396f3ff77ce8.
Solidity: event VMTypeDeleted(address indexed prover, uint256 typ)
type ProverInitialized ¶
type ProverInitialized struct {
Version uint8
Raw types.Log // Blockchain specific contextual infos
}
ProverInitialized represents a Initialized event raised by the Prover contract.
type ProverInitializedIterator ¶
type ProverInitializedIterator struct {
Event *ProverInitialized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProverInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Prover contract.
func (*ProverInitializedIterator) Close ¶
func (it *ProverInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProverInitializedIterator) Error ¶
func (it *ProverInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProverInitializedIterator) Next ¶
func (it *ProverInitializedIterator) 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 ProverOwnershipTransferred ¶
type ProverOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
ProverOwnershipTransferred represents a OwnershipTransferred event raised by the Prover contract.
type ProverOwnershipTransferredIterator ¶
type ProverOwnershipTransferredIterator struct {
Event *ProverOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProverOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Prover contract.
func (*ProverOwnershipTransferredIterator) Close ¶
func (it *ProverOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProverOwnershipTransferredIterator) Error ¶
func (it *ProverOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProverOwnershipTransferredIterator) Next ¶
func (it *ProverOwnershipTransferredIterator) 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 ProverProverPaused ¶
type ProverProverPaused struct {
Prover common.Address
Raw types.Log // Blockchain specific contextual infos
}
ProverProverPaused represents a ProverPaused event raised by the Prover contract.
type ProverProverPausedIterator ¶
type ProverProverPausedIterator struct {
Event *ProverProverPaused // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProverProverPausedIterator is returned from FilterProverPaused and is used to iterate over the raw logs and unpacked data for ProverPaused events raised by the Prover contract.
func (*ProverProverPausedIterator) Close ¶
func (it *ProverProverPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProverProverPausedIterator) Error ¶
func (it *ProverProverPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProverProverPausedIterator) Next ¶
func (it *ProverProverPausedIterator) 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 ProverProverResumed ¶
type ProverProverResumed struct {
Prover common.Address
Raw types.Log // Blockchain specific contextual infos
}
ProverProverResumed represents a ProverResumed event raised by the Prover contract.
type ProverProverResumedIterator ¶
type ProverProverResumedIterator struct {
Event *ProverProverResumed // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProverProverResumedIterator is returned from FilterProverResumed and is used to iterate over the raw logs and unpacked data for ProverResumed events raised by the Prover contract.
func (*ProverProverResumedIterator) Close ¶
func (it *ProverProverResumedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProverProverResumedIterator) Error ¶
func (it *ProverProverResumedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProverProverResumedIterator) Next ¶
func (it *ProverProverResumedIterator) 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 ProverRaw ¶
type ProverRaw struct {
Contract *Prover // Generic contract binding to access the raw methods on
}
ProverRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ProverRaw) Call ¶
func (_Prover *ProverRaw) 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 (*ProverRaw) Transact ¶
func (_Prover *ProverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProverRaw) Transfer ¶
func (_Prover *ProverRaw) 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 ProverRebateRatioSet ¶ added in v0.19.0
type ProverRebateRatioSet struct {
Prover common.Address
Ratio uint16
Raw types.Log // Blockchain specific contextual infos
}
ProverRebateRatioSet represents a RebateRatioSet event raised by the Prover contract.
type ProverRebateRatioSetIterator ¶ added in v0.19.0
type ProverRebateRatioSetIterator struct {
Event *ProverRebateRatioSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProverRebateRatioSetIterator is returned from FilterRebateRatioSet and is used to iterate over the raw logs and unpacked data for RebateRatioSet events raised by the Prover contract.
func (*ProverRebateRatioSetIterator) Close ¶ added in v0.19.0
func (it *ProverRebateRatioSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProverRebateRatioSetIterator) Error ¶ added in v0.19.0
func (it *ProverRebateRatioSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProverRebateRatioSetIterator) Next ¶ added in v0.19.0
func (it *ProverRebateRatioSetIterator) 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 ProverSession ¶
type ProverSession struct {
Contract *Prover // 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
}
ProverSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ProverSession) AddVMType ¶
func (_Prover *ProverSession) AddVMType(_type *big.Int) (*types.Transaction, error)
AddVMType is a paid mutator transaction binding the contract method 0x298cad7a.
Solidity: function addVMType(uint256 _type) returns()
func (*ProverSession) Beneficiary ¶ added in v0.19.0
Beneficiary is a free data retrieval call binding the contract method 0x81008568.
Solidity: function beneficiary(address _prover) view returns(address)
func (*ProverSession) ChangeBeneficiary ¶ added in v0.19.0
func (_Prover *ProverSession) ChangeBeneficiary(_beneficiary common.Address) (*types.Transaction, error)
ChangeBeneficiary is a paid mutator transaction binding the contract method 0xdc070657.
Solidity: function changeBeneficiary(address _beneficiary) returns()
func (*ProverSession) DelVMType ¶
func (_Prover *ProverSession) DelVMType(_type *big.Int) (*types.Transaction, error)
DelVMType is a paid mutator transaction binding the contract method 0x0df813dd.
Solidity: function delVMType(uint256 _type) returns()
func (*ProverSession) Initialize ¶
func (_Prover *ProverSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ProverSession) IsPaused ¶
func (_Prover *ProverSession) IsPaused(_prover common.Address) (bool, error)
IsPaused is a free data retrieval call binding the contract method 0x5b14f183.
Solidity: function isPaused(address _prover) view returns(bool)
func (*ProverSession) IsVMTypeSupported ¶
func (_Prover *ProverSession) IsVMTypeSupported(_prover common.Address, _type *big.Int) (bool, error)
IsVMTypeSupported is a free data retrieval call binding the contract method 0x17490cbc.
Solidity: function isVMTypeSupported(address _prover, uint256 _type) view returns(bool)
func (*ProverSession) Owner ¶
func (_Prover *ProverSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProverSession) Pause ¶
func (_Prover *ProverSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ProverSession) RebateRatio ¶ added in v0.19.0
func (_Prover *ProverSession) RebateRatio(_prover common.Address) (uint16, error)
RebateRatio is a free data retrieval call binding the contract method 0xff763ceb.
Solidity: function rebateRatio(address _prover) view returns(uint16)
func (*ProverSession) Register ¶ added in v0.19.0
func (_Prover *ProverSession) Register() (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1aa3a008.
Solidity: function register() returns()
func (*ProverSession) RenounceOwnership ¶
func (_Prover *ProverSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProverSession) Resume ¶
func (_Prover *ProverSession) Resume() (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x046f7da2.
Solidity: function resume() returns()
func (*ProverSession) SetRebateRatio ¶ added in v0.19.0
func (_Prover *ProverSession) SetRebateRatio(_ratio uint16) (*types.Transaction, error)
SetRebateRatio is a paid mutator transaction binding the contract method 0x36d06a28.
Solidity: function setRebateRatio(uint16 _ratio) returns()
func (*ProverSession) TransferOwnership ¶
func (_Prover *ProverSession) 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 ProverTransactor ¶
type ProverTransactor struct {
// contains filtered or unexported fields
}
ProverTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewProverTransactor ¶
func NewProverTransactor(address common.Address, transactor bind.ContractTransactor) (*ProverTransactor, error)
NewProverTransactor creates a new write-only instance of Prover, bound to a specific deployed contract.
func (*ProverTransactor) AddVMType ¶
func (_Prover *ProverTransactor) AddVMType(opts *bind.TransactOpts, _type *big.Int) (*types.Transaction, error)
AddVMType is a paid mutator transaction binding the contract method 0x298cad7a.
Solidity: function addVMType(uint256 _type) returns()
func (*ProverTransactor) ChangeBeneficiary ¶ added in v0.19.0
func (_Prover *ProverTransactor) ChangeBeneficiary(opts *bind.TransactOpts, _beneficiary common.Address) (*types.Transaction, error)
ChangeBeneficiary is a paid mutator transaction binding the contract method 0xdc070657.
Solidity: function changeBeneficiary(address _beneficiary) returns()
func (*ProverTransactor) DelVMType ¶
func (_Prover *ProverTransactor) DelVMType(opts *bind.TransactOpts, _type *big.Int) (*types.Transaction, error)
DelVMType is a paid mutator transaction binding the contract method 0x0df813dd.
Solidity: function delVMType(uint256 _type) returns()
func (*ProverTransactor) Initialize ¶
func (_Prover *ProverTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ProverTransactor) Pause ¶
func (_Prover *ProverTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ProverTransactor) Register ¶ added in v0.19.0
func (_Prover *ProverTransactor) Register(opts *bind.TransactOpts) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1aa3a008.
Solidity: function register() returns()
func (*ProverTransactor) RenounceOwnership ¶
func (_Prover *ProverTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProverTransactor) Resume ¶
func (_Prover *ProverTransactor) Resume(opts *bind.TransactOpts) (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x046f7da2.
Solidity: function resume() returns()
func (*ProverTransactor) SetRebateRatio ¶ added in v0.19.0
func (_Prover *ProverTransactor) SetRebateRatio(opts *bind.TransactOpts, _ratio uint16) (*types.Transaction, error)
SetRebateRatio is a paid mutator transaction binding the contract method 0x36d06a28.
Solidity: function setRebateRatio(uint16 _ratio) returns()
func (*ProverTransactor) TransferOwnership ¶
func (_Prover *ProverTransactor) 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 ProverTransactorRaw ¶
type ProverTransactorRaw struct {
Contract *ProverTransactor // Generic write-only contract binding to access the raw methods on
}
ProverTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ProverTransactorRaw) Transact ¶
func (_Prover *ProverTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProverTransactorRaw) Transfer ¶
func (_Prover *ProverTransactorRaw) 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 ProverTransactorSession ¶
type ProverTransactorSession struct {
Contract *ProverTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ProverTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ProverTransactorSession) AddVMType ¶
func (_Prover *ProverTransactorSession) AddVMType(_type *big.Int) (*types.Transaction, error)
AddVMType is a paid mutator transaction binding the contract method 0x298cad7a.
Solidity: function addVMType(uint256 _type) returns()
func (*ProverTransactorSession) ChangeBeneficiary ¶ added in v0.19.0
func (_Prover *ProverTransactorSession) ChangeBeneficiary(_beneficiary common.Address) (*types.Transaction, error)
ChangeBeneficiary is a paid mutator transaction binding the contract method 0xdc070657.
Solidity: function changeBeneficiary(address _beneficiary) returns()
func (*ProverTransactorSession) DelVMType ¶
func (_Prover *ProverTransactorSession) DelVMType(_type *big.Int) (*types.Transaction, error)
DelVMType is a paid mutator transaction binding the contract method 0x0df813dd.
Solidity: function delVMType(uint256 _type) returns()
func (*ProverTransactorSession) Initialize ¶
func (_Prover *ProverTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ProverTransactorSession) Pause ¶
func (_Prover *ProverTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ProverTransactorSession) Register ¶ added in v0.19.0
func (_Prover *ProverTransactorSession) Register() (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1aa3a008.
Solidity: function register() returns()
func (*ProverTransactorSession) RenounceOwnership ¶
func (_Prover *ProverTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProverTransactorSession) Resume ¶
func (_Prover *ProverTransactorSession) Resume() (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x046f7da2.
Solidity: function resume() returns()
func (*ProverTransactorSession) SetRebateRatio ¶ added in v0.19.0
func (_Prover *ProverTransactorSession) SetRebateRatio(_ratio uint16) (*types.Transaction, error)
SetRebateRatio is a paid mutator transaction binding the contract method 0x36d06a28.
Solidity: function setRebateRatio(uint16 _ratio) returns()
func (*ProverTransactorSession) TransferOwnership ¶
func (_Prover *ProverTransactorSession) 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 ProverVMTypeAdded ¶
type ProverVMTypeAdded struct {
Prover common.Address
Typ *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ProverVMTypeAdded represents a VMTypeAdded event raised by the Prover contract.
type ProverVMTypeAddedIterator ¶
type ProverVMTypeAddedIterator struct {
Event *ProverVMTypeAdded // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProverVMTypeAddedIterator is returned from FilterVMTypeAdded and is used to iterate over the raw logs and unpacked data for VMTypeAdded events raised by the Prover contract.
func (*ProverVMTypeAddedIterator) Close ¶
func (it *ProverVMTypeAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProverVMTypeAddedIterator) Error ¶
func (it *ProverVMTypeAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProverVMTypeAddedIterator) Next ¶
func (it *ProverVMTypeAddedIterator) 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 ProverVMTypeDeleted ¶
type ProverVMTypeDeleted struct {
Prover common.Address
Typ *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ProverVMTypeDeleted represents a VMTypeDeleted event raised by the Prover contract.
type ProverVMTypeDeletedIterator ¶
type ProverVMTypeDeletedIterator struct {
Event *ProverVMTypeDeleted // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProverVMTypeDeletedIterator is returned from FilterVMTypeDeleted and is used to iterate over the raw logs and unpacked data for VMTypeDeleted events raised by the Prover contract.
func (*ProverVMTypeDeletedIterator) Close ¶
func (it *ProverVMTypeDeletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProverVMTypeDeletedIterator) Error ¶
func (it *ProverVMTypeDeletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProverVMTypeDeletedIterator) Next ¶
func (it *ProverVMTypeDeletedIterator) 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.