A utility function to truncate an amount to some max decimal
This is useful for things like the TokenBridge, where we want to truncate the amount to represent a maximum of 8 decimals
the Amount to truncate
the max number of decimals we want to keep, zeroing out the rest
the truncated Amount
Generated using TypeDoc
A utility function to truncate an amount to some max decimal
This is useful for things like the TokenBridge, where we want to truncate the amount to represent a maximum of 8 decimals