contracts

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PrimitiveContractsInterfaceABI = "[]"

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

View Source
const PrimitiveContractsInterfaceBin = `` /* 242-byte string literal not displayed */

PrimitiveContractsInterfaceBin is the compiled bytecode used for deploying new contracts.

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

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

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

RptBin is the compiled bytecode used for deploying new contracts.

View Source
const SafeMathABI = "[]"

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

View Source
const SafeMathBin = `` /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrimitiveContractsInterface

type PrimitiveContractsInterface struct {
	PrimitiveContractsInterfaceCaller     // Read-only binding to the contract
	PrimitiveContractsInterfaceTransactor // Write-only binding to the contract
	PrimitiveContractsInterfaceFilterer   // Log filterer for contract events
}

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

func DeployPrimitiveContractsInterface

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

DeployPrimitiveContractsInterface deploys a new cpchain contract, binding an instance of PrimitiveContractsInterface to it.

func NewPrimitiveContractsInterface

func NewPrimitiveContractsInterface(address common.Address, backend bind.ContractBackend) (*PrimitiveContractsInterface, error)

NewPrimitiveContractsInterface creates a new instance of PrimitiveContractsInterface, bound to a specific deployed contract.

type PrimitiveContractsInterfaceCaller

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

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

func NewPrimitiveContractsInterfaceCaller

func NewPrimitiveContractsInterfaceCaller(address common.Address, caller bind.ContractCaller) (*PrimitiveContractsInterfaceCaller, error)

NewPrimitiveContractsInterfaceCaller creates a new read-only instance of PrimitiveContractsInterface, bound to a specific deployed contract.

type PrimitiveContractsInterfaceCallerRaw

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

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

func (*PrimitiveContractsInterfaceCallerRaw) Call

func (_PrimitiveContractsInterface *PrimitiveContractsInterfaceCallerRaw) 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 PrimitiveContractsInterfaceCallerSession

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

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

type PrimitiveContractsInterfaceFilterer

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

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

func NewPrimitiveContractsInterfaceFilterer

func NewPrimitiveContractsInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*PrimitiveContractsInterfaceFilterer, error)

NewPrimitiveContractsInterfaceFilterer creates a new log filterer instance of PrimitiveContractsInterface, bound to a specific deployed contract.

type PrimitiveContractsInterfaceRaw

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

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

func (*PrimitiveContractsInterfaceRaw) Call

func (_PrimitiveContractsInterface *PrimitiveContractsInterfaceRaw) 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 (*PrimitiveContractsInterfaceRaw) Transact

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

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

func (*PrimitiveContractsInterfaceRaw) Transfer

func (_PrimitiveContractsInterface *PrimitiveContractsInterfaceRaw) 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 PrimitiveContractsInterfaceSession

type PrimitiveContractsInterfaceSession struct {
	Contract     *PrimitiveContractsInterface // 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
}

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

type PrimitiveContractsInterfaceTransactor

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

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

func NewPrimitiveContractsInterfaceTransactor

func NewPrimitiveContractsInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*PrimitiveContractsInterfaceTransactor, error)

NewPrimitiveContractsInterfaceTransactor creates a new write-only instance of PrimitiveContractsInterface, bound to a specific deployed contract.

type PrimitiveContractsInterfaceTransactorRaw

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

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

func (*PrimitiveContractsInterfaceTransactorRaw) Transact

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

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

func (*PrimitiveContractsInterfaceTransactorRaw) Transfer

func (_PrimitiveContractsInterface *PrimitiveContractsInterfaceTransactorRaw) 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 PrimitiveContractsInterfaceTransactorSession

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

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

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) F

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

F is a free data retrieval call binding the contract method 0x26121ff0.

Solidity: function f() 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) GetBlockchainMaintenance

func (_Rpt *RptCaller) GetBlockchainMaintenance(opts *bind.CallOpts, _addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetBlockchainMaintenance is a free data retrieval call binding the contract method 0xe81092a5.

Solidity: function getBlockchainMaintenance(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptCaller) GetCoinage

func (_Rpt *RptCaller) GetCoinage(opts *bind.CallOpts, _addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetCoinage is a free data retrieval call binding the contract method 0xdb40a12e.

Solidity: function getCoinage(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptCaller) GetDataContribution

func (_Rpt *RptCaller) GetDataContribution(opts *bind.CallOpts, _addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetDataContribution is a free data retrieval call binding the contract method 0x7c9f4b66.

Solidity: function getDataContribution(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptCaller) GetProxyRep

func (_Rpt *RptCaller) GetProxyRep(opts *bind.CallOpts, _addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetProxyRep is a free data retrieval call binding the contract method 0x44cc5c52.

Solidity: function getProxyRep(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptCaller) GetRpt

func (_Rpt *RptCaller) GetRpt(opts *bind.CallOpts, _addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetRpt is a free data retrieval call binding the contract method 0x6f126a8f.

Solidity: function getRpt(_addr address, _blockNumber uint256) constant returns(rpt uint256)

func (*RptCaller) GetTx

func (_Rpt *RptCaller) GetTx(opts *bind.CallOpts, _addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetTx is a free data retrieval call binding the contract method 0x741a35c4.

Solidity: function getTx(_addr address, _blockNumber uint256) 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) Owner

func (_Rpt *RptCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

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) 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) F

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

F is a free data retrieval call binding the contract method 0x26121ff0.

Solidity: function f() 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) GetBlockchainMaintenance

func (_Rpt *RptCallerSession) GetBlockchainMaintenance(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetBlockchainMaintenance is a free data retrieval call binding the contract method 0xe81092a5.

Solidity: function getBlockchainMaintenance(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptCallerSession) GetCoinage

func (_Rpt *RptCallerSession) GetCoinage(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetCoinage is a free data retrieval call binding the contract method 0xdb40a12e.

Solidity: function getCoinage(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptCallerSession) GetDataContribution

func (_Rpt *RptCallerSession) GetDataContribution(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetDataContribution is a free data retrieval call binding the contract method 0x7c9f4b66.

Solidity: function getDataContribution(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptCallerSession) GetProxyRep

func (_Rpt *RptCallerSession) GetProxyRep(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetProxyRep is a free data retrieval call binding the contract method 0x44cc5c52.

Solidity: function getProxyRep(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptCallerSession) GetRpt

func (_Rpt *RptCallerSession) GetRpt(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetRpt is a free data retrieval call binding the contract method 0x6f126a8f.

Solidity: function getRpt(_addr address, _blockNumber uint256) constant returns(rpt uint256)

func (*RptCallerSession) GetTx

func (_Rpt *RptCallerSession) GetTx(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetTx is a free data retrieval call binding the contract method 0x741a35c4.

Solidity: function getTx(_addr address, _blockNumber uint256) 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) Owner

func (_Rpt *RptCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

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) 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) FilterSetExp

func (_Rpt *RptFilterer) FilterSetExp(opts *bind.FilterOpts) (*RptSetExpIterator, error)

FilterSetExp is a free log retrieval operation binding the contract event 0xb14fcf0092d0dcc5be78d778e4f514b5d12a1671f6260cf9d84ac5847b08e894.

Solidity: e SetExp(blockNumber uint256, exprNmae string, expr string)

func (*RptFilterer) FilterUpdateConfigs

func (_Rpt *RptFilterer) FilterUpdateConfigs(opts *bind.FilterOpts) (*RptUpdateConfigsIterator, error)

FilterUpdateConfigs is a free log retrieval operation binding the contract event 0x78a3671679b68721aaad9eb74535be0be119bd34c0efa671eb6ab3210d1fe257.

Solidity: e UpdateConfigs(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) WatchSetExp

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

WatchSetExp is a free log subscription operation binding the contract event 0xb14fcf0092d0dcc5be78d778e4f514b5d12a1671f6260cf9d84ac5847b08e894.

Solidity: e SetExp(blockNumber uint256, exprNmae string, expr string)

func (*RptFilterer) WatchUpdateConfigs

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

WatchUpdateConfigs is a free log subscription operation binding the contract event 0x78a3671679b68721aaad9eb74535be0be119bd34c0efa671eb6ab3210d1fe257.

Solidity: e UpdateConfigs(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)

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) F

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

F is a free data retrieval call binding the contract method 0x26121ff0.

Solidity: function f() 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) GetBlockchainMaintenance

func (_Rpt *RptSession) GetBlockchainMaintenance(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetBlockchainMaintenance is a free data retrieval call binding the contract method 0xe81092a5.

Solidity: function getBlockchainMaintenance(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptSession) GetCoinage

func (_Rpt *RptSession) GetCoinage(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetCoinage is a free data retrieval call binding the contract method 0xdb40a12e.

Solidity: function getCoinage(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptSession) GetDataContribution

func (_Rpt *RptSession) GetDataContribution(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetDataContribution is a free data retrieval call binding the contract method 0x7c9f4b66.

Solidity: function getDataContribution(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptSession) GetProxyRep

func (_Rpt *RptSession) GetProxyRep(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetProxyRep is a free data retrieval call binding the contract method 0x44cc5c52.

Solidity: function getProxyRep(_addr address, _blockNumber uint256) constant returns(uint256)

func (*RptSession) GetRpt

func (_Rpt *RptSession) GetRpt(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetRpt is a free data retrieval call binding the contract method 0x6f126a8f.

Solidity: function getRpt(_addr address, _blockNumber uint256) constant returns(rpt uint256)

func (*RptSession) GetTx

func (_Rpt *RptSession) GetTx(_addr common.Address, _blockNumber *big.Int) (*big.Int, error)

GetTx is a free data retrieval call binding the contract method 0x741a35c4.

Solidity: function getTx(_addr address, _blockNumber uint256) 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) Owner

func (_Rpt *RptSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

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) 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) UpdateConfigs

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

UpdateConfigs is a paid mutator transaction binding the contract method 0xbd5c5f86.

Solidity: function updateConfigs(_alpha uint256, _beta uint256, _gamma uint256, _psi uint256, _omega uint256, _f uint256, _window 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) 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) 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 RptSetExp

type RptSetExp struct {
	BlockNumber *big.Int
	ExprNmae    string
	Expr        string
	Raw         types.Log // Blockchain specific contextual infos
}

RptSetExp represents a SetExp event raised by the Rpt contract.

type RptSetExpIterator

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

RptSetExpIterator is returned from FilterSetExp and is used to iterate over the raw logs and unpacked data for SetExp events raised by the Rpt contract.

func (*RptSetExpIterator) Close

func (it *RptSetExpIterator) Close() error

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

func (*RptSetExpIterator) Error

func (it *RptSetExpIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RptSetExpIterator) Next

func (it *RptSetExpIterator) 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 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) UpdateConfigs

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

UpdateConfigs is a paid mutator transaction binding the contract method 0xbd5c5f86.

Solidity: function updateConfigs(_alpha uint256, _beta uint256, _gamma uint256, _psi uint256, _omega uint256, _f uint256, _window 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) 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) 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) UpdateConfigs

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

UpdateConfigs is a paid mutator transaction binding the contract method 0xbd5c5f86.

Solidity: function updateConfigs(_alpha uint256, _beta uint256, _gamma uint256, _psi uint256, _omega uint256, _f uint256, _window 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) 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) 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 RptUpdateConfigs

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

RptUpdateConfigs represents a UpdateConfigs event raised by the Rpt contract.

type RptUpdateConfigsIterator

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

RptUpdateConfigsIterator is returned from FilterUpdateConfigs and is used to iterate over the raw logs and unpacked data for UpdateConfigs events raised by the Rpt contract.

func (*RptUpdateConfigsIterator) Close

func (it *RptUpdateConfigsIterator) Close() error

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

func (*RptUpdateConfigsIterator) Error

func (it *RptUpdateConfigsIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RptUpdateConfigsIterator) Next

func (it *RptUpdateConfigsIterator) 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 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 SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

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

DeploySafeMath deploys a new cpchain contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

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

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // 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
}

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

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

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

Jump to

Keyboard shortcuts

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