Documentation ¶
Index ¶
- Constants
- Variables
- type Hub
- type HubCaller
- func (_Hub *HubCaller) AdaptorPrivKeys(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Hub *HubCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_Hub *HubCaller) AntiSpamFees(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_Hub *HubCaller) CheckAntiSpamConfirmations(opts *bind.CallOpts, id *big.Int, fee *big.Int) (*big.Int, error)
- func (_Hub *HubCaller) CheckDepositConfirmations(opts *bind.CallOpts, recipient common.Address, adaptorPubKey *big.Int, ...) (*big.Int, error)
- func (_Hub *HubCaller) Deposits(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_Hub *HubCaller) Deprecated(opts *bind.CallOpts) (bool, error)
- func (_Hub *HubCaller) FetchServer(opts *bind.CallOpts, maxAge *big.Int, offset *big.Int) (bool, string, []byte, error)
- func (_Hub *HubCaller) Hash(opts *bind.CallOpts, id *big.Int) ([32]byte, error)
- func (_Hub *HubCaller) NextServerID(opts *bind.CallOpts) (*big.Int, error)
- func (_Hub *HubCaller) ScalarMultBase(opts *bind.CallOpts, s *big.Int) (*big.Int, *big.Int, error)
- func (_Hub *HubCaller) Servers(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Hub *HubCaller) Version(opts *bind.CallOpts) (string, error)
- type HubCallerRaw
- type HubCallerSession
- func (_Hub *HubCallerSession) AdaptorPrivKeys(arg0 *big.Int) (*big.Int, error)
- func (_Hub *HubCallerSession) Admin() (common.Address, error)
- func (_Hub *HubCallerSession) AntiSpamFees(arg0 [32]byte) (struct{ ... }, error)
- func (_Hub *HubCallerSession) CheckAntiSpamConfirmations(id *big.Int, fee *big.Int) (*big.Int, error)
- func (_Hub *HubCallerSession) CheckDepositConfirmations(recipient common.Address, adaptorPubKey *big.Int, value *big.Int, ...) (*big.Int, error)
- func (_Hub *HubCallerSession) Deposits(arg0 [32]byte) (struct{ ... }, error)
- func (_Hub *HubCallerSession) Deprecated() (bool, error)
- func (_Hub *HubCallerSession) FetchServer(maxAge *big.Int, offset *big.Int) (bool, string, []byte, error)
- func (_Hub *HubCallerSession) Hash(id *big.Int) ([32]byte, error)
- func (_Hub *HubCallerSession) NextServerID() (*big.Int, error)
- func (_Hub *HubCallerSession) ScalarMultBase(s *big.Int) (*big.Int, *big.Int, error)
- func (_Hub *HubCallerSession) Servers(arg0 *big.Int) (struct{ ... }, error)
- func (_Hub *HubCallerSession) Version() (string, error)
- type HubFilterer
- type HubRaw
- func (_Hub *HubRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Hub *HubRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Hub *HubRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HubSession
- func (_Hub *HubSession) AdaptorPrivKeys(arg0 *big.Int) (*big.Int, error)
- func (_Hub *HubSession) Admin() (common.Address, error)
- func (_Hub *HubSession) AntiSpamFees(arg0 [32]byte) (struct{ ... }, error)
- func (_Hub *HubSession) BurnAntiSpamFee(hashedID [32]byte) (*types.Transaction, error)
- func (_Hub *HubSession) CheckAntiSpamConfirmations(id *big.Int, fee *big.Int) (*big.Int, error)
- func (_Hub *HubSession) CheckDepositConfirmations(recipient common.Address, adaptorPubKey *big.Int, value *big.Int, ...) (*big.Int, error)
- func (_Hub *HubSession) ClaimDeposit(adaptorPrivKey *big.Int, antiSpamID *big.Int) (*types.Transaction, error)
- func (_Hub *HubSession) DepositEther(recipient common.Address, adaptorPubKey *big.Int, hashedAntiSpamID [32]byte) (*types.Transaction, error)
- func (_Hub *HubSession) Deposits(arg0 [32]byte) (struct{ ... }, error)
- func (_Hub *HubSession) Deprecated() (bool, error)
- func (_Hub *HubSession) FetchServer(maxAge *big.Int, offset *big.Int) (bool, string, []byte, error)
- func (_Hub *HubSession) Hash(id *big.Int) ([32]byte, error)
- func (_Hub *HubSession) NextServerID() (*big.Int, error)
- func (_Hub *HubSession) ReclaimDeposit(hashedAntiSpamID [32]byte) (*types.Transaction, error)
- func (_Hub *HubSession) RegisterServer(target string, cert []byte) (*types.Transaction, error)
- func (_Hub *HubSession) ScalarMultBase(s *big.Int) (*big.Int, *big.Int, error)
- func (_Hub *HubSession) Servers(arg0 *big.Int) (struct{ ... }, error)
- func (_Hub *HubSession) SetDeprecated(_deprecated bool) (*types.Transaction, error)
- func (_Hub *HubSession) SetVersion(_version string) (*types.Transaction, error)
- func (_Hub *HubSession) Version() (string, error)
- type HubTransactor
- func (_Hub *HubTransactor) BurnAntiSpamFee(opts *bind.TransactOpts, hashedID [32]byte) (*types.Transaction, error)
- func (_Hub *HubTransactor) ClaimDeposit(opts *bind.TransactOpts, adaptorPrivKey *big.Int, antiSpamID *big.Int) (*types.Transaction, error)
- func (_Hub *HubTransactor) DepositEther(opts *bind.TransactOpts, recipient common.Address, adaptorPubKey *big.Int, ...) (*types.Transaction, error)
- func (_Hub *HubTransactor) ReclaimDeposit(opts *bind.TransactOpts, hashedAntiSpamID [32]byte) (*types.Transaction, error)
- func (_Hub *HubTransactor) RegisterServer(opts *bind.TransactOpts, target string, cert []byte) (*types.Transaction, error)
- func (_Hub *HubTransactor) SetDeprecated(opts *bind.TransactOpts, _deprecated bool) (*types.Transaction, error)
- func (_Hub *HubTransactor) SetVersion(opts *bind.TransactOpts, _version string) (*types.Transaction, error)
- type HubTransactorRaw
- type HubTransactorSession
- func (_Hub *HubTransactorSession) BurnAntiSpamFee(hashedID [32]byte) (*types.Transaction, error)
- func (_Hub *HubTransactorSession) ClaimDeposit(adaptorPrivKey *big.Int, antiSpamID *big.Int) (*types.Transaction, error)
- func (_Hub *HubTransactorSession) DepositEther(recipient common.Address, adaptorPubKey *big.Int, hashedAntiSpamID [32]byte) (*types.Transaction, error)
- func (_Hub *HubTransactorSession) ReclaimDeposit(hashedAntiSpamID [32]byte) (*types.Transaction, error)
- func (_Hub *HubTransactorSession) RegisterServer(target string, cert []byte) (*types.Transaction, error)
- func (_Hub *HubTransactorSession) SetDeprecated(_deprecated bool) (*types.Transaction, error)
- func (_Hub *HubTransactorSession) SetVersion(_version string) (*types.Transaction, error)
Constants ¶
const HubABI = "" /* 5049-byte string literal not displayed */
HubABI is the input ABI used to generate the binding from.
Variables ¶
var HubBin = "" /* 12082-byte string literal not displayed */
HubBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Hub ¶
type Hub struct { HubCaller // Read-only binding to the contract HubTransactor // Write-only binding to the contract HubFilterer // Log filterer for contract events }
Hub is an auto generated Go binding around an Ethereum contract.
func DeployHub ¶
func DeployHub(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Hub, error)
DeployHub deploys a new Ethereum contract, binding an instance of Hub to it.
type HubCaller ¶
type HubCaller struct {
// contains filtered or unexported fields
}
HubCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHubCaller ¶
NewHubCaller creates a new read-only instance of Hub, bound to a specific deployed contract.
func (*HubCaller) AdaptorPrivKeys ¶
AdaptorPrivKeys is a free data retrieval call binding the contract method 0xe74db5a9.
Solidity: function adaptorPrivKeys(uint256 ) constant returns(uint256)
func (*HubCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() constant returns(address)
func (*HubCaller) AntiSpamFees ¶
func (_Hub *HubCaller) AntiSpamFees(opts *bind.CallOpts, arg0 [32]byte) (struct { Fee *big.Int BlockNumber *big.Int }, error)
AntiSpamFees is a free data retrieval call binding the contract method 0x5a161ba5.
Solidity: function antiSpamFees(bytes32 ) constant returns(uint256 fee, uint256 blockNumber)
func (*HubCaller) CheckAntiSpamConfirmations ¶
func (_Hub *HubCaller) CheckAntiSpamConfirmations(opts *bind.CallOpts, id *big.Int, fee *big.Int) (*big.Int, error)
CheckAntiSpamConfirmations is a free data retrieval call binding the contract method 0x66db09c6.
Solidity: function checkAntiSpamConfirmations(uint256 id, uint256 fee) constant returns(uint256)
func (*HubCaller) CheckDepositConfirmations ¶
func (_Hub *HubCaller) CheckDepositConfirmations(opts *bind.CallOpts, recipient common.Address, adaptorPubKey *big.Int, value *big.Int, hashedAntiSpamID [32]byte) (*big.Int, error)
CheckDepositConfirmations is a free data retrieval call binding the contract method 0x57888e92.
Solidity: function checkDepositConfirmations(address recipient, uint256 adaptorPubKey, uint256 value, bytes32 hashedAntiSpamID) constant returns(uint256)
func (*HubCaller) Deposits ¶
func (_Hub *HubCaller) Deposits(opts *bind.CallOpts, arg0 [32]byte) (struct { Sender common.Address Recipient common.Address AdaptorPubKey *big.Int Value *big.Int BlockNumber *big.Int Deadline *big.Int }, error)
Deposits is a free data retrieval call binding the contract method 0x3d4dff7b.
Solidity: function deposits(bytes32 ) constant returns(address sender, address recipient, uint256 adaptorPubKey, uint256 value, uint256 blockNumber, uint256 deadline)
func (*HubCaller) Deprecated ¶
Deprecated is a free data retrieval call binding the contract method 0x0e136b19.
Solidity: function deprecated() constant returns(bool)
func (*HubCaller) FetchServer ¶
func (_Hub *HubCaller) FetchServer(opts *bind.CallOpts, maxAge *big.Int, offset *big.Int) (bool, string, []byte, error)
FetchServer is a free data retrieval call binding the contract method 0xe86ef23b.
Solidity: function fetchServer(uint256 maxAge, uint256 offset) constant returns(bool, string, bytes)
func (*HubCaller) Hash ¶
Hash is a free data retrieval call binding the contract method 0xb189fd4c.
Solidity: function hash(uint256 id) constant returns(bytes32)
func (*HubCaller) NextServerID ¶
NextServerID is a free data retrieval call binding the contract method 0x95fcfa0c.
Solidity: function nextServerID() constant returns(uint256)
func (*HubCaller) ScalarMultBase ¶
ScalarMultBase is a free data retrieval call binding the contract method 0xc4f4912b.
Solidity: function scalarMultBase(uint256 s) constant returns(uint256, uint256)
func (*HubCaller) Servers ¶
func (_Hub *HubCaller) Servers(opts *bind.CallOpts, arg0 *big.Int) (struct { Target string Cert []byte Timestamp *big.Int }, error)
Servers is a free data retrieval call binding the contract method 0x5cf0f357.
Solidity: function servers(uint256 ) constant returns(string target, bytes cert, uint256 timestamp)
type HubCallerRaw ¶
type HubCallerRaw struct {
Contract *HubCaller // Generic read-only contract binding to access the raw methods on
}
HubCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HubCallerRaw) Call ¶
func (_Hub *HubCallerRaw) 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 HubCallerSession ¶
type HubCallerSession struct { Contract *HubCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HubCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HubCallerSession) AdaptorPrivKeys ¶
AdaptorPrivKeys is a free data retrieval call binding the contract method 0xe74db5a9.
Solidity: function adaptorPrivKeys(uint256 ) constant returns(uint256)
func (*HubCallerSession) Admin ¶
func (_Hub *HubCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() constant returns(address)
func (*HubCallerSession) AntiSpamFees ¶
func (_Hub *HubCallerSession) AntiSpamFees(arg0 [32]byte) (struct { Fee *big.Int BlockNumber *big.Int }, error)
AntiSpamFees is a free data retrieval call binding the contract method 0x5a161ba5.
Solidity: function antiSpamFees(bytes32 ) constant returns(uint256 fee, uint256 blockNumber)
func (*HubCallerSession) CheckAntiSpamConfirmations ¶
func (_Hub *HubCallerSession) CheckAntiSpamConfirmations(id *big.Int, fee *big.Int) (*big.Int, error)
CheckAntiSpamConfirmations is a free data retrieval call binding the contract method 0x66db09c6.
Solidity: function checkAntiSpamConfirmations(uint256 id, uint256 fee) constant returns(uint256)
func (*HubCallerSession) CheckDepositConfirmations ¶
func (_Hub *HubCallerSession) CheckDepositConfirmations(recipient common.Address, adaptorPubKey *big.Int, value *big.Int, hashedAntiSpamID [32]byte) (*big.Int, error)
CheckDepositConfirmations is a free data retrieval call binding the contract method 0x57888e92.
Solidity: function checkDepositConfirmations(address recipient, uint256 adaptorPubKey, uint256 value, bytes32 hashedAntiSpamID) constant returns(uint256)
func (*HubCallerSession) Deposits ¶
func (_Hub *HubCallerSession) Deposits(arg0 [32]byte) (struct { Sender common.Address Recipient common.Address AdaptorPubKey *big.Int Value *big.Int BlockNumber *big.Int Deadline *big.Int }, error)
Deposits is a free data retrieval call binding the contract method 0x3d4dff7b.
Solidity: function deposits(bytes32 ) constant returns(address sender, address recipient, uint256 adaptorPubKey, uint256 value, uint256 blockNumber, uint256 deadline)
func (*HubCallerSession) Deprecated ¶
func (_Hub *HubCallerSession) Deprecated() (bool, error)
Deprecated is a free data retrieval call binding the contract method 0x0e136b19.
Solidity: function deprecated() constant returns(bool)
func (*HubCallerSession) FetchServer ¶
func (_Hub *HubCallerSession) FetchServer(maxAge *big.Int, offset *big.Int) (bool, string, []byte, error)
FetchServer is a free data retrieval call binding the contract method 0xe86ef23b.
Solidity: function fetchServer(uint256 maxAge, uint256 offset) constant returns(bool, string, bytes)
func (*HubCallerSession) Hash ¶
func (_Hub *HubCallerSession) Hash(id *big.Int) ([32]byte, error)
Hash is a free data retrieval call binding the contract method 0xb189fd4c.
Solidity: function hash(uint256 id) constant returns(bytes32)
func (*HubCallerSession) NextServerID ¶
func (_Hub *HubCallerSession) NextServerID() (*big.Int, error)
NextServerID is a free data retrieval call binding the contract method 0x95fcfa0c.
Solidity: function nextServerID() constant returns(uint256)
func (*HubCallerSession) ScalarMultBase ¶
ScalarMultBase is a free data retrieval call binding the contract method 0xc4f4912b.
Solidity: function scalarMultBase(uint256 s) constant returns(uint256, uint256)
func (*HubCallerSession) Servers ¶
func (_Hub *HubCallerSession) Servers(arg0 *big.Int) (struct { Target string Cert []byte Timestamp *big.Int }, error)
Servers is a free data retrieval call binding the contract method 0x5cf0f357.
Solidity: function servers(uint256 ) constant returns(string target, bytes cert, uint256 timestamp)
func (*HubCallerSession) Version ¶
func (_Hub *HubCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() constant returns(string)
type HubFilterer ¶
type HubFilterer struct {
// contains filtered or unexported fields
}
HubFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHubFilterer ¶
func NewHubFilterer(address common.Address, filterer bind.ContractFilterer) (*HubFilterer, error)
NewHubFilterer creates a new log filterer instance of Hub, bound to a specific deployed contract.
type HubRaw ¶
type HubRaw struct {
Contract *Hub // Generic contract binding to access the raw methods on
}
HubRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HubRaw) Call ¶
func (_Hub *HubRaw) 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 (*HubRaw) Transact ¶
func (_Hub *HubRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HubRaw) Transfer ¶
func (_Hub *HubRaw) 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 HubSession ¶
type HubSession struct { Contract *Hub // 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 }
HubSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HubSession) AdaptorPrivKeys ¶
AdaptorPrivKeys is a free data retrieval call binding the contract method 0xe74db5a9.
Solidity: function adaptorPrivKeys(uint256 ) constant returns(uint256)
func (*HubSession) Admin ¶
func (_Hub *HubSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() constant returns(address)
func (*HubSession) AntiSpamFees ¶
func (_Hub *HubSession) AntiSpamFees(arg0 [32]byte) (struct { Fee *big.Int BlockNumber *big.Int }, error)
AntiSpamFees is a free data retrieval call binding the contract method 0x5a161ba5.
Solidity: function antiSpamFees(bytes32 ) constant returns(uint256 fee, uint256 blockNumber)
func (*HubSession) BurnAntiSpamFee ¶
func (_Hub *HubSession) BurnAntiSpamFee(hashedID [32]byte) (*types.Transaction, error)
BurnAntiSpamFee is a paid mutator transaction binding the contract method 0xab80cdc2.
Solidity: function burnAntiSpamFee(bytes32 hashedID) returns()
func (*HubSession) CheckAntiSpamConfirmations ¶
CheckAntiSpamConfirmations is a free data retrieval call binding the contract method 0x66db09c6.
Solidity: function checkAntiSpamConfirmations(uint256 id, uint256 fee) constant returns(uint256)
func (*HubSession) CheckDepositConfirmations ¶
func (_Hub *HubSession) CheckDepositConfirmations(recipient common.Address, adaptorPubKey *big.Int, value *big.Int, hashedAntiSpamID [32]byte) (*big.Int, error)
CheckDepositConfirmations is a free data retrieval call binding the contract method 0x57888e92.
Solidity: function checkDepositConfirmations(address recipient, uint256 adaptorPubKey, uint256 value, bytes32 hashedAntiSpamID) constant returns(uint256)
func (*HubSession) ClaimDeposit ¶
func (_Hub *HubSession) ClaimDeposit(adaptorPrivKey *big.Int, antiSpamID *big.Int) (*types.Transaction, error)
ClaimDeposit is a paid mutator transaction binding the contract method 0xea32a89e.
Solidity: function claimDeposit(uint256 adaptorPrivKey, uint256 antiSpamID) returns()
func (*HubSession) DepositEther ¶
func (_Hub *HubSession) DepositEther(recipient common.Address, adaptorPubKey *big.Int, hashedAntiSpamID [32]byte) (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0xb90d104d.
Solidity: function depositEther(address recipient, uint256 adaptorPubKey, bytes32 hashedAntiSpamID) returns()
func (*HubSession) Deposits ¶
func (_Hub *HubSession) Deposits(arg0 [32]byte) (struct { Sender common.Address Recipient common.Address AdaptorPubKey *big.Int Value *big.Int BlockNumber *big.Int Deadline *big.Int }, error)
Deposits is a free data retrieval call binding the contract method 0x3d4dff7b.
Solidity: function deposits(bytes32 ) constant returns(address sender, address recipient, uint256 adaptorPubKey, uint256 value, uint256 blockNumber, uint256 deadline)
func (*HubSession) Deprecated ¶
func (_Hub *HubSession) Deprecated() (bool, error)
Deprecated is a free data retrieval call binding the contract method 0x0e136b19.
Solidity: function deprecated() constant returns(bool)
func (*HubSession) FetchServer ¶
FetchServer is a free data retrieval call binding the contract method 0xe86ef23b.
Solidity: function fetchServer(uint256 maxAge, uint256 offset) constant returns(bool, string, bytes)
func (*HubSession) Hash ¶
func (_Hub *HubSession) Hash(id *big.Int) ([32]byte, error)
Hash is a free data retrieval call binding the contract method 0xb189fd4c.
Solidity: function hash(uint256 id) constant returns(bytes32)
func (*HubSession) NextServerID ¶
func (_Hub *HubSession) NextServerID() (*big.Int, error)
NextServerID is a free data retrieval call binding the contract method 0x95fcfa0c.
Solidity: function nextServerID() constant returns(uint256)
func (*HubSession) ReclaimDeposit ¶
func (_Hub *HubSession) ReclaimDeposit(hashedAntiSpamID [32]byte) (*types.Transaction, error)
ReclaimDeposit is a paid mutator transaction binding the contract method 0xfa79c259.
Solidity: function reclaimDeposit(bytes32 hashedAntiSpamID) returns()
func (*HubSession) RegisterServer ¶
func (_Hub *HubSession) RegisterServer(target string, cert []byte) (*types.Transaction, error)
RegisterServer is a paid mutator transaction binding the contract method 0x9f64195d.
Solidity: function registerServer(string target, bytes cert) returns()
func (*HubSession) ScalarMultBase ¶
ScalarMultBase is a free data retrieval call binding the contract method 0xc4f4912b.
Solidity: function scalarMultBase(uint256 s) constant returns(uint256, uint256)
func (*HubSession) Servers ¶
func (_Hub *HubSession) Servers(arg0 *big.Int) (struct { Target string Cert []byte Timestamp *big.Int }, error)
Servers is a free data retrieval call binding the contract method 0x5cf0f357.
Solidity: function servers(uint256 ) constant returns(string target, bytes cert, uint256 timestamp)
func (*HubSession) SetDeprecated ¶
func (_Hub *HubSession) SetDeprecated(_deprecated bool) (*types.Transaction, error)
SetDeprecated is a paid mutator transaction binding the contract method 0xd848dee7.
Solidity: function setDeprecated(bool _deprecated) returns()
func (*HubSession) SetVersion ¶
func (_Hub *HubSession) SetVersion(_version string) (*types.Transaction, error)
SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.
Solidity: function setVersion(string _version) returns()
func (*HubSession) Version ¶
func (_Hub *HubSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() constant returns(string)
type HubTransactor ¶
type HubTransactor struct {
// contains filtered or unexported fields
}
HubTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHubTransactor ¶
func NewHubTransactor(address common.Address, transactor bind.ContractTransactor) (*HubTransactor, error)
NewHubTransactor creates a new write-only instance of Hub, bound to a specific deployed contract.
func (*HubTransactor) BurnAntiSpamFee ¶
func (_Hub *HubTransactor) BurnAntiSpamFee(opts *bind.TransactOpts, hashedID [32]byte) (*types.Transaction, error)
BurnAntiSpamFee is a paid mutator transaction binding the contract method 0xab80cdc2.
Solidity: function burnAntiSpamFee(bytes32 hashedID) returns()
func (*HubTransactor) ClaimDeposit ¶
func (_Hub *HubTransactor) ClaimDeposit(opts *bind.TransactOpts, adaptorPrivKey *big.Int, antiSpamID *big.Int) (*types.Transaction, error)
ClaimDeposit is a paid mutator transaction binding the contract method 0xea32a89e.
Solidity: function claimDeposit(uint256 adaptorPrivKey, uint256 antiSpamID) returns()
func (*HubTransactor) DepositEther ¶
func (_Hub *HubTransactor) DepositEther(opts *bind.TransactOpts, recipient common.Address, adaptorPubKey *big.Int, hashedAntiSpamID [32]byte) (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0xb90d104d.
Solidity: function depositEther(address recipient, uint256 adaptorPubKey, bytes32 hashedAntiSpamID) returns()
func (*HubTransactor) ReclaimDeposit ¶
func (_Hub *HubTransactor) ReclaimDeposit(opts *bind.TransactOpts, hashedAntiSpamID [32]byte) (*types.Transaction, error)
ReclaimDeposit is a paid mutator transaction binding the contract method 0xfa79c259.
Solidity: function reclaimDeposit(bytes32 hashedAntiSpamID) returns()
func (*HubTransactor) RegisterServer ¶
func (_Hub *HubTransactor) RegisterServer(opts *bind.TransactOpts, target string, cert []byte) (*types.Transaction, error)
RegisterServer is a paid mutator transaction binding the contract method 0x9f64195d.
Solidity: function registerServer(string target, bytes cert) returns()
func (*HubTransactor) SetDeprecated ¶
func (_Hub *HubTransactor) SetDeprecated(opts *bind.TransactOpts, _deprecated bool) (*types.Transaction, error)
SetDeprecated is a paid mutator transaction binding the contract method 0xd848dee7.
Solidity: function setDeprecated(bool _deprecated) returns()
func (*HubTransactor) SetVersion ¶
func (_Hub *HubTransactor) SetVersion(opts *bind.TransactOpts, _version string) (*types.Transaction, error)
SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.
Solidity: function setVersion(string _version) returns()
type HubTransactorRaw ¶
type HubTransactorRaw struct {
Contract *HubTransactor // Generic write-only contract binding to access the raw methods on
}
HubTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HubTransactorRaw) Transact ¶
func (_Hub *HubTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HubTransactorRaw) Transfer ¶
func (_Hub *HubTransactorRaw) 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 HubTransactorSession ¶
type HubTransactorSession struct { Contract *HubTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HubTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HubTransactorSession) BurnAntiSpamFee ¶
func (_Hub *HubTransactorSession) BurnAntiSpamFee(hashedID [32]byte) (*types.Transaction, error)
BurnAntiSpamFee is a paid mutator transaction binding the contract method 0xab80cdc2.
Solidity: function burnAntiSpamFee(bytes32 hashedID) returns()
func (*HubTransactorSession) ClaimDeposit ¶
func (_Hub *HubTransactorSession) ClaimDeposit(adaptorPrivKey *big.Int, antiSpamID *big.Int) (*types.Transaction, error)
ClaimDeposit is a paid mutator transaction binding the contract method 0xea32a89e.
Solidity: function claimDeposit(uint256 adaptorPrivKey, uint256 antiSpamID) returns()
func (*HubTransactorSession) DepositEther ¶
func (_Hub *HubTransactorSession) DepositEther(recipient common.Address, adaptorPubKey *big.Int, hashedAntiSpamID [32]byte) (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0xb90d104d.
Solidity: function depositEther(address recipient, uint256 adaptorPubKey, bytes32 hashedAntiSpamID) returns()
func (*HubTransactorSession) ReclaimDeposit ¶
func (_Hub *HubTransactorSession) ReclaimDeposit(hashedAntiSpamID [32]byte) (*types.Transaction, error)
ReclaimDeposit is a paid mutator transaction binding the contract method 0xfa79c259.
Solidity: function reclaimDeposit(bytes32 hashedAntiSpamID) returns()
func (*HubTransactorSession) RegisterServer ¶
func (_Hub *HubTransactorSession) RegisterServer(target string, cert []byte) (*types.Transaction, error)
RegisterServer is a paid mutator transaction binding the contract method 0x9f64195d.
Solidity: function registerServer(string target, bytes cert) returns()
func (*HubTransactorSession) SetDeprecated ¶
func (_Hub *HubTransactorSession) SetDeprecated(_deprecated bool) (*types.Transaction, error)
SetDeprecated is a paid mutator transaction binding the contract method 0xd848dee7.
Solidity: function setDeprecated(bool _deprecated) returns()
func (*HubTransactorSession) SetVersion ¶
func (_Hub *HubTransactorSession) SetVersion(_version string) (*types.Transaction, error)
SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.
Solidity: function setVersion(string _version) returns()