@@ -2,14 +2,15 @@ pragma solidity 0.5.11;
2
2
3
3
4
4
interface IKyberStaking {
5
- event Delegated (address indexed staker , address indexed delegatedAddress , uint256 indexed epoch , bool isDelegated );
5
+ event Delegated (
6
+ address indexed staker ,
7
+ address indexed delegatedAddress ,
8
+ uint256 indexed epoch ,
9
+ bool isDelegated
10
+ );
6
11
event Deposited (uint256 curEpoch , address indexed staker , uint256 amount );
7
12
event Withdraw (uint256 indexed curEpoch , address indexed staker , uint256 amount );
8
13
9
- function epochPeriodInSeconds () external view returns (uint256 );
10
-
11
- function firstEpochStartTimestamp () external view returns (uint256 );
12
-
13
14
function initAndReturnStakerDataForCurrentEpoch (address staker )
14
15
external
15
16
returns (
@@ -18,6 +19,12 @@ interface IKyberStaking {
18
19
address _delegatedAddress
19
20
);
20
21
22
+ function deposit (uint256 amount ) external ;
23
+
24
+ function delegate (address dAddr ) external ;
25
+
26
+ function withdraw (uint256 amount ) external ;
27
+
21
28
function getStakerDataForPastEpoch (address staker , uint256 epoch )
22
29
external
23
30
view
@@ -27,9 +34,7 @@ interface IKyberStaking {
27
34
address _delegatedAddress
28
35
);
29
36
30
- function deposit (uint256 amount ) external ;
31
-
32
- function withdraw (uint256 amount ) external ;
37
+ function epochPeriodInSeconds () external view returns (uint256 );
33
38
34
- function delegate ( address dAddr ) external ;
39
+ function firstEpochStartTimestamp ( ) external view returns ( uint256 ) ;
35
40
}
0 commit comments