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
pub static ALPHABET: & = b"jpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65rkm8oFqi1tuvAxyz";
pub const PASSWORD_LEN: usize = 16;
/// The order of the secp256k1 curve
// pub const CURVE_ORDER: [u8; 32] = [
pub const CURVE_ORDER: & = &;
pub const CURVE_ZERO: & = &;
pub type SignStreamType = ;
//Obj type
pub const TX_SIGNATURE : &'static str = "TxnSignature";
pub const TX_DESTINATION : &'static str = "Destination";
pub const TX_ACCOUNT : &'static str = "Account";
pub const TX_SIGNING_PUB_KEY : &'static str = "SigningPubKey";
pub const TX_FEE : &'static str = "Fee";
pub const TX_AMOUNT : &'static str = "Amount";
pub const TX_SEQUENCE : &'static str = "Sequence";
pub const TX_TRANSACTION_TYPE : &'static str = "TransactionType";
pub const TX_FLAGS : &'static str = "Flags";
pub const TX_MEMOS : &'static str = "Memos";
pub const TX_MEMO : &'static str = "Memo";
pub const TX_MEMODATA : &'static str = "MemoData";
pub const TX_OFFER_SEQUENCE : &'static str = "OfferSequence";
pub const TX_LIMIT_AMOUNT : &'static str = "LimitAmount";
pub const TX_TARGET : &'static str = "Target";
pub const TX_RELATION_TYPE : &'static str = "RelationType";
pub const TX_TAKERPAYS : &'static str = "TakerPays";
pub const TX_TAKERGETS : &'static str = "TakerGets";
pub const TX_FEE_ACCOUNT : &'static str = "FeeAccountID";
pub const TX_RATE_NUM : &'static str = "OfferFeeRateNum";
pub const TX_RATE_DEN : &'static str = "OfferFeeRateDen";