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