Versions in this module Expand all Collapse all v0 v0.4.0 Oct 11, 2018 Changes in this version + func NewSwap(localProfile *LocalProfile, remoteProfile *RemoteProfile, ...) (swapInstance *swap.Swap, err error) + type LocalProfile struct + func NewDefaultSwapParams() *LocalProfile + func (lp *LocalProfile) Chequebook() *chequebook.Chequebook + func (lp *LocalProfile) Init(contract common.Address, prvkey *ecdsa.PrivateKey) + func (lp *LocalProfile) PrivateKey() *ecdsa.PrivateKey + func (lp *LocalProfile) SetChequebook(ctx context.Context, backend chequebook.Backend, path string) error + func (lp *LocalProfile) SetKey(prvkey *ecdsa.PrivateKey) + type PayProfile struct + Beneficiary common.Address + Contract common.Address + PublicKey string + type RemoteProfile struct