sarafu-vise/services/registration/amount.vis

15 lines
284 B
Plaintext

LOAD reset_transaction_amount 0
LOAD max_amount 40
RELOAD max_amount
MAP max_amount
MOUT back 0
HALT
LOAD validate_amount 64
RELOAD validate_amount
CATCH invalid_amount flag_invalid_amount 1
INCMP _ 0
LOAD get_recipient 0
LOAD get_sender 64
LOAD get_amount 32
INCMP transaction_pin *