Catalog npm
PACKAGE EXPLORERView in registry

@0xslots/contracts

npm

Contract ABIs and addresses for 0xSlots protocol

Versions collected37
Direct dependencies6From release 1.1.0
Last observed21 Oct, 11:29 UTC

README

Current package documentation

@0xslots/contracts

Contract ABIs and addresses for the 0xSlots protocol, generated by wagmi generate from the Foundry build and the deployment records in apps/contracts/deployments.

Installation

pnpm add @0xslots/contracts viem

Usage

import { createPublicClient, http } from "viem";
import { anvil } from "viem/chains";
import { slotFactoryAbi, slotFactoryAddress } from "@0xslots/contracts";

const client = createPublicClient({ chain: anvil, transport: http() });
const factory = slotFactoryAddress[anvil.id]; // Address | undefined

if (factory) {
  // The beacon implementation every slot proxy points at.
  const implementation = await client.readContract({
    address: factory,
    abi: slotFactoryAbi,
    functionName: "implementation",
  });
}

Everything is also exported from @0xslots/contracts/slots.

Exports

ABIs

ExportContract
slotAbiAn individual Slot
slotFactoryAbiSlotFactory — deploys slots behind one beacon
offerBookAbiOfferBook — standing bids and the fill
minimumTenureModuleAbiMinimumTenureModule
adLandAbiAdLand
slotCollectiveAbi, slotCollectiveFactoryAbiSlotCollective — split + role-gated management — and its factory
slotBoundNftAbi, slotBoundNftFactoryAbi, slotBoundNftWrapperAbiSlot-bound NFT collections, their factory, and the wrapper for existing ERC-721s

Addresses

Per-chain maps, typed Partial<Record<number, Address>> — a contract is present on exactly the chains that have a deployment record carrying a version:

slotFactoryAddress, offerBookAddress, minimumTenureModuleAddress, adLandAddress, slotCollectiveFactoryAddress, slotImplementationAddress and slotCollectiveImplementationAddress (the beacon implementations, not individual slots). slotBoundNftFactoryAddress and slotBoundNftWrapperAddress come straight from codegen, which only emits them when a record exists.

deployBlockOf(contract, chainId) returns the block a contract was deployed at — the lower bound for any historical log query — or undefined where there is no record.

Modules

knownModules[chainId] lists the modules a client can offer by name, and findKnownModule(chainId, address) names one or returns undefined. Both are derived from the deployment records, so a module appears on exactly the chains it is deployed to.

Chains

import { CHAINS, DEFAULT_CHAIN, isDeployedOn } from "@0xslots/contracts";

CHAINS is derived from slotFactoryAddress, sorted local, then testnets, then mainnets. Anvil is filtered out unless NODE_ENV === "development" — bundlers inline NODE_ENV, so a production build drops it at compile time. The address maps themselves are unconditional.

Supported networks

The current protocol is not deployed on a public chain yet. pnpm dev:local deploys it to anvil (31337), and pnpm codegen in this package picks those records up. Use the exported values rather than copying an address.

License

MIT

Downloads & popularity

0downloads
1-day window · source-reported counts22 Oct 2026
399199.50
2026-07-25: 41 · observed 2026-10-23T12:22:25.5224553Z · period 2026-07-25–2026-07-252026-07-26: 46 · observed 2026-10-23T12:22:25.5224553Z · period 2026-07-26–2026-07-262026-07-27: 145 · observed 2026-10-23T12:22:25.5224553Z · period 2026-07-27–2026-07-272026-07-28: 18 · observed 2026-10-23T12:22:25.5224553Z · period 2026-07-28–2026-07-282026-07-29: 37 · observed 2026-10-23T12:22:25.5224553Z · period 2026-07-29–2026-07-292026-07-30: 22 · observed 2026-10-23T12:22:25.5224553Z · period 2026-07-30–2026-07-302026-07-31: 37 · observed 2026-10-23T12:22:25.5224553Z · period 2026-07-31–2026-07-312026-08-01: 11 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-01–2026-08-012026-08-02: 7 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-02–2026-08-022026-08-03: 153 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-03–2026-08-032026-08-04: 146 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-04–2026-08-042026-08-05: 25 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-05–2026-08-052026-08-06: 32 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-06–2026-08-062026-08-07: 27 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-07–2026-08-072026-08-08: 145 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-08–2026-08-082026-08-09: 45 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-09–2026-08-092026-08-10: 217 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-10–2026-08-102026-08-11: 148 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-11–2026-08-112026-08-12: 306 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-12–2026-08-122026-08-13: 71 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-13–2026-08-132026-08-14: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-14–2026-08-142026-08-15: 399 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-15–2026-08-152026-08-16: 222 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-16–2026-08-162026-08-17: 153 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-17–2026-08-172026-08-18: 26 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-18–2026-08-182026-08-19: 47 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-19–2026-08-192026-08-20: 16 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-20–2026-08-202026-08-21: 85 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-21–2026-08-212026-08-22: 40 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-22–2026-08-222026-08-23: 36 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-23–2026-08-232026-08-24: 69 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-24–2026-08-242026-08-25: 14 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-25–2026-08-252026-08-26: 41 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-26–2026-08-262026-08-27: 68 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-27–2026-08-272026-08-28: 83 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-28–2026-08-282026-08-29: 6 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-29–2026-08-292026-08-30: 22 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-30–2026-08-302026-08-31: 1 · observed 2026-10-23T12:22:25.5224553Z · period 2026-08-31–2026-08-312026-09-01: 21 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-01–2026-09-012026-09-02: 5 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-02–2026-09-022026-09-03: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-03–2026-09-032026-09-04: 164 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-04–2026-09-042026-09-05: 1 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-05–2026-09-052026-09-06: 3 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-06–2026-09-062026-09-07: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-07–2026-09-072026-09-08: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-08–2026-09-082026-09-09: 163 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-09–2026-09-092026-09-10: 42 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-10–2026-09-102026-09-11: 164 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-11–2026-09-112026-09-12: 99 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-12–2026-09-122026-09-13: 65 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-13–2026-09-132026-09-14: 64 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-14–2026-09-142026-09-15: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-15–2026-09-152026-09-16: 7 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-16–2026-09-162026-09-17: 44 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-17–2026-09-172026-09-18: 9 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-18–2026-09-182026-09-19: 15 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-19–2026-09-192026-09-20: 21 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-20–2026-09-202026-09-21: 14 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-21–2026-09-212026-09-22: 2 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-22–2026-09-222026-09-23: 2 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-23–2026-09-232026-09-24: 15 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-24–2026-09-242026-09-25: 1 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-25–2026-09-252026-09-26: 1 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-26–2026-09-262026-09-27: 16 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-27–2026-09-272026-09-28: 1 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-28–2026-09-282026-09-29: 2 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-29–2026-09-292026-09-30: 227 · observed 2026-10-23T12:22:25.5224553Z · period 2026-09-30–2026-09-302026-10-01: 46 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-01–2026-10-012026-10-02: 28 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-02–2026-10-022026-10-03: 29 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-03–2026-10-032026-10-04: 9 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-04–2026-10-042026-10-05: 40 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-05–2026-10-052026-10-06: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-06–2026-10-062026-10-07: 9 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-07–2026-10-072026-10-08: 15 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-08–2026-10-082026-10-09: 17 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-09–2026-10-092026-10-10: 15 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-10–2026-10-102026-10-11: 13 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-11–2026-10-112026-10-12: 6 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-12–2026-10-122026-10-13: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-13–2026-10-132026-10-14: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-14–2026-10-142026-10-15: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-15–2026-10-152026-10-16: 1 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-16–2026-10-162026-10-17: 5 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-17–2026-10-172026-10-18: 42 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-18–2026-10-182026-10-19: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-19–2026-10-192026-10-20: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-20–2026-10-202026-10-21: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-21–2026-10-212026-10-22: 0 · observed 2026-10-23T12:22:25.5224553Z · period 2026-10-22–2026-10-22
25 Jul22 Oct

npm · 90 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-22 – 2026-10-2202026-10-23T12:22:25.5224553Z
2026-10-21 – 2026-10-2102026-10-23T12:22:25.5224553Z
2026-10-20 – 2026-10-2002026-10-23T12:22:25.5224553Z
2026-10-19 – 2026-10-1902026-10-23T12:22:25.5224553Z
2026-10-18 – 2026-10-18422026-10-23T12:22:25.5224553Z
2026-10-17 – 2026-10-1752026-10-23T12:22:25.5224553Z
2026-10-16 – 2026-10-1612026-10-23T12:22:25.5224553Z
2026-10-15 – 2026-10-1502026-10-23T12:22:25.5224553Z
2026-10-14 – 2026-10-1402026-10-23T12:22:25.5224553Z
2026-10-13 – 2026-10-1302026-10-23T12:22:25.5224553Z
2026-10-12 – 2026-10-1262026-10-23T12:22:25.5224553Z
2026-10-11 – 2026-10-11132026-10-23T12:22:25.5224553Z
2026-10-10 – 2026-10-10152026-10-23T12:22:25.5224553Z
2026-10-09 – 2026-10-09172026-10-23T12:22:25.5224553Z
2026-10-08 – 2026-10-08152026-10-23T12:22:25.5224553Z
2026-10-07 – 2026-10-0792026-10-23T12:22:25.5224553Z
2026-10-06 – 2026-10-0602026-10-23T12:22:25.5224553Z
2026-10-05 – 2026-10-05402026-10-23T12:22:25.5224553Z
2026-10-04 – 2026-10-0492026-10-23T12:22:25.5224553Z
2026-10-03 – 2026-10-03292026-10-23T12:22:25.5224553Z
2026-10-02 – 2026-10-02282026-10-23T12:22:25.5224553Z
2026-10-01 – 2026-10-01462026-10-23T12:22:25.5224553Z
2026-09-30 – 2026-09-302272026-10-23T12:22:25.5224553Z
2026-09-29 – 2026-09-2922026-10-23T12:22:25.5224553Z
2026-09-28 – 2026-09-2812026-10-23T12:22:25.5224553Z
2026-09-27 – 2026-09-27162026-10-23T12:22:25.5224553Z
2026-09-26 – 2026-09-2612026-10-23T12:22:25.5224553Z
2026-09-25 – 2026-09-2512026-10-23T12:22:25.5224553Z
2026-09-24 – 2026-09-24152026-10-23T12:22:25.5224553Z
2026-09-23 – 2026-09-2322026-10-23T12:22:25.5224553Z
2026-09-22 – 2026-09-2222026-10-23T12:22:25.5224553Z
2026-09-21 – 2026-09-21142026-10-23T12:22:25.5224553Z
2026-09-20 – 2026-09-20212026-10-23T12:22:25.5224553Z
2026-09-19 – 2026-09-19152026-10-23T12:22:25.5224553Z
2026-09-18 – 2026-09-1892026-10-23T12:22:25.5224553Z
2026-09-17 – 2026-09-17442026-10-23T12:22:25.5224553Z
2026-09-16 – 2026-09-1672026-10-23T12:22:25.5224553Z
2026-09-15 – 2026-09-1502026-10-23T12:22:25.5224553Z
2026-09-14 – 2026-09-14642026-10-23T12:22:25.5224553Z
2026-09-13 – 2026-09-13652026-10-23T12:22:25.5224553Z
2026-09-12 – 2026-09-12992026-10-23T12:22:25.5224553Z
2026-09-11 – 2026-09-111642026-10-23T12:22:25.5224553Z
2026-09-10 – 2026-09-10422026-10-23T12:22:25.5224553Z
2026-09-09 – 2026-09-091632026-10-23T12:22:25.5224553Z
2026-09-08 – 2026-09-0802026-10-23T12:22:25.5224553Z
2026-09-07 – 2026-09-0702026-10-23T12:22:25.5224553Z
2026-09-06 – 2026-09-0632026-10-23T12:22:25.5224553Z
2026-09-05 – 2026-09-0512026-10-23T12:22:25.5224553Z
2026-09-04 – 2026-09-041642026-10-23T12:22:25.5224553Z
2026-09-03 – 2026-09-0302026-10-23T12:22:25.5224553Z
2026-09-02 – 2026-09-0252026-10-23T12:22:25.5224553Z
2026-09-01 – 2026-09-01212026-10-23T12:22:25.5224553Z
2026-08-31 – 2026-08-3112026-10-23T12:22:25.5224553Z
2026-08-30 – 2026-08-30222026-10-23T12:22:25.5224553Z
2026-08-29 – 2026-08-2962026-10-23T12:22:25.5224553Z
2026-08-28 – 2026-08-28832026-10-23T12:22:25.5224553Z
2026-08-27 – 2026-08-27682026-10-23T12:22:25.5224553Z
2026-08-26 – 2026-08-26412026-10-23T12:22:25.5224553Z
2026-08-25 – 2026-08-25142026-10-23T12:22:25.5224553Z
2026-08-24 – 2026-08-24692026-10-23T12:22:25.5224553Z
2026-08-23 – 2026-08-23362026-10-23T12:22:25.5224553Z
2026-08-22 – 2026-08-22402026-10-23T12:22:25.5224553Z
2026-08-21 – 2026-08-21852026-10-23T12:22:25.5224553Z
2026-08-20 – 2026-08-20162026-10-23T12:22:25.5224553Z
2026-08-19 – 2026-08-19472026-10-23T12:22:25.5224553Z
2026-08-18 – 2026-08-18262026-10-23T12:22:25.5224553Z
2026-08-17 – 2026-08-171532026-10-23T12:22:25.5224553Z
2026-08-16 – 2026-08-162222026-10-23T12:22:25.5224553Z
2026-08-15 – 2026-08-153992026-10-23T12:22:25.5224553Z
2026-08-14 – 2026-08-1402026-10-23T12:22:25.5224553Z
2026-08-13 – 2026-08-13712026-10-23T12:22:25.5224553Z
2026-08-12 – 2026-08-123062026-10-23T12:22:25.5224553Z
2026-08-11 – 2026-08-111482026-10-23T12:22:25.5224553Z
2026-08-10 – 2026-08-102172026-10-23T12:22:25.5224553Z
2026-08-09 – 2026-08-09452026-10-23T12:22:25.5224553Z
2026-08-08 – 2026-08-081452026-10-23T12:22:25.5224553Z
2026-08-07 – 2026-08-07272026-10-23T12:22:25.5224553Z
2026-08-06 – 2026-08-06322026-10-23T12:22:25.5224553Z
2026-08-05 – 2026-08-05252026-10-23T12:22:25.5224553Z
2026-08-04 – 2026-08-041462026-10-23T12:22:25.5224553Z
2026-08-03 – 2026-08-031532026-10-23T12:22:25.5224553Z
2026-08-02 – 2026-08-0272026-10-23T12:22:25.5224553Z
2026-08-01 – 2026-08-01112026-10-23T12:22:25.5224553Z
2026-07-31 – 2026-07-31372026-10-23T12:22:25.5224553Z
2026-07-30 – 2026-07-30222026-10-23T12:22:25.5224553Z
2026-07-29 – 2026-07-29372026-10-23T12:22:25.5224553Z
2026-07-28 – 2026-07-28182026-10-23T12:22:25.5224553Z
2026-07-27 – 2026-07-271452026-10-23T12:22:25.5224553Z
2026-07-26 – 2026-07-26462026-10-23T12:22:25.5224553Z
2026-07-25 – 2026-07-25412026-10-23T12:22:25.5224553Z

Versions 37

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.0Registry latest30 Sept 20266
1.0.030 Sept 20266
0.26.011 Sept 20266
0.25.09 Sept 20266
0.24.08 Sept 20266
0.23.07 Sept 20266
0.22.015 Aug 20265
0.21.014 Aug 20265
0.20.012 Aug 20265
0.19.012 Aug 20265
0.18.011 Aug 20265
0.17.010 Aug 20265
0.16.08 Aug 20265
0.15.14 Aug 20265
0.15.03 Aug 20265
0.14.027 Jul 20265
0.13.413 Jul 20265
0.13.313 Jul 20265
0.13.213 Jul 20265
0.13.112 Jul 20265

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:29 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:bf2bdc2e23219dfda5764269af3a8e4fef9b988bb95e9cf276b6912b51feb3fb