You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ZEIP introduces a new order format, termed OTC orders, to the 0x V4 protocol. OTC orders are a slimmed down version of the existing 0x v4 RFQ order format, designed to reduce gas usage at the cost of certain functionality offered by the other order types. OTC orders would not replace RFQ or Limit orders, but rather coexist with the existing order formats in the protocol.
Type
CORE
Motivation
OTC orders are designed to be more gas efficient than the existing v4 order formats (RFQ and Limit), particularly for meta-transaction execution. Currently, meta-transaction trades must go through the MetaTransactionsFeature, which can perform an internal call to fill an RFQ order. An OTC order can be executed by a specified relayer directly via the OtcOrdersFeature if it is signed by both the maker and taker.
There are some trade-offs between OTC orders and RFQ orders. We expect OTC orders to be cheaper than v4 RFQ orders to execute, but OTC orders cannot be cancelled, nor can they be partially filled more than once.
Metatransactions allow a third party to submit a transaction on behalf of a user. This feature decreases the costs associated with submitting these types of transactions, greatly reducing operational costs. We anticipate the gas to be approximately 80-90k on Ethereum.
Implementation
This proposal would register the functions exposed by OtcOrdersFeature to the 0x Exchange Proxy. The 0x V4 architecture allows features to be added and upgraded. No change is required for integrators, as no existing functionality will be updated.
Designated team
0x Labs
Notes
The change has been spot-checked by Consensys Diligence
The text was updated successfully, but these errors were encountered:
Summary
This ZEIP introduces a new order format, termed OTC orders, to the 0x V4 protocol. OTC orders are a slimmed down version of the existing 0x v4 RFQ order format, designed to reduce gas usage at the cost of certain functionality offered by the other order types. OTC orders would not replace RFQ or Limit orders, but rather coexist with the existing order formats in the protocol.
Type
CORE
Motivation
OTC orders are designed to be more gas efficient than the existing v4 order formats (RFQ and Limit), particularly for meta-transaction execution. Currently, meta-transaction trades must go through the
MetaTransactionsFeature
, which can perform an internal call to fill an RFQ order. An OTC order can be executed by a specified relayer directly via theOtcOrdersFeature
if it is signed by both the maker and taker.There are some trade-offs between OTC orders and RFQ orders. We expect OTC orders to be cheaper than v4 RFQ orders to execute, but OTC orders cannot be cancelled, nor can they be partially filled more than once.
Specification
https://github.com/0xProject/protocol/blob/development/contracts/zero-ex/contracts/src/features/OtcOrdersFeature.sol
Rationale
Metatransactions allow a third party to submit a transaction on behalf of a user. This feature decreases the costs associated with submitting these types of transactions, greatly reducing operational costs. We anticipate the gas to be approximately
80-90k
on Ethereum.Implementation
This proposal would register the functions exposed by
OtcOrdersFeature
to the 0x Exchange Proxy. The 0x V4 architecture allows features to be added and upgraded. No change is required for integrators, as no existing functionality will be updated.Designated team
0x Labs
Notes
The change has been spot-checked by Consensys Diligence
The text was updated successfully, but these errors were encountered: