Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2021 Changes in this version + type Finder interface + Find func(q Query, maxLength uint) ([]Path, uint32, error) + FindFixedPaths func(sourceAsset xdr.Asset, amountToSpend xdr.Int64, destinationAssets []xdr.Asset, ...) ([]Path, uint32, error) + type MockFinder struct + func (m *MockFinder) Find(q Query, maxLength uint) ([]Path, uint32, error) + func (m *MockFinder) FindFixedPaths(sourceAsset xdr.Asset, amountToSpend xdr.Int64, destinationAssets []xdr.Asset, ...) ([]Path, uint32, error) + type Path struct + Destination xdr.Asset + DestinationAmount xdr.Int64 + Path []xdr.Asset + Source xdr.Asset + SourceAmount xdr.Int64 + type Query struct + DestinationAmount xdr.Int64 + DestinationAsset xdr.Asset + SourceAccount *xdr.AccountId + SourceAssetBalances []xdr.Int64 + SourceAssets []xdr.Asset + ValidateSourceBalance bool