forked from GX-Coin/SmartContract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGxEventsInterface.sol
82 lines (72 loc) · 2.43 KB
/
GxEventsInterface.sol
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
pragma solidity ^0.4.2;
contract GxEventsInterface {
function raiseTraderRegistered(address traderAccount);
function raiseTraderUnregistered(address traderAccount);
function raiseCoinsSeeded(address to, uint32 amountCoins, uint balanceCoins, uint pricePerCoin);
function raiseCoinsDeducted(address to, uint32 amountCoins, uint balanceCoins);
function raiseCoinsAdded(address to, uint32 amountCoins, uint balanceCoins);
function raiseDollarsFunded(address to, uint160 amountDollars, int160 balanceDollars);
function raiseDollarsWithdrew(address to, uint160 amountDollars, int160 balanceDollars);
function raiseDollarsDeducted(address to, uint160 amountDollars, int160 balanceDollars);
function raiseDollarsAdded(address to, uint160 amountDollars, int160 balanceDollars);
function raiseDollarsWithdrawalCancelled(address to, uint160 amountDollars, int160 balanceDollars);
function raiseBuyOrderCreated(
address account,
uint32 amount,
uint32 pricePerCoin,
uint80 buyOrderId,
uint balanceCoins,
int160 balanceDollars
);
function raiseBuyOrderMatched(
address seller,
address buyer,
uint matchedAmount,
uint pricePerCoin,
uint buyOrderId,
uint sellOrderId,
uint originalAmount,
uint unmatchedAmount,
uint originalPricePerCoin,
uint balanceCoins,
int160 balanceDollars
);
function raiseBuyOrderCancelled(
address account,
uint amount,
uint pricePerCoin,
uint buyOrderId,
uint originalAmount,
uint balanceCoins,
int160 balanceDollars
);
function raiseSellOrderCreated(
address account,
uint32 amount,
uint32 pricePerCoin,
uint80 selLOrderId,
uint balanceCoins,
int160 balanceDollars
);
function raiseSellOrderMatched(
address seller,
address buyer,
uint matchedAmount,
uint pricePerCoin,
uint buyOrderId,
uint sellOrderId,
uint originalAmount,
uint unmatchedAmount,
uint balanceCoins,
int160 balanceDollars
);
function raiseSellOrderCancelled(
address account,
uint amount,
uint pricePerCoin,
uint sellOrderId,
uint originalAmount,
uint balanceCoins,
int160 balanceDollars
);
}