forked from EllieBotDevs/elliebot
10 lines
345 B
C#
10 lines
345 B
C#
|
namespace EllieBot.Modules.Gambling.Bank;
|
|||
|
|
|||
|
public interface IBankService
|
|||
|
{
|
|||
|
Task<bool> DepositAsync(ulong userId, long amount);
|
|||
|
Task<bool> WithdrawAsync(ulong userId, long amount);
|
|||
|
Task<long> GetBalanceAsync(ulong userId);
|
|||
|
Task<bool> AwardAsync(ulong userId, long amount);
|
|||
|
Task<bool> TakeAsync(ulong userId, long amount);
|
|||
|
}
|