Commit 16afda2 1 parent 6a78a0c commit 16afda2 Copy full SHA for 16afda2
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.8.0 ;
4
4
5
+ type uint128x2 is uint256 ;
6
+
5
7
struct Signature {
6
8
bytes32 r;
7
9
uint256 yParityAndS;
8
10
}
9
11
10
- uint256 constant DEPOSIT_OFFSET = 64 ;
12
+ uint256 constant SIGNER_INFO_DEPOSIT_OFFSET = 64 ;
11
13
12
- uint256 constant END_TS_OFFSET = 112 ;
14
+ uint256 constant SIGNER_INFO_END_TS_OFFSET = 112 ;
13
15
14
- uint256 constant END_TS_MASK = uint256 (type (uint64 ).max) << 112 ;
16
+ uint256 constant SIGNER_INFO_END_TS_MASK = uint256 (type (uint64 ).max) << 112 ;
15
17
16
- uint256 constant WITHDRAW_OFFSET = 176 ;
18
+ uint256 constant SIGNER_INFO_WITHDRAW_OFFSET = 176 ;
17
19
18
- uint256 constant WITHDRAW_MASK = uint256 (type (uint48 ).max) << 176 ;
20
+ uint256 constant SIGNER_INFO_WITHDRAW_MASK = uint256 (type (uint48 ).max) << 176 ;
19
21
20
22
/**
21
23
*
@@ -25,8 +27,6 @@ uint256 constant WITHDRAW_MASK = uint256(type(uint48).max) << 176;
25
27
*/
26
28
type SignerInfo is uint256 ;
27
29
28
- type uint128x2 is uint256 ;
29
-
30
30
interface IDIDSigners {
31
31
function authenticateExposureReportID3Sigs (
32
32
bytes32 exposureReportID ,
You can’t perform that action at this time.
0 commit comments