npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

alia-contracts-spec

v0.1.0

Published

ALIA Quality Network — contract interfaces and ABIs for integration. 12 Solidity interfaces (3 core + 9 adapters) for Score, Allocation, and Pillar D modes consumable on BNB Chain testnet/mainnet.

Readme

alia-contracts-spec

Contract interfaces and integration specifications for ALIA Quality Network.

What

Solidity interfaces for protocols integrating ALIA quality scoring, forecasting, quality-gated allocation, and recourse primitives.

Contents

Core interfaces (src/interfaces/)

  • IScoreEngine.sol — Quality score consumer interface. Returns effective score 0-1000 + freshness flag for any asset.
  • IAllocationAdapter.sol — Canonical adapter interface. Implement for any lending/yield protocol to become eligible quality-gated capital flow.
  • IPillarDMode.sol — Pillar D mode interface. ERC-4626-like vault pattern with mandate-bound deposit/redeem and shares-based accounting.

Adapter negotiation hooks (src/adapters/interfaces/)

Protocol-specific extensions of IAllocationAdapter with native primitives exposed for integration:

  • IAaveV3BNBAdapter.sol
  • IMorphoAdapter.sol
  • IPendleAdapter.sol
  • IKernelAdapter.sol
  • IListaAdapter.sol
  • ISparkAdapter.sol
  • ICompoundAdapter.sol
  • IEulerAdapter.sol
  • ISiloAdapter.sol

Each adapter spec maps to 3-5 days integration work for protocol teams who want to expose their markets to ALIA-routed capital.

Live deployments

Currently deployed on BNB Chain testnet. Contract addresses, ABIs, and verification status published when production rollout completes.

Architecture

ALIA Quality Network ships six composed primitives — Score, Forecast, Execute, Trace, Insure, Resolve — operated by the AGIL backend engine. Smart contracts in this repository describe the integration surface for external protocols.

Full architecture documentation: forthcoming.

License

Business Source License 1.1. See LICENSE.

Production use requires a commercial license from Avvatar Labs SAS. ALIA, ALIA Quality Network, ALIA Verified Badge, Quality-Wrapped, and AGIL are trademarks of Avvatar Labs SAS.

Contact

avvatar.io


NPM consumption

Install: npm install @alia/contracts-spec

Import in TypeScript using IScoreEngine__factory, IPillarDMode__factory, IAllocationAdapter__factory from @alia/contracts-spec. See dist/ for compiled types. Contracts live BNB testnet — full addresses on alia.network/docs.

License BUSL-1.1 (Avvatar Labs SAS, change date 2028-06-01 → MIT).