ClearConfig
Additional config to a clear that allows two orders to be fully matched to
a specific token moment. Also defines the bounty for the clearer.
struct ClearConfig {
uint256 aliceInputIOIndex;
uint256 aliceOutputIOIndex;
uint256 bobInputIOIndex;
uint256 bobOutputIOIndex;
uint256 aliceBountyVaultId;
uint256 bobBountyVaultId;
}
Properties
| Name | Type | Description |
|---|---|---|
aliceInputIOIndex | uint256 | The index of the input token in order A. |
aliceOutputIOIndex | uint256 | The index of the output token in order A. |
bobInputIOIndex | uint256 | The index of the input token in order B. |
bobOutputIOIndex | uint256 | The index of the output token in order B. |
aliceBountyVaultId | uint256 | The vault ID that the bounty from order A should move to for the clearer. |
bobBountyVaultId | uint256 | The vault ID that the bounty from order B should move to for the clearer. |