feat: Add MPT support to DEX (#5285)

This commit is contained in:
Gregory Tsipenyuk
2026-04-08 12:17:37 -04:00
committed by GitHub
parent 6d1a5be8d2
commit dfcad69155
223 changed files with 34897 additions and 4228 deletions

View File

@@ -35,10 +35,10 @@ public:
mantissa--;
if (mantissa < STAmount::cMinValue)
return {amount.issue(), mantissa, amount.exponent(), amount.negative()};
return {amount.asset(), mantissa, amount.exponent(), amount.negative()};
return {
amount.issue(),
amount.asset(),
mantissa,
amount.exponent(),
amount.negative(),
@@ -50,10 +50,10 @@ public:
mantissa++;
if (mantissa > STAmount::cMaxValue)
return {amount.issue(), mantissa, amount.exponent(), amount.negative()};
return {amount.asset(), mantissa, amount.exponent(), amount.negative()};
return {
amount.issue(),
amount.asset(),
mantissa,
amount.exponent(),
amount.negative(),
@@ -79,7 +79,7 @@ public:
BEAST_EXPECT(!cmp.native());
BEAST_EXPECT(cmp.issue().currency == res.issue().currency);
BEAST_EXPECT(cmp.get<Issue>().currency == res.get<Issue>().currency);
if (res != cmp)
{