@avalabs/evm-module 0.0.23 → 0.1.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.
- package/LICENSE +9 -0
- package/package.json +7 -2
- package/.turbo/turbo-build.log +0 -22
- package/.turbo/turbo-lint.log +0 -4
- package/.turbo/turbo-test.log +0 -119
- package/CHANGELOG.md +0 -174
- package/jest.config.js +0 -9
- package/src/constants.ts +0 -1
- package/src/contracts/openzeppelin/ERC1155.ts +0 -440
- package/src/contracts/openzeppelin/ERC20.ts +0 -330
- package/src/contracts/openzeppelin/ERC721.ts +0 -420
- package/src/contracts/openzeppelin/common.ts +0 -131
- package/src/contracts/openzeppelin/factories/ERC1155__factory.ts +0 -388
- package/src/contracts/openzeppelin/factories/ERC20__factory.ts +0 -353
- package/src/contracts/openzeppelin/factories/ERC721__factory.ts +0 -413
- package/src/contracts/openzeppelin/factories/index.ts +0 -6
- package/src/contracts/openzeppelin/index.ts +0 -10
- package/src/env.ts +0 -25
- package/src/handlers/eth-send-transaction/eth-send-transaction.test.ts +0 -572
- package/src/handlers/eth-send-transaction/eth-send-transaction.ts +0 -189
- package/src/handlers/eth-send-transaction/schema.test.ts +0 -240
- package/src/handlers/eth-send-transaction/schema.ts +0 -20
- package/src/handlers/eth-sign/eth-sign.test.ts +0 -359
- package/src/handlers/eth-sign/eth-sign.ts +0 -158
- package/src/handlers/eth-sign/schemas/eth-sign-typed-data.ts +0 -65
- package/src/handlers/eth-sign/schemas/eth-sign.ts +0 -9
- package/src/handlers/eth-sign/schemas/parse-request-params/fixture.ts +0 -47
- package/src/handlers/eth-sign/schemas/parse-request-params/parse-request-params.test.ts +0 -284
- package/src/handlers/eth-sign/schemas/parse-request-params/parse-request-params.ts +0 -94
- package/src/handlers/eth-sign/schemas/personal-sign.ts +0 -12
- package/src/handlers/eth-sign/schemas/shared.ts +0 -5
- package/src/handlers/eth-sign/utils/beautify-message/beautify-message.test.ts +0 -29
- package/src/handlers/eth-sign/utils/beautify-message/beautify-message.ts +0 -134
- package/src/handlers/eth-sign/utils/is-typed-data-valid.ts +0 -26
- package/src/handlers/eth-sign/utils/typeguards.ts +0 -10
- package/src/handlers/forward-to-rpc-node/forward-to-rpc-node.test.ts +0 -90
- package/src/handlers/forward-to-rpc-node/forward-to-rpc-node.ts +0 -23
- package/src/handlers/get-address/get-address.ts +0 -26
- package/src/handlers/get-balances/evm-balance-service/get-erc20-balances.test.ts +0 -77
- package/src/handlers/get-balances/evm-balance-service/get-erc20-balances.ts +0 -81
- package/src/handlers/get-balances/evm-balance-service/get-native-token-balances.test.ts +0 -96
- package/src/handlers/get-balances/evm-balance-service/get-native-token-balances.ts +0 -53
- package/src/handlers/get-balances/get-balances.test.ts +0 -248
- package/src/handlers/get-balances/get-balances.ts +0 -123
- package/src/handlers/get-balances/glacier-balance-service/get-erc20-balances.test.ts +0 -71
- package/src/handlers/get-balances/glacier-balance-service/get-erc20-balances.ts +0 -106
- package/src/handlers/get-balances/glacier-balance-service/get-native-token-balances.test.ts +0 -59
- package/src/handlers/get-balances/glacier-balance-service/get-native-token-balances.ts +0 -48
- package/src/handlers/get-network-fee/get-network-fee.test.ts +0 -43
- package/src/handlers/get-network-fee/get-network-fee.ts +0 -59
- package/src/handlers/get-tokens/get-tokens.test.ts +0 -100
- package/src/handlers/get-tokens/get-tokens.ts +0 -18
- package/src/handlers/get-transaction-history/converters/etherscan-transaction-converter/convert-transaction-erc20.test.ts +0 -53
- package/src/handlers/get-transaction-history/converters/etherscan-transaction-converter/convert-transaction-erc20.ts +0 -49
- package/src/handlers/get-transaction-history/converters/etherscan-transaction-converter/convert-transaction-normal.test.ts +0 -57
- package/src/handlers/get-transaction-history/converters/etherscan-transaction-converter/convert-transaction-normal.ts +0 -57
- package/src/handlers/get-transaction-history/converters/etherscan-transaction-converter/get-transaction-from-etherscan.test.ts +0 -116
- package/src/handlers/get-transaction-history/converters/etherscan-transaction-converter/get-transaction-from-etherscan.ts +0 -73
- package/src/handlers/get-transaction-history/converters/evm-transaction-converter/convert-transaction.ts +0 -47
- package/src/handlers/get-transaction-history/converters/evm-transaction-converter/get-nft-metadata.ts +0 -35
- package/src/handlers/get-transaction-history/converters/evm-transaction-converter/get-sender-info.ts +0 -38
- package/src/handlers/get-transaction-history/converters/evm-transaction-converter/get-tokens.ts +0 -106
- package/src/handlers/get-transaction-history/converters/evm-transaction-converter/get-transaction-from-glacier.test.ts +0 -222
- package/src/handlers/get-transaction-history/converters/evm-transaction-converter/get-transactions-from-glacier.ts +0 -62
- package/src/handlers/get-transaction-history/converters/evm-transaction-converter/get-tx-type.ts +0 -52
- package/src/handlers/get-transaction-history/get-transaction-history.test.ts +0 -57
- package/src/handlers/get-transaction-history/get-transaction-history.ts +0 -55
- package/src/handlers/get-transaction-history/utils/get-explorer-address-by-network.ts +0 -7
- package/src/handlers/get-transaction-history/utils/get-small-image-for-nft.ts +0 -16
- package/src/handlers/get-transaction-history/utils/ipfs-resolver-with-fallback.ts +0 -18
- package/src/handlers/get-transaction-history/utils/is-ethereum-chain-id.ts +0 -15
- package/src/handlers/get-transaction-history/utils/resolve.ts +0 -7
- package/src/index.ts +0 -3
- package/src/module.ts +0 -141
- package/src/services/glacier-service/glacier-service.ts +0 -238
- package/src/types.ts +0 -25
- package/src/utils/estimate-gas-limit.ts +0 -27
- package/src/utils/get-chain-id.ts +0 -12
- package/src/utils/get-nonce.ts +0 -11
- package/src/utils/get-provider.ts +0 -46
- package/src/utils/parse-erc20-transaction-type.ts +0 -35
- package/src/utils/process-transaction-simulation.test.ts +0 -105
- package/src/utils/process-transaction-simulation.ts +0 -293
- package/src/utils/scan-transaction.ts +0 -63
- package/tsconfig.jest.json +0 -7
- package/tsconfig.json +0 -14
- package/tsup.config.ts +0 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Copyright (C) 2021, Ava Labs, Inc. All rights reserved.
|
|
2
|
+
|
|
3
|
+
Subject to the limited license below (**”License””), you may not, and you may not permit anyone else to, copy, reproduce, aggregate, republish, download, post, distribute, license, sublicense, reverse engineer, modify, or create derivative works based on this software (collectively, **“Software”**).
|
|
4
|
+
|
|
5
|
+
You are hereby granted a limited, non-exclusive, non-sublicensable and non-transferable license to download and use the Software as-is solely (i) for use in connection with the Avalanche Public Blockchain platform, having a NetworkID of 1 (Mainnet) or 5 (Fuji), and associated blockchains, comprised exclusively of the Avalanche X-Chain, C-Chain, P-Chain and any subnets linked to the P-Chain (**“Avalanche Authorized Platform”**) or (ii) for non-production, testing or research purposes without any commercial application within the Avalanche ecosystem (**“Non-Commercial Use”**); provided that, in each case, you may not use or allow use of the Software (a) in connection with any forks of the Avalanche Authorized Platform, (b) in any manner not operationally connected to the Avalanche Authorized Platform other than for Non-Commercial Use, or (c) to the extent the number of monthly active users or the number of total installs of any software that uses the Software across all versions thereof exceeds 10,000 at any time. You may not modify or alter the Software in any way.
|
|
6
|
+
|
|
7
|
+
You hereby acknowledge and agree to the terms set forth at www.avalabs.org/important-notice.
|
|
8
|
+
|
|
9
|
+
**TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED ON AN “AS IS” BASIS, AND AVA LABS EXPRESSLY DISCLAIMS AND EXCLUDES ALL REPRESENTATIONS, WARRANTIES AND OTHER TERMS AND CONDITIONS, WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION BY OPERATION OF LAW OR BY CUSTOM, STATUTE OR OTHERWISE, AND INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTY, TERM, OR CONDITION OF NON-INFRINGEMENT, MERCHANTABILITY, TITLE, OR FITNESS FOR PARTICULAR PURPOSE. YOU USE THE SOFTWARE AT YOUR OWN RISK. AVA LABS EXPRESSLY DISCLAIMS ALL LIABILITY (INCLUDING FOR ALL DIRECT, CONSEQUENTIAL OR OTHER DAMAGES OR LOSSES) RELATED TO ANY USE OF THE SOFTWARE.**
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/evm-module",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"main": "dist/index.cjs",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"manifest.json"
|
|
11
|
+
],
|
|
12
|
+
"license": "Limited Ecosystem License",
|
|
8
13
|
"dependencies": {
|
|
9
|
-
"@avalabs/vm-module-types": "0.0
|
|
14
|
+
"@avalabs/vm-module-types": "0.1.0",
|
|
10
15
|
"@avalabs/coingecko-sdk": "v2.8.0-alpha.195",
|
|
11
16
|
"@avalabs/utils-sdk": "2.8.0-alpha.195",
|
|
12
17
|
"@avalabs/etherscan-sdk": "v2.8.0-alpha.195",
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @avalabs/evm-module@0.0.23 build /home/runner/work/vm-modules/vm-modules/packages/evm-module
|
|
3
|
-
> tsup
|
|
4
|
-
|
|
5
|
-
[34mCLI[39m Building entry: ./src/index.ts
|
|
6
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v7.2.0
|
|
8
|
-
[34mCLI[39m Using tsup config: /home/runner/work/vm-modules/vm-modules/packages/evm-module/tsup.config.ts
|
|
9
|
-
[34mCLI[39m Target: es2021
|
|
10
|
-
[34mCLI[39m Cleaning output folder
|
|
11
|
-
[34mCJS[39m Build start
|
|
12
|
-
[34mESM[39m Build start
|
|
13
|
-
[34mDTS[39m Build start
|
|
14
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m50.18 KB[39m
|
|
15
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m165.04 KB[39m
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in 4556ms
|
|
17
|
-
[32mESM[39m [1mdist/index.js [22m[32m48.29 KB[39m
|
|
18
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m165.04 KB[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in 4560ms
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in 29581ms
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m2.33 KB[39m
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.33 KB[39m
|
package/.turbo/turbo-lint.log
DELETED
package/.turbo/turbo-test.log
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @avalabs/evm-module@0.0.23 test /home/runner/work/vm-modules/vm-modules/packages/evm-module
|
|
3
|
-
> jest
|
|
4
|
-
|
|
5
|
-
PASS src/handlers/eth-send-transaction/eth-send-transaction.test.ts (34.428 s)
|
|
6
|
-
● Console
|
|
7
|
-
|
|
8
|
-
console.error
|
|
9
|
-
invalid params Error: Invalid params
|
|
10
|
-
at Object.<anonymous> (/home/runner/work/vm-modules/vm-modules/packages/evm-module/src/handlers/eth-send-transaction/eth-send-transaction.test.ts:146:14)
|
|
11
|
-
at Promise.then.completed (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
|
|
12
|
-
at new Promise (<anonymous>)
|
|
13
|
-
at callAsyncCircusFn (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
|
|
14
|
-
at _callCircusTest (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
|
|
15
|
-
at _runTest (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
|
|
16
|
-
at _runTestsForDescribeBlock (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
|
|
17
|
-
at _runTestsForDescribeBlock (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
|
|
18
|
-
at run (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
|
|
19
|
-
at runAndTransformResultsToJestFormat (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
|
|
20
|
-
at jestAdapter (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
|
|
21
|
-
at runTestInternal (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
|
|
22
|
-
at runTest (/home/runner/work/vm-modules/vm-modules/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
|
|
23
|
-
|
|
24
|
-
[0m [90m 35 |[39m
|
|
25
|
-
[90m 36 |[39m [36mif[39m ([33m![39mresult[33m.[39msuccess) {
|
|
26
|
-
[31m[1m>[22m[39m[90m 37 |[39m console[33m.[39merror([32m'invalid params'[39m[33m,[39m result[33m.[39merror)[33m;[39m
|
|
27
|
-
[90m |[39m [31m[1m^[22m[39m
|
|
28
|
-
[90m 38 |[39m [36mreturn[39m {
|
|
29
|
-
[90m 39 |[39m error[33m:[39m rpcErrors[33m.[39minvalidParams([32m'Transaction params are invalid'[39m)[33m,[39m
|
|
30
|
-
[90m 40 |[39m }[33m;[39m[0m
|
|
31
|
-
|
|
32
|
-
at ethSendTransaction (src/handlers/eth-send-transaction/eth-send-transaction.ts:37:13)
|
|
33
|
-
at Object.<anonymous> (src/handlers/eth-send-transaction/eth-send-transaction.test.ts:149:46)
|
|
34
|
-
|
|
35
|
-
PASS src/handlers/eth-sign/eth-sign.test.ts
|
|
36
|
-
● Console
|
|
37
|
-
|
|
38
|
-
console.error
|
|
39
|
-
invalid params Invalid params
|
|
40
|
-
|
|
41
|
-
[0m [90m 31 |[39m
|
|
42
|
-
[90m 32 |[39m [36mif[39m ([33m![39mresult[33m.[39msuccess) {
|
|
43
|
-
[31m[1m>[22m[39m[90m 33 |[39m console[33m.[39merror([32m'invalid params'[39m[33m,[39m result[33m.[39merror)[33m;[39m
|
|
44
|
-
[90m |[39m [31m[1m^[22m[39m
|
|
45
|
-
[90m 34 |[39m
|
|
46
|
-
[90m 35 |[39m [36mreturn[39m {
|
|
47
|
-
[90m 36 |[39m success[33m:[39m [36mfalse[39m[33m,[39m[0m
|
|
48
|
-
|
|
49
|
-
at ethSign (src/handlers/eth-sign/eth-sign.ts:33:13)
|
|
50
|
-
at Object.<anonymous> (src/handlers/eth-sign/eth-sign.test.ts:94:33)
|
|
51
|
-
|
|
52
|
-
console.error
|
|
53
|
-
processJsonRpcSimulation error { message: 'schema validation error' }
|
|
54
|
-
|
|
55
|
-
[0m [90m 265 |[39m }
|
|
56
|
-
[90m 266 |[39m } [36mcatch[39m (error) {
|
|
57
|
-
[31m[1m>[22m[39m[90m 267 |[39m console[33m.[39merror([32m'processJsonRpcSimulation error'[39m[33m,[39m error)[33m;[39m
|
|
58
|
-
[90m |[39m [31m[1m^[22m[39m
|
|
59
|
-
[90m 268 |[39m alert [33m=[39m transactionAlerts[[33mAlertType[39m[33m.[39m[33mWARNING[39m][33m;[39m
|
|
60
|
-
[90m 269 |[39m }
|
|
61
|
-
[90m 270 |[39m[0m
|
|
62
|
-
|
|
63
|
-
at processJsonRpcSimulation (src/utils/process-transaction-simulation.ts:267:13)
|
|
64
|
-
at ethSign (src/handlers/eth-sign/eth-sign.ts:119:7)
|
|
65
|
-
at Object.<anonymous> (src/handlers/eth-sign/eth-sign.test.ts:242:20)
|
|
66
|
-
|
|
67
|
-
console.error
|
|
68
|
-
processJsonRpcSimulation error { message: 'schema validation error' }
|
|
69
|
-
|
|
70
|
-
[0m [90m 265 |[39m }
|
|
71
|
-
[90m 266 |[39m } [36mcatch[39m (error) {
|
|
72
|
-
[31m[1m>[22m[39m[90m 267 |[39m console[33m.[39merror([32m'processJsonRpcSimulation error'[39m[33m,[39m error)[33m;[39m
|
|
73
|
-
[90m |[39m [31m[1m^[22m[39m
|
|
74
|
-
[90m 268 |[39m alert [33m=[39m transactionAlerts[[33mAlertType[39m[33m.[39m[33mWARNING[39m][33m;[39m
|
|
75
|
-
[90m 269 |[39m }
|
|
76
|
-
[90m 270 |[39m[0m
|
|
77
|
-
|
|
78
|
-
at processJsonRpcSimulation (src/utils/process-transaction-simulation.ts:267:13)
|
|
79
|
-
at ethSign (src/handlers/eth-sign/eth-sign.ts:119:7)
|
|
80
|
-
at Object.<anonymous> (src/handlers/eth-sign/eth-sign.test.ts:271:20)
|
|
81
|
-
|
|
82
|
-
console.error
|
|
83
|
-
processJsonRpcSimulation error { message: 'schema validation error' }
|
|
84
|
-
|
|
85
|
-
[0m [90m 265 |[39m }
|
|
86
|
-
[90m 266 |[39m } [36mcatch[39m (error) {
|
|
87
|
-
[31m[1m>[22m[39m[90m 267 |[39m console[33m.[39merror([32m'processJsonRpcSimulation error'[39m[33m,[39m error)[33m;[39m
|
|
88
|
-
[90m |[39m [31m[1m^[22m[39m
|
|
89
|
-
[90m 268 |[39m alert [33m=[39m transactionAlerts[[33mAlertType[39m[33m.[39m[33mWARNING[39m][33m;[39m
|
|
90
|
-
[90m 269 |[39m }
|
|
91
|
-
[90m 270 |[39m[0m
|
|
92
|
-
|
|
93
|
-
at processJsonRpcSimulation (src/utils/process-transaction-simulation.ts:267:13)
|
|
94
|
-
at ethSign (src/handlers/eth-sign/eth-sign.ts:119:7)
|
|
95
|
-
at Object.<anonymous> (src/handlers/eth-sign/eth-sign.test.ts:288:20)
|
|
96
|
-
|
|
97
|
-
PASS src/handlers/eth-sign/schemas/parse-request-params/parse-request-params.test.ts
|
|
98
|
-
PASS src/handlers/get-balances/get-balances.test.ts
|
|
99
|
-
PASS src/handlers/get-transaction-history/converters/evm-transaction-converter/get-transaction-from-glacier.test.ts
|
|
100
|
-
PASS src/handlers/eth-send-transaction/schema.test.ts
|
|
101
|
-
PASS src/handlers/get-transaction-history/converters/etherscan-transaction-converter/get-transaction-from-etherscan.test.ts
|
|
102
|
-
PASS src/handlers/get-tokens/get-tokens.test.ts
|
|
103
|
-
PASS src/utils/process-transaction-simulation.test.ts
|
|
104
|
-
PASS src/handlers/get-balances/evm-balance-service/get-native-token-balances.test.ts
|
|
105
|
-
PASS src/handlers/forward-to-rpc-node/forward-to-rpc-node.test.ts
|
|
106
|
-
PASS src/handlers/get-balances/glacier-balance-service/get-erc20-balances.test.ts
|
|
107
|
-
PASS src/handlers/get-balances/evm-balance-service/get-erc20-balances.test.ts
|
|
108
|
-
PASS src/handlers/get-transaction-history/get-transaction-history.test.ts
|
|
109
|
-
PASS src/handlers/get-balances/glacier-balance-service/get-native-token-balances.test.ts
|
|
110
|
-
PASS src/handlers/get-transaction-history/converters/etherscan-transaction-converter/convert-transaction-normal.test.ts
|
|
111
|
-
PASS src/handlers/get-transaction-history/converters/etherscan-transaction-converter/convert-transaction-erc20.test.ts
|
|
112
|
-
PASS src/handlers/get-network-fee/get-network-fee.test.ts
|
|
113
|
-
PASS src/handlers/eth-sign/utils/beautify-message/beautify-message.test.ts
|
|
114
|
-
|
|
115
|
-
Test Suites: 19 passed, 19 total
|
|
116
|
-
Tests: 84 passed, 84 total
|
|
117
|
-
Snapshots: 0 total
|
|
118
|
-
Time: 45.29 s
|
|
119
|
-
Ran all test suites.
|
package/CHANGELOG.md
DELETED
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
# @avalabs/evm-module
|
|
2
|
-
|
|
3
|
-
## 0.0.23
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- fbdefd2: Replace BN with bigint
|
|
8
|
-
- Updated dependencies [fbdefd2]
|
|
9
|
-
- @avalabs/vm-module-types@0.0.23
|
|
10
|
-
|
|
11
|
-
## 0.0.22
|
|
12
|
-
|
|
13
|
-
### Patch Changes
|
|
14
|
-
|
|
15
|
-
- a841a90: handle all eth\_\* methods
|
|
16
|
-
- @avalabs/vm-module-types@0.0.22
|
|
17
|
-
|
|
18
|
-
## 0.0.21
|
|
19
|
-
|
|
20
|
-
### Patch Changes
|
|
21
|
-
|
|
22
|
-
- @avalabs/vm-module-types@0.0.21
|
|
23
|
-
|
|
24
|
-
## 0.0.20
|
|
25
|
-
|
|
26
|
-
### Patch Changes
|
|
27
|
-
|
|
28
|
-
- Updated dependencies [9bfa82d]
|
|
29
|
-
- @avalabs/vm-module-types@0.0.20
|
|
30
|
-
|
|
31
|
-
## 0.0.19
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- 5af458b: Add getBalances to avalanche-module
|
|
36
|
-
- Updated dependencies [5af458b]
|
|
37
|
-
- @avalabs/vm-module-types@0.0.19
|
|
38
|
-
|
|
39
|
-
## 0.0.18
|
|
40
|
-
|
|
41
|
-
### Patch Changes
|
|
42
|
-
|
|
43
|
-
- af310d3: handle blockaid schema error
|
|
44
|
-
- @avalabs/vm-module-types@0.0.18
|
|
45
|
-
|
|
46
|
-
## 0.0.17
|
|
47
|
-
|
|
48
|
-
### Patch Changes
|
|
49
|
-
|
|
50
|
-
- 3590edf: Transaction parsing, validation and simulation for EVM
|
|
51
|
-
- Updated dependencies [3590edf]
|
|
52
|
-
- @avalabs/vm-module-types@0.0.17
|
|
53
|
-
|
|
54
|
-
## 0.0.16
|
|
55
|
-
|
|
56
|
-
### Patch Changes
|
|
57
|
-
|
|
58
|
-
- f39ff3a: Fixe internal dependencies
|
|
59
|
-
- bc48457: add support for all eth_sign methods
|
|
60
|
-
- Updated dependencies [bc48457]
|
|
61
|
-
- @avalabs/vm-module-types@0.0.16
|
|
62
|
-
|
|
63
|
-
## 0.0.15
|
|
64
|
-
|
|
65
|
-
### Patch Changes
|
|
66
|
-
|
|
67
|
-
- f536d58: add module functions to evm-module
|
|
68
|
-
- Updated dependencies [f536d58]
|
|
69
|
-
- @avalabs/vm-module-types@0.0.15
|
|
70
|
-
- @internal/utils@0.0.3
|
|
71
|
-
|
|
72
|
-
## 0.0.14
|
|
73
|
-
|
|
74
|
-
### Patch Changes
|
|
75
|
-
|
|
76
|
-
- 0593258: add getBalances to evm-module
|
|
77
|
-
- Updated dependencies [0593258]
|
|
78
|
-
- @avalabs/vm-module-types@0.0.14
|
|
79
|
-
- @internal/utils@0.0.2
|
|
80
|
-
|
|
81
|
-
## 0.0.13
|
|
82
|
-
|
|
83
|
-
### Patch Changes
|
|
84
|
-
|
|
85
|
-
- d9fa0f5: added getNetworkFee to avalanche module
|
|
86
|
-
- Updated dependencies [af68c81]
|
|
87
|
-
- Updated dependencies [d9fa0f5]
|
|
88
|
-
- @avalabs/vm-module-types@0.0.13
|
|
89
|
-
|
|
90
|
-
## 0.0.12
|
|
91
|
-
|
|
92
|
-
### Patch Changes
|
|
93
|
-
|
|
94
|
-
- d0c2cc9: make module interface more consistent
|
|
95
|
-
- 3d8a9a5: test auto sign commit
|
|
96
|
-
- 7bc6c6e: add eth_sendTransaction handler
|
|
97
|
-
- Updated dependencies [cd97708]
|
|
98
|
-
- Updated dependencies [d0c2cc9]
|
|
99
|
-
- Updated dependencies [7bc6c6e]
|
|
100
|
-
- @avalabs/vm-module-types@0.0.12
|
|
101
|
-
|
|
102
|
-
## 0.0.11
|
|
103
|
-
|
|
104
|
-
### Patch Changes
|
|
105
|
-
|
|
106
|
-
- e62b48a: update getTransactionHistory:getTxType logic
|
|
107
|
-
- @avalabs/vm-module-types@0.0.11
|
|
108
|
-
|
|
109
|
-
## 0.0.10
|
|
110
|
-
|
|
111
|
-
### Patch Changes
|
|
112
|
-
|
|
113
|
-
- 60f36fa: add getTokens function
|
|
114
|
-
- Updated dependencies [60f36fa]
|
|
115
|
-
- @avalabs/vm-module-types@0.0.10
|
|
116
|
-
|
|
117
|
-
## 0.0.9
|
|
118
|
-
|
|
119
|
-
### Patch Changes
|
|
120
|
-
|
|
121
|
-
- 6ffa356: add module functions to evm-module
|
|
122
|
-
- Updated dependencies [6ffa356]
|
|
123
|
-
- @avalabs/vm-module-types@0.0.9
|
|
124
|
-
|
|
125
|
-
## 0.0.8
|
|
126
|
-
|
|
127
|
-
### Patch Changes
|
|
128
|
-
|
|
129
|
-
- Updated dependencies [d1d080f]
|
|
130
|
-
- @avalabs/vm-module-types@0.0.8
|
|
131
|
-
|
|
132
|
-
## 0.0.7
|
|
133
|
-
|
|
134
|
-
### Patch Changes
|
|
135
|
-
|
|
136
|
-
- bb98621: Move types to @avalabs/vm-module-types
|
|
137
|
-
- Updated dependencies [bb98621]
|
|
138
|
-
- @avalabs/vm-module-types@0.0.7
|
|
139
|
-
|
|
140
|
-
## 0.0.6
|
|
141
|
-
|
|
142
|
-
### Patch Changes
|
|
143
|
-
|
|
144
|
-
- 1122704: test release
|
|
145
|
-
- Updated dependencies [1122704]
|
|
146
|
-
- @avalabs/vm-module-types@0.0.6
|
|
147
|
-
|
|
148
|
-
## 0.0.5
|
|
149
|
-
|
|
150
|
-
### Patch Changes
|
|
151
|
-
|
|
152
|
-
- 0b0c52e: Move types to @avalabs/vm-module-types
|
|
153
|
-
- Updated dependencies [0b0c52e]
|
|
154
|
-
- @avalabs/vm-module-types@0.0.3
|
|
155
|
-
|
|
156
|
-
## 0.0.4
|
|
157
|
-
|
|
158
|
-
### Patch Changes
|
|
159
|
-
|
|
160
|
-
- 4b7d5e9: Move types from packages-internal/types to packages/types
|
|
161
|
-
- Updated dependencies [4b7d5e9]
|
|
162
|
-
- @avalabs/vm-module-types@0.0.2
|
|
163
|
-
|
|
164
|
-
## 0.0.3
|
|
165
|
-
|
|
166
|
-
### Patch Changes
|
|
167
|
-
|
|
168
|
-
- 5d5e2e2: Add GetNetworkFee and GetTransactionHistory to evm module
|
|
169
|
-
|
|
170
|
-
## 0.0.2
|
|
171
|
-
|
|
172
|
-
### Patch Changes
|
|
173
|
-
|
|
174
|
-
- 0992961: move types to devDependencies
|
package/jest.config.js
DELETED
package/src/constants.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const DEFAULT_DECIMALS = 18;
|