@dzapio/sdk 2.0.7 → 2.0.8
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/api/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.m.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/zap/broadcast.d.ts +15 -0
- package/package.json +1 -1
- package/dist/examples/chain-utils.d.ts +0 -1
- package/dist/examples/chain-utils.js +0 -20
- package/dist/examples/permit-utils.d.ts +0 -1
- package/dist/examples/permit-utils.js +0 -90
- package/dist/examples/token-utils.d.ts +0 -1
- package/dist/examples/token-utils.js +0 -41
- package/dist/examples/trade-operations.d.ts +0 -1
- package/dist/examples/trade-operations.js +0 -89
- package/dist/examples/zap-operations.d.ts +0 -1
- package/dist/examples/zap-operations.js +0 -69
- package/dist/src/api/index.d.ts +0 -27
- package/dist/src/api/index.js +0 -146
- package/dist/src/artifacts/ERC20Permit.d.ts +0 -374
- package/dist/src/artifacts/ERC20Permit.js +0 -469
- package/dist/src/artifacts/Permit2.d.ts +0 -700
- package/dist/src/artifacts/Permit2.js +0 -904
- package/dist/src/artifacts/Permit2Proxy.d.ts +0 -416
- package/dist/src/artifacts/Permit2Proxy.js +0 -206
- package/dist/src/artifacts/default/DZapCoreAbi.d.ts +0 -2
- package/dist/src/artifacts/default/DZapCoreAbi.js +0 -3079
- package/dist/src/artifacts/default/DZapCoreV2Abi.d.ts +0 -2
- package/dist/src/artifacts/default/DZapCoreV2Abi.js +0 -3719
- package/dist/src/artifacts/default/DZapDcaAbi.d.ts +0 -2
- package/dist/src/artifacts/default/DZapDcaAbi.js +0 -1829
- package/dist/src/artifacts/default/Permit2Abi.d.ts +0 -700
- package/dist/src/artifacts/default/Permit2Abi.js +0 -904
- package/dist/src/artifacts/default/erc20Abi.d.ts +0 -165
- package/dist/src/artifacts/default/erc20Abi.js +0 -220
- package/dist/src/artifacts/default/index.d.ts +0 -6
- package/dist/src/artifacts/default/index.js +0 -13
- package/dist/src/artifacts/index.d.ts +0 -2
- package/dist/src/artifacts/index.js +0 -9
- package/dist/src/artifacts/staging/DZapCoreSwapAbi.d.ts +0 -2
- package/dist/src/artifacts/staging/DZapCoreSwapAbi.js +0 -3079
- package/dist/src/artifacts/staging/index.d.ts +0 -2
- package/dist/src/artifacts/staging/index.js +0 -5
- package/dist/src/axios/baseClient.d.ts +0 -2
- package/dist/src/axios/baseClient.js +0 -7
- package/dist/src/axios/index.d.ts +0 -8
- package/dist/src/axios/index.js +0 -34
- package/dist/src/chains/definitions/arthera.d.ts +0 -35
- package/dist/src/chains/definitions/arthera.js +0 -28
- package/dist/src/chains/definitions/fiveIre.d.ts +0 -35
- package/dist/src/chains/definitions/fiveIre.js +0 -28
- package/dist/src/chains/definitions/hyperEvm.d.ts +0 -35
- package/dist/src/chains/definitions/hyperEvm.js +0 -26
- package/dist/src/chains/definitions/hyperliquid.d.ts +0 -35
- package/dist/src/chains/definitions/hyperliquid.js +0 -26
- package/dist/src/chains/definitions/stable.d.ts +0 -36
- package/dist/src/chains/definitions/stable.js +0 -31
- package/dist/src/chains/index.d.ts +0 -179
- package/dist/src/chains/index.js +0 -24
- package/dist/src/config/index.d.ts +0 -36
- package/dist/src/config/index.js +0 -59
- package/dist/src/constants/address.d.ts +0 -13
- package/dist/src/constants/address.js +0 -29
- package/dist/src/constants/approval.d.ts +0 -7
- package/dist/src/constants/approval.js +0 -17
- package/dist/src/constants/axios.d.ts +0 -2
- package/dist/src/constants/axios.js +0 -5
- package/dist/src/constants/chains.d.ts +0 -31
- package/dist/src/constants/chains.js +0 -34
- package/dist/src/constants/contract.d.ts +0 -6
- package/dist/src/constants/contract.js +0 -18
- package/dist/src/constants/erc20.d.ts +0 -25
- package/dist/src/constants/erc20.js +0 -28
- package/dist/src/constants/httpMethods.d.ts +0 -2
- package/dist/src/constants/httpMethods.js +0 -5
- package/dist/src/constants/index.d.ts +0 -48
- package/dist/src/constants/index.js +0 -53
- package/dist/src/constants/permit.d.ts +0 -29
- package/dist/src/constants/permit.js +0 -33
- package/dist/src/constants/permit2.d.ts +0 -2
- package/dist/src/constants/permit2.js +0 -5
- package/dist/src/constants/rpc.d.ts +0 -2
- package/dist/src/constants/rpc.js +0 -5
- package/dist/src/constants/urlConstants.d.ts +0 -15
- package/dist/src/constants/urlConstants.js +0 -18
- package/dist/src/dZapClient/index.d.ts +0 -1015
- package/dist/src/dZapClient/index.js +0 -255
- package/dist/src/enums/index.d.ts +0 -46
- package/dist/src/enums/index.js +0 -57
- package/dist/src/index.d.ts +0 -17
- package/dist/src/index.js +0 -48
- package/dist/src/service/cache/cacheProvider.d.ts +0 -10
- package/dist/src/service/cache/cacheProvider.js +0 -72
- package/dist/src/service/cache/constant.d.ts +0 -2
- package/dist/src/service/cache/constant.js +0 -6
- package/dist/src/service/price/index.d.ts +0 -16
- package/dist/src/service/price/index.js +0 -80
- package/dist/src/service/price/provider/coingecko/config.d.ts +0 -6
- package/dist/src/service/price/provider/coingecko/config.js +0 -9
- package/dist/src/service/price/provider/coingecko/index.d.ts +0 -9
- package/dist/src/service/price/provider/coingecko/index.js +0 -66
- package/dist/src/service/price/provider/defiLlama/config.d.ts +0 -3
- package/dist/src/service/price/provider/defiLlama/config.js +0 -6
- package/dist/src/service/price/provider/defiLlama/index.d.ts +0 -9
- package/dist/src/service/price/provider/defiLlama/index.js +0 -60
- package/dist/src/service/price/provider/defiLlama/types.d.ts +0 -11
- package/dist/src/service/price/provider/defiLlama/types.js +0 -2
- package/dist/src/service/price/provider/dzap/index.d.ts +0 -6
- package/dist/src/service/price/provider/dzap/index.js +0 -22
- package/dist/src/service/price/types/IPriceProvider.d.ts +0 -14
- package/dist/src/service/price/types/IPriceProvider.js +0 -8
- package/dist/src/transactionHandlers/generic.d.ts +0 -24
- package/dist/src/transactionHandlers/generic.js +0 -48
- package/dist/src/transactionHandlers/permit.d.ts +0 -61
- package/dist/src/transactionHandlers/permit.js +0 -177
- package/dist/src/transactionHandlers/trade.d.ts +0 -24
- package/dist/src/transactionHandlers/trade.js +0 -263
- package/dist/src/transactionHandlers/zap.d.ts +0 -37
- package/dist/src/transactionHandlers/zap.js +0 -135
- package/dist/src/types/axiosClient.d.ts +0 -6
- package/dist/src/types/axiosClient.js +0 -2
- package/dist/src/types/btc.d.ts +0 -45
- package/dist/src/types/btc.js +0 -2
- package/dist/src/types/chains.d.ts +0 -3
- package/dist/src/types/chains.js +0 -2
- package/dist/src/types/contract.d.ts +0 -14
- package/dist/src/types/contract.js +0 -2
- package/dist/src/types/eip-2612.d.ts +0 -24
- package/dist/src/types/eip-2612.js +0 -58
- package/dist/src/types/index.d.ts +0 -489
- package/dist/src/types/index.js +0 -8
- package/dist/src/types/permit.d.ts +0 -191
- package/dist/src/types/permit.js +0 -54
- package/dist/src/types/wallet.d.ts +0 -2
- package/dist/src/types/wallet.js +0 -2
- package/dist/src/types/zap/build.d.ts +0 -44
- package/dist/src/types/zap/build.js +0 -2
- package/dist/src/types/zap/index.d.ts +0 -34
- package/dist/src/types/zap/index.js +0 -23
- package/dist/src/types/zap/path.d.ts +0 -33
- package/dist/src/types/zap/path.js +0 -2
- package/dist/src/types/zap/pool.d.ts +0 -39
- package/dist/src/types/zap/pool.js +0 -2
- package/dist/src/types/zap/position.d.ts +0 -27
- package/dist/src/types/zap/position.js +0 -2
- package/dist/src/types/zap/quote.d.ts +0 -7
- package/dist/src/types/zap/quote.js +0 -2
- package/dist/src/types/zap/status.d.ts +0 -28
- package/dist/src/types/zap/status.js +0 -2
- package/dist/src/types/zap/step.d.ts +0 -23
- package/dist/src/types/zap/step.js +0 -2
- package/dist/src/utils/amount.d.ts +0 -82
- package/dist/src/utils/amount.js +0 -71
- package/dist/src/utils/axios.d.ts +0 -13
- package/dist/src/utils/axios.js +0 -42
- package/dist/src/utils/date.d.ts +0 -1
- package/dist/src/utils/date.js +0 -8
- package/dist/src/utils/decoder/swap/abis.d.ts +0 -643
- package/dist/src/utils/decoder/swap/abis.js +0 -831
- package/dist/src/utils/decoder/swap/inputDataDecoder.d.ts +0 -14
- package/dist/src/utils/decoder/swap/inputDataDecoder.js +0 -124
- package/dist/src/utils/eip-2612/eip2612Permit.d.ts +0 -23
- package/dist/src/utils/eip-2612/eip2612Permit.js +0 -121
- package/dist/src/utils/eip-5792/batchApproveTokens.d.ts +0 -21
- package/dist/src/utils/eip-5792/batchApproveTokens.js +0 -49
- package/dist/src/utils/eip-5792/index.d.ts +0 -3
- package/dist/src/utils/eip-5792/index.js +0 -9
- package/dist/src/utils/eip-5792/isBatchTxnSupportedByWallet.d.ts +0 -6
- package/dist/src/utils/eip-5792/isBatchTxnSupportedByWallet.js +0 -22
- package/dist/src/utils/eip-5792/sendBatchCalls.d.ts +0 -10
- package/dist/src/utils/eip-5792/sendBatchCalls.js +0 -25
- package/dist/src/utils/eip-5792/waitForBatchTransactionReceipt.d.ts +0 -4
- package/dist/src/utils/eip-5792/waitForBatchTransactionReceipt.js +0 -26
- package/dist/src/utils/encodeApproveCall.d.ts +0 -6
- package/dist/src/utils/encodeApproveCall.js +0 -13
- package/dist/src/utils/erc20.d.ts +0 -65
- package/dist/src/utils/erc20.js +0 -153
- package/dist/src/utils/errors.d.ts +0 -17
- package/dist/src/utils/errors.js +0 -78
- package/dist/src/utils/index.d.ts +0 -4566
- package/dist/src/utils/index.js +0 -196
- package/dist/src/utils/multicall.d.ts +0 -14
- package/dist/src/utils/multicall.js +0 -25
- package/dist/src/utils/permit2/domain.d.ts +0 -2
- package/dist/src/utils/permit2/domain.js +0 -11
- package/dist/src/utils/permit2/index.d.ts +0 -4
- package/dist/src/utils/permit2/index.js +0 -97
- package/dist/src/utils/permit2/nonce.d.ts +0 -15
- package/dist/src/utils/permit2/nonce.js +0 -61
- package/dist/src/utils/permit2/permitData.d.ts +0 -23
- package/dist/src/utils/permit2/permitData.js +0 -85
- package/dist/src/utils/permit2/values.d.ts +0 -54
- package/dist/src/utils/permit2/values.js +0 -88
- package/dist/src/utils/permit2/witnessData.d.ts +0 -4
- package/dist/src/utils/permit2/witnessData.js +0 -48
- package/dist/src/utils/signIntent/custom.d.ts +0 -11
- package/dist/src/utils/signIntent/custom.js +0 -31
- package/dist/src/utils/signIntent/gasless.d.ts +0 -12
- package/dist/src/utils/signIntent/gasless.js +0 -101
- package/dist/src/utils/signTypedData.d.ts +0 -11
- package/dist/src/utils/signTypedData.js +0 -21
- package/dist/src/utils/tokens.d.ts +0 -8
- package/dist/src/utils/tokens.js +0 -73
- package/dist/src/utils/updateQuotes.d.ts +0 -3
- package/dist/src/utils/updateQuotes.js +0 -69
- package/dist/src/zap/constants/index.d.ts +0 -2
- package/dist/src/zap/constants/index.js +0 -18
- package/dist/src/zap/constants/path.d.ts +0 -8
- package/dist/src/zap/constants/path.js +0 -11
- package/dist/src/zap/constants/step.d.ts +0 -3
- package/dist/src/zap/constants/step.js +0 -6
- package/dist/src/zap/constants/urls.d.ts +0 -13
- package/dist/src/zap/constants/urls.js +0 -16
- package/dist/test/build.test.d.ts +0 -1
- package/dist/test/build.test.js +0 -65
- package/dist/test/permit/permit2Nonce.test.d.ts +0 -2
- package/dist/test/permit/permit2Nonce.test.js +0 -96
- package/dist/test/quotes.test.d.ts +0 -1
- package/dist/test/quotes.test.js +0 -59
- package/dist/test/status.test.d.ts +0 -1
- package/dist/test/status.test.js +0 -37
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
export declare const abi: readonly [{
|
|
2
|
-
readonly constant: true;
|
|
3
|
-
readonly inputs: readonly [];
|
|
4
|
-
readonly name: "name";
|
|
5
|
-
readonly outputs: readonly [{
|
|
6
|
-
readonly name: "";
|
|
7
|
-
readonly type: "string";
|
|
8
|
-
}];
|
|
9
|
-
readonly payable: false;
|
|
10
|
-
readonly stateMutability: "view";
|
|
11
|
-
readonly type: "function";
|
|
12
|
-
}, {
|
|
13
|
-
readonly constant: false;
|
|
14
|
-
readonly inputs: readonly [{
|
|
15
|
-
readonly name: "_spender";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}, {
|
|
18
|
-
readonly name: "_value";
|
|
19
|
-
readonly type: "uint256";
|
|
20
|
-
}];
|
|
21
|
-
readonly name: "approve";
|
|
22
|
-
readonly outputs: readonly [];
|
|
23
|
-
readonly payable: false;
|
|
24
|
-
readonly stateMutability: "nonpayable";
|
|
25
|
-
readonly type: "function";
|
|
26
|
-
}, {
|
|
27
|
-
readonly constant: true;
|
|
28
|
-
readonly inputs: readonly [];
|
|
29
|
-
readonly name: "totalSupply";
|
|
30
|
-
readonly outputs: readonly [{
|
|
31
|
-
readonly name: "";
|
|
32
|
-
readonly type: "uint256";
|
|
33
|
-
}];
|
|
34
|
-
readonly payable: false;
|
|
35
|
-
readonly stateMutability: "view";
|
|
36
|
-
readonly type: "function";
|
|
37
|
-
}, {
|
|
38
|
-
readonly constant: false;
|
|
39
|
-
readonly inputs: readonly [{
|
|
40
|
-
readonly name: "_from";
|
|
41
|
-
readonly type: "address";
|
|
42
|
-
}, {
|
|
43
|
-
readonly name: "_to";
|
|
44
|
-
readonly type: "address";
|
|
45
|
-
}, {
|
|
46
|
-
readonly name: "_value";
|
|
47
|
-
readonly type: "uint256";
|
|
48
|
-
}];
|
|
49
|
-
readonly name: "transferFrom";
|
|
50
|
-
readonly outputs: readonly [{
|
|
51
|
-
readonly name: "";
|
|
52
|
-
readonly type: "bool";
|
|
53
|
-
}];
|
|
54
|
-
readonly payable: false;
|
|
55
|
-
readonly stateMutability: "nonpayable";
|
|
56
|
-
readonly type: "function";
|
|
57
|
-
}, {
|
|
58
|
-
readonly constant: true;
|
|
59
|
-
readonly inputs: readonly [];
|
|
60
|
-
readonly name: "decimals";
|
|
61
|
-
readonly outputs: readonly [{
|
|
62
|
-
readonly name: "";
|
|
63
|
-
readonly type: "uint8";
|
|
64
|
-
}];
|
|
65
|
-
readonly payable: false;
|
|
66
|
-
readonly stateMutability: "view";
|
|
67
|
-
readonly type: "function";
|
|
68
|
-
}, {
|
|
69
|
-
readonly constant: true;
|
|
70
|
-
readonly inputs: readonly [{
|
|
71
|
-
readonly name: "_owner";
|
|
72
|
-
readonly type: "address";
|
|
73
|
-
}];
|
|
74
|
-
readonly name: "balanceOf";
|
|
75
|
-
readonly outputs: readonly [{
|
|
76
|
-
readonly name: "balance";
|
|
77
|
-
readonly type: "uint256";
|
|
78
|
-
}];
|
|
79
|
-
readonly payable: false;
|
|
80
|
-
readonly stateMutability: "view";
|
|
81
|
-
readonly type: "function";
|
|
82
|
-
}, {
|
|
83
|
-
readonly constant: true;
|
|
84
|
-
readonly inputs: readonly [];
|
|
85
|
-
readonly name: "symbol";
|
|
86
|
-
readonly outputs: readonly [{
|
|
87
|
-
readonly name: "";
|
|
88
|
-
readonly type: "string";
|
|
89
|
-
}];
|
|
90
|
-
readonly payable: false;
|
|
91
|
-
readonly stateMutability: "view";
|
|
92
|
-
readonly type: "function";
|
|
93
|
-
}, {
|
|
94
|
-
readonly constant: false;
|
|
95
|
-
readonly inputs: readonly [{
|
|
96
|
-
readonly name: "_to";
|
|
97
|
-
readonly type: "address";
|
|
98
|
-
}, {
|
|
99
|
-
readonly name: "_value";
|
|
100
|
-
readonly type: "uint256";
|
|
101
|
-
}];
|
|
102
|
-
readonly name: "transfer";
|
|
103
|
-
readonly outputs: readonly [{
|
|
104
|
-
readonly name: "";
|
|
105
|
-
readonly type: "bool";
|
|
106
|
-
}];
|
|
107
|
-
readonly payable: false;
|
|
108
|
-
readonly stateMutability: "nonpayable";
|
|
109
|
-
readonly type: "function";
|
|
110
|
-
}, {
|
|
111
|
-
readonly constant: true;
|
|
112
|
-
readonly inputs: readonly [{
|
|
113
|
-
readonly name: "_owner";
|
|
114
|
-
readonly type: "address";
|
|
115
|
-
}, {
|
|
116
|
-
readonly name: "_spender";
|
|
117
|
-
readonly type: "address";
|
|
118
|
-
}];
|
|
119
|
-
readonly name: "allowance";
|
|
120
|
-
readonly outputs: readonly [{
|
|
121
|
-
readonly name: "";
|
|
122
|
-
readonly type: "uint256";
|
|
123
|
-
}];
|
|
124
|
-
readonly payable: false;
|
|
125
|
-
readonly stateMutability: "view";
|
|
126
|
-
readonly type: "function";
|
|
127
|
-
}, {
|
|
128
|
-
readonly payable: true;
|
|
129
|
-
readonly stateMutability: "payable";
|
|
130
|
-
readonly type: "fallback";
|
|
131
|
-
}, {
|
|
132
|
-
readonly anonymous: false;
|
|
133
|
-
readonly inputs: readonly [{
|
|
134
|
-
readonly indexed: true;
|
|
135
|
-
readonly name: "owner";
|
|
136
|
-
readonly type: "address";
|
|
137
|
-
}, {
|
|
138
|
-
readonly indexed: true;
|
|
139
|
-
readonly name: "spender";
|
|
140
|
-
readonly type: "address";
|
|
141
|
-
}, {
|
|
142
|
-
readonly indexed: false;
|
|
143
|
-
readonly name: "value";
|
|
144
|
-
readonly type: "uint256";
|
|
145
|
-
}];
|
|
146
|
-
readonly name: "Approval";
|
|
147
|
-
readonly type: "event";
|
|
148
|
-
}, {
|
|
149
|
-
readonly anonymous: false;
|
|
150
|
-
readonly inputs: readonly [{
|
|
151
|
-
readonly indexed: true;
|
|
152
|
-
readonly name: "from";
|
|
153
|
-
readonly type: "address";
|
|
154
|
-
}, {
|
|
155
|
-
readonly indexed: true;
|
|
156
|
-
readonly name: "to";
|
|
157
|
-
readonly type: "address";
|
|
158
|
-
}, {
|
|
159
|
-
readonly indexed: false;
|
|
160
|
-
readonly name: "value";
|
|
161
|
-
readonly type: "uint256";
|
|
162
|
-
}];
|
|
163
|
-
readonly name: "Transfer";
|
|
164
|
-
readonly type: "event";
|
|
165
|
-
}];
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.abi = void 0;
|
|
4
|
-
exports.abi = [
|
|
5
|
-
{
|
|
6
|
-
constant: true,
|
|
7
|
-
inputs: [],
|
|
8
|
-
name: 'name',
|
|
9
|
-
outputs: [
|
|
10
|
-
{
|
|
11
|
-
name: '',
|
|
12
|
-
type: 'string',
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
payable: false,
|
|
16
|
-
stateMutability: 'view',
|
|
17
|
-
type: 'function',
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
constant: false,
|
|
21
|
-
inputs: [
|
|
22
|
-
{
|
|
23
|
-
name: '_spender',
|
|
24
|
-
type: 'address',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
name: '_value',
|
|
28
|
-
type: 'uint256',
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
name: 'approve',
|
|
32
|
-
outputs: [],
|
|
33
|
-
payable: false,
|
|
34
|
-
stateMutability: 'nonpayable',
|
|
35
|
-
type: 'function',
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
constant: true,
|
|
39
|
-
inputs: [],
|
|
40
|
-
name: 'totalSupply',
|
|
41
|
-
outputs: [
|
|
42
|
-
{
|
|
43
|
-
name: '',
|
|
44
|
-
type: 'uint256',
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
payable: false,
|
|
48
|
-
stateMutability: 'view',
|
|
49
|
-
type: 'function',
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
constant: false,
|
|
53
|
-
inputs: [
|
|
54
|
-
{
|
|
55
|
-
name: '_from',
|
|
56
|
-
type: 'address',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: '_to',
|
|
60
|
-
type: 'address',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: '_value',
|
|
64
|
-
type: 'uint256',
|
|
65
|
-
},
|
|
66
|
-
],
|
|
67
|
-
name: 'transferFrom',
|
|
68
|
-
outputs: [
|
|
69
|
-
{
|
|
70
|
-
name: '',
|
|
71
|
-
type: 'bool',
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
payable: false,
|
|
75
|
-
stateMutability: 'nonpayable',
|
|
76
|
-
type: 'function',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
constant: true,
|
|
80
|
-
inputs: [],
|
|
81
|
-
name: 'decimals',
|
|
82
|
-
outputs: [
|
|
83
|
-
{
|
|
84
|
-
name: '',
|
|
85
|
-
type: 'uint8',
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
payable: false,
|
|
89
|
-
stateMutability: 'view',
|
|
90
|
-
type: 'function',
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
constant: true,
|
|
94
|
-
inputs: [
|
|
95
|
-
{
|
|
96
|
-
name: '_owner',
|
|
97
|
-
type: 'address',
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
name: 'balanceOf',
|
|
101
|
-
outputs: [
|
|
102
|
-
{
|
|
103
|
-
name: 'balance',
|
|
104
|
-
type: 'uint256',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
payable: false,
|
|
108
|
-
stateMutability: 'view',
|
|
109
|
-
type: 'function',
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
constant: true,
|
|
113
|
-
inputs: [],
|
|
114
|
-
name: 'symbol',
|
|
115
|
-
outputs: [
|
|
116
|
-
{
|
|
117
|
-
name: '',
|
|
118
|
-
type: 'string',
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
payable: false,
|
|
122
|
-
stateMutability: 'view',
|
|
123
|
-
type: 'function',
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
constant: false,
|
|
127
|
-
inputs: [
|
|
128
|
-
{
|
|
129
|
-
name: '_to',
|
|
130
|
-
type: 'address',
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
name: '_value',
|
|
134
|
-
type: 'uint256',
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
name: 'transfer',
|
|
138
|
-
outputs: [
|
|
139
|
-
{
|
|
140
|
-
name: '',
|
|
141
|
-
type: 'bool',
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
payable: false,
|
|
145
|
-
stateMutability: 'nonpayable',
|
|
146
|
-
type: 'function',
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
constant: true,
|
|
150
|
-
inputs: [
|
|
151
|
-
{
|
|
152
|
-
name: '_owner',
|
|
153
|
-
type: 'address',
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: '_spender',
|
|
157
|
-
type: 'address',
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
name: 'allowance',
|
|
161
|
-
outputs: [
|
|
162
|
-
{
|
|
163
|
-
name: '',
|
|
164
|
-
type: 'uint256',
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
payable: false,
|
|
168
|
-
stateMutability: 'view',
|
|
169
|
-
type: 'function',
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
payable: true,
|
|
173
|
-
stateMutability: 'payable',
|
|
174
|
-
type: 'fallback',
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
anonymous: false,
|
|
178
|
-
inputs: [
|
|
179
|
-
{
|
|
180
|
-
indexed: true,
|
|
181
|
-
name: 'owner',
|
|
182
|
-
type: 'address',
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
indexed: true,
|
|
186
|
-
name: 'spender',
|
|
187
|
-
type: 'address',
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
indexed: false,
|
|
191
|
-
name: 'value',
|
|
192
|
-
type: 'uint256',
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
name: 'Approval',
|
|
196
|
-
type: 'event',
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
anonymous: false,
|
|
200
|
-
inputs: [
|
|
201
|
-
{
|
|
202
|
-
indexed: true,
|
|
203
|
-
name: 'from',
|
|
204
|
-
type: 'address',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
indexed: true,
|
|
208
|
-
name: 'to',
|
|
209
|
-
type: 'address',
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
indexed: false,
|
|
213
|
-
name: 'value',
|
|
214
|
-
type: 'uint256',
|
|
215
|
-
},
|
|
216
|
-
],
|
|
217
|
-
name: 'Transfer',
|
|
218
|
-
type: 'event',
|
|
219
|
-
},
|
|
220
|
-
];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { abi as dZapCoreAbi } from './DZapCoreAbi';
|
|
2
|
-
import { abi as dZapCoreV2Abi } from './DZapCoreV2Abi';
|
|
3
|
-
import { abi as dZapDcaAbi } from './DZapDcaAbi';
|
|
4
|
-
import { abi as permit2Abi } from './Permit2Abi';
|
|
5
|
-
import { abi as erc20Abi } from './erc20Abi';
|
|
6
|
-
export { dZapCoreAbi, dZapCoreV2Abi, dZapDcaAbi, erc20Abi, permit2Abi };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.permit2Abi = exports.erc20Abi = exports.dZapDcaAbi = exports.dZapCoreV2Abi = exports.dZapCoreAbi = void 0;
|
|
4
|
-
const DZapCoreAbi_1 = require("./DZapCoreAbi");
|
|
5
|
-
Object.defineProperty(exports, "dZapCoreAbi", { enumerable: true, get: function () { return DZapCoreAbi_1.abi; } });
|
|
6
|
-
const DZapCoreV2Abi_1 = require("./DZapCoreV2Abi");
|
|
7
|
-
Object.defineProperty(exports, "dZapCoreV2Abi", { enumerable: true, get: function () { return DZapCoreV2Abi_1.abi; } });
|
|
8
|
-
const DZapDcaAbi_1 = require("./DZapDcaAbi");
|
|
9
|
-
Object.defineProperty(exports, "dZapDcaAbi", { enumerable: true, get: function () { return DZapDcaAbi_1.abi; } });
|
|
10
|
-
const Permit2Abi_1 = require("./Permit2Abi");
|
|
11
|
-
Object.defineProperty(exports, "permit2Abi", { enumerable: true, get: function () { return Permit2Abi_1.abi; } });
|
|
12
|
-
const erc20Abi_1 = require("./erc20Abi");
|
|
13
|
-
Object.defineProperty(exports, "erc20Abi", { enumerable: true, get: function () { return erc20Abi_1.abi; } });
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.erc20Abi = exports.permit2Abi = exports.dZapDcaAbi = exports.dZapCoreV2Abi = exports.dZapCoreAbi = void 0;
|
|
4
|
-
const default_1 = require("./default");
|
|
5
|
-
Object.defineProperty(exports, "dZapCoreAbi", { enumerable: true, get: function () { return default_1.dZapCoreAbi; } });
|
|
6
|
-
Object.defineProperty(exports, "dZapCoreV2Abi", { enumerable: true, get: function () { return default_1.dZapCoreV2Abi; } });
|
|
7
|
-
Object.defineProperty(exports, "dZapDcaAbi", { enumerable: true, get: function () { return default_1.dZapDcaAbi; } });
|
|
8
|
-
Object.defineProperty(exports, "permit2Abi", { enumerable: true, get: function () { return default_1.permit2Abi; } });
|
|
9
|
-
Object.defineProperty(exports, "erc20Abi", { enumerable: true, get: function () { return default_1.erc20Abi; } });
|