forked from royhodge/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresources.php
More file actions
109 lines (91 loc) · 2.52 KB
/
Copy pathresources.php
File metadata and controls
109 lines (91 loc) · 2.52 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php
/**
*
*/
class Literals
{
const STREAM_KEY_DELIMITER = "~";
const USER_CREDENTIALS_FIELD_NAMES = array(
"USER_NAME" => "user_name",
"PASSWORD_HASH" => "pass_hash"
);
const USER_DETAILS_FIELD_NAMES = array(
"USER_NAME" => "user_name",
"NAME" => "name"
);
const USER_SESSION_FIELD_NAMES = array(
"USER_NAME" => "user_name",
"SESSION_ID" => "sess_id",
"SESSION_IP" => "sess_ip"
);
const USER_ADDRESS_FIELD_NAMES = array(
"USER_NAME" => "user_name",
"ADDRESS" => "addr"
);
const CONTRACT_DETAILS_FIELD_NAMES = array(
"CONTRACT_ID" => "contract_id",
"TITLE" => "title",
"DESCRIPTION" => "desc",
"DATE_OF_UPLOAD" => "dou",
"FILE_HASH" => "hash"
);
const CONTRACT_DETAILS_FIELD_DESC = array(
"contract_id" => "Contract ID",
"title" => "Title",
"desc" => "Description",
"dou" => "Date Of Creation",
"hash" => "File Hash"
);
const CONTRACT_INVITED_SIGNEES_FIELD_NAMES = array(
"INVITEE_ID" => "invitee_id",
"INVITEE_ADDRESS" => "invitee_addr",
"CONTRACT_ID" => "contract_id"
);
const CONTRACT_INVITED_SIGNEES_FIELD_DESC = array(
"invitee_id" => "Invitee ID",
"invitee_addr" => "Invitee's address",
"contract_id" => "Contract ID"
);
const CONTRACT_SIGNATURES_FIELD_NAMES = array(
"CONTRACT_ID" => "contract_id",
"SIGNER_ID" => "signer_id",
"SIGNER_ADDRESS" => "signer_addr",
"SIGNATURE" => "sign",
"TIMESTAMP" => "timestamp"
);
const CONTRACT_SIGNATURES_FIELD_DESC = array(
"contract_id" => "Contract ID",
"signer_id" => "Signer ID",
"signer_addr" => "Signer's address",
"sign" => "Signature",
"timestamp" => "Timestamp"
);
const CONTRACTS_SIGNED_FIELD_NAMES = array(
"CONTRACT_ID" => "contract_id"
);
const CONTRACTS_SIGNED_FIELD_DESC = array(
"contract_id" => "Contract ID"
);
const VAULT_FIELDS_CODES = array(
"date_of_upload" => "dou",
"description" => "desc",
"file_hex" => "file_hex"
);
const VAULT_FIELDS_DESC = array(
"dou" => "Date of Upload",
"desc" => "Description",
"file_hex" => "File data Hexadecimal"
);
const MULTICHAIN_COMMANDS_CODES = array(
"STA"=>"sendtoaddr",
"SWM"=>"sendwithmetadata",
"NCB"=>"nativecurrencybalance",
"MARK_READ"=>"mark_read",
"FETCH_MSGS"=>"fetchmessages",
"FETCH_MSGS_COUNT"=>"fetchmessagescount",
"GET_TX_DETAILS"=>"gettransactiondetails",
"GET_BLOCK_DETAILS"=>"getblockdetails",
"GET_TRANSACTIONS_HISTORY"=>"gettransactionshistory"
);
}
?>