-
Notifications
You must be signed in to change notification settings - Fork 1
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 #80 from hyperweb-io/upgrade-telescope-1.11.11
Upgrade telescope 1.11.11
- Loading branch information
Showing
863 changed files
with
10,752 additions
and
36,783 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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* This file and any referenced files were automatically generated by @cosmology/[email protected].8 | ||
* This file and any referenced files were automatically generated by @cosmology/[email protected].16 | ||
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain | ||
* and run the transpile command or npm scripts command that is used to regenerate this bundle. | ||
*/ | ||
|
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
43 changes: 43 additions & 0 deletions
43
libs/injective-react/src/cosmos/auth/v1beta1/query.rpc.react.ts
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,43 @@ | ||
import { buildUseQuery } from "../../../react-query"; | ||
import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse, QueryAccountInfoRequest, QueryAccountInfoResponse } from "./query"; | ||
import { createGetAccounts, createGetAccount, createGetAccountAddressByID, createGetParams, createGetModuleAccounts, createGetModuleAccountByName, createGetBech32Prefix, createGetAddressBytesToString, createGetAddressStringToBytes, createGetAccountInfo } from "./query.rpc.func"; | ||
export const useGetAccounts = buildUseQuery<QueryAccountsRequest, QueryAccountsResponse>({ | ||
builderQueryFn: createGetAccounts, | ||
queryKeyPrefix: "AccountsQuery" | ||
}); | ||
export const useGetAccount = buildUseQuery<QueryAccountRequest, QueryAccountResponse>({ | ||
builderQueryFn: createGetAccount, | ||
queryKeyPrefix: "AccountQuery" | ||
}); | ||
export const useGetAccountAddressByID = buildUseQuery<QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse>({ | ||
builderQueryFn: createGetAccountAddressByID, | ||
queryKeyPrefix: "AccountAddressByIDQuery" | ||
}); | ||
export const useGetParams = buildUseQuery<QueryParamsRequest, QueryParamsResponse>({ | ||
builderQueryFn: createGetParams, | ||
queryKeyPrefix: "ParamsQuery" | ||
}); | ||
export const useGetModuleAccounts = buildUseQuery<QueryModuleAccountsRequest, QueryModuleAccountsResponse>({ | ||
builderQueryFn: createGetModuleAccounts, | ||
queryKeyPrefix: "ModuleAccountsQuery" | ||
}); | ||
export const useGetModuleAccountByName = buildUseQuery<QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse>({ | ||
builderQueryFn: createGetModuleAccountByName, | ||
queryKeyPrefix: "ModuleAccountByNameQuery" | ||
}); | ||
export const useGetBech32Prefix = buildUseQuery<Bech32PrefixRequest, Bech32PrefixResponse>({ | ||
builderQueryFn: createGetBech32Prefix, | ||
queryKeyPrefix: "Bech32PrefixQuery" | ||
}); | ||
export const useGetAddressBytesToString = buildUseQuery<AddressBytesToStringRequest, AddressBytesToStringResponse>({ | ||
builderQueryFn: createGetAddressBytesToString, | ||
queryKeyPrefix: "AddressBytesToStringQuery" | ||
}); | ||
export const useGetAddressStringToBytes = buildUseQuery<AddressStringToBytesRequest, AddressStringToBytesResponse>({ | ||
builderQueryFn: createGetAddressStringToBytes, | ||
queryKeyPrefix: "AddressStringToBytesQuery" | ||
}); | ||
export const useGetAccountInfo = buildUseQuery<QueryAccountInfoRequest, QueryAccountInfoResponse>({ | ||
builderQueryFn: createGetAccountInfo, | ||
queryKeyPrefix: "AccountInfoQuery" | ||
}); |
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
12 changes: 12 additions & 0 deletions
12
libs/injective-react/src/cosmos/authz/v1beta1/tx.rpc.react.ts
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 @@ | ||
import { buildUseMutation } from "../../../react-query"; | ||
import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; | ||
import { createGrant, createExec, createRevoke } from "./tx.rpc.func"; | ||
export const useGrant = buildUseMutation<MsgGrant, Error>({ | ||
builderMutationFn: createGrant | ||
}); | ||
export const useExec = buildUseMutation<MsgExec, Error>({ | ||
builderMutationFn: createExec | ||
}); | ||
export const useRevoke = buildUseMutation<MsgRevoke, Error>({ | ||
builderMutationFn: createRevoke | ||
}); |
Oops, something went wrong.