You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

orderbookchanges.js 37KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054
  1. /* eslint-disable max-len */
  2. 'use strict'
  3. exports.offerCreateNoChangeTakerGets = function() {
  4. return {
  5. 'TransactionType': 'OfferCreate',
  6. 'Flags': 655360,
  7. 'SourceTag': 83,
  8. 'Sequence': 125626,
  9. 'LastLedgerSequence': 14873632,
  10. 'AccountTxnID': '02163187DAED3169C2846261F2E941582B4D27F421EBDFEC7EF888FED00172EC',
  11. 'TakerPays': {
  12. 'value': '209.43838445499',
  13. 'currency': 'CNY',
  14. 'issuer': 'rnuF96W4SZoCJmbHYBFoJZpR8eCaxNvekK'
  15. },
  16. 'TakerGets': {
  17. 'value': '0.129333621739',
  18. 'currency': 'BTC',
  19. 'issuer': 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn'
  20. },
  21. 'Fee': '10000',
  22. 'SigningPubKey': 'EDE30BA017ED458B9B372295863B042C2BA8F11AD53B4BDFB398E778CB7679146B',
  23. 'TxnSignature': '2D6544B45F67F66DF18DE26732F476A270D77D5EC53B732076B71CD5F1605081A2654B8744504739A4423CD2876BF20EEA57BA5F5CC5DD350B22B260D44E470F',
  24. 'Account': 'rapido5rxPmP4YkMZZEeXSHqWefxHEkqv6',
  25. 'Memos': [
  26. {
  27. 'Memo': {
  28. 'MemoData': 'CD567EA4D1179162E7EF273B9955D0FE1464D3040050823B409BD5351EB6ACAC3FBBC3FC42B2AD8C4068265B76A2C3353FF00000000000003FF0000000000000'
  29. }
  30. }
  31. ],
  32. 'date': 491243570,
  33. 'hash': '04DB1D743926DF6F2C3855C95FBB877186F55E9A3B25B1B491F55CB84594FC88',
  34. 'inLedger': 14873632,
  35. 'ledger_index': 14873632,
  36. 'meta': {
  37. 'TransactionIndex': 1,
  38. 'AffectedNodes': [
  39. {
  40. 'ModifiedNode': {
  41. 'LedgerEntryType': 'Offer',
  42. 'PreviousTxnLgrSeq': 14873617,
  43. 'PreviousTxnID': '3E527048A0D76BE771AD5945BBE42016A5B739D268378333289C39D62B447BF4',
  44. 'LedgerIndex': '04B97B00F33B261DCD1089B1A094E54ED8F25611E1E6A97D2BB1E071909B58C0',
  45. 'PreviousFields': {
  46. 'TakerPays': {
  47. 'value': '1.7205831',
  48. 'currency': 'BTC',
  49. 'issuer': 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn'
  50. }
  51. },
  52. 'FinalFields': {
  53. 'Flags': 131072,
  54. 'Sequence': 4727,
  55. 'BookNode': '0000000000000000',
  56. 'OwnerNode': '0000000000000000',
  57. 'BookDirectory': '650E5A25B71EDDAF8E865B03D1F9C293039F7D919E59196E4A0A4E71B27E5000',
  58. 'TakerPays': {
  59. 'value': '1.720583099997159',
  60. 'currency': 'BTC',
  61. 'issuer': 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn'
  62. },
  63. 'TakerGets': '59310000000',
  64. 'Account': 'rDqQUzKUXWgcJbzwjrGw1fZvGEN5dffQYr'
  65. }
  66. }
  67. },
  68. {
  69. 'ModifiedNode': {
  70. 'LedgerEntryType': 'RippleState',
  71. 'PreviousTxnLgrSeq': 14873585,
  72. 'PreviousTxnID': '0595A5E357FC561E0124B51CE9B1315CF81B651516B166595EEA99E98F99CB67',
  73. 'LedgerIndex': '4076B3E46BC7395A7B44AEBB2C1B09EFE3BEFCAD3224FF2663A8725308A726D5',
  74. 'PreviousFields': {
  75. 'Balance': {
  76. 'value': '0',
  77. 'currency': 'CNY',
  78. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  79. }
  80. },
  81. 'FinalFields': {
  82. 'Flags': 131072,
  83. 'LowNode': '000000000000010F',
  84. 'HighNode': '0000000000000000',
  85. 'Balance': {
  86. 'value': '-193.198664968391',
  87. 'currency': 'CNY',
  88. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  89. },
  90. 'LowLimit': {
  91. 'value': '0',
  92. 'currency': 'CNY',
  93. 'issuer': 'rnuF96W4SZoCJmbHYBFoJZpR8eCaxNvekK'
  94. },
  95. 'HighLimit': {
  96. 'value': '0',
  97. 'currency': 'CNY',
  98. 'issuer': 'rapido5rxPmP4YkMZZEeXSHqWefxHEkqv6'
  99. }
  100. }
  101. }
  102. },
  103. {
  104. 'DeletedNode': {
  105. 'LedgerEntryType': 'DirectoryNode',
  106. 'LedgerIndex': '44E9667BF19A921E0BBDDF6802BCFD00F16988E3ECA2150C5113F1C9564CCFB6',
  107. 'FinalFields': {
  108. 'Flags': 0,
  109. 'ExchangeRate': '5113F1C9564CCFB6',
  110. 'RootIndex': '44E9667BF19A921E0BBDDF6802BCFD00F16988E3ECA2150C5113F1C9564CCFB6',
  111. 'TakerPaysCurrency': '0000000000000000000000004254430000000000',
  112. 'TakerPaysIssuer': 'AC4238AB07F0FA4CC4AD8EA53127EF0BE5A5E207',
  113. 'TakerGetsCurrency': '000000000000000000000000434E590000000000',
  114. 'TakerGetsIssuer': '35DD7DF146893456296BF4061FBE68735D28F328'
  115. }
  116. }
  117. },
  118. {
  119. 'ModifiedNode': {
  120. 'LedgerEntryType': 'RippleState',
  121. 'PreviousTxnLgrSeq': 14852798,
  122. 'PreviousTxnID': '7966A2BEFE7DED8D55E2513B943143810FA7AC40AAB31BEDFCC415D7E23FCC1F',
  123. 'LedgerIndex': '477E841FBB209C29E3E42B80C75136EE9792FFE69AA71450B9B9DC42AF73195A',
  124. 'PreviousFields': {
  125. 'Balance': {
  126. 'value': '0.5675541400002614',
  127. 'currency': 'BTC',
  128. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  129. }
  130. },
  131. 'FinalFields': {
  132. 'Flags': 1114112,
  133. 'LowNode': '0000000000000000',
  134. 'HighNode': '0000000000000018',
  135. 'Balance': {
  136. 'value': '0.5675541400031025',
  137. 'currency': 'BTC',
  138. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  139. },
  140. 'LowLimit': {
  141. 'value': '1000000000',
  142. 'currency': 'BTC',
  143. 'issuer': 'rDqQUzKUXWgcJbzwjrGw1fZvGEN5dffQYr'
  144. },
  145. 'HighLimit': {
  146. 'value': '0',
  147. 'currency': 'BTC',
  148. 'issuer': 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn'
  149. }
  150. }
  151. }
  152. },
  153. {
  154. 'ModifiedNode': {
  155. 'LedgerEntryType': 'RippleState',
  156. 'PreviousTxnLgrSeq': 14873632,
  157. 'PreviousTxnID': '02163187DAED3169C2846261F2E941582B4D27F421EBDFEC7EF888FED00172EC',
  158. 'LedgerIndex': '540E2C8BE8CAF4789925E7D0A994AFC9B0BB3384204ABED5273AA1EC570619A8',
  159. 'PreviousFields': {
  160. 'Balance': {
  161. 'value': '0.1084592497698411',
  162. 'currency': 'BTC',
  163. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  164. }
  165. },
  166. 'FinalFields': {
  167. 'Flags': 65536,
  168. 'LowNode': '0000000000000000',
  169. 'HighNode': '0000000000000015',
  170. 'Balance': {
  171. 'value': '0',
  172. 'currency': 'BTC',
  173. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  174. },
  175. 'LowLimit': {
  176. 'value': '0',
  177. 'currency': 'BTC',
  178. 'issuer': 'rapido5rxPmP4YkMZZEeXSHqWefxHEkqv6'
  179. },
  180. 'HighLimit': {
  181. 'value': '0',
  182. 'currency': 'BTC',
  183. 'issuer': 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn'
  184. }
  185. }
  186. }
  187. },
  188. {
  189. 'ModifiedNode': {
  190. 'LedgerEntryType': 'RippleState',
  191. 'PreviousTxnLgrSeq': 14873629,
  192. 'PreviousTxnID': 'FD7652E70C7DDBD4675F674DF2EB237907880F6F8EE553B1DBDA9D0460FAF7FD',
  193. 'LedgerIndex': '781AF1DC042C46599EC0BC36614D59AE8D69E6D2BAA9E7B5B31669BADCD2308E',
  194. 'PreviousFields': {
  195. 'Balance': {
  196. 'value': '-4098.164659386341',
  197. 'currency': 'CNY',
  198. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  199. }
  200. },
  201. 'FinalFields': {
  202. 'Flags': 2228224,
  203. 'LowNode': '00000000000000FF',
  204. 'HighNode': '0000000000000ACA',
  205. 'Balance': {
  206. 'value': '-3904.96599441795',
  207. 'currency': 'CNY',
  208. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  209. },
  210. 'LowLimit': {
  211. 'value': '0',
  212. 'currency': 'CNY',
  213. 'issuer': 'rnuF96W4SZoCJmbHYBFoJZpR8eCaxNvekK'
  214. },
  215. 'HighLimit': {
  216. 'value': '10000',
  217. 'currency': 'CNY',
  218. 'issuer': 'rK5j9n8baXfL4gzUoZsfxBvvsv97P5swaV'
  219. }
  220. }
  221. }
  222. },
  223. {
  224. 'ModifiedNode': {
  225. 'LedgerEntryType': 'RippleState',
  226. 'PreviousTxnLgrSeq': 14853017,
  227. 'PreviousTxnID': '5C040183A84A20547715B222B6526A835B7D9A1F2C7C56FF69C9408BCE95EA95',
  228. 'LedgerIndex': 'A828394ABAD75CBE8783A1FFF15CCA2A754A127841CA9BB8A8B118AD001A2DA8',
  229. 'PreviousFields': {
  230. 'Balance': {
  231. 'value': '-7.824035319316732',
  232. 'currency': 'BTC',
  233. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  234. }
  235. },
  236. 'FinalFields': {
  237. 'Flags': 2228224,
  238. 'LowNode': '0000000000000016',
  239. 'HighNode': '0000000000013E29',
  240. 'Balance': {
  241. 'value': '-7.932494569083732',
  242. 'currency': 'BTC',
  243. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji'
  244. },
  245. 'LowLimit': {
  246. 'value': '0',
  247. 'currency': 'BTC',
  248. 'issuer': 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn'
  249. },
  250. 'HighLimit': {
  251. 'value': '5',
  252. 'currency': 'BTC',
  253. 'issuer': 'rK5j9n8baXfL4gzUoZsfxBvvsv97P5swaV'
  254. }
  255. }
  256. }
  257. },
  258. {
  259. 'ModifiedNode': {
  260. 'LedgerEntryType': 'AccountRoot',
  261. 'PreviousTxnLgrSeq': 14873632,
  262. 'PreviousTxnID': '02163187DAED3169C2846261F2E941582B4D27F421EBDFEC7EF888FED00172EC',
  263. 'LedgerIndex': 'BFF40FB02870A44349BB5E482CD2A4AA3415C7E72F4D2E9E98129972F26DA9AA',
  264. 'PreviousFields': {
  265. 'Sequence': 125626,
  266. 'AccountTxnID': '02163187DAED3169C2846261F2E941582B4D27F421EBDFEC7EF888FED00172EC',
  267. 'Balance': '930207200763'
  268. },
  269. 'FinalFields': {
  270. 'Flags': 0,
  271. 'Sequence': 125627,
  272. 'OwnerCount': 57,
  273. 'AccountTxnID': '04DB1D743926DF6F2C3855C95FBB877186F55E9A3B25B1B491F55CB84594FC88',
  274. 'Balance': '930207190763',
  275. 'Account': 'rapido5rxPmP4YkMZZEeXSHqWefxHEkqv6'
  276. }
  277. }
  278. },
  279. {
  280. 'ModifiedNode': {
  281. 'LedgerEntryType': 'DirectoryNode',
  282. 'LedgerIndex': 'D72D9C23FE838EE26BE81AAD04B7010526F40BFB4920FA5517668017C6CEBF19',
  283. 'FinalFields': {
  284. 'Flags': 0,
  285. 'IndexNext': '0000000000020444',
  286. 'IndexPrevious': '0000000000020442',
  287. 'RootIndex': 'D575497E1D19A470AC9B9A02207406EA99D46F828D0250C81BFA1C77505100A3',
  288. 'Owner': 'rK5j9n8baXfL4gzUoZsfxBvvsv97P5swaV'
  289. }
  290. }
  291. },
  292. {
  293. 'ModifiedNode': {
  294. 'LedgerEntryType': 'AccountRoot',
  295. 'PreviousTxnLgrSeq': 14873630,
  296. 'PreviousTxnID': 'E5C0671123289F10892BF125D26BE4A85358E82E547EEA988823351D5857311F',
  297. 'LedgerIndex': 'E8FF8B7DFBB38B1527F66827DC06BF425609099CB89A43DD4C9EBACBCCD8F0DD',
  298. 'PreviousFields': {
  299. 'OwnerCount': 170
  300. },
  301. 'FinalFields': {
  302. 'Flags': 0,
  303. 'Sequence': 5276287,
  304. 'OwnerCount': 169,
  305. 'EmailHash': 'B0000000000000000000000000000000',
  306. 'Balance': '1999599960',
  307. 'Account': 'rK5j9n8baXfL4gzUoZsfxBvvsv97P5swaV',
  308. 'RegularKey': 'raBRyZ8V4sRbutg6W9vxXMSWdxBqmDTxHR'
  309. }
  310. }
  311. },
  312. {
  313. 'DeletedNode': {
  314. 'LedgerEntryType': 'Offer',
  315. 'LedgerIndex': 'F51B76C3119FE31E58229546CA6E78EB7EA4CF0BB6B6C7F6301657417E140752',
  316. 'PreviousFields': {
  317. 'TakerPays': {
  318. 'value': '0.108459249767',
  319. 'currency': 'BTC',
  320. 'issuer': 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn'
  321. },
  322. 'TakerGets': {
  323. 'value': '193.198664968391',
  324. 'currency': 'CNY',
  325. 'issuer': 'rnuF96W4SZoCJmbHYBFoJZpR8eCaxNvekK'
  326. }
  327. },
  328. 'FinalFields': {
  329. 'Flags': 0,
  330. 'Sequence': 5276219,
  331. 'PreviousTxnLgrSeq': 14873464,
  332. 'BookNode': '0000000000000000',
  333. 'OwnerNode': '0000000000020443',
  334. 'PreviousTxnID': '1D01FCCF1DA99AD37275B8918A6CD1E5ABBD1FDE0D6FAEB6FDF5567BD2A8E022',
  335. 'BookDirectory': '44E9667BF19A921E0BBDDF6802BCFD00F16988E3ECA2150C5113F1C9564CCFB6',
  336. 'TakerPays': {
  337. 'value': '0',
  338. 'currency': 'BTC',
  339. 'issuer': 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn'
  340. },
  341. 'TakerGets': {
  342. 'value': '0',
  343. 'currency': 'CNY',
  344. 'issuer': 'rnuF96W4SZoCJmbHYBFoJZpR8eCaxNvekK'
  345. },
  346. 'Account': 'rK5j9n8baXfL4gzUoZsfxBvvsv97P5swaV'
  347. }
  348. }
  349. }
  350. ],
  351. 'TransactionResult': 'tesSUCCESS'
  352. },
  353. 'validated': true
  354. }
  355. }
  356. exports.offerCreateConsumedOffer = function() {
  357. return {
  358. 'Account': 'rBxy23n7ZFbUpS699rFVj1V9ZVhAq6EGwC',
  359. 'Fee': '20000',
  360. 'Flags': 131072,
  361. 'Sequence': 609776,
  362. 'SigningPubKey': '03917C08C81FEC424141C50A1C4B7C77A4B1563D51B7FA260797B9717F52C5E6D5',
  363. 'TakerGets': {
  364. 'currency': 'BTC',
  365. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  366. 'value': '0.2167622002262332'
  367. },
  368. 'TakerPays': {
  369. 'currency': 'USD',
  370. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  371. 'value': '57.5510124906279'
  372. },
  373. 'TransactionType': 'OfferCreate',
  374. 'TxnSignature': '304402207E48A159CBA0491684C8BBE31DEF55859A7616EAA2339C43445CF0185DC20A07022017D442BB2F6AB8BB9925765A690473332D1C1157AE310409D3CFD45755708E6F',
  375. 'date': 474426920,
  376. 'hash': '0D13787384301F32E9E180C31F7F16EA0D2521783DBF71736B25AFF253FB6E11',
  377. 'inLedger': 11086861,
  378. 'ledger_index': 11086861,
  379. 'meta': {
  380. 'AffectedNodes': [
  381. {
  382. 'DeletedNode': {
  383. 'FinalFields': {
  384. 'ExchangeRate': '520D604D6638790F',
  385. 'Flags': 0,
  386. 'RootIndex': '20294C923E80A51B487EB9547B3835FD483748B170D2D0A4520D604D6638790F',
  387. 'TakerGetsCurrency': '0000000000000000000000005553440000000000',
  388. 'TakerGetsIssuer': '0A20B3C85F482532A9578DBB3950B85CA06594D1',
  389. 'TakerPaysCurrency': '0000000000000000000000004254430000000000',
  390. 'TakerPaysIssuer': '0A20B3C85F482532A9578DBB3950B85CA06594D1'
  391. },
  392. 'LedgerEntryType': 'DirectoryNode',
  393. 'LedgerIndex': '20294C923E80A51B487EB9547B3835FD483748B170D2D0A4520D604D6638790F'
  394. }
  395. },
  396. {
  397. 'DeletedNode': {
  398. 'FinalFields': {
  399. 'Account': 'r49y2xKuKVG2dPkNHgWQAV61cjxk8gryjQ',
  400. 'BookDirectory': '20294C923E80A51B487EB9547B3835FD483748B170D2D0A4520D604D6638790F',
  401. 'BookNode': '0000000000000000',
  402. 'Flags': 0,
  403. 'OwnerNode': '0000000000000000',
  404. 'PreviousTxnID': '97AA291851DE9A894CFCCD4C69C96E9570F9182A5D39937463E1C80132DD65DE',
  405. 'PreviousTxnLgrSeq': 11086861,
  406. 'Sequence': 550,
  407. 'TakerGets': {
  408. 'currency': 'USD',
  409. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  410. 'value': '0'
  411. },
  412. 'TakerPays': {
  413. 'currency': 'BTC',
  414. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  415. 'value': '0'
  416. }
  417. },
  418. 'LedgerEntryType': 'Offer',
  419. 'LedgerIndex': '276522C8AAF28B5286C48E2373C119C48DAE78C3F8A047AAF67C22E4440C391B',
  420. 'PreviousFields': {
  421. 'TakerGets': {
  422. 'currency': 'USD',
  423. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  424. 'value': '0.0000000036076'
  425. },
  426. 'TakerPays': {
  427. 'currency': 'BTC',
  428. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  429. 'value': '1358360000000000e-26'
  430. }
  431. }
  432. }
  433. },
  434. {
  435. 'ModifiedNode': {
  436. 'FinalFields': {
  437. 'Flags': 0,
  438. 'Owner': 'r49y2xKuKVG2dPkNHgWQAV61cjxk8gryjQ',
  439. 'RootIndex': '38D499A08201B64C001CF6B1803504373BFDA21A01302D3C0E78EF98544E9236'
  440. },
  441. 'LedgerEntryType': 'DirectoryNode',
  442. 'LedgerIndex': '38D499A08201B64C001CF6B1803504373BFDA21A01302D3C0E78EF98544E9236'
  443. }
  444. },
  445. {
  446. 'ModifiedNode': {
  447. 'FinalFields': {
  448. 'Balance': {
  449. 'currency': 'BTC',
  450. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  451. 'value': '-0.1151236147503502'
  452. },
  453. 'Flags': 2228224,
  454. 'HighLimit': {
  455. 'currency': 'BTC',
  456. 'issuer': 'rBxy23n7ZFbUpS699rFVj1V9ZVhAq6EGwC',
  457. 'value': '0'
  458. },
  459. 'HighNode': '0000000000000000',
  460. 'LowLimit': {
  461. 'currency': 'BTC',
  462. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  463. 'value': '0'
  464. },
  465. 'LowNode': '000000000000028F'
  466. },
  467. 'LedgerEntryType': 'RippleState',
  468. 'LedgerIndex': '42A6E9991D540C80BE4A43EF5254656DD862F602BBFF99BC576B44FBF6B7D775',
  469. 'PreviousFields': {
  470. 'Balance': {
  471. 'currency': 'BTC',
  472. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  473. 'value': '-0.3322932790173214'
  474. }
  475. },
  476. 'PreviousTxnID': 'B7CE60D440E11F31530E19A50A0775246102425D3594C9B886A7724BB1E58367',
  477. 'PreviousTxnLgrSeq': 11086861
  478. }
  479. },
  480. {
  481. 'ModifiedNode': {
  482. 'FinalFields': {
  483. 'Balance': {
  484. 'currency': 'USD',
  485. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  486. 'value': '-23112.9993818472'
  487. },
  488. 'Flags': 2228224,
  489. 'HighLimit': {
  490. 'currency': 'USD',
  491. 'issuer': 'r49y2xKuKVG2dPkNHgWQAV61cjxk8gryjQ',
  492. 'value': '1000000000'
  493. },
  494. 'HighNode': '0000000000000000',
  495. 'LowLimit': {
  496. 'currency': 'USD',
  497. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  498. 'value': '0'
  499. },
  500. 'LowNode': '0000000000000231'
  501. },
  502. 'LedgerEntryType': 'RippleState',
  503. 'LedgerIndex': '615463C4F78931AA3E2B65FE49C6DAAC25A456C15679E67D1C19CA0943D98C5A',
  504. 'PreviousFields': {
  505. 'Balance': {
  506. 'currency': 'USD',
  507. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  508. 'value': '-23112.99938185081'
  509. }
  510. },
  511. 'PreviousTxnID': '97AA291851DE9A894CFCCD4C69C96E9570F9182A5D39937463E1C80132DD65DE',
  512. 'PreviousTxnLgrSeq': 11086861
  513. }
  514. },
  515. {
  516. 'ModifiedNode': {
  517. 'FinalFields': {
  518. 'Balance': {
  519. 'currency': 'BTC',
  520. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  521. 'value': '-20.18770947118515'
  522. },
  523. 'Flags': 131072,
  524. 'HighLimit': {
  525. 'currency': 'BTC',
  526. 'issuer': 'r49y2xKuKVG2dPkNHgWQAV61cjxk8gryjQ',
  527. 'value': '0'
  528. },
  529. 'HighNode': '0000000000000000',
  530. 'LowLimit': {
  531. 'currency': 'BTC',
  532. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  533. 'value': '0'
  534. },
  535. 'LowNode': '00000000000002C4'
  536. },
  537. 'LedgerEntryType': 'RippleState',
  538. 'LedgerIndex': '817EB23FB16D8D17676F29055C989CDFB738B7FC310DF3AB5CA0D06AA2DC1326',
  539. 'PreviousFields': {
  540. 'Balance': {
  541. 'currency': 'BTC',
  542. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  543. 'value': '-20.18770947117157'
  544. }
  545. },
  546. 'PreviousTxnID': '97AA291851DE9A894CFCCD4C69C96E9570F9182A5D39937463E1C80132DD65DE',
  547. 'PreviousTxnLgrSeq': 11086861
  548. }
  549. },
  550. {
  551. 'ModifiedNode': {
  552. 'FinalFields': {
  553. 'Balance': {
  554. 'currency': 'BTC',
  555. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  556. 'value': '-42.47198893790961'
  557. },
  558. 'Flags': 2228224,
  559. 'HighLimit': {
  560. 'currency': 'BTC',
  561. 'issuer': 'rQE5Z3FgVnRMbVfS6xiVQFgB4J3X162FVD',
  562. 'value': '150'
  563. },
  564. 'HighNode': '0000000000000000',
  565. 'LowLimit': {
  566. 'currency': 'BTC',
  567. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  568. 'value': '0'
  569. },
  570. 'LowNode': '0000000000000201'
  571. },
  572. 'LedgerEntryType': 'RippleState',
  573. 'LedgerIndex': 'C688AE8E51943530C931C3B838D15818BDA1F1B60B641B5F866B724AD7D3E79B',
  574. 'PreviousFields': {
  575. 'Balance': {
  576. 'currency': 'BTC',
  577. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  578. 'value': '-42.25525274603999'
  579. }
  580. },
  581. 'PreviousTxnID': '1C749407E3676E77693694BEBC73C74196EA39C4EB2BB47781ABD65F4AB315E9',
  582. 'PreviousTxnLgrSeq': 11082323
  583. }
  584. },
  585. {
  586. 'ModifiedNode': {
  587. 'FinalFields': {
  588. 'Balance': {
  589. 'currency': 'USD',
  590. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  591. 'value': '-283631.3541172556'
  592. },
  593. 'Flags': 2228224,
  594. 'HighLimit': {
  595. 'currency': 'USD',
  596. 'issuer': 'rQE5Z3FgVnRMbVfS6xiVQFgB4J3X162FVD',
  597. 'value': '5000000'
  598. },
  599. 'HighNode': '0000000000000000',
  600. 'LowLimit': {
  601. 'currency': 'USD',
  602. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  603. 'value': '0'
  604. },
  605. 'LowNode': '0000000000000201'
  606. },
  607. 'LedgerEntryType': 'RippleState',
  608. 'LedgerIndex': 'D8F66B71771581E6185072E5264B2C4C0F9C2CA642EE46B62D6F550D897D00FF',
  609. 'PreviousFields': {
  610. 'Balance': {
  611. 'currency': 'USD',
  612. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  613. 'value': '-283689.0202317675'
  614. }
  615. },
  616. 'PreviousTxnID': '0419F004A3084E93D4708EDA40D64A9F52F52EAA854961C23E2779EBE400AAD9',
  617. 'PreviousTxnLgrSeq': 11086605
  618. }
  619. },
  620. {
  621. 'ModifiedNode': {
  622. 'FinalFields': {
  623. 'Account': 'r49y2xKuKVG2dPkNHgWQAV61cjxk8gryjQ',
  624. 'Balance': '52083119197',
  625. 'Flags': 0,
  626. 'OwnerCount': 8,
  627. 'Sequence': 553
  628. },
  629. 'LedgerEntryType': 'AccountRoot',
  630. 'LedgerIndex': 'DD314C9308B172885F6D0F5F3F50A2EAB1D2E2BD75A65A4236547E9C1DD625DB',
  631. 'PreviousFields': {
  632. 'OwnerCount': 9
  633. },
  634. 'PreviousTxnID': 'F07EA8FA7FF285FA5EC5F5A36CCCFC0F3D4B9A9A2910EEABABF058F96F6CD402',
  635. 'PreviousTxnLgrSeq': 11082743
  636. }
  637. },
  638. {
  639. 'ModifiedNode': {
  640. 'FinalFields': {
  641. 'Balance': {
  642. 'currency': 'USD',
  643. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  644. 'value': '-57.5510124906279'
  645. },
  646. 'Flags': 2228224,
  647. 'HighLimit': {
  648. 'currency': 'USD',
  649. 'issuer': 'rBxy23n7ZFbUpS699rFVj1V9ZVhAq6EGwC',
  650. 'value': '0'
  651. },
  652. 'HighNode': '0000000000000000',
  653. 'LowLimit': {
  654. 'currency': 'USD',
  655. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  656. 'value': '0'
  657. },
  658. 'LowNode': '000000000000028F'
  659. },
  660. 'LedgerEntryType': 'RippleState',
  661. 'LedgerIndex': 'E929BE69F05FEB6B376C97E22A264D93D88A7E42BE3FE5BFBD1842AC08C85BCF',
  662. 'PreviousFields': {
  663. 'Balance': {
  664. 'currency': 'USD',
  665. 'issuer': 'rrrrrrrrrrrrrrrrrrrrBZbvji',
  666. 'value': '0'
  667. }
  668. },
  669. 'PreviousTxnID': '73867036670B2F95ADCFF006A253C700ED45EF83F1B125D4797F2C110B055B60',
  670. 'PreviousTxnLgrSeq': 11086861
  671. }
  672. },
  673. {
  674. 'ModifiedNode': {
  675. 'FinalFields': {
  676. 'Account': 'rQE5Z3FgVnRMbVfS6xiVQFgB4J3X162FVD',
  677. 'BookDirectory': '20294C923E80A51B487EB9547B3835FD483748B170D2D0A4520D61247A328674',
  678. 'BookNode': '0000000000000000',
  679. 'Flags': 0,
  680. 'OwnerNode': '000000000000001B',
  681. 'Sequence': 114646,
  682. 'TakerGets': {
  683. 'currency': 'USD',
  684. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  685. 'value': '0.00000002162526'
  686. },
  687. 'TakerPays': {
  688. 'currency': 'BTC',
  689. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  690. 'value': '8144010000000000e-26'
  691. }
  692. },
  693. 'LedgerEntryType': 'Offer',
  694. 'LedgerIndex': 'E9F98B8933C500737D5FD0BCAFC49EADB8F8A9D01170EFB7CA171D0DEF853D02',
  695. 'PreviousFields': {
  696. 'TakerGets': {
  697. 'currency': 'USD',
  698. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  699. 'value': '57.55101250864556'
  700. },
  701. 'TakerPays': {
  702. 'currency': 'BTC',
  703. 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  704. 'value': '0.2167361919510613'
  705. }
  706. },
  707. 'PreviousTxnID': '23433B9508778BEE0E8CE398602BBEDAFAE210F59979BCAC818B6970DCCB91F5',
  708. 'PreviousTxnLgrSeq': 11080258
  709. }
  710. },
  711. {
  712. 'ModifiedNode': {
  713. 'FinalFields': {
  714. 'Account': 'rBxy23n7ZFbUpS699rFVj1V9ZVhAq6EGwC',
  715. 'Balance': '267312570945',
  716. 'Flags': 0,
  717. 'OwnerCount': 25,
  718. 'Sequence': 609777
  719. },
  720. 'LedgerEntryType': 'AccountRoot',
  721. 'LedgerIndex': 'EAFF4A0B5E891B9BE6A4D484FD0A73356F099FA54F650C9D8FB35D3F29A44176',
  722. 'PreviousFields': {
  723. 'Balance': '267312590945',
  724. 'Sequence': 609776
  725. },
  726. 'PreviousTxnID': 'B7CE60D440E11F31530E19A50A0775246102425D3594C9B886A7724BB1E58367',
  727. 'PreviousTxnLgrSeq': 11086861
  728. }
  729. }
  730. ],
  731. 'TransactionIndex': 48,
  732. 'TransactionResult': 'tesSUCCESS'
  733. },
  734. 'validated': true
  735. }
  736. }
  737. exports.offerCreateCreatedOffer = function() {
  738. return {
  739. 'Account': 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M',
  740. 'Fee': '12000',
  741. 'Flags': 0,
  742. 'LastLedgerSequence': 11349682,
  743. 'Memos': [
  744. {
  745. 'Memo': {
  746. 'MemoData': '7274312E322E31',
  747. 'MemoType': '636C69656E74'
  748. }
  749. }
  750. ],
  751. 'Sequence': 26,
  752. 'SigningPubKey': '039549AB540046941E2BD313CB71F0EEA3A560B587AE4ED75A7120965A67E0D6E1',
  753. 'TakerGets': {
  754. 'currency': 'JPY',
  755. 'issuer': 'r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN',
  756. 'value': '0.0001'
  757. },
  758. 'TakerPays': '10000000000000',
  759. 'TransactionType': 'OfferCreate',
  760. 'TxnSignature': '3044022056A68DDAD0F7568874D5233B408E9D22E50DF464CC1994F5F922E7124BA7719C02202021849173D5B51BA707A7B6A335357B75B375EA016A83914289942F51835AC4',
  761. 'date': 475609770,
  762. 'hash': 'D53A3B99AC0C3CAF35D72178390ACA94CD42479A98CEA438EEAFF338E5FEB76D',
  763. 'inLedger': 11349675,
  764. 'ledger_index': 11349675,
  765. 'meta': {
  766. 'AffectedNodes': [
  767. {
  768. 'CreatedNode': {
  769. 'LedgerEntryType': 'Offer',
  770. 'LedgerIndex': '296EE8E1CC21F1122DB7A95EFD3C0BEC5CB1FCB4817573B47734E6EC55090707',
  771. 'NewFields': {
  772. 'Account': 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M',
  773. 'BookDirectory': '9F72CA02AB7CBA0FD97EA5F245C03EDC555C3FE97749CD4266038D7EA4C68000',
  774. 'Sequence': 26,
  775. 'TakerGets': {
  776. 'currency': 'JPY',
  777. 'issuer': 'r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN',
  778. 'value': '0.0001'
  779. },
  780. 'TakerPays': '10000000000000'
  781. }
  782. }
  783. },
  784. {
  785. 'CreatedNode': {
  786. 'LedgerEntryType': 'DirectoryNode',
  787. 'LedgerIndex': '9F72CA02AB7CBA0FD97EA5F245C03EDC555C3FE97749CD4266038D7EA4C68000',
  788. 'NewFields': {
  789. 'ExchangeRate': '66038D7EA4C68000',
  790. 'RootIndex': '9F72CA02AB7CBA0FD97EA5F245C03EDC555C3FE97749CD4266038D7EA4C68000',
  791. 'TakerGetsCurrency': '0000000000000000000000004A50590000000000',
  792. 'TakerGetsIssuer': '5BBC0F22F61D9224A110650CFE21CC0C4BE13098'
  793. }
  794. }
  795. },
  796. {
  797. 'ModifiedNode': {
  798. 'FinalFields': {
  799. 'Account': 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M',
  800. 'Balance': '59940000',
  801. 'Flags': 0,
  802. 'OwnerCount': 2,
  803. 'Sequence': 27
  804. },
  805. 'LedgerEntryType': 'AccountRoot',
  806. 'LedgerIndex': 'C666A91E2D289AB6DD1A44363E1F4714B60584AA79B2CBFBB3330236610E4E47',
  807. 'PreviousFields': {
  808. 'Balance': '59952000',
  809. 'OwnerCount': 1,
  810. 'Sequence': 26
  811. },
  812. 'PreviousTxnID': '86BD597EE965EB803B9C44BBFD651468076BCF1F982BD1F91D7B2E77BB0BC50A',
  813. 'PreviousTxnLgrSeq': 11349670
  814. }
  815. },
  816. {
  817. 'ModifiedNode': {
  818. 'FinalFields': {
  819. 'Flags': 0,
  820. 'Owner': 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M',
  821. 'RootIndex': 'E8C9FDFB9C7494135DF41ED69DFD0B9747CFE0ADF046E32BA24510B6A1EFDAE0'
  822. },
  823. 'LedgerEntryType': 'DirectoryNode',
  824. 'LedgerIndex': 'E8C9FDFB9C7494135DF41ED69DFD0B9747CFE0ADF046E32BA24510B6A1EFDAE0'
  825. }
  826. }
  827. ],
  828. 'TransactionIndex': 11,
  829. 'TransactionResult': 'tesSUCCESS'
  830. },
  831. 'validated': true
  832. }
  833. }
  834. exports.offerCancel = function() {
  835. return {
  836. 'Account': 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M',
  837. 'Fee': '12000',
  838. 'Flags': 0,
  839. 'LastLedgerSequence': 11236701,
  840. 'OfferSequence': 20,
  841. 'Sequence': 22,
  842. 'SigningPubKey': '039549AB540046941E2BD313CB71F0EEA3A560B587AE4ED75A7120965A67E0D6E1',
  843. 'TransactionType': 'OfferCancel',
  844. 'TxnSignature': '304402200E24DFA7B5F37675CCBE5370EDB51A8EC4E58D55D34ADC19505DE3EE686ED64B0220421C955F4F4D63DFA517E48F81393FB007035C18821D25D8EA8C36D9A71AF0F4',
  845. 'date': 475105560,
  846. 'hash': '3D948699072B40312AE313E7E8297EED83080C9A4D5B564BCACF0951ABF00AC5',
  847. 'inLedger': 11236693,
  848. 'ledger_index': 11236693,
  849. 'meta': {
  850. 'AffectedNodes': [
  851. {
  852. 'DeletedNode': {
  853. 'FinalFields': {
  854. 'Account': 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M',
  855. 'BookDirectory': '9F72CA02AB7CBA0FD97EA5F245C03EDC555C3FE97749CD425B038D7EA4C68000',
  856. 'BookNode': '0000000000000000',
  857. 'Flags': 0,
  858. 'OwnerNode': '0000000000000000',
  859. 'PreviousTxnID': '3D768E210A152DFA89C051FEFC26F2FFBF91AC8B794482B8DA906157D3B2C348',
  860. 'PreviousTxnLgrSeq': 11235523,
  861. 'Sequence': 20,
  862. 'TakerGets': {
  863. 'currency': 'JPY',
  864. 'issuer': 'r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN',
  865. 'value': '1000'
  866. },
  867. 'TakerPays': '1000000000'
  868. },
  869. 'LedgerEntryType': 'Offer',
  870. 'LedgerIndex': '39A270DE16B6861952C5409626B0FA68FCC1089DD242AF55D8B1CAE6194C0E67'
  871. }
  872. },
  873. {
  874. 'ModifiedNode': {
  875. 'FinalFields': {
  876. 'ExchangeRate': '5B038D7EA4C68000',
  877. 'Flags': 0,
  878. 'RootIndex': '9F72CA02AB7CBA0FD97EA5F245C03EDC555C3FE97749CD425B038D7EA4C68000',
  879. 'TakerGetsCurrency': '0000000000000000000000004A50590000000000',
  880. 'TakerGetsIssuer': '5BBC0F22F61D9224A110650CFE21CC0C4BE13098',
  881. 'TakerPaysCurrency': '0000000000000000000000000000000000000000',
  882. 'TakerPaysIssuer': '0000000000000000000000000000000000000000'
  883. },
  884. 'LedgerEntryType': 'DirectoryNode',
  885. 'LedgerIndex': '9F72CA02AB7CBA0FD97EA5F245C03EDC555C3FE97749CD425B038D7EA4C68000'
  886. }
  887. },
  888. {
  889. 'ModifiedNode': {
  890. 'FinalFields': {
  891. 'Account': 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M',
  892. 'Balance': '29988000',
  893. 'Flags': 0,
  894. 'OwnerCount': 1,
  895. 'Sequence': 23
  896. },
  897. 'LedgerEntryType': 'AccountRoot',
  898. 'LedgerIndex': 'C666A91E2D289AB6DD1A44363E1F4714B60584AA79B2CBFBB3330236610E4E47',
  899. 'PreviousFields': {
  900. 'Balance': '30000000',
  901. 'OwnerCount': 2,
  902. 'Sequence': 22
  903. },
  904. 'PreviousTxnID': 'FC061E8B2FAE945F4F674E11D4EF25F3B951DEB9116CDE5506B35EF383DC8988',
  905. 'PreviousTxnLgrSeq': 11235525
  906. }
  907. },
  908. {
  909. 'ModifiedNode': {
  910. 'FinalFields': {
  911. 'Flags': 0,
  912. 'Owner': 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M',
  913. 'RootIndex': 'E8C9FDFB9C7494135DF41ED69DFD0B9747CFE0ADF046E32BA24510B6A1EFDAE0'
  914. },
  915. 'LedgerEntryType': 'DirectoryNode',
  916. 'LedgerIndex': 'E8C9FDFB9C7494135DF41ED69DFD0B9747CFE0ADF046E32BA24510B6A1EFDAE0'
  917. }
  918. }
  919. ],
  920. 'TransactionIndex': 2,
  921. 'TransactionResult': 'tesSUCCESS'
  922. },
  923. 'validated': true
  924. }
  925. }
  926. exports.parsedOfferCreateNoChangeTakerGets = function() {
  927. return {
  928. rDqQUzKUXWgcJbzwjrGw1fZvGEN5dffQYr: [
  929. {
  930. direction: 'sell',
  931. totalPrice: {
  932. currency: 'BTC',
  933. counterparty: 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn',
  934. value: '2.841e-12'
  935. },
  936. quantity: {
  937. currency: 'XRP',
  938. value: '0'
  939. },
  940. makerExchangeRate: '0.00002901',
  941. sequence: 4727,
  942. status: 'partially-filled'
  943. }
  944. ],
  945. rK5j9n8baXfL4gzUoZsfxBvvsv97P5swaV: [
  946. {
  947. direction: 'buy',
  948. quantity: {
  949. currency: 'BTC',
  950. counterparty: 'rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn',
  951. value: '0.108459249767'
  952. },
  953. totalPrice: {
  954. currency: 'CNY',
  955. counterparty: 'rnuF96W4SZoCJmbHYBFoJZpR8eCaxNvekK',
  956. value: '193.198664968391'
  957. },
  958. makerExchangeRate: '0.0005613871596097462',
  959. sequence: 5276219,
  960. status: 'filled'
  961. }
  962. ]
  963. }
  964. }
  965. exports.parsedOfferCreate = function() {
  966. return {
  967. 'r49y2xKuKVG2dPkNHgWQAV61cjxk8gryjQ': [
  968. {
  969. 'direction': 'buy',
  970. 'quantity': {
  971. 'currency': 'BTC',
  972. 'counterparty': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  973. 'value': '1.35836e-11'
  974. },
  975. 'totalPrice': {
  976. 'currency': 'USD',
  977. 'counterparty': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  978. 'value': '3.6076e-9'
  979. },
  980. 'makerExchangeRate': '0.003765060240963855',
  981. 'sequence': 550,
  982. 'status': 'filled'
  983. }
  984. ],
  985. 'rQE5Z3FgVnRMbVfS6xiVQFgB4J3X162FVD': [
  986. {
  987. 'direction': 'buy',
  988. 'quantity': {
  989. 'currency': 'BTC',
  990. 'counterparty': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  991. 'value': '0.2167361918696212'
  992. },
  993. 'totalPrice': {
  994. 'currency': 'USD',
  995. 'counterparty': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
  996. 'value': '57.5510124870203'
  997. },
  998. 'makerExchangeRate': '0.003765983994087028',
  999. 'sequence': 114646,
  1000. 'status': 'partially-filled'
  1001. }
  1002. ]
  1003. }
  1004. }
  1005. exports.parsedOfferCreateCreated = function() {
  1006. return {
  1007. 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M': [
  1008. {
  1009. 'direction': 'buy',
  1010. 'quantity': {
  1011. 'currency': 'XRP',
  1012. 'value': '10000000'
  1013. },
  1014. 'totalPrice': {
  1015. 'currency': 'JPY',
  1016. 'counterparty': 'r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN',
  1017. 'value': '0.0001'
  1018. },
  1019. 'makerExchangeRate': '100000000000',
  1020. 'sequence': 26,
  1021. 'status': 'created'
  1022. }
  1023. ]
  1024. }
  1025. }
  1026. exports.parsedOfferCancel = function() {
  1027. return {
  1028. 'rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M': [
  1029. {
  1030. 'direction': 'buy',
  1031. 'quantity': {
  1032. 'currency': 'XRP',
  1033. 'value': '1000'
  1034. },
  1035. 'totalPrice': {
  1036. 'currency': 'JPY',
  1037. 'counterparty': 'r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN',
  1038. 'value': '1000'
  1039. },
  1040. 'makerExchangeRate': '1',
  1041. 'sequence': 20,
  1042. 'status': 'cancelled'
  1043. }
  1044. ]
  1045. }
  1046. }