Skip to content

Commit 3e6364a

Browse files
committed
adjust endpoints
1 parent 27562dc commit 3e6364a

10 files changed

Lines changed: 0 additions & 682 deletions

File tree

.openapi-generator/FILES

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ docs/FundingApi.md
3939
docs/FundingRate.md
4040
docs/FundingRates.md
4141
docs/Fundings.md
42-
docs/HasRefereeCode.md
4342
docs/InfoApi.md
4443
docs/L1Metadata.md
4544
docs/L1ProviderInfo.md
@@ -110,7 +109,6 @@ docs/ReqGetTransferFeeInfo.md
110109
docs/ReqGetTransferHistory.md
111110
docs/ReqGetTx.md
112111
docs/ReqGetWithdrawHistory.md
113-
docs/ReqHasRefereeByL1Address.md
114112
docs/RespChangeAccountTier.md
115113
docs/RespGetFastBridgeInfo.md
116114
docs/RespPublicPoolsMetadata.md
@@ -195,7 +193,6 @@ lighter/models/funding.py
195193
lighter/models/funding_rate.py
196194
lighter/models/funding_rates.py
197195
lighter/models/fundings.py
198-
lighter/models/has_referee_code.py
199196
lighter/models/l1_metadata.py
200197
lighter/models/l1_provider_info.py
201198
lighter/models/liq_trade.py
@@ -262,7 +259,6 @@ lighter/models/req_get_transfer_fee_info.py
262259
lighter/models/req_get_transfer_history.py
263260
lighter/models/req_get_tx.py
264261
lighter/models/req_get_withdraw_history.py
265-
lighter/models/req_has_referee_by_l1_address.py
266262
lighter/models/resp_change_account_tier.py
267263
lighter/models/resp_get_fast_bridge_info.py
268264
lighter/models/resp_public_pools_metadata.py
@@ -295,11 +291,4 @@ lighter/rest.py
295291
setup.cfg
296292
test-requirements.txt
297293
test/__init__.py
298-
test/test_has_referee_code.py
299-
test/test_public_pool_metadata.py
300-
test/test_req_get_account_active_orders.py
301-
test/test_req_get_public_pools_metadata.py
302-
test/test_req_has_referee_by_l1_address.py
303-
test/test_resp_public_pools_metadata.py
304-
test/test_share_price.py
305294
tox.ini

docs/HasRefereeCode.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/ReferralApi.md

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -4,79 +4,9 @@ All URIs are relative to *https://mainnet.zklighter.elliot.ai*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**referral_has_referee_by_address**](ReferralApi.md#referral_has_referee_by_address) | **GET** /api/v1/referral/hasRefereeByAddress | referral_hasRefereeByAddress
87
[**referral_points**](ReferralApi.md#referral_points) | **GET** /api/v1/referral/points | referral_points
98

109

11-
# **referral_has_referee_by_address**
12-
> HasRefereeCode referral_has_referee_by_address(l1_address)
13-
14-
referral_hasRefereeByAddress
15-
16-
Does L1 address have referee code?
17-
18-
### Example
19-
20-
21-
```python
22-
import lighter
23-
from lighter.models.has_referee_code import HasRefereeCode
24-
from lighter.rest import ApiException
25-
from pprint import pprint
26-
27-
# Defining the host is optional and defaults to https://mainnet.zklighter.elliot.ai
28-
# See configuration.py for a list of all supported configuration parameters.
29-
configuration = lighter.Configuration(
30-
host = "https://mainnet.zklighter.elliot.ai"
31-
)
32-
33-
34-
# Enter a context with an instance of the API client
35-
async with lighter.ApiClient(configuration) as api_client:
36-
# Create an instance of the API class
37-
api_instance = lighter.ReferralApi(api_client)
38-
l1_address = 'l1_address_example' # str |
39-
40-
try:
41-
# referral_hasRefereeByAddress
42-
api_response = await api_instance.referral_has_referee_by_address(l1_address)
43-
print("The response of ReferralApi->referral_has_referee_by_address:\n")
44-
pprint(api_response)
45-
except Exception as e:
46-
print("Exception when calling ReferralApi->referral_has_referee_by_address: %s\n" % e)
47-
```
48-
49-
50-
51-
### Parameters
52-
53-
54-
Name | Type | Description | Notes
55-
------------- | ------------- | ------------- | -------------
56-
**l1_address** | **str**| |
57-
58-
### Return type
59-
60-
[**HasRefereeCode**](HasRefereeCode.md)
61-
62-
### Authorization
63-
64-
No authorization required
65-
66-
### HTTP request headers
67-
68-
- **Content-Type**: Not defined
69-
- **Accept**: application/json
70-
71-
### HTTP response details
72-
73-
| Status code | Description | Response headers |
74-
|-------------|-------------|------------------|
75-
**200** | A successful response. | - |
76-
**400** | Bad request | - |
77-
78-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
79-
8010
# **referral_points**
8111
> ReferralPoints referral_points(account_index, authorization=authorization, auth=auth)
8212

docs/ReqHasRefereeByL1Address.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

lighter/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
from lighter.models.funding_rate import FundingRate
7878
from lighter.models.funding_rates import FundingRates
7979
from lighter.models.fundings import Fundings
80-
from lighter.models.has_referee_code import HasRefereeCode
8180
from lighter.models.l1_metadata import L1Metadata
8281
from lighter.models.l1_provider_info import L1ProviderInfo
8382
from lighter.models.liq_trade import LiqTrade
@@ -144,7 +143,6 @@
144143
from lighter.models.req_get_transfer_history import ReqGetTransferHistory
145144
from lighter.models.req_get_tx import ReqGetTx
146145
from lighter.models.req_get_withdraw_history import ReqGetWithdrawHistory
147-
from lighter.models.req_has_referee_by_l1_address import ReqHasRefereeByL1Address
148146
from lighter.models.resp_change_account_tier import RespChangeAccountTier
149147
from lighter.models.resp_get_fast_bridge_info import RespGetFastBridgeInfo
150148
from lighter.models.resp_public_pools_metadata import RespPublicPoolsMetadata

0 commit comments

Comments
 (0)