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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@silo-finance/address-book

v0.0.1

Published

Contract addresses and ABIs for Silo Finance protocol across all supported chains

Downloads

143

Readme

@silo-finance/address-book

Contract addresses and ABIs for Silo Finance protocol across all supported chains.

Installation

npm install @silo-finance/address-book
pnpm add @silo-finance/address-book

Supported Chains

| Chain | Key | Chain ID | |-------|-----|----------| | Ethereum | ethereum | 1 | | Arbitrum | arbitrum | 42161 | | Optimism | optimism | 10 | | Base | base | 8453 | | Sonic | sonic | 146 | | Ink | ink | 57073 | | Avalanche | avalanche | 43114 | | XDC | xdc | 50 | | Injective | injective | 2525 |

Usage

Import Everything

import { siloLensAddress, siloAbi, ChainKey } from "@silo-finance/address-book";

Import Specific Modules

// Addresses only
import { siloLensAddress, siloRouterV2Address } from "@silo-finance/address-book/addresses";

// ABIs only
import { siloAbi, siloLensAbi } from "@silo-finance/address-book/abis";

// Chain utilities
import { chainKeys, chainIds, getChainKeyFromId } from "@silo-finance/address-book/chains";

Addresses

Each address export is a Record<ChainKey, Address>:

import { siloLensAddress, siloRouterV2Address } from "@silo-finance/address-book";

// Access by chain key
const lens = siloLensAddress.arbitrum;    // "0x8509b92145Bb2645F47c6847Bb61A46bE61AE3F2"
const router = siloRouterV2Address.sonic; // "0x21CfE326634c6ba3737F513ecaDCcCbB7500B59c"

Available Addresses

Core Contracts

  • siloAddress - Silo implementation
  • siloLensAddress - SiloLens (view functions)
  • siloRouterV2Address - Router for user interactions

Factory Contracts

  • siloFactoryAddress - SiloFactory v1
  • siloFactoryV2Address - SiloFactory v2
  • siloVaultsFactoryAddresses - SiloVaultsFactory (array per chain)

Interest Rate Models

  • interestRateModelV2Address - InterestRateModelV2 (PI model)
  • dynamicKinkModelFactoryAddress - DynamicKinkModelFactory

Share Tokens

  • shareDebtTokenAddress - ShareDebtToken implementation
  • shareProtectedCollateralTokenAddress - ShareProtectedCollateralToken

Incentives

  • siloIncentivesControllerFactoryAddresses - Incentives controllers (array per chain)

xSilo

  • xSiloAddress - xSilo staking contract
  • siloTokenAddress - SILO token

Leverage

  • leverageRouterAddress - Leverage router

Utilities

  • MULTICALL3_ADDRESS - Multicall3 (same on all chains)
  • ADDRESS_ZERO - Zero address constant

Utility Functions

import {
  getContractAddress,
  hasContractDeployed,
  ADDRESS_ZERO,
} from "@silo-finance/address-book";

// Get address, returns null if not deployed
const address = getContractAddress(siloLensAddress, "arbitrum");

// Check if deployed on chain
const isDeployed = hasContractDeployed(siloFactoryV2Address, "ethereum"); // true
const notDeployed = hasContractDeployed(siloFactoryV2Address, "base");     // false

ABIs

TypeScript-typed ABIs for viem/wagmi compatibility:

import {
  siloAbi,
  siloLensAbi,
  siloConfigAbi,
  siloRouterAbi,
  siloOracleAbi,
  erc20Abi,
  shareTokenAbi,
  siloVaultAbi,
  interestRateModelV2Abi,
  dynamicKinkModelAbi,
  xSiloAbi,
  leverageRouterAbi,
  siloIncentivesControllerAbi,
  gaugeHookReceiverAbi,
} from "@silo-finance/address-book/abis";

Usage with Viem

import { createPublicClient, http } from "viem";
import { arbitrum } from "viem/chains";
import { siloLensAddress } from "@silo-finance/address-book";
import { siloLensAbi } from "@silo-finance/address-book/abis";

const client = createPublicClient({ chain: arbitrum, transport: http() });

const result = await client.readContract({
  address: siloLensAddress.arbitrum,
  abi: siloLensAbi,
  functionName: "someFunction",
  args: [...],
});

Chain Utilities

import {
  ChainKey,
  chainKeys,
  chainIds,
  chainConfigs,
  isChainKey,
  getChainKeyFromId,
  getChainConfig,
  DEFAULT_CHAIN,
} from "@silo-finance/address-book/chains";

// Type
const chain: ChainKey = "arbitrum";

// All supported chains
chainKeys; // ["ethereum", "arbitrum", "optimism", ...]

// Chain IDs
chainIds.arbitrum; // 42161

// Get chain key from ID
getChainKeyFromId(42161); // "arbitrum"
getChainKeyFromId(999);   // null

// Type guard
if (isChainKey(userInput)) {
  // userInput is ChainKey
}

// Full chain config
const config = getChainConfig("arbitrum");
// { key: "arbitrum", chainId: 42161, label: "Arbitrum", slug: "arbitrum" }

// Default chain
DEFAULT_CHAIN; // "arbitrum"

License

MIT