mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
3632a169be
Adjst burning and minting flows to handle assets. Supplies are passed from qml to nim as strings - "2" for ERC721, "1.5" for ERC20 String amounts are converted to Uint256 type. Additionally ERC20 amounts are converted to basic units (wei-like, decimals=18). Uint256 values are passed to backend functions and then coverted to strings which can be converted to bigInt.BigInt types. Supply and RemainingSupply are exposed to qml as floats. Issue #11129