-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(limit-order-contract): add methods without args (#12)
- Loading branch information
Showing
6 changed files
with
126 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## :factory: LimitOrderContract | ||
|
||
### Methods | ||
|
||
- [getFillOrderCalldata](#gear-getfillordercalldata) | ||
- [getFillContractOrderCalldata](#gear-getfillcontractordercalldata) | ||
- [getFillOrderArgsCalldata](#gear-getfillorderargscalldata) | ||
- [getFillContractOrderArgsCalldata](#gear-getfillcontractorderargscalldata) | ||
|
||
#### :gear: getFillOrderCalldata | ||
|
||
Fill order WITHOUT an extension and taker interaction | ||
|
||
| Method | Type | | ||
| ---------- | ---------- | | ||
| `getFillOrderCalldata` | `(order: LimitOrderV4Struct, signature: string, takerTraits: TakerTraits, amount: bigint) => string` | | ||
|
||
#### :gear: getFillContractOrderCalldata | ||
|
||
Fill contract order (order maker is smart-contract) WITHOUT an extension and taker interaction | ||
|
||
| Method | Type | | ||
| ---------- | ---------- | | ||
| `getFillContractOrderCalldata` | `(order: LimitOrderV4Struct, signature: string, takerTraits: TakerTraits, amount: bigint) => string` | | ||
|
||
#### :gear: getFillOrderArgsCalldata | ||
|
||
Fill order WITH an extension or taker interaction | ||
|
||
| Method | Type | | ||
| ---------- | ---------- | | ||
| `getFillOrderArgsCalldata` | `(order: LimitOrderV4Struct, signature: string, takerTraits: TakerTraits, amount: bigint) => string` | | ||
|
||
#### :gear: getFillContractOrderArgsCalldata | ||
|
||
Fill contract order (order maker is smart-contract) WITH an extension or taker interaction | ||
|
||
| Method | Type | | ||
| ---------- | ---------- | | ||
| `getFillContractOrderArgsCalldata` | `(order: LimitOrderV4Struct, signature: string, takerTraits: TakerTraits, amount: bigint) => string` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters