-
Notifications
You must be signed in to change notification settings - Fork 195
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 #217 from InjectiveLabs/feat/sgt-create-strategy
feat/sgt-create-strategy-authz
- Loading branch information
Showing
15 changed files
with
309 additions
and
122 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
60 changes: 0 additions & 60 deletions
60
packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuthzApi.ts
This file was deleted.
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
28 changes: 0 additions & 28 deletions
28
packages/sdk-ts/src/client/chain/transformers/ChainGrpcAuthzTransformer.ts
This file was deleted.
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,29 @@ | ||
import { | ||
CosmosAuthzV1Beta1Authz, | ||
InjectiveExchangeV1Beta1Authz, | ||
} from '@injectivelabs/core-proto-ts' | ||
|
||
export type Grant = CosmosAuthzV1Beta1Authz.Grant | ||
export type GrantAuthorization = CosmosAuthzV1Beta1Authz.GrantAuthorization | ||
|
||
export type CreateSpotLimitOrderAuthz = | ||
InjectiveExchangeV1Beta1Authz.CreateSpotLimitOrderAuthz | ||
export type CreateSpotMarketOrderAuthz = | ||
InjectiveExchangeV1Beta1Authz.CreateSpotMarketOrderAuthz | ||
export type BatchCreateSpotLimitOrdersAuthz = | ||
InjectiveExchangeV1Beta1Authz.BatchCreateSpotLimitOrdersAuthz | ||
export type CancelSpotOrderAuthz = | ||
InjectiveExchangeV1Beta1Authz.CancelSpotOrderAuthz | ||
export type BatchCancelSpotOrdersAuthz = | ||
InjectiveExchangeV1Beta1Authz.BatchCancelSpotOrdersAuthz | ||
|
||
export type CreateDerivativeLimitOrderAuthz = | ||
InjectiveExchangeV1Beta1Authz.CreateDerivativeLimitOrderAuthz | ||
export type CreateDerivativeMarketOrderAuthz = | ||
InjectiveExchangeV1Beta1Authz.CreateDerivativeMarketOrderAuthz | ||
export type BatchCreateDerivativeLimitOrdersAuthz = | ||
InjectiveExchangeV1Beta1Authz.BatchCreateDerivativeLimitOrdersAuthz | ||
export type CancelDerivativeOrderAuthz = | ||
InjectiveExchangeV1Beta1Authz.CancelDerivativeOrderAuthz | ||
export type BatchCancelDerivativeOrdersAuthz = | ||
InjectiveExchangeV1Beta1Authz.BatchCancelDerivativeOrdersAuthz |
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
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
Oops, something went wrong.