Documentation
¶
Index ¶
- Constants
- type SinglePaymentChannel
- type SinglePaymentChannelCaller
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) Alice(opts *bind.CallOpts) (common.Address, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) AmountDeposited(opts *bind.CallOpts) (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) Bob(opts *bind.CallOpts) (common.Address, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) ChallengePeriodLength(opts *bind.CallOpts) (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) LastPaymentProof(opts *bind.CallOpts) (struct{ ... }, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) StartChallengePeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) StartDate(opts *bind.CallOpts) (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) Timeout(opts *bind.CallOpts) (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCaller) VerifyValidityOfMessage(opts *bind.CallOpts, _proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, ...) (bool, error)
- type SinglePaymentChannelCallerRaw
- type SinglePaymentChannelCallerSession
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) Alice() (common.Address, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) AmountDeposited() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) Bob() (common.Address, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) ChallengePeriodLength() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) LastPaymentProof() (struct{ ... }, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) StartChallengePeriod() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) StartDate() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) Timeout() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) VerifyValidityOfMessage(_proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, ...) (bool, error)
- type SinglePaymentChannelFilterer
- type SinglePaymentChannelRaw
- func (_SinglePaymentChannel *SinglePaymentChannelRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SinglePaymentChannel *SinglePaymentChannelRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SinglePaymentChannelSession
- func (_SinglePaymentChannel *SinglePaymentChannelSession) Alice() (common.Address, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) AmountDeposited() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) Bob() (common.Address, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) Challenge(_proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, ...) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) ChallengePeriodLength() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) CloseChannel(_proof [32]byte, _v [2]uint8, _r [2][32]byte, _s [2][32]byte, _value *big.Int, ...) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) FinalizeChannel() (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) LastPaymentProof() (struct{ ... }, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) OpenChannel(_bob common.Address) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) StartChallengePeriod() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) StartDate() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) Timeout() (*big.Int, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) TimeoutClose() (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelSession) VerifyValidityOfMessage(_proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, ...) (bool, error)
- type SinglePaymentChannelTransactor
- func (_SinglePaymentChannel *SinglePaymentChannelTransactor) Challenge(opts *bind.TransactOpts, _proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, ...) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelTransactor) CloseChannel(opts *bind.TransactOpts, _proof [32]byte, _v [2]uint8, _r [2][32]byte, ...) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelTransactor) FinalizeChannel(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelTransactor) OpenChannel(opts *bind.TransactOpts, _bob common.Address) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelTransactor) TimeoutClose(opts *bind.TransactOpts) (*types.Transaction, error)
- type SinglePaymentChannelTransactorRaw
- type SinglePaymentChannelTransactorSession
- func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) Challenge(_proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, ...) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) CloseChannel(_proof [32]byte, _v [2]uint8, _r [2][32]byte, _s [2][32]byte, _value *big.Int, ...) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) FinalizeChannel() (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) OpenChannel(_bob common.Address) (*types.Transaction, error)
- func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) TimeoutClose() (*types.Transaction, error)
Constants ¶
const SinglePaymentChannelABI = "" /* 3478-byte string literal not displayed */
SinglePaymentChannelABI is the input ABI used to generate the binding from.
const SinglePaymentChannelBin = `` /* 8108-byte string literal not displayed */
SinglePaymentChannelBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SinglePaymentChannel ¶
type SinglePaymentChannel struct {
SinglePaymentChannelCaller // Read-only binding to the contract
SinglePaymentChannelTransactor // Write-only binding to the contract
SinglePaymentChannelFilterer // Log filterer for contract events
}
SinglePaymentChannel is an auto generated Go binding around an Ethereum contract.
func DeploySinglePaymentChannel ¶
func DeploySinglePaymentChannel(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SinglePaymentChannel, error)
DeploySinglePaymentChannel deploys a new Ethereum contract, binding an instance of SinglePaymentChannel to it.
func NewSinglePaymentChannel ¶
func NewSinglePaymentChannel(address common.Address, backend bind.ContractBackend) (*SinglePaymentChannel, error)
NewSinglePaymentChannel creates a new instance of SinglePaymentChannel, bound to a specific deployed contract.
type SinglePaymentChannelCaller ¶
type SinglePaymentChannelCaller struct {
// contains filtered or unexported fields
}
SinglePaymentChannelCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSinglePaymentChannelCaller ¶
func NewSinglePaymentChannelCaller(address common.Address, caller bind.ContractCaller) (*SinglePaymentChannelCaller, error)
NewSinglePaymentChannelCaller creates a new read-only instance of SinglePaymentChannel, bound to a specific deployed contract.
func (*SinglePaymentChannelCaller) Alice ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) Alice(opts *bind.CallOpts) (common.Address, error)
Alice is a free data retrieval call binding the contract method 0xfb47e3a2.
Solidity: function alice() constant returns(address)
func (*SinglePaymentChannelCaller) AmountDeposited ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) AmountDeposited(opts *bind.CallOpts) (*big.Int, error)
AmountDeposited is a free data retrieval call binding the contract method 0xf86ccd41.
Solidity: function amountDeposited() constant returns(uint256)
func (*SinglePaymentChannelCaller) Bob ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) Bob(opts *bind.CallOpts) (common.Address, error)
Bob is a free data retrieval call binding the contract method 0xc09cec77.
Solidity: function bob() constant returns(address)
func (*SinglePaymentChannelCaller) ChallengePeriodLength ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) ChallengePeriodLength(opts *bind.CallOpts) (*big.Int, error)
ChallengePeriodLength is a free data retrieval call binding the contract method 0x6314e869.
Solidity: function challengePeriodLength() constant returns(uint256)
func (*SinglePaymentChannelCaller) LastPaymentProof ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) LastPaymentProof(opts *bind.CallOpts) (struct { Nonce *big.Int Value *big.Int }, error)
LastPaymentProof is a free data retrieval call binding the contract method 0xc5d330d8.
Solidity: function lastPaymentProof() constant returns(nonce uint256, value uint256)
func (*SinglePaymentChannelCaller) StartChallengePeriod ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) StartChallengePeriod(opts *bind.CallOpts) (*big.Int, error)
StartChallengePeriod is a free data retrieval call binding the contract method 0x1310d31f.
Solidity: function startChallengePeriod() constant returns(uint256)
func (*SinglePaymentChannelCaller) StartDate ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) StartDate(opts *bind.CallOpts) (*big.Int, error)
StartDate is a free data retrieval call binding the contract method 0x0b97bc86.
Solidity: function startDate() constant returns(uint256)
func (*SinglePaymentChannelCaller) Timeout ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) Timeout(opts *bind.CallOpts) (*big.Int, error)
Timeout is a free data retrieval call binding the contract method 0x70dea79a.
Solidity: function timeout() constant returns(uint256)
func (*SinglePaymentChannelCaller) VerifyValidityOfMessage ¶
func (_SinglePaymentChannel *SinglePaymentChannelCaller) VerifyValidityOfMessage(opts *bind.CallOpts, _proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, _nonce *big.Int, _originator common.Address) (bool, error)
VerifyValidityOfMessage is a free data retrieval call binding the contract method 0x22b55cba.
Solidity: function VerifyValidityOfMessage(_proof bytes32, _v uint8, _r bytes32, _s bytes32, _value uint256, _nonce uint256, _originator address) constant returns(bool)
type SinglePaymentChannelCallerRaw ¶
type SinglePaymentChannelCallerRaw struct {
Contract *SinglePaymentChannelCaller // Generic read-only contract binding to access the raw methods on
}
SinglePaymentChannelCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SinglePaymentChannelCallerRaw) Call ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerRaw) 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 SinglePaymentChannelCallerSession ¶
type SinglePaymentChannelCallerSession struct {
Contract *SinglePaymentChannelCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SinglePaymentChannelCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SinglePaymentChannelCallerSession) Alice ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) Alice() (common.Address, error)
Alice is a free data retrieval call binding the contract method 0xfb47e3a2.
Solidity: function alice() constant returns(address)
func (*SinglePaymentChannelCallerSession) AmountDeposited ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) AmountDeposited() (*big.Int, error)
AmountDeposited is a free data retrieval call binding the contract method 0xf86ccd41.
Solidity: function amountDeposited() constant returns(uint256)
func (*SinglePaymentChannelCallerSession) Bob ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) Bob() (common.Address, error)
Bob is a free data retrieval call binding the contract method 0xc09cec77.
Solidity: function bob() constant returns(address)
func (*SinglePaymentChannelCallerSession) ChallengePeriodLength ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) ChallengePeriodLength() (*big.Int, error)
ChallengePeriodLength is a free data retrieval call binding the contract method 0x6314e869.
Solidity: function challengePeriodLength() constant returns(uint256)
func (*SinglePaymentChannelCallerSession) LastPaymentProof ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) LastPaymentProof() (struct { Nonce *big.Int Value *big.Int }, error)
LastPaymentProof is a free data retrieval call binding the contract method 0xc5d330d8.
Solidity: function lastPaymentProof() constant returns(nonce uint256, value uint256)
func (*SinglePaymentChannelCallerSession) StartChallengePeriod ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) StartChallengePeriod() (*big.Int, error)
StartChallengePeriod is a free data retrieval call binding the contract method 0x1310d31f.
Solidity: function startChallengePeriod() constant returns(uint256)
func (*SinglePaymentChannelCallerSession) StartDate ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) StartDate() (*big.Int, error)
StartDate is a free data retrieval call binding the contract method 0x0b97bc86.
Solidity: function startDate() constant returns(uint256)
func (*SinglePaymentChannelCallerSession) Timeout ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) Timeout() (*big.Int, error)
Timeout is a free data retrieval call binding the contract method 0x70dea79a.
Solidity: function timeout() constant returns(uint256)
func (*SinglePaymentChannelCallerSession) VerifyValidityOfMessage ¶
func (_SinglePaymentChannel *SinglePaymentChannelCallerSession) VerifyValidityOfMessage(_proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, _nonce *big.Int, _originator common.Address) (bool, error)
VerifyValidityOfMessage is a free data retrieval call binding the contract method 0x22b55cba.
Solidity: function VerifyValidityOfMessage(_proof bytes32, _v uint8, _r bytes32, _s bytes32, _value uint256, _nonce uint256, _originator address) constant returns(bool)
type SinglePaymentChannelFilterer ¶
type SinglePaymentChannelFilterer struct {
// contains filtered or unexported fields
}
SinglePaymentChannelFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSinglePaymentChannelFilterer ¶
func NewSinglePaymentChannelFilterer(address common.Address, filterer bind.ContractFilterer) (*SinglePaymentChannelFilterer, error)
NewSinglePaymentChannelFilterer creates a new log filterer instance of SinglePaymentChannel, bound to a specific deployed contract.
type SinglePaymentChannelRaw ¶
type SinglePaymentChannelRaw struct {
Contract *SinglePaymentChannel // Generic contract binding to access the raw methods on
}
SinglePaymentChannelRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SinglePaymentChannelRaw) Call ¶
func (_SinglePaymentChannel *SinglePaymentChannelRaw) 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 (*SinglePaymentChannelRaw) Transact ¶
func (_SinglePaymentChannel *SinglePaymentChannelRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SinglePaymentChannelRaw) Transfer ¶
func (_SinglePaymentChannel *SinglePaymentChannelRaw) 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 SinglePaymentChannelSession ¶
type SinglePaymentChannelSession struct {
Contract *SinglePaymentChannel // 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
}
SinglePaymentChannelSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SinglePaymentChannelSession) Alice ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) Alice() (common.Address, error)
Alice is a free data retrieval call binding the contract method 0xfb47e3a2.
Solidity: function alice() constant returns(address)
func (*SinglePaymentChannelSession) AmountDeposited ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) AmountDeposited() (*big.Int, error)
AmountDeposited is a free data retrieval call binding the contract method 0xf86ccd41.
Solidity: function amountDeposited() constant returns(uint256)
func (*SinglePaymentChannelSession) Bob ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) Bob() (common.Address, error)
Bob is a free data retrieval call binding the contract method 0xc09cec77.
Solidity: function bob() constant returns(address)
func (*SinglePaymentChannelSession) Challenge ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) Challenge(_proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, _nonce *big.Int) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0x3fc74727.
Solidity: function Challenge(_proof bytes32, _v uint8, _r bytes32, _s bytes32, _value uint256, _nonce uint256) returns(bool)
func (*SinglePaymentChannelSession) ChallengePeriodLength ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) ChallengePeriodLength() (*big.Int, error)
ChallengePeriodLength is a free data retrieval call binding the contract method 0x6314e869.
Solidity: function challengePeriodLength() constant returns(uint256)
func (*SinglePaymentChannelSession) CloseChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) CloseChannel(_proof [32]byte, _v [2]uint8, _r [2][32]byte, _s [2][32]byte, _value *big.Int, _nonce *big.Int) (*types.Transaction, error)
CloseChannel is a paid mutator transaction binding the contract method 0x57ad3492.
Solidity: function CloseChannel(_proof bytes32, _v uint8[2], _r bytes32[2], _s bytes32[2], _value uint256, _nonce uint256) returns(bool)
func (*SinglePaymentChannelSession) FinalizeChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) FinalizeChannel() (*types.Transaction, error)
FinalizeChannel is a paid mutator transaction binding the contract method 0xcf62ef6b.
Solidity: function FinalizeChannel() returns(bool)
func (*SinglePaymentChannelSession) LastPaymentProof ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) LastPaymentProof() (struct { Nonce *big.Int Value *big.Int }, error)
LastPaymentProof is a free data retrieval call binding the contract method 0xc5d330d8.
Solidity: function lastPaymentProof() constant returns(nonce uint256, value uint256)
func (*SinglePaymentChannelSession) OpenChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) OpenChannel(_bob common.Address) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0xda02940c.
Solidity: function OpenChannel(_bob address) returns()
func (*SinglePaymentChannelSession) StartChallengePeriod ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) StartChallengePeriod() (*big.Int, error)
StartChallengePeriod is a free data retrieval call binding the contract method 0x1310d31f.
Solidity: function startChallengePeriod() constant returns(uint256)
func (*SinglePaymentChannelSession) StartDate ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) StartDate() (*big.Int, error)
StartDate is a free data retrieval call binding the contract method 0x0b97bc86.
Solidity: function startDate() constant returns(uint256)
func (*SinglePaymentChannelSession) Timeout ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) Timeout() (*big.Int, error)
Timeout is a free data retrieval call binding the contract method 0x70dea79a.
Solidity: function timeout() constant returns(uint256)
func (*SinglePaymentChannelSession) TimeoutClose ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) TimeoutClose() (*types.Transaction, error)
TimeoutClose is a paid mutator transaction binding the contract method 0x7a55d8f4.
Solidity: function TimeoutClose() returns(bool)
func (*SinglePaymentChannelSession) VerifyValidityOfMessage ¶
func (_SinglePaymentChannel *SinglePaymentChannelSession) VerifyValidityOfMessage(_proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, _nonce *big.Int, _originator common.Address) (bool, error)
VerifyValidityOfMessage is a free data retrieval call binding the contract method 0x22b55cba.
Solidity: function VerifyValidityOfMessage(_proof bytes32, _v uint8, _r bytes32, _s bytes32, _value uint256, _nonce uint256, _originator address) constant returns(bool)
type SinglePaymentChannelTransactor ¶
type SinglePaymentChannelTransactor struct {
// contains filtered or unexported fields
}
SinglePaymentChannelTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSinglePaymentChannelTransactor ¶
func NewSinglePaymentChannelTransactor(address common.Address, transactor bind.ContractTransactor) (*SinglePaymentChannelTransactor, error)
NewSinglePaymentChannelTransactor creates a new write-only instance of SinglePaymentChannel, bound to a specific deployed contract.
func (*SinglePaymentChannelTransactor) Challenge ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactor) Challenge(opts *bind.TransactOpts, _proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, _nonce *big.Int) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0x3fc74727.
Solidity: function Challenge(_proof bytes32, _v uint8, _r bytes32, _s bytes32, _value uint256, _nonce uint256) returns(bool)
func (*SinglePaymentChannelTransactor) CloseChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactor) CloseChannel(opts *bind.TransactOpts, _proof [32]byte, _v [2]uint8, _r [2][32]byte, _s [2][32]byte, _value *big.Int, _nonce *big.Int) (*types.Transaction, error)
CloseChannel is a paid mutator transaction binding the contract method 0x57ad3492.
Solidity: function CloseChannel(_proof bytes32, _v uint8[2], _r bytes32[2], _s bytes32[2], _value uint256, _nonce uint256) returns(bool)
func (*SinglePaymentChannelTransactor) FinalizeChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactor) FinalizeChannel(opts *bind.TransactOpts) (*types.Transaction, error)
FinalizeChannel is a paid mutator transaction binding the contract method 0xcf62ef6b.
Solidity: function FinalizeChannel() returns(bool)
func (*SinglePaymentChannelTransactor) OpenChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactor) OpenChannel(opts *bind.TransactOpts, _bob common.Address) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0xda02940c.
Solidity: function OpenChannel(_bob address) returns()
func (*SinglePaymentChannelTransactor) TimeoutClose ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactor) TimeoutClose(opts *bind.TransactOpts) (*types.Transaction, error)
TimeoutClose is a paid mutator transaction binding the contract method 0x7a55d8f4.
Solidity: function TimeoutClose() returns(bool)
type SinglePaymentChannelTransactorRaw ¶
type SinglePaymentChannelTransactorRaw struct {
Contract *SinglePaymentChannelTransactor // Generic write-only contract binding to access the raw methods on
}
SinglePaymentChannelTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SinglePaymentChannelTransactorRaw) Transact ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SinglePaymentChannelTransactorRaw) Transfer ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactorRaw) 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 SinglePaymentChannelTransactorSession ¶
type SinglePaymentChannelTransactorSession struct {
Contract *SinglePaymentChannelTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SinglePaymentChannelTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SinglePaymentChannelTransactorSession) Challenge ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) Challenge(_proof [32]byte, _v uint8, _r [32]byte, _s [32]byte, _value *big.Int, _nonce *big.Int) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0x3fc74727.
Solidity: function Challenge(_proof bytes32, _v uint8, _r bytes32, _s bytes32, _value uint256, _nonce uint256) returns(bool)
func (*SinglePaymentChannelTransactorSession) CloseChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) CloseChannel(_proof [32]byte, _v [2]uint8, _r [2][32]byte, _s [2][32]byte, _value *big.Int, _nonce *big.Int) (*types.Transaction, error)
CloseChannel is a paid mutator transaction binding the contract method 0x57ad3492.
Solidity: function CloseChannel(_proof bytes32, _v uint8[2], _r bytes32[2], _s bytes32[2], _value uint256, _nonce uint256) returns(bool)
func (*SinglePaymentChannelTransactorSession) FinalizeChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) FinalizeChannel() (*types.Transaction, error)
FinalizeChannel is a paid mutator transaction binding the contract method 0xcf62ef6b.
Solidity: function FinalizeChannel() returns(bool)
func (*SinglePaymentChannelTransactorSession) OpenChannel ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) OpenChannel(_bob common.Address) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0xda02940c.
Solidity: function OpenChannel(_bob address) returns()
func (*SinglePaymentChannelTransactorSession) TimeoutClose ¶
func (_SinglePaymentChannel *SinglePaymentChannelTransactorSession) TimeoutClose() (*types.Transaction, error)
TimeoutClose is a paid mutator transaction binding the contract method 0x7a55d8f4.
Solidity: function TimeoutClose() returns(bool)