Skip to content

Commit

Permalink
refactor: Don't use alias path (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrr523 authored Nov 13, 2023
1 parent c118ba0 commit f14f3a1
Show file tree
Hide file tree
Showing 17 changed files with 125 additions and 140 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-bobcats-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bnb-chain/greenfield-js-sdk': patch
---

refactor: don't use alias path
2 changes: 1 addition & 1 deletion packages/js-sdk/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
"../node_modules",
"../src/tests"
]
}
}
8 changes: 4 additions & 4 deletions packages/js-sdk/src/api/account.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TxClient } from '@/clients/txClient';
import { MsgMultiSendSDKTypeEIP712 } from '@/messages/bank/MsgMultiSend';
import { MsgSendSDKTypeEIP712 } from '@/messages/bank/MsgSend';
import { MsgCreatePaymentAccountSDKTypeEIP712 } from '@/messages/greenfield/payment/MsgCreatePaymentAccount';
import { TxClient } from '../clients/txClient';
import { MsgMultiSendSDKTypeEIP712 } from '../messages/bank/MsgMultiSend';
import { MsgSendSDKTypeEIP712 } from '../messages/bank/MsgSend';
import { MsgCreatePaymentAccountSDKTypeEIP712 } from '../messages/greenfield/payment/MsgCreatePaymentAccount';
import { BaseAccount } from '@bnb-chain/greenfield-cosmos-types/cosmos/auth/v1beta1/auth';
import {
QueryModuleAccountByNameResponse,
Expand Down
70 changes: 35 additions & 35 deletions packages/js-sdk/src/api/bucket.ts
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
import { HTTPHeaderUserAddress } from '@/clients/spclient/auth';
import { getApprovalMetaInfo } from '@/clients/spclient/spApis/approval';
import {
getBucketMetaInfo,
parseGetBucketMetaResponse,
} from '@/clients/spclient/spApis/getBucketMeta';
import {
getUserBucketMetaInfo,
parseGetUserBucketsResponse,
} from '@/clients/spclient/spApis/getUserBuckets';
import {
getListBucketReadRecordMetaInfo,
parseListBucketReadRecordResponse,
} from '@/clients/spclient/spApis/listBucketReadRecords';
import {
getListBucketsByIDsMetaInfo,
parseListBucketsByIdsResponse,
} from '@/clients/spclient/spApis/listBucketsByIds';
import {
getListBucketByPaymentMetaInfo,
parseListBucketByPaymentResponse,
} from '@/clients/spclient/spApis/listBucketsByPayment';
import { parseError } from '@/clients/spclient/spApis/parseError';
import {
getQueryBucketReadQuotaMetaInfo,
parseReadQuotaResponse,
} from '@/clients/spclient/spApis/queryBucketReadQuota';
import { TxClient } from '@/clients/txClient';
import { METHOD_GET, NORMAL_ERROR_CODE } from '@/constants/http';
import { MsgCreateBucketSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgCreateBucket';
import { MsgDeleteBucketSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgDeleteBucket';
import { MsgMigrateBucketSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgMigrateBucket';
import { MsgUpdateBucketInfoSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgUpdateBucketInfo';
import { decodeObjectFromHexString } from '@/utils/encoding';
import { isValidAddress, isValidBucketName, isValidUrl } from '@/utils/s3';
import { UInt64Value } from '@bnb-chain/greenfield-cosmos-types/greenfield/common/wrapper';
import {
ActionType,
Expand Down Expand Up @@ -73,7 +38,40 @@ import {
TxResponse,
} from '..';
import { RpcQueryClient } from '../clients/queryclient';
import { HTTPHeaderUserAddress } from '../clients/spclient/auth';
import { getApprovalMetaInfo } from '../clients/spclient/spApis/approval';
import {
getBucketMetaInfo,
parseGetBucketMetaResponse,
} from '../clients/spclient/spApis/getBucketMeta';
import {
getUserBucketMetaInfo,
parseGetUserBucketsResponse,
} from '../clients/spclient/spApis/getUserBuckets';
import {
getListBucketReadRecordMetaInfo,
parseListBucketReadRecordResponse,
} from '../clients/spclient/spApis/listBucketReadRecords';
import {
getListBucketsByIDsMetaInfo,
parseListBucketsByIdsResponse,
} from '../clients/spclient/spApis/listBucketsByIds';
import {
getListBucketByPaymentMetaInfo,
parseListBucketByPaymentResponse,
} from '../clients/spclient/spApis/listBucketsByPayment';
import { parseError } from '../clients/spclient/spApis/parseError';
import {
getQueryBucketReadQuotaMetaInfo,
parseReadQuotaResponse,
} from '../clients/spclient/spApis/queryBucketReadQuota';
import { AuthType, SpClient } from '../clients/spclient/spClient';
import { TxClient } from '../clients/txClient';
import { METHOD_GET, NORMAL_ERROR_CODE } from '../constants/http';
import { MsgCreateBucketSDKTypeEIP712 } from '../messages/greenfield/storage/MsgCreateBucket';
import { MsgDeleteBucketSDKTypeEIP712 } from '../messages/greenfield/storage/MsgDeleteBucket';
import { MsgMigrateBucketSDKTypeEIP712 } from '../messages/greenfield/storage/MsgMigrateBucket';
import { MsgUpdateBucketInfoSDKTypeEIP712 } from '../messages/greenfield/storage/MsgUpdateBucketInfo';
import type {
CreateBucketApprovalRequest,
CreateBucketApprovalResponse,
Expand All @@ -93,6 +91,8 @@ import type {
ReadQuotaRequest,
SpResponse,
} from '../types/sp';
import { decodeObjectFromHexString } from '../utils/encoding';
import { isValidAddress, isValidBucketName, isValidUrl } from '../utils/s3';
import { Sp } from './sp';
import { Storage } from './storage';

Expand Down
6 changes: 3 additions & 3 deletions packages/js-sdk/src/api/challenge.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { TxClient } from '@/clients/txClient';
import { MsgAttestSDKTypeEIP712 } from '@/messages/greenfield/chanenge/MsgAttest';
import { MsgSubmitSDKTypeEIP712 } from '@/messages/greenfield/chanenge/MsgSubmit';
import {
QueryInturnAttestationSubmitterResponse,
QueryLatestAttestedChallengesResponse,
Expand All @@ -10,6 +7,9 @@ import { MsgAttest, MsgSubmit } from '@bnb-chain/greenfield-cosmos-types/greenfi
import { container, delay, inject, injectable } from 'tsyringe';
import { MsgAttestTypeUrl, MsgSubmitTypeUrl, TxResponse } from '..';
import { RpcQueryClient } from '../clients/queryclient';
import { TxClient } from '../clients/txClient';
import { MsgAttestSDKTypeEIP712 } from '../messages/greenfield/chanenge/MsgAttest';
import { MsgSubmitSDKTypeEIP712 } from '../messages/greenfield/chanenge/MsgSubmit';

export interface IChallenge {
// TODO: getChallengeInfo();
Expand Down
12 changes: 6 additions & 6 deletions packages/js-sdk/src/api/crosschain.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
import { TxClient } from '@/clients/txClient';
import { MsgClaimSDKTypeEIP712 } from '@/messages/cosmos/oracle/MsgClaim';
import { MsgTransferOutSDKTypeEIP712 } from '@/messages/greenfield/bridge/MsgTransferOut';
import { MsgMirrorBucketSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgMirrorBucket';
import { MsgMirrorGroupSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgMirrorGroup';
import { MsgMirrorObjectSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgMirrorObject';
import {
QueryCrossChainPackageRequest,
QueryCrossChainPackageResponse,
Expand Down Expand Up @@ -31,6 +25,12 @@ import {
TxResponse,
} from '..';
import { RpcQueryClient } from '../clients/queryclient';
import { TxClient } from '../clients/txClient';
import { MsgClaimSDKTypeEIP712 } from '../messages/cosmos/oracle/MsgClaim';
import { MsgTransferOutSDKTypeEIP712 } from '../messages/greenfield/bridge/MsgTransferOut';
import { MsgMirrorBucketSDKTypeEIP712 } from '../messages/greenfield/storage/MsgMirrorBucket';
import { MsgMirrorGroupSDKTypeEIP712 } from '../messages/greenfield/storage/MsgMirrorGroup';
import { MsgMirrorObjectSDKTypeEIP712 } from '../messages/greenfield/storage/MsgMirrorObject';

export interface ICrossChain {
/**
Expand Down
13 changes: 6 additions & 7 deletions packages/js-sdk/src/api/distribution.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { TxClient } from '@/clients/txClient';
import { MsgFundCommunityPoolTypeUrlSDKTypeEIP712 } from '@/messages/cosmos/distribution/MsgFundCommunityPoolTypeUrl';
import { MsgSetWithdrawAddressSDKTypeEIP712 } from '@/messages/cosmos/distribution/MsgSetWithdrawAddress';
import { MsgWithdrawDelegatorRewardSDKTypeEIP712 } from '@/messages/cosmos/distribution/MsgWithdrawDelegatorReward';
import { MsgWithdrawValidatorCommissionSDKTypeEIP712 } from '@/messages/cosmos/distribution/MsgWithdrawValidatorCommission';
import {
MsgFundCommunityPool,
MsgSetWithdrawAddress,
MsgWithdrawDelegatorReward,
MsgWithdrawValidatorCommission,
} from '@bnb-chain/greenfield-cosmos-types/cosmos/distribution/v1beta1/tx';
import { container, delay, inject, injectable } from 'tsyringe';
import { delay, inject, injectable } from 'tsyringe';
import {
MsgFundCommunityPoolTypeUrl,
MsgSetWithdrawAddressTypeUrl,
MsgWithdrawDelegatorRewardTypeUrl,
MsgWithdrawValidatorCommissionTypeUrl,
TxResponse,
} from '..';
import { RpcQueryClient } from '../clients/queryclient';
import { TxClient } from '../clients/txClient';
import { MsgFundCommunityPoolTypeUrlSDKTypeEIP712 } from '../messages/cosmos/distribution/MsgFundCommunityPoolTypeUrl';
import { MsgSetWithdrawAddressSDKTypeEIP712 } from '../messages/cosmos/distribution/MsgSetWithdrawAddress';
import { MsgWithdrawDelegatorRewardSDKTypeEIP712 } from '../messages/cosmos/distribution/MsgWithdrawDelegatorReward';
import { MsgWithdrawValidatorCommissionSDKTypeEIP712 } from '../messages/cosmos/distribution/MsgWithdrawValidatorCommission';
export interface IDistribution {
/**
* sets the withdrawal address for a delegator address
Expand Down
6 changes: 3 additions & 3 deletions packages/js-sdk/src/api/feegrant.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TxClient } from '@/clients/txClient';
import { MsgGrantAllowanceSDKTypeEIP712 } from '@/messages/feegrant/MsgGrantAllowance';
import { MsgRevokeAllowanceSDKTypeEIP712 } from '@/messages/feegrant/MsgRevokeAllowance';
import { TxClient } from '../clients/txClient';
import { MsgGrantAllowanceSDKTypeEIP712 } from '../messages/feegrant/MsgGrantAllowance';
import { MsgRevokeAllowanceSDKTypeEIP712 } from '../messages/feegrant/MsgRevokeAllowance';
import {
QueryAllowanceRequest,
QueryAllowanceResponse,
Expand Down
14 changes: 7 additions & 7 deletions packages/js-sdk/src/api/group.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { TxClient } from '@/clients/txClient';
import { MsgCreateGroupSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgCreateGroup';
import { MsgDeleteGroupSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgDeleteGroup';
import { MsgLeaveGroupSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgLeaveGroup';
import { MsgUpdateGroupExtraSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgUpdateGroupExtra';
import { getMsgUpdateGroupMemberSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgUpdateGroupMember';
import { GRNToString, newBucketGRN, newGroupGRN, newObjectGRN } from '@/utils/grn';
import { TxClient } from '../clients/txClient';
import { MsgCreateGroupSDKTypeEIP712 } from '../messages/greenfield/storage/MsgCreateGroup';
import { MsgDeleteGroupSDKTypeEIP712 } from '../messages/greenfield/storage/MsgDeleteGroup';
import { MsgLeaveGroupSDKTypeEIP712 } from '../messages/greenfield/storage/MsgLeaveGroup';
import { MsgUpdateGroupExtraSDKTypeEIP712 } from '../messages/greenfield/storage/MsgUpdateGroupExtra';
import { getMsgUpdateGroupMemberSDKTypeEIP712 } from '../messages/greenfield/storage/MsgUpdateGroupMember';
import { GRNToString, newBucketGRN, newGroupGRN, newObjectGRN } from '../utils/grn';
import {
QueryGroupNFTResponse,
QueryHeadGroupMemberResponse,
Expand Down
42 changes: 20 additions & 22 deletions packages/js-sdk/src/api/objectt.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
import { encodePath, getMsgToSign, getSortQuery, secpSign } from '@/clients/spclient/auth';
import { getApprovalMetaInfo } from '@/clients/spclient/spApis/approval';
import { getGetObjectMetaInfo } from '@/clients/spclient/spApis/getObject';
import { encodePath, getMsgToSign, getSortQuery, secpSign } from '../clients/spclient/auth';
import { getApprovalMetaInfo } from '../clients/spclient/spApis/approval';
import { getGetObjectMetaInfo } from '../clients/spclient/spApis/getObject';
import {
getObjectMetaInfo,
parseGetObjectMetaResponse,
} from '@/clients/spclient/spApis/getObjectMeta';
} from '../clients/spclient/spApis/getObjectMeta';
import {
getListObjectPoliciesMetaInfo,
parseGetListObjectPoliciesResponse,
} from '@/clients/spclient/spApis/listObjectPolicies';
import { parseListObjectsByBucketNameResponse } from '@/clients/spclient/spApis/listObjectsByBucket';
} from '../clients/spclient/spApis/listObjectPolicies';
import { parseListObjectsByBucketNameResponse } from '../clients/spclient/spApis/listObjectsByBucket';
import {
getListObjectsByIDsMetaInfo,
parseListObjectsByIdsResponse,
} from '@/clients/spclient/spApis/listObjectsByIds';
import { parseError } from '@/clients/spclient/spApis/parseError';
import { getPutObjectMetaInfo } from '@/clients/spclient/spApis/putObject';
import { TxClient } from '@/clients/txClient';
import { METHOD_GET, NORMAL_ERROR_CODE } from '@/constants/http';
import { MsgCancelCreateObjectSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgCancelCreateObject';
import { MsgCreateObjectSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgCreateObject';
import { MsgDeleteObjectSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgDeleteObject';
import { MsgUpdateObjectInfoSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgUpdateObjectInfo';
import { signSignatureByEddsa } from '@/offchainauth';
import { GetObjectRequest } from '@/types/sp/GetObject';
import { GetObjectMetaRequest, GetObjectMetaResponse } from '@/types/sp/GetObjectMeta';
import { ListObjectsByBucketNameResponse } from '@/types/sp/ListObjectsByBucketName';
import { PutObjectRequest } from '@/types/sp/PutObject';
} from '../clients/spclient/spApis/listObjectsByIds';
import { parseError } from '../clients/spclient/spApis/parseError';
import { getPutObjectMetaInfo } from '../clients/spclient/spApis/putObject';
import { TxClient } from '../clients/txClient';
import { METHOD_GET, NORMAL_ERROR_CODE } from '../constants/http';
import { MsgCancelCreateObjectSDKTypeEIP712 } from '../messages/greenfield/storage/MsgCancelCreateObject';
import { MsgCreateObjectSDKTypeEIP712 } from '../messages/greenfield/storage/MsgCreateObject';
import { MsgDeleteObjectSDKTypeEIP712 } from '../messages/greenfield/storage/MsgDeleteObject';
import { MsgUpdateObjectInfoSDKTypeEIP712 } from '../messages/greenfield/storage/MsgUpdateObjectInfo';
import { signSignatureByEddsa } from '../offchainauth';
import { GetObjectRequest } from '../types/sp/GetObject';
import { GetObjectMetaRequest, GetObjectMetaResponse } from '../types/sp/GetObjectMeta';
import { ListObjectsByBucketNameResponse } from '../types/sp/ListObjectsByBucketName';
import { PutObjectRequest } from '../types/sp/PutObject';
import {
ActionType,
Principal,
Expand Down Expand Up @@ -173,8 +173,6 @@ export interface IObject {
listObjectPolicies(
params: GetListObjectPoliciesRequest,
): Promise<SpResponse<GetListObjectPoliciesResponse>>;
// TODO: GetObjectUploadProgress
// TODO: getObjectStatusFromSP
}

@injectable()
Expand Down
4 changes: 2 additions & 2 deletions packages/js-sdk/src/api/offchainauth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NORMAL_ERROR_CODE } from '@/constants/http';
import { NORMAL_ERROR_CODE } from '../constants/http';
import {
fetchNonces,
genLocalSignMsg,
Expand All @@ -7,7 +7,7 @@ import {
getCurrentSeedString,
personalSign,
updateSpsPubKey,
} from '@/offchainauth';
} from '../offchainauth';
import { hexlify } from '@ethersproject/bytes';
import { injectable } from 'tsyringe';
import { convertTimeStampToDate, getUtcZeroTimestamp, SpResponse } from '..';
Expand Down
18 changes: 9 additions & 9 deletions packages/js-sdk/src/api/payment.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
import {
getListUserPaymentAccountMetaInfo,
parseListUserPaymentAccountResponse,
} from '@/clients/spclient/spApis/listUserPaymentAccounts';
import { AuthType, SpClient } from '@/clients/spclient/spClient';
import { TxClient } from '@/clients/txClient';
import { MsgDepositSDKTypeEIP712 } from '@/messages/greenfield/payment/MsgDeposit';
import { MsgDisableRefundSDKTypeEIP712 } from '@/messages/greenfield/payment/MsgDisableRefund';
import { MsgWithdrawSDKTypeEIP712 } from '@/messages/greenfield/payment/MsgWithdraw';
import {
QueryAutoSettleRecordsRequest,
QueryAutoSettleRecordsResponse,
Expand Down Expand Up @@ -46,6 +37,15 @@ import {
TxResponse,
} from '..';
import { RpcQueryClient } from '../clients/queryclient';
import {
getListUserPaymentAccountMetaInfo,
parseListUserPaymentAccountResponse,
} from '../clients/spclient/spApis/listUserPaymentAccounts';
import { AuthType, SpClient } from '../clients/spclient/spClient';
import { TxClient } from '../clients/txClient';
import { MsgDepositSDKTypeEIP712 } from '../messages/greenfield/payment/MsgDeposit';
import { MsgDisableRefundSDKTypeEIP712 } from '../messages/greenfield/payment/MsgDisableRefund';
import { MsgWithdrawSDKTypeEIP712 } from '../messages/greenfield/payment/MsgWithdraw';
import {
ListUserPaymentAccountsResponse,
ListUserPaymentAccountsResquest,
Expand Down
16 changes: 4 additions & 12 deletions packages/js-sdk/src/api/proposal.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
import { TxClient } from '@/clients/txClient';
import { MsgSubmitProposalSDKTypeEIP712 } from '@/messages/cosmos/gov/MsgSubmitProposal';
import { MsgVoteSDKTypeEIP712 } from '@/messages/cosmos/gov/MsgVote';
import { voteOptionToJSON } from '@bnb-chain/greenfield-cosmos-types/cosmos/gov/v1/gov';
import { MsgSubmitProposal, MsgVote } from '@bnb-chain/greenfield-cosmos-types/cosmos/gov/v1/tx';
import { MsgCreateValidator } from '@bnb-chain/greenfield-cosmos-types/cosmos/staking/v1beta1/tx';
import { Any } from '@bnb-chain/greenfield-cosmos-types/google/protobuf/any';
import { arrayify, hexlify } from '@ethersproject/bytes';
import { delay, inject, injectable } from 'tsyringe';
import {
base64FromBytes,
encodeToHex,
MsgSubmitProposalTypeUrl,
MsgVoteTypeUrl,
TxResponse,
} from '..';
import { encodeToHex, MsgSubmitProposalTypeUrl, MsgVoteTypeUrl, TxResponse } from '..';
import { TxClient } from '../clients/txClient';
import { MsgSubmitProposalSDKTypeEIP712 } from '../messages/cosmos/gov/MsgSubmitProposal';
import { MsgVoteSDKTypeEIP712 } from '../messages/cosmos/gov/MsgVote';

export interface IProposal {
/**
Expand Down
20 changes: 10 additions & 10 deletions packages/js-sdk/src/api/sp.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { encodePath, HTTPHeaderUserAddress } from '@/clients/spclient/auth';
import { encodePath, HTTPHeaderUserAddress } from '../clients/spclient/auth';
import {
getListGroupMetaInfo,
parseListGroupsResponse,
} from '@/clients/spclient/spApis/listGroups';
import { parseListGroupsMembersResponse } from '@/clients/spclient/spApis/listGroupsMembers';
import { parseListUserGroupsResponse } from '@/clients/spclient/spApis/listUserGroups';
import { parseListUserOwnedGroupsResponse } from '@/clients/spclient/spApis/listUserOwnedGroups';
import { parseError } from '@/clients/spclient/spApis/parseError';
import { parseVerifyPermissionResponse } from '@/clients/spclient/spApis/verifyPermission';
import { SpClient } from '@/clients/spclient/spClient';
import { METHOD_GET, NORMAL_ERROR_CODE } from '@/constants/http';
import { ListUserOwnedGroupsResponse } from '@/types/sp/ListUserOwnedGroups';
} from '../clients/spclient/spApis/listGroups';
import { parseListGroupsMembersResponse } from '../clients/spclient/spApis/listGroupsMembers';
import { parseListUserGroupsResponse } from '../clients/spclient/spApis/listUserGroups';
import { parseListUserOwnedGroupsResponse } from '../clients/spclient/spApis/listUserOwnedGroups';
import { parseError } from '../clients/spclient/spApis/parseError';
import { parseVerifyPermissionResponse } from '../clients/spclient/spApis/verifyPermission';
import { SpClient } from '../clients/spclient/spClient';
import { METHOD_GET, NORMAL_ERROR_CODE } from '../constants/http';
import { ListUserOwnedGroupsResponse } from '../types/sp/ListUserOwnedGroups';
import { actionTypeFromJSON } from '@bnb-chain/greenfield-cosmos-types/greenfield/permission/common';
import {
QueryGlobalSpStorePriceByTimeRequest,
Expand Down
6 changes: 3 additions & 3 deletions packages/js-sdk/src/api/storage.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TxClient } from '@/clients/txClient';
import { getMsgPutPolicySDKTypeEIP712 } from '@/messages/greenfield';
import { MsgDeletePolicySDKTypeEIP712 } from '@/messages/greenfield/storage/MsgDeletePolicy';
import { TxClient } from '../clients/txClient';
import { getMsgPutPolicySDKTypeEIP712 } from '../messages/greenfield';
import { MsgDeletePolicySDKTypeEIP712 } from '../messages/greenfield/storage/MsgDeletePolicy';
import {
QueryGroupMembersExistRequest,
QueryGroupMembersExistResponse,
Expand Down
Loading

0 comments on commit f14f3a1

Please sign in to comment.