Versions in this module Expand all Collapse all v1 v1.0.3 Apr 3, 2019 Changes in this version + func NewSwap(local *SwapParams, remote *SwapProfile, backend chequebook.Backend, ...) (self *swap.Swap, err error) + type PayProfile struct + Beneficiary common.Address + Contract common.Address + PublicKey string + type SwapParams struct + func NewDefaultSwapParams() *SwapParams + func (self *SwapParams) Chequebook() *chequebook.Chequebook + func (self *SwapParams) Init(contract common.Address, prvkey *ecdsa.PrivateKey) + func (self *SwapParams) PrivateKey() *ecdsa.PrivateKey + func (self *SwapParams) SetChequebook(ctx context.Context, backend chequebook.Backend, path string) error + func (self *SwapParams) SetKey(prvkey *ecdsa.PrivateKey) + type SwapProfile struct