-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from immutable/feat/orderbook-package
[DX-3294] feat: orderbook package
- Loading branch information
Showing
217 changed files
with
12,539 additions
and
1 deletion.
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,3 @@ | ||
# Changelog | ||
|
||
Please see https://github.com/immutable/unity-immutable-sdk/releases |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,13 @@ | ||
# Immutable.Orderbook.Model.Action | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
---------------------------|-----------------------------------------------------------------------------------------|-------------|------------ | ||
**PopulatedTransactions** | [**TransactionActionPopulatedTransactions**](TransactionActionPopulatedTransactions.md) | | [optional] | ||
**Purpose** | **SignablePurpose** | | [optional] | ||
**Type** | **string** | | | ||
**Message** | [**SignableActionMessage**](SignableActionMessage.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,11 @@ | ||
# Immutable.Orderbook.Model.BigNumberish | ||
|
||
Any type that can be used where a big number is needed. | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------|------|-------------|------- | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
12 changes: 12 additions & 0 deletions
12
src/Packages/Orderbook/Documentation~/CancelOrders200Response.md
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,12 @@ | ||
# Immutable.Orderbook.Model.CancelOrders200Response | ||
|
||
Response schema for the cancelOrder endpoint | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------|-----------------------------------------------------------------------|-------------|------------ | ||
**Result** | [**CancelOrders200ResponseResult**](CancelOrders200ResponseResult.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
12 changes: 12 additions & 0 deletions
12
src/Packages/Orderbook/Documentation~/CancelOrders200ResponseResult.md
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,12 @@ | ||
# Immutable.Orderbook.Model.CancelOrders200ResponseResult | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|------------ | ||
**FailedCancellations** | [**List<CancelOrders200ResponseResultFailedCancellationsInner>**](CancelOrders200ResponseResultFailedCancellationsInner.md) | Orders which failed to be cancelled | [optional] | ||
**PendingCancellations** | **List<string>** | Orders which are marked for cancellation but the cancellation cannot be guaranteed | [optional] | ||
**SuccessfulCancellations** | **List<string>** | Orders which were successfully cancelled | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
11 changes: 11 additions & 0 deletions
11
...derbook/Documentation~/CancelOrders200ResponseResultFailedCancellationsInner.md
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,11 @@ | ||
# Immutable.Orderbook.Model.CancelOrders200ResponseResultFailedCancellationsInner | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
----------------|------------|-------------------------------------------------------------|------------ | ||
**Order** | **string** | ID of the order which failed to be cancelled | [optional] | ||
**ReasonCode** | **string** | Reason code indicating why the order failed to be cancelled | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
12 changes: 12 additions & 0 deletions
12
src/Packages/Orderbook/Documentation~/CancelOrdersOnChain200Response.md
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,12 @@ | ||
# Immutable.Orderbook.Model.CancelOrdersOnChain200Response | ||
|
||
Response schema for the cancelOrder endpoint | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------------------|-----------------------------------------------|-------------|------------ | ||
**CancellationAction** | [**TransactionAction**](TransactionAction.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
11 changes: 11 additions & 0 deletions
11
src/Packages/Orderbook/Documentation~/CancelOrdersOnChainRequest.md
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,11 @@ | ||
# Immutable.Orderbook.Model.CancelOrdersOnChainRequest | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
--------------------|------------------------|-------------|------- | ||
**OrderIds** | **List<string>** | | | ||
**AccountAddress** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
12 changes: 12 additions & 0 deletions
12
src/Packages/Orderbook/Documentation~/CancelOrdersRequest.md
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,12 @@ | ||
# Immutable.Orderbook.Model.CancelOrdersRequest | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
--------------------|------------------------|-------------|------- | ||
**OrderIds** | **List<string>** | | | ||
**AccountAddress** | **string** | | | ||
**Signature** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,11 @@ | ||
# Immutable.Orderbook.Model.CancellationType | ||
|
||
Whether the cancellation was done on-chain or off-chain or as a result of an underfunded account | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------|------|-------------|------- | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
11 changes: 11 additions & 0 deletions
11
src/Packages/Orderbook/Documentation~/CancelledOrderStatusCancellationType.md
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,11 @@ | ||
# Immutable.Orderbook.Model.CancelledOrderStatusCancellationType | ||
|
||
Whether the cancellation was done on-chain or off-chain or as a result of an underfunded account | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------|------|-------------|------- | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
12 changes: 12 additions & 0 deletions
12
src/Packages/Orderbook/Documentation~/CreateListing200Response.md
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,12 @@ | ||
# Immutable.Orderbook.Model.CreateListing200Response | ||
|
||
The response schema for the create listing endpoint | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------|-----------------------|-------------|------------ | ||
**Result** | [**Order**](Order.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
13 changes: 13 additions & 0 deletions
13
src/Packages/Orderbook/Documentation~/CreateListingRequest.md
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,13 @@ | ||
# Immutable.Orderbook.Model.CreateListingRequest | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
---------------------|-------------------------------------------|-------------|------- | ||
**MakerFees** | [**List<FeeValue>**](FeeValue.md) | | | ||
**OrderComponents** | [**OrderComponents**](OrderComponents.md) | | | ||
**OrderHash** | **string** | | | ||
**OrderSignature** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,13 @@ | ||
# Immutable.Orderbook.Model.ERC1155Item | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
---------------------|------------|-------------|------- | ||
**Amount** | **string** | | | ||
**ContractAddress** | **string** | | | ||
**TokenId** | **string** | | | ||
**Type** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,12 @@ | ||
# Immutable.Orderbook.Model.ERC20Item | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
---------------------|------------|-------------|------- | ||
**Amount** | **string** | | | ||
**ContractAddress** | **string** | | | ||
**Type** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,12 @@ | ||
# Immutable.Orderbook.Model.ERC721Item | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
---------------------|------------|-------------|------- | ||
**ContractAddress** | **string** | | | ||
**TokenId** | **string** | | | ||
**Type** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,12 @@ | ||
# Immutable.Orderbook.Model.Fee | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
----------------------|-------------|-------------|------------ | ||
**Amount** | **string** | | [optional] | ||
**RecipientAddress** | **string** | | [optional] | ||
**Type** | **FeeType** | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,9 @@ | ||
# Immutable.Orderbook.Model.FeeType | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------|------|-------------|------- | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,11 @@ | ||
# Immutable.Orderbook.Model.FeeValue | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
----------------------|------------|-------------|------- | ||
**Amount** | **string** | | | ||
**RecipientAddress** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
14 changes: 14 additions & 0 deletions
14
src/Packages/Orderbook/Documentation~/FulfillOrder200Response.md
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,14 @@ | ||
# Immutable.Orderbook.Model.FulfillOrder200Response | ||
|
||
Response schema for the fulfillOrder endpoint | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
----------------|-----------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|------------ | ||
**Actions** | [**List<TransactionAction>**](TransactionAction.md) | | [optional] | ||
**Expiration** | **string** | User MUST submit the fulfillment transaction before the expiration Submitting after the expiration will result in a on chain revert | [optional] | ||
**Order** | [**Order**](Order.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
13 changes: 13 additions & 0 deletions
13
src/Packages/Orderbook/Documentation~/FulfillOrderRequest.md
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,13 @@ | ||
# Immutable.Orderbook.Model.FulfillOrderRequest | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------------|-------------------------------------------------------------------------------------------|--------------|------------ | ||
**ListingId** | **string** | listingId | | ||
**TakerAddress** | **string** | takerAddress | | ||
**TakerFees** | [**List<FulfillOrderRequestTakerFeesInner>**](FulfillOrderRequestTakerFeesInner.md) | takerFees | | ||
**AmountToFill** | **string** | amountToFill | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
11 changes: 11 additions & 0 deletions
11
src/Packages/Orderbook/Documentation~/FulfillOrderRequestTakerFeesInner.md
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,11 @@ | ||
# Immutable.Orderbook.Model.FulfillOrderRequestTakerFeesInner | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
----------------------|------------|-------------|------- | ||
**Amount** | **string** | | | ||
**RecipientAddress** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,9 @@ | ||
# Immutable.Orderbook.Model.ItemType | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------|------|-------------|------- | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,11 @@ | ||
# Immutable.Orderbook.Model.NativeItem | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------|------------|-------------|------- | ||
**Amount** | **string** | | | ||
**Type** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,26 @@ | ||
# Immutable.Orderbook.Model.Order | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
--------------------|---------------------------------------------------------------------------|-------------------------------------------------|------------ | ||
**AccountAddress** | **string** | | [optional] | ||
**Buy** | [**List<PrepareListingRequestBuy>**](PrepareListingRequestBuy.md) | | [optional] | ||
**Chain** | [**OrderChain**](OrderChain.md) | | [optional] | ||
**CreatedAt** | **string** | | [optional] | ||
**EndAt** | **string** | Time after which the Order is expired | [optional] | ||
**Fees** | [**List<Fee>**](Fee.md) | | [optional] | ||
**FillStatus** | [**OrderFillStatus**](OrderFillStatus.md) | | [optional] | ||
**Id** | **string** | | | ||
**OrderHash** | **string** | | | ||
**ProtocolData** | [**OrderProtocolData**](OrderProtocolData.md) | | [optional] | ||
**Salt** | **string** | | [optional] | ||
**Sell** | [**List<PrepareListingRequestSell>**](PrepareListingRequestSell.md) | | | ||
**Signature** | **string** | | | ||
**StartAt** | **string** | Time after which the Order is considered active | | ||
**Status** | [**OrderStatus**](OrderStatus.md) | | | ||
**Type** | **string** | | | ||
**UpdatedAt** | **string** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
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,11 @@ | ||
# Immutable.Orderbook.Model.OrderChain | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
----------|------------|-------------|------------ | ||
**Id** | **string** | | [optional] | ||
**Name** | **string** | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
Oops, something went wrong.