UNPKG

ripple-lib-value

Version:

Classes for dealing with XRP Ledger amount values

1 lines 1.34 kB
{"version":3,"file":"iouvalue.js","sourceRoot":"","sources":["../../src/iouvalue.ts"],"names":[],"mappings":";;;;;AAAA,mCAA6B;AAC7B,yCAAmC;AACnC,gEAAoC;AAEpC,MAAM,SAAS,GAAG,sBAAS,CAAC,KAAK,CAAC;IAChC,aAAa,EAAE,sBAAS,CAAC,aAAa;IACtC,cAAc,EAAE,EAAE;CACnB,CAAC,CAAA;AAEF,MAAM,QAAQ,GAAG,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC;AAEpC,MAAM,QAAS,SAAQ,aAAK;IAE1B,YAAY,KAAyB,EAAE,eAAuC,IAAI,EAClF,OAAe,IAAI;QAEjB,KAAK,CAAC,IAAI,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC,CAAC;IAChE,CAAC;IAED,QAAQ,CAAC,YAAmB;QAC1B,IAAI,YAAY,YAAY,mBAAQ,EAAE;YACpC,OAAO,KAAK,CAAC,QAAQ,CACnB,IAAI,QAAQ,CACV,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;SAC3C;QACD,OAAO,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;IAED,MAAM,CAAC,OAAc;QACnB,IAAI,OAAO,YAAY,mBAAQ,EAAE;YAC/B,OAAO,KAAK,CAAC,MAAM,CACjB,IAAI,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;SACjD;QACD,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,aAAa,CAAC,KAAK;Q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