πSpecification
Intent Structure
{
"amount": // The size and direction of the order being opened by the taker
// - Positive opens long / Negative opens short
// - The maker will open the opposite side of the order
// - To close, open an order in the opposite direction
"price": // The price to execute the order at
"fee": // The solver fee, a percentage of the substractive interface fee
"originator": // The referral address of the originator of the order (ex. the interface)
"solver": // The referral address of the solver of the order (ex. the router)
"collateralization": // The minimium collateralization ratio that must be maintained after the order is executed
"common": {
"account": // The target account of the message (usually the account on behalf of which the action is being performed)
"signer": // EOA signing the message (usually either the account or a delegate of the account)
"domain": // ensures the message is unique to a particular protocol version, chain, and verifier
"nonce": // per-sender nonce which is automatically cancelled upon validation
"group": // per-sender nonce which must be manually cancelled with a GroupCancellation message
"expiry": // prevents this message from having the intended effect after a specified timestamp
}
}Market - Update()
Intent Verifier
Other Modules
Last updated
