-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInterfaces.cs
More file actions
50 lines (40 loc) · 1.19 KB
/
Interfaces.cs
File metadata and controls
50 lines (40 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using System.Threading.Tasks;
namespace CloudBankTester
{
interface ICloudBankAccessable
{
BankKeys LoadKeysFromFile(string filepath);
CloudBankUtils CloudBankUtils { get; }
}
interface ICloudBankUtils
{
int onesInBank { get; }
int fivesInBank { get; }
int twentyFivesInBank { get; }
int hundredsInBank { get; }
int twohundredfiftiesInBank { get; }
Task showCoins();
void loadStackFromFile(string filepath);
void saveStackToFile(string filepath);
string getStackName();
Task sendStackToCloudBank();
Task getStackFromCloudBank(int amountToWithdraw);
Task getReceipt();
Task getReceiptFromCloudBank();
Task transferCloudCoins(string toPublicKey, int coinsToSend);
}
interface IKeys
{
string publickey { get; set; }
string privatekey { get; set; }
string account { get; set; }
}
interface IBankResponse
{
string bank_server { get; set; }
string time { get; set; }
string status { get; set; }
string message { get; set; }
}
}