Skip to content

Commit

Permalink
Merge pull request #316 from 1inch/docs/maker-flags-fix
Browse files Browse the repository at this point in the history
Update description.md
  • Loading branch information
ZumZoom authored Apr 26, 2024
2 parents 5455f34 + 72173d9 commit 9416924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion description.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The `makerTraits` property contains order settings as bit flags and compacted nu
| --- | --- | --- |
| NO_PARTIAL_FILLS | 255 | If set, the order does not allow partial fills.<br/>Partial fill only occurs when part of the required maker’s asset amount is swapped. This could be useful for large orders that can be hardly filled by only one taker. |
| ALLOW_MULTIPLE_FILLS | 254 | If set, the order permits multiple fills.<br/>More than one fill is only possible for an order that was partially filled previously. It is not possible to fill an order that was already fully filled. The flag usually works in combination with allowPartialFills flag. It doesn’t make sense to allow multiple fills without the permission for partial fills. |
| NO_IMPROVE_RATE | 253 | If set, the order does not allow the taker’s interaction to improve the rate.<br/><br/>By default, a taker can return more tokens to a maker, and limit order protocol allows it. But in some cases, this may lead to unpredictable results. For example, if a maker wants to buy NFT, changing amount will change the NFT token that the taker should transfer to the maker, because [ERC-721](https://ethereum.org/en/developers/docs/standards/tokens/erc-721/) uses tokenId instead of amount. Use this flag to avoid it. |
| unused | 253 | Reserved for future use. |
| PRE_INTERACTION_CALL | 252 | If set, the order requires pre-interaction call.<br/>Set the flag to execute maker’s pre-interaction call.<br/>See [Interactions](#interactions) section for details. |
| POST_INTERACTION_CALL | 251 | If set, the order requires post-interaction call.<br/>Set the flag to execute maker’s post-interaction call.<br/>See [Interactions](#interactions) section for details. |
| NEED_CHECK_EPOCH_MANAGER | 250 | If set, an order uses epoch manager for cancelling.<br/>See [Cancelling an order](#cancelling-an-order) for details. |
Expand Down

0 comments on commit 9416924

Please sign in to comment.