@portkey/graphql 0.0.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -0
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +16 -0
- package/dist/client.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts +27 -0
- package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.js +51 -0
- package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderManagerInfo.d.ts +31 -0
- package/dist/did/__generated__/hooks/caHolderManagerInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderManagerInfo.js +54 -0
- package/dist/did/__generated__/hooks/caHolderManagerInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts +49 -0
- package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.js +71 -0
- package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts +30 -0
- package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.js +53 -0
- package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTransaction.d.ts +56 -0
- package/dist/did/__generated__/hooks/caHolderTransaction.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTransaction.js +76 -0
- package/dist/did/__generated__/hooks/caHolderTransaction.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts +27 -0
- package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.js +51 -0
- package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountChangeRecordInfo.d.ts +38 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountChangeRecordInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountChangeRecordInfo.js +60 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountChangeRecordInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountInfo.d.ts +36 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountInfo.js +58 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/nftProtocolInfo.d.ts +41 -0
- package/dist/did/__generated__/hooks/nftProtocolInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/nftProtocolInfo.js +65 -0
- package/dist/did/__generated__/hooks/nftProtocolInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/syncState.d.ts +23 -0
- package/dist/did/__generated__/hooks/syncState.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/syncState.js +47 -0
- package/dist/did/__generated__/hooks/syncState.js.map +1 -0
- package/dist/did/__generated__/hooks/tokenInfo.d.ts +35 -0
- package/dist/did/__generated__/hooks/tokenInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/tokenInfo.js +59 -0
- package/dist/did/__generated__/hooks/tokenInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/userNFTInfo.d.ts +44 -0
- package/dist/did/__generated__/hooks/userNFTInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/userNFTInfo.js +67 -0
- package/dist/did/__generated__/hooks/userNFTInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/userNFTProtocolInfo.d.ts +41 -0
- package/dist/did/__generated__/hooks/userNFTProtocolInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/userNFTProtocolInfo.js +64 -0
- package/dist/did/__generated__/hooks/userNFTProtocolInfo.js.map +1 -0
- package/dist/did/__generated__/types.d.ts +408 -0
- package/dist/did/__generated__/types.d.ts.map +1 -0
- package/dist/did/__generated__/types.js +20 -0
- package/dist/did/__generated__/types.js.map +1 -0
- package/dist/did/index.d.ts +15 -0
- package/dist/did/index.d.ts.map +1 -0
- package/dist/did/index.js +58 -0
- package/dist/did/index.js.map +1 -0
- package/dist/did/utils.d.ts +7 -0
- package/dist/did/utils.d.ts.map +1 -0
- package/dist/did/utils.js +31 -0
- package/dist/did/utils.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/types/did.d.ts +11 -0
- package/dist/types/did.d.ts.map +1 -0
- package/dist/types/did.js +3 -0
- package/dist/types/did.js.map +1 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +25 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +41 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as Types from '../types';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
export type UserNftInfoQueryVariables = Types.Exact<{
|
|
4
|
+
dto?: Types.InputMaybe<Types.GetUserNftInfoDto>;
|
|
5
|
+
}>;
|
|
6
|
+
export type UserNftInfoQuery = {
|
|
7
|
+
__typename?: 'Query';
|
|
8
|
+
userNFTInfo?: Array<{
|
|
9
|
+
__typename?: 'UserNFTInfoDto';
|
|
10
|
+
id?: string | null;
|
|
11
|
+
chainId?: string | null;
|
|
12
|
+
caAddress?: string | null;
|
|
13
|
+
balance: number;
|
|
14
|
+
nftInfo?: {
|
|
15
|
+
__typename?: 'NFTItemInfoDto';
|
|
16
|
+
id?: string | null;
|
|
17
|
+
protocolName?: string | null;
|
|
18
|
+
symbol?: string | null;
|
|
19
|
+
tokenId: number;
|
|
20
|
+
owner?: string | null;
|
|
21
|
+
minter?: string | null;
|
|
22
|
+
quantity: number;
|
|
23
|
+
alias?: string | null;
|
|
24
|
+
baseUri?: string | null;
|
|
25
|
+
uri?: string | null;
|
|
26
|
+
creator?: string | null;
|
|
27
|
+
nftType?: string | null;
|
|
28
|
+
totalQuantity: number;
|
|
29
|
+
tokenHash?: string | null;
|
|
30
|
+
imageUrl?: string | null;
|
|
31
|
+
} | null;
|
|
32
|
+
} | null> | null;
|
|
33
|
+
};
|
|
34
|
+
export declare const UserNftInfoDocument: Apollo.DocumentNode;
|
|
35
|
+
export declare function useUserNftInfoQuery(baseOptions?: Apollo.QueryHookOptions<UserNftInfoQuery, UserNftInfoQueryVariables>): Apollo.QueryResult<UserNftInfoQuery, Types.Exact<{
|
|
36
|
+
dto?: Types.InputMaybe<Types.GetUserNftInfoDto> | undefined;
|
|
37
|
+
}>>;
|
|
38
|
+
export declare function useUserNftInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UserNftInfoQuery, UserNftInfoQueryVariables>): Apollo.LazyQueryResultTuple<UserNftInfoQuery, Types.Exact<{
|
|
39
|
+
dto?: Types.InputMaybe<Types.GetUserNftInfoDto> | undefined;
|
|
40
|
+
}>>;
|
|
41
|
+
export type UserNftInfoQueryHookResult = ReturnType<typeof useUserNftInfoQuery>;
|
|
42
|
+
export type UserNftInfoLazyQueryHookResult = ReturnType<typeof useUserNftInfoLazyQuery>;
|
|
43
|
+
export type UserNftInfoQueryResult = Apollo.QueryResult<UserNftInfoQuery, UserNftInfoQueryVariables>;
|
|
44
|
+
//# sourceMappingURL=userNFTInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userNFTInfo.d.ts","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/userNFTInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,KAAK,CAAC;IAClD,GAAG,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACjD,CAAC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC;QAClB,UAAU,CAAC,EAAE,gBAAgB,CAAC;QAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE;YACR,UAAU,CAAC,EAAE,gBAAgB,CAAC;YAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACnB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;YAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACxB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACpB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACxB,aAAa,EAAE,MAAM,CAAC;YACtB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SAC1B,GAAG,IAAI,CAAC;KACV,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,mBAAmB,qBA0B/B,CAAC;AAkBF,wBAAgB,mBAAmB,CACjC,WAAW,CAAC,EAAE,MAAM,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,yBAAyB,CAAC;;IAInF;AACD,wBAAgB,uBAAuB,CACrC,WAAW,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,gBAAgB,EAAE,yBAAyB,CAAC;;IAIvF;AACD,MAAM,MAAM,0BAA0B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChF,MAAM,MAAM,8BAA8B,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,WAAW,CAAC,gBAAgB,EAAE,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useUserNftInfoLazyQuery = exports.useUserNftInfoQuery = exports.UserNftInfoDocument = void 0;
|
|
27
|
+
const client_1 = require("@apollo/client");
|
|
28
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
const defaultOptions = {};
|
|
30
|
+
exports.UserNftInfoDocument = (0, client_1.gql) `
|
|
31
|
+
query userNFTInfo($dto: GetUserNFTInfoDto) {
|
|
32
|
+
userNFTInfo(dto: $dto) {
|
|
33
|
+
id
|
|
34
|
+
chainId
|
|
35
|
+
caAddress
|
|
36
|
+
balance
|
|
37
|
+
nftInfo {
|
|
38
|
+
id
|
|
39
|
+
protocolName
|
|
40
|
+
symbol
|
|
41
|
+
tokenId
|
|
42
|
+
owner
|
|
43
|
+
minter
|
|
44
|
+
quantity
|
|
45
|
+
alias
|
|
46
|
+
baseUri
|
|
47
|
+
uri
|
|
48
|
+
creator
|
|
49
|
+
nftType
|
|
50
|
+
totalQuantity
|
|
51
|
+
tokenHash
|
|
52
|
+
imageUrl
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
`;
|
|
57
|
+
function useUserNftInfoQuery(baseOptions) {
|
|
58
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
59
|
+
return Apollo.useQuery(exports.UserNftInfoDocument, options);
|
|
60
|
+
}
|
|
61
|
+
exports.useUserNftInfoQuery = useUserNftInfoQuery;
|
|
62
|
+
function useUserNftInfoLazyQuery(baseOptions) {
|
|
63
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
64
|
+
return Apollo.useLazyQuery(exports.UserNftInfoDocument, options);
|
|
65
|
+
}
|
|
66
|
+
exports.useUserNftInfoLazyQuery = useUserNftInfoLazyQuery;
|
|
67
|
+
//# sourceMappingURL=userNFTInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userNFTInfo.js","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/userNFTInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2CAAqC;AACrC,uDAAyC;AACzC,MAAM,cAAc,GAAG,EAAW,CAAC;AAkCtB,QAAA,mBAAmB,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BrC,CAAC;AAkBF,SAAgB,mBAAmB,CACjC,WAAkF;IAElF,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,QAAQ,CAA8C,2BAAmB,EAAE,OAAO,CAAC,CAAC;AACpG,CAAC;AALD,kDAKC;AACD,SAAgB,uBAAuB,CACrC,WAAsF;IAEtF,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,YAAY,CAA8C,2BAAmB,EAAE,OAAO,CAAC,CAAC;AACxG,CAAC;AALD,0DAKC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as Types from '../types';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
export type UserNftProtocolInfoQueryVariables = Types.Exact<{
|
|
4
|
+
dto?: Types.InputMaybe<Types.GetUserNftProtocolInfoDto>;
|
|
5
|
+
}>;
|
|
6
|
+
export type UserNftProtocolInfoQuery = {
|
|
7
|
+
__typename?: 'Query';
|
|
8
|
+
userNFTProtocolInfo?: Array<{
|
|
9
|
+
__typename?: 'UserNFTProtocolInfoDto';
|
|
10
|
+
id?: string | null;
|
|
11
|
+
chainId?: string | null;
|
|
12
|
+
caAddress?: string | null;
|
|
13
|
+
tokenIds?: Array<number> | null;
|
|
14
|
+
nftProtocolInfo?: {
|
|
15
|
+
__typename?: 'NFTProtocolDto';
|
|
16
|
+
id?: string | null;
|
|
17
|
+
symbol?: string | null;
|
|
18
|
+
creator?: string | null;
|
|
19
|
+
nftType?: string | null;
|
|
20
|
+
protocolName?: string | null;
|
|
21
|
+
baseUri?: string | null;
|
|
22
|
+
isTokenIdReuse: boolean;
|
|
23
|
+
supply: number;
|
|
24
|
+
totalSupply: number;
|
|
25
|
+
issueChainId: number;
|
|
26
|
+
isBurnable: boolean;
|
|
27
|
+
imageUrl?: string | null;
|
|
28
|
+
} | null;
|
|
29
|
+
} | null> | null;
|
|
30
|
+
};
|
|
31
|
+
export declare const UserNftProtocolInfoDocument: Apollo.DocumentNode;
|
|
32
|
+
export declare function useUserNftProtocolInfoQuery(baseOptions?: Apollo.QueryHookOptions<UserNftProtocolInfoQuery, UserNftProtocolInfoQueryVariables>): Apollo.QueryResult<UserNftProtocolInfoQuery, Types.Exact<{
|
|
33
|
+
dto?: Types.InputMaybe<Types.GetUserNftProtocolInfoDto> | undefined;
|
|
34
|
+
}>>;
|
|
35
|
+
export declare function useUserNftProtocolInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UserNftProtocolInfoQuery, UserNftProtocolInfoQueryVariables>): Apollo.LazyQueryResultTuple<UserNftProtocolInfoQuery, Types.Exact<{
|
|
36
|
+
dto?: Types.InputMaybe<Types.GetUserNftProtocolInfoDto> | undefined;
|
|
37
|
+
}>>;
|
|
38
|
+
export type UserNftProtocolInfoQueryHookResult = ReturnType<typeof useUserNftProtocolInfoQuery>;
|
|
39
|
+
export type UserNftProtocolInfoLazyQueryHookResult = ReturnType<typeof useUserNftProtocolInfoLazyQuery>;
|
|
40
|
+
export type UserNftProtocolInfoQueryResult = Apollo.QueryResult<UserNftProtocolInfoQuery, UserNftProtocolInfoQueryVariables>;
|
|
41
|
+
//# sourceMappingURL=userNFTProtocolInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userNFTProtocolInfo.d.ts","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/userNFTProtocolInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC1D,GAAG,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;CACzD,CAAC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAC1B,UAAU,CAAC,EAAE,wBAAwB,CAAC;QACtC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QAChC,eAAe,CAAC,EAAE;YAChB,UAAU,CAAC,EAAE,gBAAgB,CAAC;YAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACnB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACxB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACxB,cAAc,EAAE,OAAO,CAAC;YACxB,MAAM,EAAE,MAAM,CAAC;YACf,WAAW,EAAE,MAAM,CAAC;YACpB,YAAY,EAAE,MAAM,CAAC;YACrB,UAAU,EAAE,OAAO,CAAC;YACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SAC1B,GAAG,IAAI,CAAC;KACV,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,2BAA2B,qBAuBvC,CAAC;AAkBF,wBAAgB,2BAA2B,CACzC,WAAW,CAAC,EAAE,MAAM,CAAC,gBAAgB,CAAC,wBAAwB,EAAE,iCAAiC,CAAC;;IAOnG;AACD,wBAAgB,+BAA+B,CAC7C,WAAW,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,wBAAwB,EAAE,iCAAiC,CAAC;;IAOvG;AACD,MAAM,MAAM,kCAAkC,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChG,MAAM,MAAM,sCAAsC,GAAG,UAAU,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxG,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,WAAW,CAC7D,wBAAwB,EACxB,iCAAiC,CAClC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useUserNftProtocolInfoLazyQuery = exports.useUserNftProtocolInfoQuery = exports.UserNftProtocolInfoDocument = void 0;
|
|
27
|
+
const client_1 = require("@apollo/client");
|
|
28
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
const defaultOptions = {};
|
|
30
|
+
exports.UserNftProtocolInfoDocument = (0, client_1.gql) `
|
|
31
|
+
query userNFTProtocolInfo($dto: GetUserNFTProtocolInfoDto) {
|
|
32
|
+
userNFTProtocolInfo(dto: $dto) {
|
|
33
|
+
id
|
|
34
|
+
chainId
|
|
35
|
+
caAddress
|
|
36
|
+
tokenIds
|
|
37
|
+
nftProtocolInfo {
|
|
38
|
+
id
|
|
39
|
+
symbol
|
|
40
|
+
creator
|
|
41
|
+
nftType
|
|
42
|
+
protocolName
|
|
43
|
+
baseUri
|
|
44
|
+
isTokenIdReuse
|
|
45
|
+
supply
|
|
46
|
+
totalSupply
|
|
47
|
+
issueChainId
|
|
48
|
+
isBurnable
|
|
49
|
+
imageUrl
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
54
|
+
function useUserNftProtocolInfoQuery(baseOptions) {
|
|
55
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
56
|
+
return Apollo.useQuery(exports.UserNftProtocolInfoDocument, options);
|
|
57
|
+
}
|
|
58
|
+
exports.useUserNftProtocolInfoQuery = useUserNftProtocolInfoQuery;
|
|
59
|
+
function useUserNftProtocolInfoLazyQuery(baseOptions) {
|
|
60
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
61
|
+
return Apollo.useLazyQuery(exports.UserNftProtocolInfoDocument, options);
|
|
62
|
+
}
|
|
63
|
+
exports.useUserNftProtocolInfoLazyQuery = useUserNftProtocolInfoLazyQuery;
|
|
64
|
+
//# sourceMappingURL=userNFTProtocolInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userNFTProtocolInfo.js","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/userNFTProtocolInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2CAAqC;AACrC,uDAAyC;AACzC,MAAM,cAAc,GAAG,EAAW,CAAC;AA+BtB,QAAA,2BAA2B,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;CAuB7C,CAAC;AAkBF,SAAgB,2BAA2B,CACzC,WAAkG;IAElG,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,QAAQ,CACpB,mCAA2B,EAC3B,OAAO,CACR,CAAC;AACJ,CAAC;AARD,kEAQC;AACD,SAAgB,+BAA+B,CAC7C,WAAsG;IAEtG,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,YAAY,CACxB,mCAA2B,EAC3B,OAAO,CACR,CAAC;AACJ,CAAC;AARD,0EAQC"}
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
export type Maybe<T> = T | null;
|
|
2
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
export type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
export type Scalars = {
|
|
15
|
+
ID: string;
|
|
16
|
+
String: string;
|
|
17
|
+
Boolean: boolean;
|
|
18
|
+
Int: number;
|
|
19
|
+
Float: number;
|
|
20
|
+
Long: number;
|
|
21
|
+
};
|
|
22
|
+
export declare enum BlockFilterType {
|
|
23
|
+
Block = "BLOCK",
|
|
24
|
+
LogEvent = "LOG_EVENT",
|
|
25
|
+
Transaction = "TRANSACTION"
|
|
26
|
+
}
|
|
27
|
+
export type CaHolderManagerChangeRecordDto = {
|
|
28
|
+
__typename?: 'CAHolderManagerChangeRecordDto';
|
|
29
|
+
blockHeight: Scalars['Long'];
|
|
30
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
31
|
+
caHash?: Maybe<Scalars['String']>;
|
|
32
|
+
changeType?: Maybe<Scalars['String']>;
|
|
33
|
+
manager?: Maybe<Scalars['String']>;
|
|
34
|
+
};
|
|
35
|
+
export type CaHolderManagerDto = {
|
|
36
|
+
__typename?: 'CAHolderManagerDto';
|
|
37
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
38
|
+
caHash?: Maybe<Scalars['String']>;
|
|
39
|
+
chainId?: Maybe<Scalars['String']>;
|
|
40
|
+
id?: Maybe<Scalars['String']>;
|
|
41
|
+
managers?: Maybe<Array<Maybe<ManagerInfo>>>;
|
|
42
|
+
};
|
|
43
|
+
export type CaHolderSearchTokenNftDto = {
|
|
44
|
+
__typename?: 'CAHolderSearchTokenNFTDto';
|
|
45
|
+
balance: Scalars['Long'];
|
|
46
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
47
|
+
chainId?: Maybe<Scalars['String']>;
|
|
48
|
+
nftInfo?: Maybe<NftSearchInfoDto>;
|
|
49
|
+
tokenInfo?: Maybe<TokenSearchInfoDto>;
|
|
50
|
+
};
|
|
51
|
+
export type CaHolderTokenBalanceDto = {
|
|
52
|
+
__typename?: 'CAHolderTokenBalanceDto';
|
|
53
|
+
balance: Scalars['Long'];
|
|
54
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
55
|
+
chainId?: Maybe<Scalars['String']>;
|
|
56
|
+
tokenInfo?: Maybe<TokenInfo>;
|
|
57
|
+
};
|
|
58
|
+
export type CaHolderTransactionAddressDto = {
|
|
59
|
+
__typename?: 'CAHolderTransactionAddressDto';
|
|
60
|
+
address?: Maybe<Scalars['String']>;
|
|
61
|
+
addressChainId?: Maybe<Scalars['String']>;
|
|
62
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
63
|
+
chainId?: Maybe<Scalars['String']>;
|
|
64
|
+
transactionTime: Scalars['Long'];
|
|
65
|
+
};
|
|
66
|
+
export type CaHolderTransactionDto = {
|
|
67
|
+
__typename?: 'CAHolderTransactionDto';
|
|
68
|
+
blockHash?: Maybe<Scalars['String']>;
|
|
69
|
+
blockHeight: Scalars['Long'];
|
|
70
|
+
chainId?: Maybe<Scalars['String']>;
|
|
71
|
+
fromAddress?: Maybe<Scalars['String']>;
|
|
72
|
+
id?: Maybe<Scalars['String']>;
|
|
73
|
+
methodName?: Maybe<Scalars['String']>;
|
|
74
|
+
nftInfo?: Maybe<NftInfo>;
|
|
75
|
+
previousBlockHash?: Maybe<Scalars['String']>;
|
|
76
|
+
status: TransactionStatus;
|
|
77
|
+
timestamp: Scalars['Long'];
|
|
78
|
+
tokenInfo?: Maybe<TokenInfo>;
|
|
79
|
+
transactionFees?: Maybe<Array<Maybe<TransactionFee>>>;
|
|
80
|
+
transactionId?: Maybe<Scalars['String']>;
|
|
81
|
+
transferInfo?: Maybe<TransferInfo>;
|
|
82
|
+
};
|
|
83
|
+
export type GetCaHolderManagerChangeRecordDto = {
|
|
84
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
85
|
+
endBlockHeight: Scalars['Long'];
|
|
86
|
+
startBlockHeight: Scalars['Long'];
|
|
87
|
+
};
|
|
88
|
+
export type GetCaHolderManagerInfoDto = {
|
|
89
|
+
caAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
90
|
+
caHash?: InputMaybe<Scalars['String']>;
|
|
91
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
92
|
+
manager?: InputMaybe<Scalars['String']>;
|
|
93
|
+
maxResultCount: Scalars['Int'];
|
|
94
|
+
skipCount: Scalars['Int'];
|
|
95
|
+
};
|
|
96
|
+
export type GetCaHolderSearchTokenNftDto = {
|
|
97
|
+
caAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
98
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
99
|
+
maxResultCount: Scalars['Int'];
|
|
100
|
+
searchWord?: InputMaybe<Scalars['String']>;
|
|
101
|
+
skipCount: Scalars['Int'];
|
|
102
|
+
};
|
|
103
|
+
export type GetCaHolderTokenBalanceDto = {
|
|
104
|
+
caAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
105
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
106
|
+
maxResultCount: Scalars['Int'];
|
|
107
|
+
skipCount: Scalars['Int'];
|
|
108
|
+
symbol?: InputMaybe<Scalars['String']>;
|
|
109
|
+
};
|
|
110
|
+
export type GetCaHolderTransactionAddressDto = {
|
|
111
|
+
caAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
112
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
113
|
+
maxResultCount: Scalars['Int'];
|
|
114
|
+
skipCount: Scalars['Int'];
|
|
115
|
+
};
|
|
116
|
+
export type GetCaHolderTransactionDto = {
|
|
117
|
+
blockHash?: InputMaybe<Scalars['String']>;
|
|
118
|
+
caAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
119
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
120
|
+
maxResultCount: Scalars['Int'];
|
|
121
|
+
methodNames?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
122
|
+
skipCount: Scalars['Int'];
|
|
123
|
+
symbol?: InputMaybe<Scalars['String']>;
|
|
124
|
+
transactionId?: InputMaybe<Scalars['String']>;
|
|
125
|
+
};
|
|
126
|
+
export type GetLoginGuardianAccountChangeRecordDto = {
|
|
127
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
128
|
+
endBlockHeight: Scalars['Long'];
|
|
129
|
+
startBlockHeight: Scalars['Long'];
|
|
130
|
+
};
|
|
131
|
+
export type GetLoginGuardianAccountInfoDto = {
|
|
132
|
+
caAddress?: InputMaybe<Scalars['String']>;
|
|
133
|
+
caHash?: InputMaybe<Scalars['String']>;
|
|
134
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
135
|
+
loginGuardianAccount?: InputMaybe<Scalars['String']>;
|
|
136
|
+
maxResultCount: Scalars['Int'];
|
|
137
|
+
skipCount: Scalars['Int'];
|
|
138
|
+
};
|
|
139
|
+
export type GetNftProtocolInfoDto = {
|
|
140
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
141
|
+
maxResultCount: Scalars['Int'];
|
|
142
|
+
skipCount: Scalars['Int'];
|
|
143
|
+
symbol?: InputMaybe<Scalars['String']>;
|
|
144
|
+
};
|
|
145
|
+
export type GetSyncStateDto = {
|
|
146
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
147
|
+
filterType: BlockFilterType;
|
|
148
|
+
};
|
|
149
|
+
export type GetTokenInfoDto = {
|
|
150
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
151
|
+
maxResultCount: Scalars['Int'];
|
|
152
|
+
skipCount: Scalars['Int'];
|
|
153
|
+
symbol?: InputMaybe<Scalars['String']>;
|
|
154
|
+
};
|
|
155
|
+
export type GetUserNftInfoDto = {
|
|
156
|
+
caAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
157
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
158
|
+
maxResultCount: Scalars['Int'];
|
|
159
|
+
skipCount: Scalars['Int'];
|
|
160
|
+
symbol?: InputMaybe<Scalars['String']>;
|
|
161
|
+
tokenId?: Scalars['Long'];
|
|
162
|
+
};
|
|
163
|
+
export type GetUserNftProtocolInfoDto = {
|
|
164
|
+
caAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
165
|
+
chainId?: InputMaybe<Scalars['String']>;
|
|
166
|
+
maxResultCount: Scalars['Int'];
|
|
167
|
+
skipCount: Scalars['Int'];
|
|
168
|
+
symbol?: InputMaybe<Scalars['String']>;
|
|
169
|
+
};
|
|
170
|
+
export type GuardianAccountDto = {
|
|
171
|
+
__typename?: 'GuardianAccountDto';
|
|
172
|
+
guardian?: Maybe<GuardianDto>;
|
|
173
|
+
value?: Maybe<Scalars['String']>;
|
|
174
|
+
};
|
|
175
|
+
export type GuardianDto = {
|
|
176
|
+
__typename?: 'GuardianDto';
|
|
177
|
+
type: Scalars['Int'];
|
|
178
|
+
verifier?: Maybe<Scalars['String']>;
|
|
179
|
+
};
|
|
180
|
+
export type LoginGuardianAccountChangeRecordDto = {
|
|
181
|
+
__typename?: 'LoginGuardianAccountChangeRecordDto';
|
|
182
|
+
blockHeight: Scalars['Long'];
|
|
183
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
184
|
+
caHash?: Maybe<Scalars['String']>;
|
|
185
|
+
chainId?: Maybe<Scalars['String']>;
|
|
186
|
+
changeType?: Maybe<Scalars['String']>;
|
|
187
|
+
id?: Maybe<Scalars['String']>;
|
|
188
|
+
loginGuardianAccount?: Maybe<GuardianAccountDto>;
|
|
189
|
+
manager?: Maybe<Scalars['String']>;
|
|
190
|
+
};
|
|
191
|
+
export type LoginGuardianAccountDto = {
|
|
192
|
+
__typename?: 'LoginGuardianAccountDto';
|
|
193
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
194
|
+
caHash?: Maybe<Scalars['String']>;
|
|
195
|
+
chainId?: Maybe<Scalars['String']>;
|
|
196
|
+
id?: Maybe<Scalars['String']>;
|
|
197
|
+
loginGuardianAccount?: Maybe<GuardianAccountDto>;
|
|
198
|
+
manager?: Maybe<Scalars['String']>;
|
|
199
|
+
};
|
|
200
|
+
export type ManagerInfo = {
|
|
201
|
+
__typename?: 'ManagerInfo';
|
|
202
|
+
deviceString?: Maybe<Scalars['String']>;
|
|
203
|
+
manager?: Maybe<Scalars['String']>;
|
|
204
|
+
};
|
|
205
|
+
export type NftInfo = {
|
|
206
|
+
__typename?: 'NFTInfo';
|
|
207
|
+
alias?: Maybe<Scalars['String']>;
|
|
208
|
+
nftId: Scalars['Long'];
|
|
209
|
+
url?: Maybe<Scalars['String']>;
|
|
210
|
+
};
|
|
211
|
+
export type NftItemInfoDto = {
|
|
212
|
+
__typename?: 'NFTItemInfoDto';
|
|
213
|
+
alias?: Maybe<Scalars['String']>;
|
|
214
|
+
baseUri?: Maybe<Scalars['String']>;
|
|
215
|
+
creator?: Maybe<Scalars['String']>;
|
|
216
|
+
id?: Maybe<Scalars['String']>;
|
|
217
|
+
imageUrl?: Maybe<Scalars['String']>;
|
|
218
|
+
minter?: Maybe<Scalars['String']>;
|
|
219
|
+
nftType?: Maybe<Scalars['String']>;
|
|
220
|
+
owner?: Maybe<Scalars['String']>;
|
|
221
|
+
protocolName?: Maybe<Scalars['String']>;
|
|
222
|
+
quantity: Scalars['Long'];
|
|
223
|
+
symbol?: Maybe<Scalars['String']>;
|
|
224
|
+
tokenHash?: Maybe<Scalars['String']>;
|
|
225
|
+
tokenId: Scalars['Long'];
|
|
226
|
+
totalQuantity: Scalars['Long'];
|
|
227
|
+
uri?: Maybe<Scalars['String']>;
|
|
228
|
+
};
|
|
229
|
+
export type NftProtocolDto = {
|
|
230
|
+
__typename?: 'NFTProtocolDto';
|
|
231
|
+
baseUri?: Maybe<Scalars['String']>;
|
|
232
|
+
creator?: Maybe<Scalars['String']>;
|
|
233
|
+
id?: Maybe<Scalars['String']>;
|
|
234
|
+
imageUrl?: Maybe<Scalars['String']>;
|
|
235
|
+
isBurnable: Scalars['Boolean'];
|
|
236
|
+
isTokenIdReuse: Scalars['Boolean'];
|
|
237
|
+
issueChainId: Scalars['Int'];
|
|
238
|
+
nftType?: Maybe<Scalars['String']>;
|
|
239
|
+
protocolName?: Maybe<Scalars['String']>;
|
|
240
|
+
supply: Scalars['Long'];
|
|
241
|
+
symbol?: Maybe<Scalars['String']>;
|
|
242
|
+
totalSupply: Scalars['Long'];
|
|
243
|
+
};
|
|
244
|
+
export type NftProtocolInfoDto = {
|
|
245
|
+
__typename?: 'NFTProtocolInfoDto';
|
|
246
|
+
alias?: Maybe<Scalars['String']>;
|
|
247
|
+
baseUri?: Maybe<Scalars['String']>;
|
|
248
|
+
blockHash?: Maybe<Scalars['String']>;
|
|
249
|
+
blockHeight: Scalars['Long'];
|
|
250
|
+
chainId?: Maybe<Scalars['String']>;
|
|
251
|
+
creator?: Maybe<Scalars['String']>;
|
|
252
|
+
id?: Maybe<Scalars['String']>;
|
|
253
|
+
imageUrl?: Maybe<Scalars['String']>;
|
|
254
|
+
minter?: Maybe<Scalars['String']>;
|
|
255
|
+
nftType?: Maybe<Scalars['String']>;
|
|
256
|
+
owner?: Maybe<Scalars['String']>;
|
|
257
|
+
previousBlockHash?: Maybe<Scalars['String']>;
|
|
258
|
+
protocolName?: Maybe<Scalars['String']>;
|
|
259
|
+
quantity: Scalars['Long'];
|
|
260
|
+
symbol?: Maybe<Scalars['String']>;
|
|
261
|
+
tokenHash?: Maybe<Scalars['String']>;
|
|
262
|
+
tokenId: Scalars['Long'];
|
|
263
|
+
totalQuantity: Scalars['Long'];
|
|
264
|
+
uri?: Maybe<Scalars['String']>;
|
|
265
|
+
};
|
|
266
|
+
export type NftSearchInfoDto = {
|
|
267
|
+
__typename?: 'NFTSearchInfoDto';
|
|
268
|
+
alias?: Maybe<Scalars['String']>;
|
|
269
|
+
baseUri?: Maybe<Scalars['String']>;
|
|
270
|
+
minter?: Maybe<Scalars['String']>;
|
|
271
|
+
nftContractAddress?: Maybe<Scalars['String']>;
|
|
272
|
+
owner?: Maybe<Scalars['String']>;
|
|
273
|
+
protocolName?: Maybe<Scalars['String']>;
|
|
274
|
+
quantity: Scalars['Long'];
|
|
275
|
+
symbol?: Maybe<Scalars['String']>;
|
|
276
|
+
tokenId: Scalars['Long'];
|
|
277
|
+
uri?: Maybe<Scalars['String']>;
|
|
278
|
+
};
|
|
279
|
+
export type Query = {
|
|
280
|
+
__typename?: 'Query';
|
|
281
|
+
caHolderManagerChangeRecordInfo?: Maybe<Array<Maybe<CaHolderManagerChangeRecordDto>>>;
|
|
282
|
+
caHolderManagerInfo?: Maybe<Array<Maybe<CaHolderManagerDto>>>;
|
|
283
|
+
caHolderSearchTokenNFT?: Maybe<Array<Maybe<CaHolderSearchTokenNftDto>>>;
|
|
284
|
+
caHolderTokenBalanceInfo?: Maybe<Array<Maybe<CaHolderTokenBalanceDto>>>;
|
|
285
|
+
caHolderTransaction?: Maybe<Array<Maybe<CaHolderTransactionDto>>>;
|
|
286
|
+
caHolderTransactionAddressInfo?: Maybe<Array<Maybe<CaHolderTransactionAddressDto>>>;
|
|
287
|
+
loginGuardianAccountChangeRecordInfo?: Maybe<Array<Maybe<LoginGuardianAccountChangeRecordDto>>>;
|
|
288
|
+
loginGuardianAccountInfo?: Maybe<Array<Maybe<LoginGuardianAccountDto>>>;
|
|
289
|
+
nftProtocolInfo?: Maybe<Array<Maybe<NftProtocolInfoDto>>>;
|
|
290
|
+
syncState?: Maybe<SyncStateDto>;
|
|
291
|
+
tokenInfo?: Maybe<Array<Maybe<TokenInfoDto>>>;
|
|
292
|
+
userNFTInfo?: Maybe<Array<Maybe<UserNftInfoDto>>>;
|
|
293
|
+
userNFTProtocolInfo?: Maybe<Array<Maybe<UserNftProtocolInfoDto>>>;
|
|
294
|
+
};
|
|
295
|
+
export type QueryCaHolderManagerChangeRecordInfoArgs = {
|
|
296
|
+
dto?: InputMaybe<GetCaHolderManagerChangeRecordDto>;
|
|
297
|
+
};
|
|
298
|
+
export type QueryCaHolderManagerInfoArgs = {
|
|
299
|
+
dto?: InputMaybe<GetCaHolderManagerInfoDto>;
|
|
300
|
+
};
|
|
301
|
+
export type QueryCaHolderSearchTokenNftArgs = {
|
|
302
|
+
dto?: InputMaybe<GetCaHolderSearchTokenNftDto>;
|
|
303
|
+
};
|
|
304
|
+
export type QueryCaHolderTokenBalanceInfoArgs = {
|
|
305
|
+
dto?: InputMaybe<GetCaHolderTokenBalanceDto>;
|
|
306
|
+
};
|
|
307
|
+
export type QueryCaHolderTransactionArgs = {
|
|
308
|
+
dto?: InputMaybe<GetCaHolderTransactionDto>;
|
|
309
|
+
};
|
|
310
|
+
export type QueryCaHolderTransactionAddressInfoArgs = {
|
|
311
|
+
dto?: InputMaybe<GetCaHolderTransactionAddressDto>;
|
|
312
|
+
};
|
|
313
|
+
export type QueryLoginGuardianAccountChangeRecordInfoArgs = {
|
|
314
|
+
dto?: InputMaybe<GetLoginGuardianAccountChangeRecordDto>;
|
|
315
|
+
};
|
|
316
|
+
export type QueryLoginGuardianAccountInfoArgs = {
|
|
317
|
+
dto?: InputMaybe<GetLoginGuardianAccountInfoDto>;
|
|
318
|
+
};
|
|
319
|
+
export type QueryNftProtocolInfoArgs = {
|
|
320
|
+
dto?: InputMaybe<GetNftProtocolInfoDto>;
|
|
321
|
+
};
|
|
322
|
+
export type QuerySyncStateArgs = {
|
|
323
|
+
dto?: InputMaybe<GetSyncStateDto>;
|
|
324
|
+
};
|
|
325
|
+
export type QueryTokenInfoArgs = {
|
|
326
|
+
dto?: InputMaybe<GetTokenInfoDto>;
|
|
327
|
+
};
|
|
328
|
+
export type QueryUserNftInfoArgs = {
|
|
329
|
+
dto?: InputMaybe<GetUserNftInfoDto>;
|
|
330
|
+
};
|
|
331
|
+
export type QueryUserNftProtocolInfoArgs = {
|
|
332
|
+
dto?: InputMaybe<GetUserNftProtocolInfoDto>;
|
|
333
|
+
};
|
|
334
|
+
export type SyncStateDto = {
|
|
335
|
+
__typename?: 'SyncStateDto';
|
|
336
|
+
confirmedBlockHeight: Scalars['Long'];
|
|
337
|
+
};
|
|
338
|
+
export type TokenInfo = {
|
|
339
|
+
__typename?: 'TokenInfo';
|
|
340
|
+
decimals: Scalars['Int'];
|
|
341
|
+
symbol?: Maybe<Scalars['String']>;
|
|
342
|
+
};
|
|
343
|
+
export type TokenInfoDto = {
|
|
344
|
+
__typename?: 'TokenInfoDto';
|
|
345
|
+
blockHash?: Maybe<Scalars['String']>;
|
|
346
|
+
blockHeight: Scalars['Long'];
|
|
347
|
+
chainId?: Maybe<Scalars['String']>;
|
|
348
|
+
decimals: Scalars['Int'];
|
|
349
|
+
id?: Maybe<Scalars['String']>;
|
|
350
|
+
isBurnable: Scalars['Boolean'];
|
|
351
|
+
issueChainId: Scalars['Int'];
|
|
352
|
+
issuer?: Maybe<Scalars['String']>;
|
|
353
|
+
previousBlockHash?: Maybe<Scalars['String']>;
|
|
354
|
+
symbol?: Maybe<Scalars['String']>;
|
|
355
|
+
tokenContractAddress?: Maybe<Scalars['String']>;
|
|
356
|
+
tokenName?: Maybe<Scalars['String']>;
|
|
357
|
+
totalSupply: Scalars['Long'];
|
|
358
|
+
};
|
|
359
|
+
export type TokenSearchInfoDto = {
|
|
360
|
+
__typename?: 'TokenSearchInfoDto';
|
|
361
|
+
decimals: Scalars['Int'];
|
|
362
|
+
isBurnable: Scalars['Boolean'];
|
|
363
|
+
issueChainId: Scalars['Int'];
|
|
364
|
+
issuer?: Maybe<Scalars['String']>;
|
|
365
|
+
symbol?: Maybe<Scalars['String']>;
|
|
366
|
+
tokenContractAddress?: Maybe<Scalars['String']>;
|
|
367
|
+
tokenName?: Maybe<Scalars['String']>;
|
|
368
|
+
totalSupply: Scalars['Long'];
|
|
369
|
+
};
|
|
370
|
+
export type TransactionFee = {
|
|
371
|
+
__typename?: 'TransactionFee';
|
|
372
|
+
amount: Scalars['Long'];
|
|
373
|
+
symbol?: Maybe<Scalars['String']>;
|
|
374
|
+
};
|
|
375
|
+
export declare enum TransactionStatus {
|
|
376
|
+
Conflict = "CONFLICT",
|
|
377
|
+
Failed = "FAILED",
|
|
378
|
+
Mined = "MINED",
|
|
379
|
+
NodeValidationFailed = "NODE_VALIDATION_FAILED",
|
|
380
|
+
NotExisted = "NOT_EXISTED",
|
|
381
|
+
Pending = "PENDING",
|
|
382
|
+
PendingValidation = "PENDING_VALIDATION"
|
|
383
|
+
}
|
|
384
|
+
export type TransferInfo = {
|
|
385
|
+
__typename?: 'TransferInfo';
|
|
386
|
+
amount: Scalars['Long'];
|
|
387
|
+
fromAddress?: Maybe<Scalars['String']>;
|
|
388
|
+
fromChainId?: Maybe<Scalars['String']>;
|
|
389
|
+
toAddress?: Maybe<Scalars['String']>;
|
|
390
|
+
toChainId?: Maybe<Scalars['String']>;
|
|
391
|
+
};
|
|
392
|
+
export type UserNftInfoDto = {
|
|
393
|
+
__typename?: 'UserNFTInfoDto';
|
|
394
|
+
balance: Scalars['Long'];
|
|
395
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
396
|
+
chainId?: Maybe<Scalars['String']>;
|
|
397
|
+
id?: Maybe<Scalars['String']>;
|
|
398
|
+
nftInfo?: Maybe<NftItemInfoDto>;
|
|
399
|
+
};
|
|
400
|
+
export type UserNftProtocolInfoDto = {
|
|
401
|
+
__typename?: 'UserNFTProtocolInfoDto';
|
|
402
|
+
caAddress?: Maybe<Scalars['String']>;
|
|
403
|
+
chainId?: Maybe<Scalars['String']>;
|
|
404
|
+
id?: Maybe<Scalars['String']>;
|
|
405
|
+
nftProtocolInfo?: Maybe<NftProtocolDto>;
|
|
406
|
+
tokenIds?: Maybe<Array<Scalars['Long']>>;
|
|
407
|
+
};
|
|
408
|
+
//# sourceMappingURL=types.d.ts.map
|