contract

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: GPL-3.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const ProxyABI = "[]"

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

View Source
const ProxyBin = `` /* 166-byte string literal not displayed */

ProxyBin is the compiled bytecode used for deploying new contracts.

View Source
const ProxyContractRegisterABI = "" /* 2512-byte string literal not displayed */

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

View Source
const ProxyContractRegisterBin = `` /* 2134-byte string literal not displayed */

ProxyContractRegisterBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	ProxyCaller     // Read-only binding to the contract
	ProxyTransactor // Write-only binding to the contract
	ProxyFilterer   // Log filterer for contract events
}

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

func DeployProxy

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

DeployProxy deploys a new cpchain contract, binding an instance of Proxy to it.

func NewProxy

func NewProxy(address common.Address, backend bind.ContractBackend) (*Proxy, error)

NewProxy creates a new instance of Proxy, bound to a specific deployed contract.

type ProxyCaller

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

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

func NewProxyCaller

func NewProxyCaller(address common.Address, caller bind.ContractCaller) (*ProxyCaller, error)

NewProxyCaller creates a new read-only instance of Proxy, bound to a specific deployed contract.

type ProxyCallerRaw

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

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

func (*ProxyCallerRaw) Call

func (_Proxy *ProxyCallerRaw) 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 ProxyCallerSession

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

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

type ProxyContractRegister

type ProxyContractRegister struct {
	ProxyContractRegisterCaller     // Read-only binding to the contract
	ProxyContractRegisterTransactor // Write-only binding to the contract
	ProxyContractRegisterFilterer   // Log filterer for contract events
}

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

func DeployProxyContractRegister

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

DeployProxyContractRegister deploys a new cpchain contract, binding an instance of ProxyContractRegister to it.

func NewProxyContractRegister

func NewProxyContractRegister(address common.Address, backend bind.ContractBackend) (*ProxyContractRegister, error)

NewProxyContractRegister creates a new instance of ProxyContractRegister, bound to a specific deployed contract.

type ProxyContractRegisterCaller

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

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

func NewProxyContractRegisterCaller

func NewProxyContractRegisterCaller(address common.Address, caller bind.ContractCaller) (*ProxyContractRegisterCaller, error)

NewProxyContractRegisterCaller creates a new read-only instance of ProxyContractRegister, bound to a specific deployed contract.

func (*ProxyContractRegisterCaller) ContractAddresses

func (_ProxyContractRegister *ProxyContractRegisterCaller) ContractAddresses(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

ContractAddresses is a free data retrieval call binding the contract method 0x4661ac95.

Solidity: function contractAddresses( address) constant returns(address)

func (*ProxyContractRegisterCaller) GetContractVersion

func (_ProxyContractRegister *ProxyContractRegisterCaller) GetContractVersion(opts *bind.CallOpts, _proxyAddress common.Address) (*big.Int, error)

GetContractVersion is a free data retrieval call binding the contract method 0xc4b9d89d.

Solidity: function getContractVersion(_proxyAddress address) constant returns(uint256)

func (*ProxyContractRegisterCaller) GetOldContract

func (_ProxyContractRegister *ProxyContractRegisterCaller) GetOldContract(opts *bind.CallOpts, _addr common.Address, _version *big.Int) (common.Address, error)

GetOldContract is a free data retrieval call binding the contract method 0x4c9150c8.

Solidity: function getOldContract(_addr address, _version uint256) constant returns(address)

func (*ProxyContractRegisterCaller) GetProxyContract

func (_ProxyContractRegister *ProxyContractRegisterCaller) GetProxyContract(opts *bind.CallOpts, _addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(_addr address) constant returns(address)

func (*ProxyContractRegisterCaller) GetRealContract

func (_ProxyContractRegister *ProxyContractRegisterCaller) GetRealContract(opts *bind.CallOpts, _addr common.Address) (common.Address, error)

GetRealContract is a free data retrieval call binding the contract method 0x8099b681.

Solidity: function getRealContract(_addr address) constant returns(address)

func (*ProxyContractRegisterCaller) HistroyContract

func (_ProxyContractRegister *ProxyContractRegisterCaller) HistroyContract(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error)

HistroyContract is a free data retrieval call binding the contract method 0x0d100b03.

Solidity: function histroyContract( address, uint256) constant returns(address)

func (*ProxyContractRegisterCaller) ProxyContractAddress

func (_ProxyContractRegister *ProxyContractRegisterCaller) ProxyContractAddress(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

ProxyContractAddress is a free data retrieval call binding the contract method 0x7dadbe99.

Solidity: function proxyContractAddress( address) constant returns(address)

func (*ProxyContractRegisterCaller) ProxyContractAddressVersion

func (_ProxyContractRegister *ProxyContractRegisterCaller) ProxyContractAddressVersion(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ProxyContractAddressVersion is a free data retrieval call binding the contract method 0x810d816a.

Solidity: function proxyContractAddressVersion( address) constant returns(uint256)

type ProxyContractRegisterCallerRaw

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

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

func (*ProxyContractRegisterCallerRaw) Call

func (_ProxyContractRegister *ProxyContractRegisterCallerRaw) 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 ProxyContractRegisterCallerSession

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

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

func (*ProxyContractRegisterCallerSession) ContractAddresses

func (_ProxyContractRegister *ProxyContractRegisterCallerSession) ContractAddresses(arg0 common.Address) (common.Address, error)

ContractAddresses is a free data retrieval call binding the contract method 0x4661ac95.

Solidity: function contractAddresses( address) constant returns(address)

func (*ProxyContractRegisterCallerSession) GetContractVersion

func (_ProxyContractRegister *ProxyContractRegisterCallerSession) GetContractVersion(_proxyAddress common.Address) (*big.Int, error)

GetContractVersion is a free data retrieval call binding the contract method 0xc4b9d89d.

Solidity: function getContractVersion(_proxyAddress address) constant returns(uint256)

func (*ProxyContractRegisterCallerSession) GetOldContract

func (_ProxyContractRegister *ProxyContractRegisterCallerSession) GetOldContract(_addr common.Address, _version *big.Int) (common.Address, error)

GetOldContract is a free data retrieval call binding the contract method 0x4c9150c8.

Solidity: function getOldContract(_addr address, _version uint256) constant returns(address)

func (*ProxyContractRegisterCallerSession) GetProxyContract

func (_ProxyContractRegister *ProxyContractRegisterCallerSession) GetProxyContract(_addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(_addr address) constant returns(address)

func (*ProxyContractRegisterCallerSession) GetRealContract

func (_ProxyContractRegister *ProxyContractRegisterCallerSession) GetRealContract(_addr common.Address) (common.Address, error)

GetRealContract is a free data retrieval call binding the contract method 0x8099b681.

Solidity: function getRealContract(_addr address) constant returns(address)

func (*ProxyContractRegisterCallerSession) HistroyContract

func (_ProxyContractRegister *ProxyContractRegisterCallerSession) HistroyContract(arg0 common.Address, arg1 *big.Int) (common.Address, error)

HistroyContract is a free data retrieval call binding the contract method 0x0d100b03.

Solidity: function histroyContract( address, uint256) constant returns(address)

func (*ProxyContractRegisterCallerSession) ProxyContractAddress

func (_ProxyContractRegister *ProxyContractRegisterCallerSession) ProxyContractAddress(arg0 common.Address) (common.Address, error)

ProxyContractAddress is a free data retrieval call binding the contract method 0x7dadbe99.

Solidity: function proxyContractAddress( address) constant returns(address)

func (*ProxyContractRegisterCallerSession) ProxyContractAddressVersion

func (_ProxyContractRegister *ProxyContractRegisterCallerSession) ProxyContractAddressVersion(arg0 common.Address) (*big.Int, error)

ProxyContractAddressVersion is a free data retrieval call binding the contract method 0x810d816a.

Solidity: function proxyContractAddressVersion( address) constant returns(uint256)

type ProxyContractRegisterFilterer

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

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

func NewProxyContractRegisterFilterer

func NewProxyContractRegisterFilterer(address common.Address, filterer bind.ContractFilterer) (*ProxyContractRegisterFilterer, error)

NewProxyContractRegisterFilterer creates a new log filterer instance of ProxyContractRegister, bound to a specific deployed contract.

func (*ProxyContractRegisterFilterer) FilterProxyContractAddressVersion

func (_ProxyContractRegister *ProxyContractRegisterFilterer) FilterProxyContractAddressVersion(opts *bind.FilterOpts) (*ProxyContractRegisterProxyContractAddressVersionIterator, error)

FilterProxyContractAddressVersion is a free log retrieval operation binding the contract event 0x9d57b1c7a777e15a03e127c41649b8c7d8d0d63df11ad3750bb52634544f9f31.

Solidity: e ProxyContractAddressVersion(_proxy address, _real address, _version uint256)

func (*ProxyContractRegisterFilterer) WatchProxyContractAddressVersion

func (_ProxyContractRegister *ProxyContractRegisterFilterer) WatchProxyContractAddressVersion(opts *bind.WatchOpts, sink chan<- *ProxyContractRegisterProxyContractAddressVersion) (event.Subscription, error)

WatchProxyContractAddressVersion is a free log subscription operation binding the contract event 0x9d57b1c7a777e15a03e127c41649b8c7d8d0d63df11ad3750bb52634544f9f31.

Solidity: e ProxyContractAddressVersion(_proxy address, _real address, _version uint256)

type ProxyContractRegisterProxyContractAddressVersion

type ProxyContractRegisterProxyContractAddressVersion struct {
	Proxy   common.Address
	Real    common.Address
	Version *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ProxyContractRegisterProxyContractAddressVersion represents a ProxyContractAddressVersion event raised by the ProxyContractRegister contract.

type ProxyContractRegisterProxyContractAddressVersionIterator

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

ProxyContractRegisterProxyContractAddressVersionIterator is returned from FilterProxyContractAddressVersion and is used to iterate over the raw logs and unpacked data for ProxyContractAddressVersion events raised by the ProxyContractRegister contract.

func (*ProxyContractRegisterProxyContractAddressVersionIterator) Close

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

func (*ProxyContractRegisterProxyContractAddressVersionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProxyContractRegisterProxyContractAddressVersionIterator) 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 ProxyContractRegisterRaw

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

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

func (*ProxyContractRegisterRaw) Call

func (_ProxyContractRegister *ProxyContractRegisterRaw) 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 (*ProxyContractRegisterRaw) Transact

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

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

func (*ProxyContractRegisterRaw) Transfer

func (_ProxyContractRegister *ProxyContractRegisterRaw) 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 ProxyContractRegisterSession

type ProxyContractRegisterSession struct {
	Contract     *ProxyContractRegister // 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
}

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

func (*ProxyContractRegisterSession) ContractAddresses

func (_ProxyContractRegister *ProxyContractRegisterSession) ContractAddresses(arg0 common.Address) (common.Address, error)

ContractAddresses is a free data retrieval call binding the contract method 0x4661ac95.

Solidity: function contractAddresses( address) constant returns(address)

func (*ProxyContractRegisterSession) GetContractVersion

func (_ProxyContractRegister *ProxyContractRegisterSession) GetContractVersion(_proxyAddress common.Address) (*big.Int, error)

GetContractVersion is a free data retrieval call binding the contract method 0xc4b9d89d.

Solidity: function getContractVersion(_proxyAddress address) constant returns(uint256)

func (*ProxyContractRegisterSession) GetOldContract

func (_ProxyContractRegister *ProxyContractRegisterSession) GetOldContract(_addr common.Address, _version *big.Int) (common.Address, error)

GetOldContract is a free data retrieval call binding the contract method 0x4c9150c8.

Solidity: function getOldContract(_addr address, _version uint256) constant returns(address)

func (*ProxyContractRegisterSession) GetProxyContract

func (_ProxyContractRegister *ProxyContractRegisterSession) GetProxyContract(_addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(_addr address) constant returns(address)

func (*ProxyContractRegisterSession) GetRealContract

func (_ProxyContractRegister *ProxyContractRegisterSession) GetRealContract(_addr common.Address) (common.Address, error)

GetRealContract is a free data retrieval call binding the contract method 0x8099b681.

Solidity: function getRealContract(_addr address) constant returns(address)

func (*ProxyContractRegisterSession) HistroyContract

func (_ProxyContractRegister *ProxyContractRegisterSession) HistroyContract(arg0 common.Address, arg1 *big.Int) (common.Address, error)

HistroyContract is a free data retrieval call binding the contract method 0x0d100b03.

Solidity: function histroyContract( address, uint256) constant returns(address)

func (*ProxyContractRegisterSession) ProxyContractAddress

func (_ProxyContractRegister *ProxyContractRegisterSession) ProxyContractAddress(arg0 common.Address) (common.Address, error)

ProxyContractAddress is a free data retrieval call binding the contract method 0x7dadbe99.

Solidity: function proxyContractAddress( address) constant returns(address)

func (*ProxyContractRegisterSession) ProxyContractAddressVersion

func (_ProxyContractRegister *ProxyContractRegisterSession) ProxyContractAddressVersion(arg0 common.Address) (*big.Int, error)

ProxyContractAddressVersion is a free data retrieval call binding the contract method 0x810d816a.

Solidity: function proxyContractAddressVersion( address) constant returns(uint256)

func (*ProxyContractRegisterSession) RegisterProxyContract

func (_ProxyContractRegister *ProxyContractRegisterSession) RegisterProxyContract(_proxyAddress common.Address, _realAddress common.Address) (*types.Transaction, error)

RegisterProxyContract is a paid mutator transaction binding the contract method 0x0e0bee3e.

Solidity: function registerProxyContract(_proxyAddress address, _realAddress address) returns()

type ProxyContractRegisterTransactor

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

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

func NewProxyContractRegisterTransactor

func NewProxyContractRegisterTransactor(address common.Address, transactor bind.ContractTransactor) (*ProxyContractRegisterTransactor, error)

NewProxyContractRegisterTransactor creates a new write-only instance of ProxyContractRegister, bound to a specific deployed contract.

func (*ProxyContractRegisterTransactor) RegisterProxyContract

func (_ProxyContractRegister *ProxyContractRegisterTransactor) RegisterProxyContract(opts *bind.TransactOpts, _proxyAddress common.Address, _realAddress common.Address) (*types.Transaction, error)

RegisterProxyContract is a paid mutator transaction binding the contract method 0x0e0bee3e.

Solidity: function registerProxyContract(_proxyAddress address, _realAddress address) returns()

type ProxyContractRegisterTransactorRaw

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

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

func (*ProxyContractRegisterTransactorRaw) Transact

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

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

func (*ProxyContractRegisterTransactorRaw) Transfer

func (_ProxyContractRegister *ProxyContractRegisterTransactorRaw) 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 ProxyContractRegisterTransactorSession

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

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

func (*ProxyContractRegisterTransactorSession) RegisterProxyContract

func (_ProxyContractRegister *ProxyContractRegisterTransactorSession) RegisterProxyContract(_proxyAddress common.Address, _realAddress common.Address) (*types.Transaction, error)

RegisterProxyContract is a paid mutator transaction binding the contract method 0x0e0bee3e.

Solidity: function registerProxyContract(_proxyAddress address, _realAddress address) returns()

type ProxyFilterer

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

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

func NewProxyFilterer

func NewProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*ProxyFilterer, error)

NewProxyFilterer creates a new log filterer instance of Proxy, bound to a specific deployed contract.

type ProxyRaw

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

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

func (*ProxyRaw) Call

func (_Proxy *ProxyRaw) 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 (*ProxyRaw) Transact

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

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

func (*ProxyRaw) Transfer

func (_Proxy *ProxyRaw) 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 ProxySession

type ProxySession struct {
	Contract     *Proxy            // 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
}

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

type ProxyTransactor

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

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

func NewProxyTransactor

func NewProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*ProxyTransactor, error)

NewProxyTransactor creates a new write-only instance of Proxy, bound to a specific deployed contract.

type ProxyTransactorRaw

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

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

func (*ProxyTransactorRaw) Transact

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

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

func (*ProxyTransactorRaw) Transfer

func (_Proxy *ProxyTransactorRaw) 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 ProxyTransactorSession

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

ProxyTransactorSession 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