variance_dart 0.2.0
variance_dart: ^0.2.0 copied to clipboard
An Account Abstraction (4337) Development kit, for quickly building mobile web3 apps and smart wallets.
We analyzed this package 15 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Documentation URL doesn't exist.
At the time of the analysis https://docs.variance.space was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
135 out of 344 API elements (39.2 %) have documentation comments.
Some symbols that are missing documentation: variance_dart, variance_dart.Addresses, variance_dart.Addresses.entrypointv06, variance_dart.Addresses.entrypointv07, variance_dart.Addresses.lightAccountFactoryAddressv06.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:variance_dart/variance_dart.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:variance_dart/variance_dart.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:variance_dart/variance_dart.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:variance_dart/variance_dart.dartthat imports:package:variance_dart/src/interfaces/interfaces.dartthat imports:package:web3_signers/web3_signers.dartthat imports:package:web3_signers/src/web3_signers_base.dartthat imports:package:web3_signers/src/utils/utils.dartthat imports:package:web3_signers/src/interfaces/interfaces.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat imports:package:passkeys_doctor/src/types/exception_messages.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:variance_dart/variance_dart.dartthat imports:package:variance_dart/src/interfaces/interfaces.dartthat imports:package:web3_signers/web3_signers.dartthat imports:package:web3_signers/src/web3_signers_base.dartthat imports:package:web3_signers/src/utils/utils.dartthat imports:package:web3_signers/src/interfaces/interfaces.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:variance_dart/variance_dart.dartthat imports:package:variance_dart/src/interfaces/interfaces.dartthat imports:package:web3_signers/web3_signers.dartthat imports:package:web3_signers/src/web3_signers_base.dartthat imports:package:web3_signers/src/utils/utils.dartthat imports:package:web3_signers/src/interfaces/interfaces.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat declares support for platforms:Android.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:variance_dart/variance_dart.dartthat imports:package:variance_dart/src/interfaces/interfaces.dartthat imports:package:web3_signers/web3_signers.dartthat imports:package:web3_signers/src/web3_signers_base.dartthat imports:package:web3_signers/src/utils/utils.dartthat imports:package:web3_signers/src/interfaces/interfaces.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat imports:package:passkeys_doctor/src/types/exception_messages.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: The file name '7579_abis.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/abis/7579_abis.dart
INFO: 'callGasMultiplierPercentage' is deprecated and shouldn't be used. Use callGas instead.
lib/src/actions/gas_overrides_actions.dart:83:29
╷
83 │ state.gasOverrides!.callGasMultiplierPercentage / 100 + 1;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/actions/gas_overrides_actions.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
eip1559 |
^0.6.2 |
0.6.2 | 0.6.2 | |
http |
^1.4.0 |
1.5.0 | 1.5.0 | |
web3_signers |
^0.2.0 |
0.2.0 | 0.2.1 | |
web3dart |
^2.7.3 |
2.7.3 | 3.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
blockchain_utils |
- | 5.2.0 | 5.2.0 | |
buffer |
- | 1.2.3 | 1.2.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
device_info_plus |
- | 11.5.0 | 12.2.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
eip55 |
- | 1.0.2 | 1.0.3 | |
equatable |
- | 2.0.7 | 2.0.7 | |
eth_sig_util |
- | 0.0.9 | 0.0.9 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
json_rpc_2 |
- | 3.0.3 | 4.0.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_info_plus |
- | 8.3.1 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
passkeys |
- | 2.15.1 | 2.15.1 | |
passkeys_android |
- | 2.11.0 | 2.11.0 | |
passkeys_darwin |
- | 0.2.0 | 0.2.0 | |
passkeys_doctor |
- | 1.2.0 | 1.2.0 | |
passkeys_ios |
- | 2.9.0 | 2.9.0 | Discontinued |
passkeys_platform_interface |
- | 2.4.0 | 2.4.0 | |
passkeys_web |
- | 2.7.0 | 2.7.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
sec |
- | 1.1.0 | 1.1.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
ua_client_hints |
- | 1.4.1 | 1.4.1 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wallet |
- | 0.0.13 | 0.0.18 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.7.3` on web3dart does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web3dart to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Flutter 3.35.6, Dart 3.9.2.
Check the analysis log for details.