Documentation ¶
Index ¶
- Constants
- type Proxy
- type ProxyCaller
- type ProxyCallerRaw
- type ProxyCallerSession
- type ProxyContractRegister
- type ProxyContractRegisterCaller
- type ProxyContractRegisterCallerRaw
- type ProxyContractRegisterCallerSession
- type ProxyContractRegisterFilterer
- type ProxyContractRegisterRaw
- func (_ProxyContractRegister *ProxyContractRegisterRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ProxyContractRegister *ProxyContractRegisterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ProxyContractRegister *ProxyContractRegisterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProxyContractRegisterSession
- func (_ProxyContractRegister *ProxyContractRegisterSession) ContractAddresses(arg0 common.Address) (common.Address, error)
- func (_ProxyContractRegister *ProxyContractRegisterSession) GetRealContract(addr common.Address) (common.Address, error)
- func (_ProxyContractRegister *ProxyContractRegisterSession) RegisterProxyContract(proxyAddress common.Address, realAddress common.Address) (*types.Transaction, error)
- type ProxyContractRegisterTransactor
- type ProxyContractRegisterTransactorRaw
- type ProxyContractRegisterTransactorSession
- type ProxyFilterer
- type ProxyRaw
- func (_Proxy *ProxyRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Proxy *ProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Proxy *ProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProxySession
- type ProxyTransactor
- type ProxyTransactorRaw
- type ProxyTransactorSession
Constants ¶
const ProxyABI = "[]"
ProxyABI is the input ABI used to generate the binding from.
const ProxyBin = `` /* 166-byte string literal not displayed */
ProxyBin is the compiled bytecode used for deploying new contracts.
const ProxyContractRegisterABI = "" /* 791-byte string literal not displayed */
ProxyContractRegisterABI is the input ABI used to generate the binding from.
const ProxyContractRegisterBin = `` /* 928-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.
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 Ethereum contract.
func DeployProxyContractRegister ¶
func DeployProxyContractRegister(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ProxyContractRegister, error)
DeployProxyContractRegister deploys a new Ethereum 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 Ethereum 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) 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)
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 Ethereum 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 Ethereum 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) 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)
type ProxyContractRegisterFilterer ¶
type ProxyContractRegisterFilterer struct {
// contains filtered or unexported fields
}
ProxyContractRegisterFilterer is an auto generated log filtering Go binding around an Ethereum 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.
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 Ethereum 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 Ethereum 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) 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) 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 Ethereum 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 Ethereum 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 Ethereum 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.