On 6/1/24 17:25, Mischief via agora-discussion wrote:
> On 6/1/24 3:57 PM, Janet Cobb via agora-business wrote:
>
>> Actually, the fee-based actions rules don't have any special cases for
>> negative values, and you can't destroy a negative number of assets. So I
>> think if the required fee is negative, it's just not possible to do (and
>> this is... not a crazy outcome policy-wise?).
> Looking at the rules again after what snail said, I think it's in rule 2577 
> (Asset Actions) instead, where it effectively floors it at zero...
>
>        When a rule indicates creating, destroying, or transferring an
>        amount of assets that is not a natural number, the specified
>        amount is rounded up to the nearest natural number after all other
>        calculations.
>

Ah, yes, sorry, I forgot about that. Then yes, it would be floored at 0.

-- 
Janet Cobb

Assessor, Rulekeepor, S​tonemason

Reply via email to