mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
22 lines
513 B
C#
22 lines
513 B
C#
|
using System.Collections.Generic;
|
||
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using Newtonsoft.Json.Linq;
|
||
|
|
||
|
namespace BTCPayServer.Abstractions.Custodians;
|
||
|
|
||
|
public interface ICustodian
|
||
|
{
|
||
|
/**
|
||
|
* Get the unique code that identifies this custodian.
|
||
|
*/
|
||
|
string Code { get; }
|
||
|
|
||
|
string Name { get; }
|
||
|
|
||
|
/**
|
||
|
* Get a list of assets and their qty in custody.
|
||
|
*/
|
||
|
Task<Dictionary<string, decimal>> GetAssetBalancesAsync(JObject config, CancellationToken cancellationToken);
|
||
|
}
|