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
use crateAmount;
use Deserialize;
/// The object was placed as a passive offer
pub const LSF_PASSIVE: u32 = 0x00010000;
/// The object was placed as a sell offer
pub const LSF_SELL: u32 = 0x00020000;
/// An offer in the ledger.
///
/// https://xrpl.org/offer.html
/// {
/// "Account": "rBqb89MRQJnMPq8wTwEbtz4kvxrEDfcYvt",
/// "BookDirectory": "ACC27DE91DBA86FC509069EAF4BC511D73128B780F2E54BF5E07A369E2446000",
/// "BookNode": "0000000000000000",
/// "Flags": 131072,
/// "LedgerEntryType": "Offer",
/// "OwnerNode": "0000000000000000",
/// "PreviousTxnID": "F0AB71E777B2DA54B86231E19B82554EF1F8211F92ECA473121C655BFC5329BF",
/// "PreviousTxnLgrSeq": 14524914,
/// "Sequence": 866,
/// "TakerGets": {
/// "currency": "XAG",
/// "issuer": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH",
/// "value": "37"
/// },
/// "TakerPays": "79550000000",
/// "index": "96F76F27D8A327FC48753167EC04A46AA0E382E6F57F32FD12274144D00F1797"
/// }