If Block End(for receiver balance check)
Smart Contract Program End
If Block End(for transaction valid)
Mark the receiver as a VIP.
Add transaction amount to the receiver balance
Mark the receiver as a non-VIP.
Smart Contract Program Start
If receiver's balance is more than or equal to 1000:
If receiver's balance is less than 1000:
If Transaction Valid: