In an Options Contract, What State Changes Occur upon Exercise?

When an options contract is exercised, several state changes occur. The contract's internal state is updated to mark the option as exercised, preventing further exercise.

The collateral or underlying asset is transferred from the seller to the buyer, and the premium is transferred if it was not paid upfront. Finally, the balances of the buyer and seller are updated to reflect the asset transfer.

How Does a Settlement Network Reconcile Its Off-Chain Ledger with On-Chain Balances?
Why Does Theta Benefit the Option Seller but Harm the Option Buyer?
Can MEV Occur on non-Proof-of-Stake (PoS) Blockchains?
How Does Early Assignment Work for the Seller of an Option?
What Is the Process of “Physical Settlement” in Traditional Futures?
Which Options Trading Strategy Involves a Similar Risk Transfer from Buyer to Seller?
How Does the Concept of “Delivery” Apply to Physically-Settled Bitcoin Futures?
What Is the Term for the Seller of a Put Option?

Glossar