@dzapio/sdk 2.0.14 → 2.0.16
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/dist/{dZapClient/index.d.ts → index.d.mts} +912 -12
- package/dist/index.d.ts +1919 -17
- package/dist/index.js +16305 -2
- package/dist/index.mjs +16261 -0
- package/package.json +13 -31
- package/dist/api/index.d.ts +0 -31
- package/dist/artifacts/ERC20Permit.d.ts +0 -374
- package/dist/artifacts/Permit2.d.ts +0 -700
- package/dist/artifacts/Permit2Proxy.d.ts +0 -416
- package/dist/artifacts/default/DZapCoreAbi.d.ts +0 -2
- package/dist/artifacts/default/DZapCoreV2Abi.d.ts +0 -2
- package/dist/artifacts/default/DZapDcaAbi.d.ts +0 -2
- package/dist/artifacts/default/Permit2Abi.d.ts +0 -700
- package/dist/artifacts/default/erc20Abi.d.ts +0 -165
- package/dist/artifacts/default/index.d.ts +0 -6
- package/dist/artifacts/index.d.ts +0 -2
- package/dist/artifacts/staging/DZapCoreSwapAbi.d.ts +0 -2
- package/dist/artifacts/staging/index.d.ts +0 -2
- package/dist/axios/baseClient.d.ts +0 -2
- package/dist/axios/index.d.ts +0 -8
- package/dist/chains/definitions/arthera.d.ts +0 -35
- package/dist/chains/definitions/fiveIre.d.ts +0 -35
- package/dist/chains/definitions/hyperEvm.d.ts +0 -35
- package/dist/chains/definitions/hyperliquid.d.ts +0 -35
- package/dist/chains/definitions/pushTestnet.d.ts +0 -35
- package/dist/chains/definitions/stable.d.ts +0 -36
- package/dist/chains/index.d.ts +0 -179
- package/dist/config/index.d.ts +0 -36
- package/dist/constants/address.d.ts +0 -13
- package/dist/constants/approval.d.ts +0 -7
- package/dist/constants/axios.d.ts +0 -2
- package/dist/constants/chains.d.ts +0 -32
- package/dist/constants/contract.d.ts +0 -6
- package/dist/constants/erc20.d.ts +0 -25
- package/dist/constants/httpMethods.d.ts +0 -2
- package/dist/constants/index.d.ts +0 -48
- package/dist/constants/permit.d.ts +0 -29
- package/dist/constants/permit2.d.ts +0 -2
- package/dist/constants/rpc.d.ts +0 -2
- package/dist/constants/urlConstants.d.ts +0 -16
- package/dist/enums/index.d.ts +0 -47
- package/dist/index.js.map +0 -1
- package/dist/index.m.js +0 -2
- package/dist/index.m.js.map +0 -1
- package/dist/index.umd.js +0 -2
- package/dist/index.umd.js.map +0 -1
- package/dist/service/cache/cacheProvider.d.ts +0 -10
- package/dist/service/cache/constant.d.ts +0 -2
- package/dist/service/price/index.d.ts +0 -16
- package/dist/service/price/provider/coingecko/config.d.ts +0 -6
- package/dist/service/price/provider/coingecko/index.d.ts +0 -9
- package/dist/service/price/provider/defiLlama/config.d.ts +0 -3
- package/dist/service/price/provider/defiLlama/index.d.ts +0 -9
- package/dist/service/price/provider/defiLlama/types.d.ts +0 -11
- package/dist/service/price/provider/dzap/index.d.ts +0 -6
- package/dist/service/price/types/IPriceProvider.d.ts +0 -14
- package/dist/transactionHandlers/generic.d.ts +0 -24
- package/dist/transactionHandlers/permit.d.ts +0 -61
- package/dist/transactionHandlers/trade.d.ts +0 -26
- package/dist/transactionHandlers/zap.d.ts +0 -37
- package/dist/types/axiosClient.d.ts +0 -6
- package/dist/types/btc.d.ts +0 -45
- package/dist/types/chains.d.ts +0 -3
- package/dist/types/contract.d.ts +0 -14
- package/dist/types/eip-2612.d.ts +0 -24
- package/dist/types/index.d.ts +0 -497
- package/dist/types/permit.d.ts +0 -191
- package/dist/types/wallet.d.ts +0 -2
- package/dist/types/zap/broadcast.d.ts +0 -15
- package/dist/types/zap/build.d.ts +0 -44
- package/dist/types/zap/index.d.ts +0 -34
- package/dist/types/zap/path.d.ts +0 -33
- package/dist/types/zap/pool.d.ts +0 -39
- package/dist/types/zap/position.d.ts +0 -27
- package/dist/types/zap/quote.d.ts +0 -7
- package/dist/types/zap/status.d.ts +0 -28
- package/dist/types/zap/step.d.ts +0 -30
- package/dist/utils/amount.d.ts +0 -82
- package/dist/utils/axios.d.ts +0 -13
- package/dist/utils/date.d.ts +0 -1
- package/dist/utils/decoder/swap/abis.d.ts +0 -643
- package/dist/utils/decoder/swap/inputDataDecoder.d.ts +0 -14
- package/dist/utils/eip-2612/eip2612Permit.d.ts +0 -23
- package/dist/utils/eip-5792/batchApproveTokens.d.ts +0 -21
- package/dist/utils/eip-5792/index.d.ts +0 -3
- package/dist/utils/eip-5792/isBatchTxnSupportedByWallet.d.ts +0 -6
- package/dist/utils/eip-5792/sendBatchCalls.d.ts +0 -10
- package/dist/utils/eip-5792/waitForBatchTransactionReceipt.d.ts +0 -4
- package/dist/utils/encodeApproveCall.d.ts +0 -6
- package/dist/utils/erc20.d.ts +0 -65
- package/dist/utils/errors.d.ts +0 -17
- package/dist/utils/index.d.ts +0 -4566
- package/dist/utils/multicall.d.ts +0 -14
- package/dist/utils/permit2/domain.d.ts +0 -2
- package/dist/utils/permit2/index.d.ts +0 -4
- package/dist/utils/permit2/nonce.d.ts +0 -15
- package/dist/utils/permit2/permitData.d.ts +0 -23
- package/dist/utils/permit2/values.d.ts +0 -54
- package/dist/utils/permit2/witnessData.d.ts +0 -4
- package/dist/utils/signIntent/custom.d.ts +0 -11
- package/dist/utils/signIntent/gasless.d.ts +0 -12
- package/dist/utils/signTypedData.d.ts +0 -11
- package/dist/utils/tokens.d.ts +0 -8
- package/dist/utils/updateQuotes.d.ts +0 -3
- package/dist/zap/constants/index.d.ts +0 -2
- package/dist/zap/constants/path.d.ts +0 -8
- package/dist/zap/constants/step.d.ts +0 -3
- package/dist/zap/constants/urls.d.ts +0 -13
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzapio/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
4
4
|
"description": "A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|
|
7
|
-
"module": "dist/index.
|
|
8
|
-
"unpkg": "dist/index.umd.js",
|
|
7
|
+
"module": "dist/index.mjs",
|
|
9
8
|
"types": "dist/index.d.ts",
|
|
10
9
|
"exports": {
|
|
11
10
|
".": {
|
|
12
|
-
"import":
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
21
|
"engines": {
|
|
@@ -27,7 +31,7 @@
|
|
|
27
31
|
"pack": "yarn build && npm pack",
|
|
28
32
|
"githubPublish": "npm run build && npm publish",
|
|
29
33
|
"npmPublish": "npm run build && npm publish --access public",
|
|
30
|
-
"build": "
|
|
34
|
+
"build": "tsup",
|
|
31
35
|
"dev": "nodemon",
|
|
32
36
|
"test": "jest",
|
|
33
37
|
"lint": "eslint --cache src/**/*.ts",
|
|
@@ -93,7 +97,7 @@
|
|
|
93
97
|
"husky": "^9.0.10",
|
|
94
98
|
"jest": "^29.7.0",
|
|
95
99
|
"lint-staged": "^15.2.2",
|
|
96
|
-
"
|
|
100
|
+
"tsup": "^8.3.5",
|
|
97
101
|
"nodemon": "^2.0.16",
|
|
98
102
|
"prettier": "^3.1.0",
|
|
99
103
|
"ts-jest": "^29.4.0",
|
|
@@ -113,27 +117,5 @@
|
|
|
113
117
|
"bugs": {
|
|
114
118
|
"url": "https://github.com/dzapio/sdk/issues"
|
|
115
119
|
},
|
|
116
|
-
"homepage": "https://github.com/dzapio/sdk#readme"
|
|
117
|
-
"microbundle": {
|
|
118
|
-
"entry": "src/index.ts",
|
|
119
|
-
"output": "dist",
|
|
120
|
-
"format": "esm,cjs",
|
|
121
|
-
"target": "node",
|
|
122
|
-
"sourcemap": false,
|
|
123
|
-
"generateTypes": true,
|
|
124
|
-
"external": [
|
|
125
|
-
"ethers",
|
|
126
|
-
"viem",
|
|
127
|
-
"axios",
|
|
128
|
-
"decimal.js",
|
|
129
|
-
"node-cache"
|
|
130
|
-
],
|
|
131
|
-
"globals": {
|
|
132
|
-
"ethers": "ethers",
|
|
133
|
-
"viem": "viem",
|
|
134
|
-
"axios": "axios",
|
|
135
|
-
"decimal.js": "decimal.js",
|
|
136
|
-
"node-cache": "node-cache"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
120
|
+
"homepage": "https://github.com/dzapio/sdk#readme"
|
|
139
121
|
}
|
package/dist/api/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CancelToken } from 'axios';
|
|
2
|
-
import { BroadcastTxParams, BroadcastTxResponse, CalculatePointsRequest, GaslessExecuteTxParams, TradeBuildTxnRequest, TradeQuotesRequest } from '../types';
|
|
3
|
-
import { ZapBuildTxnRequest, ZapPoolDetailsRequest, ZapPoolsRequest, ZapPositionsRequest, ZapQuoteRequest, ZapStatusRequest } from '../types/zap';
|
|
4
|
-
import { BroadcastZapTxResponse } from '../types/zap/broadcast';
|
|
5
|
-
export declare const fetchTradeQuotes: (request: TradeQuotesRequest) => Promise<any>;
|
|
6
|
-
export declare const fetchTradeBuildTxnData: (request: TradeBuildTxnRequest) => Promise<any>;
|
|
7
|
-
export declare const executeGaslessTxnData: (request: GaslessExecuteTxParams) => Promise<any>;
|
|
8
|
-
export declare const broadcastTradeTx: (request: BroadcastTxParams) => Promise<BroadcastTxResponse>;
|
|
9
|
-
export declare const broadcastZapTx: (request: BroadcastTxParams) => Promise<BroadcastZapTxResponse>;
|
|
10
|
-
export declare const fetchZapBuildTxnData: (request: ZapBuildTxnRequest, cancelToken?: CancelToken) => Promise<any>;
|
|
11
|
-
export declare const fetchZapQuote: (request: ZapQuoteRequest, cancelToken?: CancelToken) => Promise<any>;
|
|
12
|
-
export declare const fetchZapTxnStatus: (request: ZapStatusRequest) => Promise<any>;
|
|
13
|
-
export declare const fetchZapPositions: (request: ZapPositionsRequest) => Promise<any>;
|
|
14
|
-
export declare const fetchZapPools: (request: ZapPoolsRequest) => Promise<any>;
|
|
15
|
-
export declare const fetchZapPoolDetails: (request: ZapPoolDetailsRequest) => Promise<any>;
|
|
16
|
-
export declare const fetchZapChains: () => Promise<any>;
|
|
17
|
-
export declare const fetchZapProviders: () => Promise<any>;
|
|
18
|
-
export declare const fetchAllSupportedChains: () => Promise<any>;
|
|
19
|
-
export declare const fetchAllTokens: (chainId: number, source?: string, account?: string) => Promise<any>;
|
|
20
|
-
export declare const fetchTokenDetails: (tokenAddress: string | string[], chainId: number, account?: string, includeBalance?: boolean, includePrice?: boolean) => Promise<any>;
|
|
21
|
-
export declare const fetchTokenPrice: (tokenAddresses: string[], chainId: number) => Promise<any>;
|
|
22
|
-
export declare const fetchStatus: ({ txHash, chainId }: {
|
|
23
|
-
txHash: string;
|
|
24
|
-
chainId: number;
|
|
25
|
-
}) => Promise<any>;
|
|
26
|
-
export declare const fetchMultiTxStatus: ({ txHashes, chainIds }: {
|
|
27
|
-
txHashes: string;
|
|
28
|
-
chainIds: string;
|
|
29
|
-
}) => Promise<any>;
|
|
30
|
-
export declare const fetchCalculatedPoints: (request: CalculatePointsRequest) => Promise<any>;
|
|
31
|
-
export declare const fetchBalances: (chainId: number, account: string) => Promise<any>;
|
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
export declare const erc20PermitAbi: readonly [{
|
|
2
|
-
readonly inputs: readonly [];
|
|
3
|
-
readonly name: "InvalidShortString";
|
|
4
|
-
readonly type: "error";
|
|
5
|
-
}, {
|
|
6
|
-
readonly inputs: readonly [{
|
|
7
|
-
readonly internalType: "string";
|
|
8
|
-
readonly name: "str";
|
|
9
|
-
readonly type: "string";
|
|
10
|
-
}];
|
|
11
|
-
readonly name: "StringTooLong";
|
|
12
|
-
readonly type: "error";
|
|
13
|
-
}, {
|
|
14
|
-
readonly anonymous: false;
|
|
15
|
-
readonly inputs: readonly [{
|
|
16
|
-
readonly indexed: true;
|
|
17
|
-
readonly internalType: "address";
|
|
18
|
-
readonly name: "owner";
|
|
19
|
-
readonly type: "address";
|
|
20
|
-
}, {
|
|
21
|
-
readonly indexed: true;
|
|
22
|
-
readonly internalType: "address";
|
|
23
|
-
readonly name: "spender";
|
|
24
|
-
readonly type: "address";
|
|
25
|
-
}, {
|
|
26
|
-
readonly indexed: false;
|
|
27
|
-
readonly internalType: "uint256";
|
|
28
|
-
readonly name: "value";
|
|
29
|
-
readonly type: "uint256";
|
|
30
|
-
}];
|
|
31
|
-
readonly name: "Approval";
|
|
32
|
-
readonly type: "event";
|
|
33
|
-
}, {
|
|
34
|
-
readonly anonymous: false;
|
|
35
|
-
readonly inputs: readonly [];
|
|
36
|
-
readonly name: "EIP712DomainChanged";
|
|
37
|
-
readonly type: "event";
|
|
38
|
-
}, {
|
|
39
|
-
readonly anonymous: false;
|
|
40
|
-
readonly inputs: readonly [{
|
|
41
|
-
readonly indexed: true;
|
|
42
|
-
readonly internalType: "address";
|
|
43
|
-
readonly name: "from";
|
|
44
|
-
readonly type: "address";
|
|
45
|
-
}, {
|
|
46
|
-
readonly indexed: true;
|
|
47
|
-
readonly internalType: "address";
|
|
48
|
-
readonly name: "to";
|
|
49
|
-
readonly type: "address";
|
|
50
|
-
}, {
|
|
51
|
-
readonly indexed: false;
|
|
52
|
-
readonly internalType: "uint256";
|
|
53
|
-
readonly name: "value";
|
|
54
|
-
readonly type: "uint256";
|
|
55
|
-
}];
|
|
56
|
-
readonly name: "Transfer";
|
|
57
|
-
readonly type: "event";
|
|
58
|
-
}, {
|
|
59
|
-
readonly inputs: readonly [];
|
|
60
|
-
readonly name: "DOMAIN_SEPARATOR";
|
|
61
|
-
readonly outputs: readonly [{
|
|
62
|
-
readonly internalType: "bytes32";
|
|
63
|
-
readonly name: "";
|
|
64
|
-
readonly type: "bytes32";
|
|
65
|
-
}];
|
|
66
|
-
readonly stateMutability: "view";
|
|
67
|
-
readonly type: "function";
|
|
68
|
-
}, {
|
|
69
|
-
readonly inputs: readonly [];
|
|
70
|
-
readonly name: "PERMIT_TYPEHASH";
|
|
71
|
-
readonly outputs: readonly [{
|
|
72
|
-
readonly internalType: "bytes32";
|
|
73
|
-
readonly name: "";
|
|
74
|
-
readonly type: "bytes32";
|
|
75
|
-
}];
|
|
76
|
-
readonly stateMutability: "view";
|
|
77
|
-
readonly type: "function";
|
|
78
|
-
}, {
|
|
79
|
-
readonly inputs: readonly [{
|
|
80
|
-
readonly internalType: "address";
|
|
81
|
-
readonly name: "owner";
|
|
82
|
-
readonly type: "address";
|
|
83
|
-
}, {
|
|
84
|
-
readonly internalType: "address";
|
|
85
|
-
readonly name: "spender";
|
|
86
|
-
readonly type: "address";
|
|
87
|
-
}];
|
|
88
|
-
readonly name: "allowance";
|
|
89
|
-
readonly outputs: readonly [{
|
|
90
|
-
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "";
|
|
92
|
-
readonly type: "uint256";
|
|
93
|
-
}];
|
|
94
|
-
readonly stateMutability: "view";
|
|
95
|
-
readonly type: "function";
|
|
96
|
-
}, {
|
|
97
|
-
readonly inputs: readonly [{
|
|
98
|
-
readonly internalType: "address";
|
|
99
|
-
readonly name: "spender";
|
|
100
|
-
readonly type: "address";
|
|
101
|
-
}, {
|
|
102
|
-
readonly internalType: "uint256";
|
|
103
|
-
readonly name: "amount";
|
|
104
|
-
readonly type: "uint256";
|
|
105
|
-
}];
|
|
106
|
-
readonly name: "approve";
|
|
107
|
-
readonly outputs: readonly [{
|
|
108
|
-
readonly internalType: "bool";
|
|
109
|
-
readonly name: "";
|
|
110
|
-
readonly type: "bool";
|
|
111
|
-
}];
|
|
112
|
-
readonly stateMutability: "nonpayable";
|
|
113
|
-
readonly type: "function";
|
|
114
|
-
}, {
|
|
115
|
-
readonly inputs: readonly [{
|
|
116
|
-
readonly internalType: "address";
|
|
117
|
-
readonly name: "account";
|
|
118
|
-
readonly type: "address";
|
|
119
|
-
}];
|
|
120
|
-
readonly name: "balanceOf";
|
|
121
|
-
readonly outputs: readonly [{
|
|
122
|
-
readonly internalType: "uint256";
|
|
123
|
-
readonly name: "";
|
|
124
|
-
readonly type: "uint256";
|
|
125
|
-
}];
|
|
126
|
-
readonly stateMutability: "view";
|
|
127
|
-
readonly type: "function";
|
|
128
|
-
}, {
|
|
129
|
-
readonly inputs: readonly [];
|
|
130
|
-
readonly name: "decimals";
|
|
131
|
-
readonly outputs: readonly [{
|
|
132
|
-
readonly internalType: "uint8";
|
|
133
|
-
readonly name: "";
|
|
134
|
-
readonly type: "uint8";
|
|
135
|
-
}];
|
|
136
|
-
readonly stateMutability: "view";
|
|
137
|
-
readonly type: "function";
|
|
138
|
-
}, {
|
|
139
|
-
readonly inputs: readonly [{
|
|
140
|
-
readonly internalType: "address";
|
|
141
|
-
readonly name: "spender";
|
|
142
|
-
readonly type: "address";
|
|
143
|
-
}, {
|
|
144
|
-
readonly internalType: "uint256";
|
|
145
|
-
readonly name: "subtractedValue";
|
|
146
|
-
readonly type: "uint256";
|
|
147
|
-
}];
|
|
148
|
-
readonly name: "decreaseAllowance";
|
|
149
|
-
readonly outputs: readonly [{
|
|
150
|
-
readonly internalType: "bool";
|
|
151
|
-
readonly name: "";
|
|
152
|
-
readonly type: "bool";
|
|
153
|
-
}];
|
|
154
|
-
readonly stateMutability: "nonpayable";
|
|
155
|
-
readonly type: "function";
|
|
156
|
-
}, {
|
|
157
|
-
readonly inputs: readonly [];
|
|
158
|
-
readonly name: "eip712Domain";
|
|
159
|
-
readonly outputs: readonly [{
|
|
160
|
-
readonly internalType: "bytes1";
|
|
161
|
-
readonly name: "fields";
|
|
162
|
-
readonly type: "bytes1";
|
|
163
|
-
}, {
|
|
164
|
-
readonly internalType: "string";
|
|
165
|
-
readonly name: "name";
|
|
166
|
-
readonly type: "string";
|
|
167
|
-
}, {
|
|
168
|
-
readonly internalType: "string";
|
|
169
|
-
readonly name: "version";
|
|
170
|
-
readonly type: "string";
|
|
171
|
-
}, {
|
|
172
|
-
readonly internalType: "uint256";
|
|
173
|
-
readonly name: "chainId";
|
|
174
|
-
readonly type: "uint256";
|
|
175
|
-
}, {
|
|
176
|
-
readonly internalType: "address";
|
|
177
|
-
readonly name: "verifyingContract";
|
|
178
|
-
readonly type: "address";
|
|
179
|
-
}, {
|
|
180
|
-
readonly internalType: "bytes32";
|
|
181
|
-
readonly name: "salt";
|
|
182
|
-
readonly type: "bytes32";
|
|
183
|
-
}, {
|
|
184
|
-
readonly internalType: "uint256[]";
|
|
185
|
-
readonly name: "extensions";
|
|
186
|
-
readonly type: "uint256[]";
|
|
187
|
-
}];
|
|
188
|
-
readonly stateMutability: "view";
|
|
189
|
-
readonly type: "function";
|
|
190
|
-
}, {
|
|
191
|
-
readonly inputs: readonly [{
|
|
192
|
-
readonly internalType: "address";
|
|
193
|
-
readonly name: "spender";
|
|
194
|
-
readonly type: "address";
|
|
195
|
-
}, {
|
|
196
|
-
readonly internalType: "uint256";
|
|
197
|
-
readonly name: "addedValue";
|
|
198
|
-
readonly type: "uint256";
|
|
199
|
-
}];
|
|
200
|
-
readonly name: "increaseAllowance";
|
|
201
|
-
readonly outputs: readonly [{
|
|
202
|
-
readonly internalType: "bool";
|
|
203
|
-
readonly name: "";
|
|
204
|
-
readonly type: "bool";
|
|
205
|
-
}];
|
|
206
|
-
readonly stateMutability: "nonpayable";
|
|
207
|
-
readonly type: "function";
|
|
208
|
-
}, {
|
|
209
|
-
readonly inputs: readonly [];
|
|
210
|
-
readonly name: "name";
|
|
211
|
-
readonly outputs: readonly [{
|
|
212
|
-
readonly internalType: "string";
|
|
213
|
-
readonly name: "";
|
|
214
|
-
readonly type: "string";
|
|
215
|
-
}];
|
|
216
|
-
readonly stateMutability: "view";
|
|
217
|
-
readonly type: "function";
|
|
218
|
-
}, {
|
|
219
|
-
readonly inputs: readonly [];
|
|
220
|
-
readonly name: "version";
|
|
221
|
-
readonly outputs: readonly [{
|
|
222
|
-
readonly internalType: "string";
|
|
223
|
-
readonly name: "";
|
|
224
|
-
readonly type: "string";
|
|
225
|
-
}];
|
|
226
|
-
readonly stateMutability: "view";
|
|
227
|
-
readonly type: "function";
|
|
228
|
-
}, {
|
|
229
|
-
readonly inputs: readonly [{
|
|
230
|
-
readonly internalType: "address";
|
|
231
|
-
readonly name: "owner";
|
|
232
|
-
readonly type: "address";
|
|
233
|
-
}];
|
|
234
|
-
readonly name: "nonces";
|
|
235
|
-
readonly outputs: readonly [{
|
|
236
|
-
readonly internalType: "uint256";
|
|
237
|
-
readonly name: "";
|
|
238
|
-
readonly type: "uint256";
|
|
239
|
-
}];
|
|
240
|
-
readonly stateMutability: "view";
|
|
241
|
-
readonly type: "function";
|
|
242
|
-
}, {
|
|
243
|
-
readonly inputs: readonly [{
|
|
244
|
-
readonly internalType: "address";
|
|
245
|
-
readonly name: "owner";
|
|
246
|
-
readonly type: "address";
|
|
247
|
-
}, {
|
|
248
|
-
readonly internalType: "address";
|
|
249
|
-
readonly name: "spender";
|
|
250
|
-
readonly type: "address";
|
|
251
|
-
}, {
|
|
252
|
-
readonly internalType: "uint256";
|
|
253
|
-
readonly name: "value";
|
|
254
|
-
readonly type: "uint256";
|
|
255
|
-
}, {
|
|
256
|
-
readonly internalType: "uint256";
|
|
257
|
-
readonly name: "deadline";
|
|
258
|
-
readonly type: "uint256";
|
|
259
|
-
}, {
|
|
260
|
-
readonly internalType: "uint8";
|
|
261
|
-
readonly name: "v";
|
|
262
|
-
readonly type: "uint8";
|
|
263
|
-
}, {
|
|
264
|
-
readonly internalType: "bytes32";
|
|
265
|
-
readonly name: "r";
|
|
266
|
-
readonly type: "bytes32";
|
|
267
|
-
}, {
|
|
268
|
-
readonly internalType: "bytes32";
|
|
269
|
-
readonly name: "s";
|
|
270
|
-
readonly type: "bytes32";
|
|
271
|
-
}];
|
|
272
|
-
readonly name: "permit";
|
|
273
|
-
readonly outputs: readonly [];
|
|
274
|
-
readonly stateMutability: "nonpayable";
|
|
275
|
-
readonly type: "function";
|
|
276
|
-
}, {
|
|
277
|
-
readonly inputs: readonly [{
|
|
278
|
-
readonly name: "holder";
|
|
279
|
-
readonly type: "address";
|
|
280
|
-
readonly internalType: "address";
|
|
281
|
-
}, {
|
|
282
|
-
readonly name: "spender";
|
|
283
|
-
readonly type: "address";
|
|
284
|
-
readonly internalType: "address";
|
|
285
|
-
}, {
|
|
286
|
-
readonly name: "nonce";
|
|
287
|
-
readonly type: "uint256";
|
|
288
|
-
readonly internalType: "uint256";
|
|
289
|
-
}, {
|
|
290
|
-
readonly name: "expiry";
|
|
291
|
-
readonly type: "uint256";
|
|
292
|
-
readonly internalType: "uint256";
|
|
293
|
-
}, {
|
|
294
|
-
readonly name: "allowed";
|
|
295
|
-
readonly type: "bool";
|
|
296
|
-
readonly internalType: "bool";
|
|
297
|
-
}, {
|
|
298
|
-
readonly internalType: "uint8";
|
|
299
|
-
readonly name: "v";
|
|
300
|
-
readonly type: "uint8";
|
|
301
|
-
}, {
|
|
302
|
-
readonly internalType: "bytes32";
|
|
303
|
-
readonly name: "r";
|
|
304
|
-
readonly type: "bytes32";
|
|
305
|
-
}, {
|
|
306
|
-
readonly internalType: "bytes32";
|
|
307
|
-
readonly name: "s";
|
|
308
|
-
readonly type: "bytes32";
|
|
309
|
-
}];
|
|
310
|
-
readonly name: "permit";
|
|
311
|
-
readonly outputs: readonly [];
|
|
312
|
-
readonly stateMutability: "nonpayable";
|
|
313
|
-
readonly type: "function";
|
|
314
|
-
}, {
|
|
315
|
-
readonly inputs: readonly [];
|
|
316
|
-
readonly name: "symbol";
|
|
317
|
-
readonly outputs: readonly [{
|
|
318
|
-
readonly internalType: "string";
|
|
319
|
-
readonly name: "";
|
|
320
|
-
readonly type: "string";
|
|
321
|
-
}];
|
|
322
|
-
readonly stateMutability: "view";
|
|
323
|
-
readonly type: "function";
|
|
324
|
-
}, {
|
|
325
|
-
readonly inputs: readonly [];
|
|
326
|
-
readonly name: "totalSupply";
|
|
327
|
-
readonly outputs: readonly [{
|
|
328
|
-
readonly internalType: "uint256";
|
|
329
|
-
readonly name: "";
|
|
330
|
-
readonly type: "uint256";
|
|
331
|
-
}];
|
|
332
|
-
readonly stateMutability: "view";
|
|
333
|
-
readonly type: "function";
|
|
334
|
-
}, {
|
|
335
|
-
readonly inputs: readonly [{
|
|
336
|
-
readonly internalType: "address";
|
|
337
|
-
readonly name: "to";
|
|
338
|
-
readonly type: "address";
|
|
339
|
-
}, {
|
|
340
|
-
readonly internalType: "uint256";
|
|
341
|
-
readonly name: "amount";
|
|
342
|
-
readonly type: "uint256";
|
|
343
|
-
}];
|
|
344
|
-
readonly name: "transfer";
|
|
345
|
-
readonly outputs: readonly [{
|
|
346
|
-
readonly internalType: "bool";
|
|
347
|
-
readonly name: "";
|
|
348
|
-
readonly type: "bool";
|
|
349
|
-
}];
|
|
350
|
-
readonly stateMutability: "nonpayable";
|
|
351
|
-
readonly type: "function";
|
|
352
|
-
}, {
|
|
353
|
-
readonly inputs: readonly [{
|
|
354
|
-
readonly internalType: "address";
|
|
355
|
-
readonly name: "from";
|
|
356
|
-
readonly type: "address";
|
|
357
|
-
}, {
|
|
358
|
-
readonly internalType: "address";
|
|
359
|
-
readonly name: "to";
|
|
360
|
-
readonly type: "address";
|
|
361
|
-
}, {
|
|
362
|
-
readonly internalType: "uint256";
|
|
363
|
-
readonly name: "amount";
|
|
364
|
-
readonly type: "uint256";
|
|
365
|
-
}];
|
|
366
|
-
readonly name: "transferFrom";
|
|
367
|
-
readonly outputs: readonly [{
|
|
368
|
-
readonly internalType: "bool";
|
|
369
|
-
readonly name: "";
|
|
370
|
-
readonly type: "bool";
|
|
371
|
-
}];
|
|
372
|
-
readonly stateMutability: "nonpayable";
|
|
373
|
-
readonly type: "function";
|
|
374
|
-
}];
|