starkKeyparameter is associated with the Ethereum address that initiated the transaction. Otherwise, the request is rejected by the StarkEx smart contract.
starkKeycorresponds to the provided
vaultId, and the supplied amount of funds can indeed be withdrawn without falling below the maintenance margin.
vaultIdof both parties
amountSyntheticto transfer in return
a_is_buying_synthetic- a flag that indicates which of them is buying the synthetics
submission_expiration_timestamp- given in hours. This is to protect the non-submitter side from executing the trade in an arbitrary future time
nonce- used to protect the non-submitter side in the trade against replay attack
eth_signature- the non-submitter signature on all the parameters
starkKeyvalues of both traders match their Ethereum addresses, there has been no request with the same parameters (including the nonce) before, and
blockchain_time / 3600 <= submission_expiration_time.
vaultIdvalues correspond to the specified
starkKeyvalues and the trade leaves both positions above the maintenance margin (or improve their value to maintenance margin ratio)