File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 88 "github.com/lightninglabs/loop/staticaddr/address"
99 "github.com/lightninglabs/loop/staticaddr/deposit"
1010 "github.com/lightninglabs/loop/staticaddr/script"
11+ "github.com/lightningnetwork/lnd/lnwallet"
1112)
1213
1314// Store is the database interface that is used to store and retrieve
@@ -31,6 +32,10 @@ type AddressManager interface {
3132 // GetStaticAddress returns the deposit address for the given
3233 // client and server public keys.
3334 GetStaticAddress (ctx context.Context ) (* script.StaticAddress , error )
35+
36+ // ListUnspent returns a list of utxos at the static address.
37+ ListUnspent (ctx context.Context , minConfs ,
38+ maxConfs int32 ) ([]* lnwallet.Utxo , error )
3439}
3540
3641type DepositManager interface {
You can’t perform that action at this time.
0 commit comments