Multisignature, Thresholds, and Key Weights We can specify what signature are required to change the state of an account
Batching Either all operations in a transaction succeed or none of them does
Sequence Transactions are processed only if their sequence number is increasing
Time Bounds Limit the time frame within which transactions can be accepted by the Stellar Network
1. The users can inadvertently bump the escrow sequence number, invalidating the previously signed transactions.
2. The contract flow is not obvious when looking at the contract in a viewer (e.g. StellarExpert).
1. Change the state of the contract, for example by moving around funds,
2. Setup the state transitions from the next state.
S0 Initial State. The account was created but is not funded.
S1 Account Funded. The account is funded and waiting for one of two transitions: the funds will be transferred to the payee or the payer.
S2 Account Merged with Payee account.
S3 Account Merged with Payer account.