@yaswap/evm-contracts 3.3.7 → 3.4.0

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.
Files changed (2) hide show
  1. package/package.json +93 -93
  2. package/CHANGELOG.md +0 -323
package/package.json CHANGED
@@ -1,94 +1,94 @@
1
1
  {
2
- "name": "@yaswap/evm-contracts",
3
- "version": "3.3.7",
4
- "description": "",
5
- "author": "yaswap",
6
- "homepage": "",
7
- "license": "ISC",
8
- "dependencies": {
9
- "@openzeppelin/contracts": "^4.4.2"
10
- },
11
- "devDependencies": {
12
- "@codechecks/client": "^0.1.12",
13
- "@commitlint/cli": "^16.1.0",
14
- "@commitlint/config-conventional": "^16.0.0",
15
- "@ethersproject/abi": "5.7.0",
16
- "@ethersproject/abstract-signer": "5.7.0",
17
- "@ethersproject/bignumber": "5.7.0",
18
- "@ethersproject/bytes": "5.7.0",
19
- "@ethersproject/providers": "5.7.0",
20
- "@nomiclabs/hardhat-ethers": "^2.0.4",
21
- "@nomiclabs/hardhat-etherscan": "^3.0.3",
22
- "@nomiclabs/hardhat-waffle": "^2.0.2",
23
- "@typechain/ethers-v5": "^9.0.0",
24
- "@typechain/hardhat": "^4.0.0",
25
- "@types/chai": "^4.3.0",
26
- "@types/fs-extra": "^9.0.13",
27
- "@types/mocha": "^9.1.0",
28
- "@types/node": "^17.0.14",
29
- "@typescript-eslint/eslint-plugin": "^5.10.2",
30
- "@typescript-eslint/parser": "^5.10.2",
31
- "chai": "^4.3.6",
32
- "commitizen": "^4.2.4",
33
- "cross-env": "^7.0.3",
34
- "cz-conventional-changelog": "^3.3.0",
35
- "dotenv": "^15.0.0",
36
- "eslint": "^8.8.0",
37
- "eslint-config-prettier": "^8.3.0",
38
- "ethereum-waffle": "^3.4.0",
39
- "ethers": "5.7.0",
40
- "fs-extra": "^10.0.0",
41
- "hardhat": "^2.8.3",
42
- "hardhat-gas-reporter": "^1.0.7",
43
- "husky": "^7.0.4",
44
- "lint-staged": "^12.3.3",
45
- "lodash": "4.17.21",
46
- "mocha": "^9.2.0",
47
- "pinst": "^2.1.6",
48
- "prettier": "^2.5.1",
49
- "prettier-plugin-solidity": "^1.0.0-beta.19",
50
- "shelljs": "^0.8.5",
51
- "shx": "^0.3.4",
52
- "solhint": "^3.3.6",
53
- "solhint-plugin-prettier": "^0.0.5",
54
- "solidity-coverage": "^0.7.18",
55
- "ts-generator": "^0.1.1",
56
- "ts-node": "^10.4.0",
57
- "typechain": "^7.0.0",
58
- "typescript": "^4.5.5"
59
- },
60
- "files": [
61
- "/contracts",
62
- "artifacts/contracts/**/*.json",
63
- "!artifacts/contracts/**/*.dbg.json"
64
- ],
65
- "keywords": [
66
- "blockchain",
67
- "ethereum",
68
- "hardhat",
69
- "smart-contracts",
70
- "solidity"
71
- ],
72
- "publishConfig": {
73
- "access": "public"
74
- },
75
- "scripts": {
76
- "build": "yarn compile",
77
- "clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./coverage.json",
78
- "commit": "git-cz",
79
- "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
80
- "coverage": "yarn typechain && hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\"",
81
- "deploy": "hardhat deploy:HTLC",
82
- "deploy-multicall": "hardhat deploy:Multicall",
83
- "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
84
- "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
85
- "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
86
- "postpublish": "pinst --enable",
87
- "prepublishOnly": "pinst --disable",
88
- "prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
89
- "prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
90
- "test": "hardhat test",
91
- "verify": "hardhat verify 0x133713376F69C1A67d7f3594583349DFB53d8166",
92
- "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
93
- }
94
- }
2
+ "name": "@yaswap/evm-contracts",
3
+ "version": "3.4.0",
4
+ "description": "",
5
+ "author": "yaswap",
6
+ "homepage": "",
7
+ "license": "ISC",
8
+ "dependencies": {
9
+ "@openzeppelin/contracts": "^4.4.2"
10
+ },
11
+ "devDependencies": {
12
+ "@codechecks/client": "^0.1.12",
13
+ "@commitlint/cli": "^16.1.0",
14
+ "@commitlint/config-conventional": "^16.0.0",
15
+ "@ethersproject/abi": "5.7.0",
16
+ "@ethersproject/abstract-signer": "5.7.0",
17
+ "@ethersproject/bignumber": "5.7.0",
18
+ "@ethersproject/bytes": "5.7.0",
19
+ "@ethersproject/providers": "5.7.0",
20
+ "@nomiclabs/hardhat-ethers": "^2.0.4",
21
+ "@nomiclabs/hardhat-etherscan": "^3.0.3",
22
+ "@nomiclabs/hardhat-waffle": "^2.0.2",
23
+ "@typechain/ethers-v5": "^9.0.0",
24
+ "@typechain/hardhat": "^4.0.0",
25
+ "@types/chai": "^4.3.0",
26
+ "@types/fs-extra": "^9.0.13",
27
+ "@types/mocha": "^9.1.0",
28
+ "@types/node": "^17.0.14",
29
+ "@typescript-eslint/eslint-plugin": "^5.10.2",
30
+ "@typescript-eslint/parser": "^5.10.2",
31
+ "chai": "^4.3.6",
32
+ "commitizen": "^4.2.4",
33
+ "cross-env": "^7.0.3",
34
+ "cz-conventional-changelog": "^3.3.0",
35
+ "dotenv": "^15.0.0",
36
+ "eslint": "^8.8.0",
37
+ "eslint-config-prettier": "^8.3.0",
38
+ "ethereum-waffle": "^3.4.0",
39
+ "ethers": "5.7.0",
40
+ "fs-extra": "^10.0.0",
41
+ "hardhat": "^2.8.3",
42
+ "hardhat-gas-reporter": "^1.0.7",
43
+ "husky": "^7.0.4",
44
+ "lint-staged": "^12.3.3",
45
+ "lodash": "4.17.21",
46
+ "mocha": "^9.2.0",
47
+ "pinst": "^2.1.6",
48
+ "prettier": "^2.5.1",
49
+ "prettier-plugin-solidity": "^1.0.0-beta.19",
50
+ "shelljs": "^0.8.5",
51
+ "shx": "^0.3.4",
52
+ "solhint": "^3.3.6",
53
+ "solhint-plugin-prettier": "^0.0.5",
54
+ "solidity-coverage": "^0.7.18",
55
+ "ts-generator": "^0.1.1",
56
+ "ts-node": "^10.4.0",
57
+ "typechain": "^7.0.0",
58
+ "typescript": "^4.5.5"
59
+ },
60
+ "files": [
61
+ "/contracts",
62
+ "artifacts/contracts/**/*.json",
63
+ "!artifacts/contracts/**/*.dbg.json"
64
+ ],
65
+ "keywords": [
66
+ "blockchain",
67
+ "ethereum",
68
+ "hardhat",
69
+ "smart-contracts",
70
+ "solidity"
71
+ ],
72
+ "publishConfig": {
73
+ "access": "public"
74
+ },
75
+ "scripts": {
76
+ "build": "yarn compile",
77
+ "clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./coverage.json",
78
+ "commit": "git-cz",
79
+ "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
80
+ "coverage": "yarn typechain && hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\"",
81
+ "deploy": "hardhat deploy:HTLC",
82
+ "deploy-multicall": "hardhat deploy:Multicall",
83
+ "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
84
+ "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
85
+ "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
86
+ "postpublish": "pinst --enable",
87
+ "prepublishOnly": "pinst --disable",
88
+ "prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
89
+ "prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
90
+ "test": "hardhat test",
91
+ "verify": "hardhat verify 0x133713376F69C1A67d7f3594583349DFB53d8166",
92
+ "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
93
+ }
94
+ }
package/CHANGELOG.md DELETED
@@ -1,323 +0,0 @@
1
- # @yaswap/evm-contracts
2
-
3
- ## 3.3.7
4
-
5
- ### Patch Changes
6
-
7
- - Add boolean param to convert token/nft name
8
-
9
- ## 3.3.6
10
-
11
- ### Patch Changes
12
-
13
- - Pump to version v3.3.6
14
-
15
- ## 3.3.5
16
-
17
- ### Patch Changes
18
-
19
- - Correct the logic to calculate correct transaction size for sweeping case
20
-
21
- ## 3.3.4
22
-
23
- ### Patch Changes
24
-
25
- - Correct the logic to calculate correct transaction size for sweeping case
26
-
27
- ## 3.3.3
28
-
29
- ### Patch Changes
30
-
31
- - Send transaction with fixed inputss
32
-
33
- ## 3.3.2
34
-
35
- ### Patch Changes
36
-
37
- - Modify selectCoins to not use fixedInputs anymore
38
-
39
- ## 3.3.1
40
-
41
- ### Patch Changes
42
-
43
- - Modify to calculate correct transaction fee for fixed inputs
44
-
45
- ## 3.3.0
46
-
47
- ### Minor Changes
48
-
49
- - Support API for bitcoin utxo consolidation
50
-
51
- ## 3.2.1
52
-
53
- ### Patch Changes
54
-
55
- - Lower number requests
56
-
57
- ## 3.2.0
58
-
59
- ### Minor Changes
60
-
61
- - Add DogecoinSingleWallet
62
-
63
- ## 3.1.0
64
-
65
- ### Minor Changes
66
-
67
- - Integrate new dogecoin explorer
68
-
69
- ## 3.0.1
70
-
71
- ### Patch Changes
72
-
73
- - Handle AxiosError in case the transaction/block not found
74
-
75
- ## 3.0.0
76
-
77
- ### Major Changes
78
-
79
- - Support manifest v3
80
-
81
- ## 2.10.7
82
-
83
- ### Patch Changes
84
-
85
- - Pump to version v2.10.7
86
-
87
- ## 2.10.6
88
-
89
- ### Patch Changes
90
-
91
- - Pump to version v2.10.6
92
-
93
- ## 2.10.5
94
-
95
- ### Patch Changes
96
-
97
- - Pump to version v2.10.5
98
-
99
- ## 2.10.4
100
-
101
- ### Patch Changes
102
-
103
- - Pump to version v2.10.4
104
-
105
- ## 2.10.3
106
-
107
- ### Patch Changes
108
-
109
- - Pump to version v2.10.3
110
-
111
- ## 2.10.2
112
-
113
- ### Patch Changes
114
-
115
- - Pump to version v2.10.2
116
-
117
- ## 2.10.1
118
-
119
- ### Patch Changes
120
-
121
- - Pump to version v2.10.1
122
-
123
- ## 2.10.0
124
-
125
- ### Minor Changes
126
-
127
- - Use latest axios which support fetch adapter
128
-
129
- ## 2.9.4
130
-
131
- ### Patch Changes
132
-
133
- - Change bitcoin fee API endpoint
134
-
135
- ## 2.9.3
136
-
137
- ### Patch Changes
138
-
139
- - Change IPFS endpoint
140
-
141
- ## 2.9.2
142
-
143
- ### Patch Changes
144
-
145
- - Support HEAD request for @yaswap/client
146
-
147
- ## 2.9.1
148
-
149
- ### Patch Changes
150
-
151
- - Reset metadata before fetching from ipfs gateway
152
-
153
- ## 2.9.0
154
-
155
- ### Minor Changes
156
-
157
- - Integrate with self-hosted IPFS node
158
-
159
- ## 2.8.0
160
-
161
- ### Minor Changes
162
-
163
- - Add new return info to chain.getTokenBalance and nft.fetch
164
-
165
- ## 2.7.7
166
-
167
- ### Patch Changes
168
-
169
- - Remove debug log
170
-
171
- ## 2.7.6
172
-
173
- ### Patch Changes
174
-
175
- - Fetch multiple YA-NFT info at one time
176
-
177
- ## 2.7.5
178
-
179
- ### Patch Changes
180
-
181
- - Throw fee in InsufficientBalanceError for Yacoin
182
-
183
- ## 2.7.4
184
-
185
- ### Patch Changes
186
-
187
- - Correct formular to calculate yacoin transaction bytes
188
-
189
- ## 2.7.3
190
-
191
- ### Patch Changes
192
-
193
- - Change ipfs endpoint and timeout for getting token metadata
194
-
195
- ## 2.7.2
196
-
197
- ### Patch Changes
198
-
199
- - Init YacoinSingleWallet
200
-
201
- ## 2.7.1
202
-
203
- ### Patch Changes
204
-
205
- - Use bitcoinselect
206
-
207
- ## 2.7.0
208
-
209
- ### Minor Changes
210
-
211
- - Finalize single wallet version
212
-
213
- ## 2.6.6
214
-
215
- ### Patch Changes
216
-
217
- - Remove debug log
218
-
219
- ## 2.6.5
220
-
221
- ### Patch Changes
222
-
223
- - Use electrumClient to get transaction hex
224
-
225
- ## 2.6.4
226
-
227
- ### Patch Changes
228
-
229
- - Fix issue relating to integrate electrumClient
230
-
231
- ## 2.6.3
232
-
233
- ### Patch Changes
234
-
235
- - Replace blockCypher with electrumClient
236
-
237
- ## 2.6.2
238
-
239
- ### Patch Changes
240
-
241
- - Improve error handling
242
-
243
- ## 2.6.1
244
-
245
- ### Patch Changes
246
-
247
- - Fix issue which failed to get block info
248
-
249
- ## 2.6.0
250
-
251
- ### Minor Changes
252
-
253
- - Support dogecoin chain
254
-
255
- ## 2.5.3
256
-
257
- ### Patch Changes
258
-
259
- - Support documents field in token metadata
260
-
261
- ## 2.5.2
262
-
263
- ### Patch Changes
264
-
265
- - Add missing logic to find claim and refund transaction for EVM chain
266
-
267
- ## 2.5.1
268
-
269
- ### Patch Changes
270
-
271
- - Fix issue which fails to initiate swap transaction for YAC
272
-
273
- ## 2.5.0
274
-
275
- ### Minor Changes
276
-
277
- - Support litecoin chain
278
-
279
- ## 2.4.0
280
-
281
- ### Minor Changes
282
-
283
- - Add API to getBaseURL
284
-
285
- ## 2.3.3
286
-
287
- ### Patch Changes
288
-
289
- - Change timelock values to production
290
-
291
- ## 2.3.2
292
-
293
- ### Patch Changes
294
-
295
- - Fix token issues
296
-
297
- ## 2.3.1
298
-
299
- ### Patch Changes
300
-
301
- - Change timelock fee duration and amount
302
-
303
- ## 2.3.0
304
-
305
- ### Minor Changes
306
-
307
- - Support create YA-Token/YA-NFT
308
-
309
- ## 2.2.0
310
-
311
- ### Minor Changes
312
-
313
- - Integrate YA-token/YA-NFT
314
-
315
- ## 2.1.0
316
-
317
- ### Minor Changes
318
-
319
- - Support batch request for Yacoin
320
-
321
- ## 2.0.0
322
-
323
- - First version