ClearStateChange
Summary of the vault state changes due to clearing an order. NOT the state changes sent to the interpreter store, these are the LOCAL CHANGES in vault balances. Note that the difference in inputs/outputs overall between the counterparties is the bounty paid to the entity that cleared the order.
struct ClearStateChange {
uint256 aliceOutput;
uint256 bobOutput;
uint256 aliceInput;
uint256 bobInput;
}
Properties
| Name | Type | Description |
|---|---|---|
aliceOutput | uint256 | Amount of counterparty A's output token that moved out of their vault. |
bobOutput | uint256 | Amount of counterparty B's output token that moved out of their vault. |
aliceInput | uint256 | Amount of counterparty A's input token that moved into their vault. |
bobInput | uint256 | Amount of counterparty B's input token that moved into their vault. |