contracts

package
v0.5.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: GPL-3.0 Imports: 8 Imported by: 6

Documentation

Index

Constants

View Source
const RptABI = "" /* 4750-byte string literal not displayed */

RptABI is the input ABI used to generate the binding from.

View Source
const RptBin = `` /* 5212-byte string literal not displayed */

RptBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rpt

type Rpt struct {
	RptCaller     // Read-only binding to the contract
	RptTransactor // Write-only binding to the contract
	RptFilterer   // Log filterer for contract events
}

Rpt is an auto generated Go binding around an cpchain contract.

func DeployRpt

func DeployRpt(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Rpt, error)

DeployRpt deploys a new cpchain contract, binding an instance of Rpt to it.

func NewRpt

func NewRpt(address common.Address, backend bind.ContractBackend) (*Rpt, error)

NewRpt creates a new instance of Rpt, bound to a specific deployed contract.

type RptCaller

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

RptCaller is an auto generated read-only Go binding around an cpchain contract.

func NewRptCaller

func NewRptCaller(address common.Address, caller bind.ContractCaller) (*RptCaller, error)

NewRptCaller creates a new read-only instance of Rpt, bound to a specific deployed contract.

func (*RptCaller) Alpha

func (_Rpt *RptCaller) Alpha(opts *bind.CallOpts) (*big.Int, error)

Alpha is a free data retrieval call binding the contract method 0xdb1d0fd5.

Solidity: function alpha() constant returns(uint256)

func (*RptCaller) Beta

func (_Rpt *RptCaller) Beta(opts *bind.CallOpts) (*big.Int, error)

Beta is a free data retrieval call binding the contract method 0x9faa3c91.

Solidity: function beta() constant returns(uint256)

func (*RptCaller) Gamma

func (_Rpt *RptCaller) Gamma(opts *bind.CallOpts) (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() constant returns(uint256)

func (*RptCaller) LowRptPercentage

func (_Rpt *RptCaller) LowRptPercentage(opts *bind.CallOpts) (*big.Int, error)

LowRptPercentage is a free data retrieval call binding the contract method 0xf75ca7ff.

Solidity: function lowRptPercentage() constant returns(uint256)

func (*RptCaller) LowRptSeats

func (_Rpt *RptCaller) LowRptSeats(opts *bind.CallOpts) (*big.Int, error)

LowRptSeats is a free data retrieval call binding the contract method 0xfb2eb7f6.

Solidity: function lowRptSeats() constant returns(uint256)

func (*RptCaller) Omega

func (_Rpt *RptCaller) Omega(opts *bind.CallOpts) (*big.Int, error)

Omega is a free data retrieval call binding the contract method 0x2262a1b3.

Solidity: function omega() constant returns(uint256)

func (*RptCaller) Psi

func (_Rpt *RptCaller) Psi(opts *bind.CallOpts) (*big.Int, error)

Psi is a free data retrieval call binding the contract method 0x86f87fdd.

Solidity: function psi() constant returns(uint256)

func (*RptCaller) TotalSeats

func (_Rpt *RptCaller) TotalSeats(opts *bind.CallOpts) (*big.Int, error)

TotalSeats is a free data retrieval call binding the contract method 0x1ffc615e.

Solidity: function totalSeats() constant returns(uint256)

func (*RptCaller) Window

func (_Rpt *RptCaller) Window(opts *bind.CallOpts) (*big.Int, error)

Window is a free data retrieval call binding the contract method 0x461645bf.

Solidity: function window() constant returns(uint256)

type RptCallerRaw

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

RptCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.

func (*RptCallerRaw) Call

func (_Rpt *RptCallerRaw) 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 RptCallerSession

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

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

func (*RptCallerSession) Alpha

func (_Rpt *RptCallerSession) Alpha() (*big.Int, error)

Alpha is a free data retrieval call binding the contract method 0xdb1d0fd5.

Solidity: function alpha() constant returns(uint256)

func (*RptCallerSession) Beta

func (_Rpt *RptCallerSession) Beta() (*big.Int, error)

Beta is a free data retrieval call binding the contract method 0x9faa3c91.

Solidity: function beta() constant returns(uint256)

func (*RptCallerSession) Gamma

func (_Rpt *RptCallerSession) Gamma() (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() constant returns(uint256)

func (*RptCallerSession) LowRptPercentage

func (_Rpt *RptCallerSession) LowRptPercentage() (*big.Int, error)

LowRptPercentage is a free data retrieval call binding the contract method 0xf75ca7ff.

Solidity: function lowRptPercentage() constant returns(uint256)

func (*RptCallerSession) LowRptSeats

func (_Rpt *RptCallerSession) LowRptSeats() (*big.Int, error)

LowRptSeats is a free data retrieval call binding the contract method 0xfb2eb7f6.

Solidity: function lowRptSeats() constant returns(uint256)

func (*RptCallerSession) Omega

func (_Rpt *RptCallerSession) Omega() (*big.Int, error)

Omega is a free data retrieval call binding the contract method 0x2262a1b3.

Solidity: function omega() constant returns(uint256)

func (*RptCallerSession) Psi

func (_Rpt *RptCallerSession) Psi() (*big.Int, error)

Psi is a free data retrieval call binding the contract method 0x86f87fdd.

Solidity: function psi() constant returns(uint256)

func (*RptCallerSession) TotalSeats

func (_Rpt *RptCallerSession) TotalSeats() (*big.Int, error)

TotalSeats is a free data retrieval call binding the contract method 0x1ffc615e.

Solidity: function totalSeats() constant returns(uint256)

func (*RptCallerSession) Window

func (_Rpt *RptCallerSession) Window() (*big.Int, error)

Window is a free data retrieval call binding the contract method 0x461645bf.

Solidity: function window() constant returns(uint256)

type RptFilterer

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

RptFilterer is an auto generated log filtering Go binding around an cpchain contract events.

func NewRptFilterer

func NewRptFilterer(address common.Address, filterer bind.ContractFilterer) (*RptFilterer, error)

NewRptFilterer creates a new log filterer instance of Rpt, bound to a specific deployed contract.

func (*RptFilterer) FilterUpdateElectionConfigs

func (_Rpt *RptFilterer) FilterUpdateElectionConfigs(opts *bind.FilterOpts) (*RptUpdateElectionConfigsIterator, error)

FilterUpdateElectionConfigs is a free log retrieval operation binding the contract event 0x09e649367469a85db638685b74f92f1ef17cdebb4610b4c42b7da19c2f1b189c.

Solidity: e UpdateElectionConfigs(blockNumber uint256)

func (*RptFilterer) FilterUpdateOneConfig

func (_Rpt *RptFilterer) FilterUpdateOneConfig(opts *bind.FilterOpts) (*RptUpdateOneConfigIterator, error)

FilterUpdateOneConfig is a free log retrieval operation binding the contract event 0x7c2d85cf45868065466ed7df2e23f26349626794d112e41a734a4e34727fcb21.

Solidity: e UpdateOneConfig(blockNumber uint256, configName string, configValue uint256)

func (*RptFilterer) FilterUpdateWeightConfigs

func (_Rpt *RptFilterer) FilterUpdateWeightConfigs(opts *bind.FilterOpts) (*RptUpdateWeightConfigsIterator, error)

FilterUpdateWeightConfigs is a free log retrieval operation binding the contract event 0x94cb95e42d1f9f5b3e73da8fddc18ba25b0c89408eb91f64e417c59c6833a82b.

Solidity: e UpdateWeightConfigs(blockNumber uint256)

func (*RptFilterer) WatchUpdateElectionConfigs

func (_Rpt *RptFilterer) WatchUpdateElectionConfigs(opts *bind.WatchOpts, sink chan<- *RptUpdateElectionConfigs) (event.Subscription, error)

WatchUpdateElectionConfigs is a free log subscription operation binding the contract event 0x09e649367469a85db638685b74f92f1ef17cdebb4610b4c42b7da19c2f1b189c.

Solidity: e UpdateElectionConfigs(blockNumber uint256)

func (*RptFilterer) WatchUpdateOneConfig

func (_Rpt *RptFilterer) WatchUpdateOneConfig(opts *bind.WatchOpts, sink chan<- *RptUpdateOneConfig) (event.Subscription, error)

WatchUpdateOneConfig is a free log subscription operation binding the contract event 0x7c2d85cf45868065466ed7df2e23f26349626794d112e41a734a4e34727fcb21.

Solidity: e UpdateOneConfig(blockNumber uint256, configName string, configValue uint256)

func (*RptFilterer) WatchUpdateWeightConfigs

func (_Rpt *RptFilterer) WatchUpdateWeightConfigs(opts *bind.WatchOpts, sink chan<- *RptUpdateWeightConfigs) (event.Subscription, error)

WatchUpdateWeightConfigs is a free log subscription operation binding the contract event 0x94cb95e42d1f9f5b3e73da8fddc18ba25b0c89408eb91f64e417c59c6833a82b.

Solidity: e UpdateWeightConfigs(blockNumber uint256)

type RptRaw

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

RptRaw is an auto generated low-level Go binding around an cpchain contract.

func (*RptRaw) Call

func (_Rpt *RptRaw) 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 (*RptRaw) Transact

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

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

func (*RptRaw) Transfer

func (_Rpt *RptRaw) 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 RptSession

type RptSession struct {
	Contract     *Rpt              // 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
}

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

func (*RptSession) Alpha

func (_Rpt *RptSession) Alpha() (*big.Int, error)

Alpha is a free data retrieval call binding the contract method 0xdb1d0fd5.

Solidity: function alpha() constant returns(uint256)

func (*RptSession) Beta

func (_Rpt *RptSession) Beta() (*big.Int, error)

Beta is a free data retrieval call binding the contract method 0x9faa3c91.

Solidity: function beta() constant returns(uint256)

func (*RptSession) Gamma

func (_Rpt *RptSession) Gamma() (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() constant returns(uint256)

func (*RptSession) LowRptPercentage

func (_Rpt *RptSession) LowRptPercentage() (*big.Int, error)

LowRptPercentage is a free data retrieval call binding the contract method 0xf75ca7ff.

Solidity: function lowRptPercentage() constant returns(uint256)

func (*RptSession) LowRptSeats

func (_Rpt *RptSession) LowRptSeats() (*big.Int, error)

LowRptSeats is a free data retrieval call binding the contract method 0xfb2eb7f6.

Solidity: function lowRptSeats() constant returns(uint256)

func (*RptSession) Omega

func (_Rpt *RptSession) Omega() (*big.Int, error)

Omega is a free data retrieval call binding the contract method 0x2262a1b3.

Solidity: function omega() constant returns(uint256)

func (*RptSession) Psi

func (_Rpt *RptSession) Psi() (*big.Int, error)

Psi is a free data retrieval call binding the contract method 0x86f87fdd.

Solidity: function psi() constant returns(uint256)

func (*RptSession) TotalSeats

func (_Rpt *RptSession) TotalSeats() (*big.Int, error)

TotalSeats is a free data retrieval call binding the contract method 0x1ffc615e.

Solidity: function totalSeats() constant returns(uint256)

func (*RptSession) UpdateAlpha

func (_Rpt *RptSession) UpdateAlpha(_alpha *big.Int) (*types.Transaction, error)

UpdateAlpha is a paid mutator transaction binding the contract method 0x06d2d3dc.

Solidity: function updateAlpha(_alpha uint256) returns()

func (*RptSession) UpdateBeta

func (_Rpt *RptSession) UpdateBeta(_beta *big.Int) (*types.Transaction, error)

UpdateBeta is a paid mutator transaction binding the contract method 0xac7dabbc.

Solidity: function updateBeta(_beta uint256) returns()

func (*RptSession) UpdateElectionConfigs

func (_Rpt *RptSession) UpdateElectionConfigs(_lowRptPercentage *big.Int, _totalSeats *big.Int, _lowRptSeats *big.Int) (*types.Transaction, error)

UpdateElectionConfigs is a paid mutator transaction binding the contract method 0x854c42c5.

Solidity: function updateElectionConfigs(_lowRptPercentage uint256, _totalSeats uint256, _lowRptSeats uint256) returns()

func (*RptSession) UpdateGamma

func (_Rpt *RptSession) UpdateGamma(_gamma *big.Int) (*types.Transaction, error)

UpdateGamma is a paid mutator transaction binding the contract method 0x6d8004c5.

Solidity: function updateGamma(_gamma uint256) returns()

func (*RptSession) UpdateLowRptPercentage

func (_Rpt *RptSession) UpdateLowRptPercentage(_lowRptPercentage *big.Int) (*types.Transaction, error)

UpdateLowRptPercentage is a paid mutator transaction binding the contract method 0x255c4590.

Solidity: function updateLowRptPercentage(_lowRptPercentage uint256) returns()

func (*RptSession) UpdateLowRptSeats

func (_Rpt *RptSession) UpdateLowRptSeats(_lowRptSeats *big.Int) (*types.Transaction, error)

UpdateLowRptSeats is a paid mutator transaction binding the contract method 0x6479b8e6.

Solidity: function updateLowRptSeats(_lowRptSeats uint256) returns()

func (*RptSession) UpdateOmega

func (_Rpt *RptSession) UpdateOmega(_omega *big.Int) (*types.Transaction, error)

UpdateOmega is a paid mutator transaction binding the contract method 0xa23f52b8.

Solidity: function updateOmega(_omega uint256) returns()

func (*RptSession) UpdatePsi

func (_Rpt *RptSession) UpdatePsi(_psi *big.Int) (*types.Transaction, error)

UpdatePsi is a paid mutator transaction binding the contract method 0xb2f801c4.

Solidity: function updatePsi(_psi uint256) returns()

func (*RptSession) UpdateTotalSeats

func (_Rpt *RptSession) UpdateTotalSeats(_totalSeats *big.Int) (*types.Transaction, error)

UpdateTotalSeats is a paid mutator transaction binding the contract method 0x90530bf0.

Solidity: function updateTotalSeats(_totalSeats uint256) returns()

func (*RptSession) UpdateWeightConfigs

func (_Rpt *RptSession) UpdateWeightConfigs(_alpha *big.Int, _beta *big.Int, _gamma *big.Int, _psi *big.Int, _omega *big.Int, _window *big.Int) (*types.Transaction, error)

UpdateWeightConfigs is a paid mutator transaction binding the contract method 0xf182c59c.

Solidity: function updateWeightConfigs(_alpha uint256, _beta uint256, _gamma uint256, _psi uint256, _omega uint256, _window uint256) returns()

func (*RptSession) UpdateWindow

func (_Rpt *RptSession) UpdateWindow(_window *big.Int) (*types.Transaction, error)

UpdateWindow is a paid mutator transaction binding the contract method 0xb98f0056.

Solidity: function updateWindow(_window uint256) returns()

func (*RptSession) Window

func (_Rpt *RptSession) Window() (*big.Int, error)

Window is a free data retrieval call binding the contract method 0x461645bf.

Solidity: function window() constant returns(uint256)

type RptTransactor

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

RptTransactor is an auto generated write-only Go binding around an cpchain contract.

func NewRptTransactor

func NewRptTransactor(address common.Address, transactor bind.ContractTransactor) (*RptTransactor, error)

NewRptTransactor creates a new write-only instance of Rpt, bound to a specific deployed contract.

func (*RptTransactor) UpdateAlpha

func (_Rpt *RptTransactor) UpdateAlpha(opts *bind.TransactOpts, _alpha *big.Int) (*types.Transaction, error)

UpdateAlpha is a paid mutator transaction binding the contract method 0x06d2d3dc.

Solidity: function updateAlpha(_alpha uint256) returns()

func (*RptTransactor) UpdateBeta

func (_Rpt *RptTransactor) UpdateBeta(opts *bind.TransactOpts, _beta *big.Int) (*types.Transaction, error)

UpdateBeta is a paid mutator transaction binding the contract method 0xac7dabbc.

Solidity: function updateBeta(_beta uint256) returns()

func (*RptTransactor) UpdateElectionConfigs

func (_Rpt *RptTransactor) UpdateElectionConfigs(opts *bind.TransactOpts, _lowRptPercentage *big.Int, _totalSeats *big.Int, _lowRptSeats *big.Int) (*types.Transaction, error)

UpdateElectionConfigs is a paid mutator transaction binding the contract method 0x854c42c5.

Solidity: function updateElectionConfigs(_lowRptPercentage uint256, _totalSeats uint256, _lowRptSeats uint256) returns()

func (*RptTransactor) UpdateGamma

func (_Rpt *RptTransactor) UpdateGamma(opts *bind.TransactOpts, _gamma *big.Int) (*types.Transaction, error)

UpdateGamma is a paid mutator transaction binding the contract method 0x6d8004c5.

Solidity: function updateGamma(_gamma uint256) returns()

func (*RptTransactor) UpdateLowRptPercentage

func (_Rpt *RptTransactor) UpdateLowRptPercentage(opts *bind.TransactOpts, _lowRptPercentage *big.Int) (*types.Transaction, error)

UpdateLowRptPercentage is a paid mutator transaction binding the contract method 0x255c4590.

Solidity: function updateLowRptPercentage(_lowRptPercentage uint256) returns()

func (*RptTransactor) UpdateLowRptSeats

func (_Rpt *RptTransactor) UpdateLowRptSeats(opts *bind.TransactOpts, _lowRptSeats *big.Int) (*types.Transaction, error)

UpdateLowRptSeats is a paid mutator transaction binding the contract method 0x6479b8e6.

Solidity: function updateLowRptSeats(_lowRptSeats uint256) returns()

func (*RptTransactor) UpdateOmega

func (_Rpt *RptTransactor) UpdateOmega(opts *bind.TransactOpts, _omega *big.Int) (*types.Transaction, error)

UpdateOmega is a paid mutator transaction binding the contract method 0xa23f52b8.

Solidity: function updateOmega(_omega uint256) returns()

func (*RptTransactor) UpdatePsi

func (_Rpt *RptTransactor) UpdatePsi(opts *bind.TransactOpts, _psi *big.Int) (*types.Transaction, error)

UpdatePsi is a paid mutator transaction binding the contract method 0xb2f801c4.

Solidity: function updatePsi(_psi uint256) returns()

func (*RptTransactor) UpdateTotalSeats

func (_Rpt *RptTransactor) UpdateTotalSeats(opts *bind.TransactOpts, _totalSeats *big.Int) (*types.Transaction, error)

UpdateTotalSeats is a paid mutator transaction binding the contract method 0x90530bf0.

Solidity: function updateTotalSeats(_totalSeats uint256) returns()

func (*RptTransactor) UpdateWeightConfigs

func (_Rpt *RptTransactor) UpdateWeightConfigs(opts *bind.TransactOpts, _alpha *big.Int, _beta *big.Int, _gamma *big.Int, _psi *big.Int, _omega *big.Int, _window *big.Int) (*types.Transaction, error)

UpdateWeightConfigs is a paid mutator transaction binding the contract method 0xf182c59c.

Solidity: function updateWeightConfigs(_alpha uint256, _beta uint256, _gamma uint256, _psi uint256, _omega uint256, _window uint256) returns()

func (*RptTransactor) UpdateWindow

func (_Rpt *RptTransactor) UpdateWindow(opts *bind.TransactOpts, _window *big.Int) (*types.Transaction, error)

UpdateWindow is a paid mutator transaction binding the contract method 0xb98f0056.

Solidity: function updateWindow(_window uint256) returns()

type RptTransactorRaw

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

RptTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.

func (*RptTransactorRaw) Transact

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

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

func (*RptTransactorRaw) Transfer

func (_Rpt *RptTransactorRaw) 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 RptTransactorSession

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

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

func (*RptTransactorSession) UpdateAlpha

func (_Rpt *RptTransactorSession) UpdateAlpha(_alpha *big.Int) (*types.Transaction, error)

UpdateAlpha is a paid mutator transaction binding the contract method 0x06d2d3dc.

Solidity: function updateAlpha(_alpha uint256) returns()

func (*RptTransactorSession) UpdateBeta

func (_Rpt *RptTransactorSession) UpdateBeta(_beta *big.Int) (*types.Transaction, error)

UpdateBeta is a paid mutator transaction binding the contract method 0xac7dabbc.

Solidity: function updateBeta(_beta uint256) returns()

func (*RptTransactorSession) UpdateElectionConfigs

func (_Rpt *RptTransactorSession) UpdateElectionConfigs(_lowRptPercentage *big.Int, _totalSeats *big.Int, _lowRptSeats *big.Int) (*types.Transaction, error)

UpdateElectionConfigs is a paid mutator transaction binding the contract method 0x854c42c5.

Solidity: function updateElectionConfigs(_lowRptPercentage uint256, _totalSeats uint256, _lowRptSeats uint256) returns()

func (*RptTransactorSession) UpdateGamma

func (_Rpt *RptTransactorSession) UpdateGamma(_gamma *big.Int) (*types.Transaction, error)

UpdateGamma is a paid mutator transaction binding the contract method 0x6d8004c5.

Solidity: function updateGamma(_gamma uint256) returns()

func (*RptTransactorSession) UpdateLowRptPercentage

func (_Rpt *RptTransactorSession) UpdateLowRptPercentage(_lowRptPercentage *big.Int) (*types.Transaction, error)

UpdateLowRptPercentage is a paid mutator transaction binding the contract method 0x255c4590.

Solidity: function updateLowRptPercentage(_lowRptPercentage uint256) returns()

func (*RptTransactorSession) UpdateLowRptSeats

func (_Rpt *RptTransactorSession) UpdateLowRptSeats(_lowRptSeats *big.Int) (*types.Transaction, error)

UpdateLowRptSeats is a paid mutator transaction binding the contract method 0x6479b8e6.

Solidity: function updateLowRptSeats(_lowRptSeats uint256) returns()

func (*RptTransactorSession) UpdateOmega

func (_Rpt *RptTransactorSession) UpdateOmega(_omega *big.Int) (*types.Transaction, error)

UpdateOmega is a paid mutator transaction binding the contract method 0xa23f52b8.

Solidity: function updateOmega(_omega uint256) returns()

func (*RptTransactorSession) UpdatePsi

func (_Rpt *RptTransactorSession) UpdatePsi(_psi *big.Int) (*types.Transaction, error)

UpdatePsi is a paid mutator transaction binding the contract method 0xb2f801c4.

Solidity: function updatePsi(_psi uint256) returns()

func (*RptTransactorSession) UpdateTotalSeats

func (_Rpt *RptTransactorSession) UpdateTotalSeats(_totalSeats *big.Int) (*types.Transaction, error)

UpdateTotalSeats is a paid mutator transaction binding the contract method 0x90530bf0.

Solidity: function updateTotalSeats(_totalSeats uint256) returns()

func (*RptTransactorSession) UpdateWeightConfigs

func (_Rpt *RptTransactorSession) UpdateWeightConfigs(_alpha *big.Int, _beta *big.Int, _gamma *big.Int, _psi *big.Int, _omega *big.Int, _window *big.Int) (*types.Transaction, error)

UpdateWeightConfigs is a paid mutator transaction binding the contract method 0xf182c59c.

Solidity: function updateWeightConfigs(_alpha uint256, _beta uint256, _gamma uint256, _psi uint256, _omega uint256, _window uint256) returns()

func (*RptTransactorSession) UpdateWindow

func (_Rpt *RptTransactorSession) UpdateWindow(_window *big.Int) (*types.Transaction, error)

UpdateWindow is a paid mutator transaction binding the contract method 0xb98f0056.

Solidity: function updateWindow(_window uint256) returns()

type RptUpdateElectionConfigs

type RptUpdateElectionConfigs struct {
	BlockNumber *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

RptUpdateElectionConfigs represents a UpdateElectionConfigs event raised by the Rpt contract.

type RptUpdateElectionConfigsIterator

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

RptUpdateElectionConfigsIterator is returned from FilterUpdateElectionConfigs and is used to iterate over the raw logs and unpacked data for UpdateElectionConfigs events raised by the Rpt contract.

func (*RptUpdateElectionConfigsIterator) Close

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

func (*RptUpdateElectionConfigsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RptUpdateElectionConfigsIterator) Next

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

type RptUpdateOneConfig

type RptUpdateOneConfig struct {
	BlockNumber *big.Int
	ConfigName  string
	ConfigValue *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

RptUpdateOneConfig represents a UpdateOneConfig event raised by the Rpt contract.

type RptUpdateOneConfigIterator

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

RptUpdateOneConfigIterator is returned from FilterUpdateOneConfig and is used to iterate over the raw logs and unpacked data for UpdateOneConfig events raised by the Rpt contract.

func (*RptUpdateOneConfigIterator) Close

func (it *RptUpdateOneConfigIterator) Close() error

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

func (*RptUpdateOneConfigIterator) Error

func (it *RptUpdateOneConfigIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RptUpdateOneConfigIterator) Next

func (it *RptUpdateOneConfigIterator) 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 RptUpdateWeightConfigs

type RptUpdateWeightConfigs struct {
	BlockNumber *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

RptUpdateWeightConfigs represents a UpdateWeightConfigs event raised by the Rpt contract.

type RptUpdateWeightConfigsIterator

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

RptUpdateWeightConfigsIterator is returned from FilterUpdateWeightConfigs and is used to iterate over the raw logs and unpacked data for UpdateWeightConfigs events raised by the Rpt contract.

func (*RptUpdateWeightConfigsIterator) Close

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

func (*RptUpdateWeightConfigsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RptUpdateWeightConfigsIterator) Next

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

Jump to

Keyboard shortcuts

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