fix transposed amount and asset type
quiet compiler warnings (32/64 bit conversions)
quiet compiler warnings (32/64 bit conversions)