@pearldigital/p3-abis
v3.0.1
Published
Generated ABI exports for Pearl Path Protocol (P3) smart contracts
Downloads
117
Readme
@pearldigital/p3-abis
Generated ABI exports for the Pearl Path Protocol (P3) smart contracts.
This package is auto-generated from the Solidity interfaces in
pearl-path-protocol
on every tagged release. Do not edit the contents of src/ by hand —
changes will be overwritten by the next CI build.
Versioning
The package version matches the pearl-path-protocol git tag it was
built from. @pearldigital/[email protected] is generated from the
3.0.0 tag of the protocol repo, with ABIs sourced from the
corresponding forge build artifacts.
Install
pnpm add @pearldigital/p3-abisUsage
import { P3TreasuryManagerABI } from "@pearldigital/p3-abis";
// or tree-shake-friendly per-contract imports:
import { abi as P3AgenticRegistryABI } from "@pearldigital/p3-abis/IP3AgenticRegistryManager";
import { createPublicClient, getContract, http } from "viem";
const client = createPublicClient({ transport: http(rpcUrl) });
const treasury = getContract({
address: treasuryAddress,
abi: P3TreasuryManagerABI,
client,
});What's included
Every IP3*.sol interface under contracts/interface/ is exported.
Implementation ABIs are intentionally not included — consumers should
bind to interfaces, not implementations, so contract upgrades do not
break downstream code.
License
See the LICENSE file. Source-available under the Pearl Digital
Source-Available License v1.0.
