mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
23 lines
431 B
JavaScript
23 lines
431 B
JavaScript
'use strict';
|
|
|
|
const orderFlags = {
|
|
Passive: 0x00010000,
|
|
Sell: 0x00020000 // offer was placed as a sell
|
|
};
|
|
|
|
const trustlineFlags = {
|
|
LowReserve: 0x00010000, // entry counts toward reserve
|
|
HighReserve: 0x00020000,
|
|
LowAuth: 0x00040000,
|
|
HighAuth: 0x00080000,
|
|
LowNoRipple: 0x00100000,
|
|
HighNoRipple: 0x00200000,
|
|
LowFreeze: 0x00400000,
|
|
HighFreeze: 0x00800000
|
|
};
|
|
|
|
module.exports = {
|
|
orderFlags,
|
|
trustlineFlags
|
|
};
|