Page MenuHomePhabricator

[Cashtab] Rename getMaxMintAmount to getMaxDecimalizedSlpQty
ClosedPublic

Authored by bytesofman on Oct 21 2024, 17:31.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCefb1371b033d: [Cashtab] Rename getMaxMintAmount to getMaxDecimalizedSlpQty
Summary

This function is not really giving us the maxMintAmount. It's giving us the max decimalized qty representable for a given SLPv1 mint, send, or burn tx.

In Cashtab right now, it's only used for getting a max mint amount. But we need to fix this.

This amount should also be added to max mint/send/burn validation. Need to do this to properly validate agora partial listings.

In this diff, we only rename.

Test Plan

npm test, grep -r getMaxMintAmount src/ and no output

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable