1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Typed bindings, embedded forge artifacts, and deploy/upgrade helpers for
//! the libid contract stack.
//!
//! The crate has three layers:
//!
//! - [`bindings`] — hand-written `alloy::sol!` interfaces for every contract a
//! consumer talks to: the login stack (`Registry`, `WebWallet`,
//! `WalletFactory`, verifiers), the Bank diamond, and the identity-names
//! stack. Kept in lockstep with the Solidity sources in `solidity/contracts`.
//! - [`artifacts`] — the compiled creation bytecode, link references, and
//! method identifiers of every deployable contract, embedded at compile time
//! ([`Artifacts::embedded`]) so deployment needs no filesystem at runtime. A
//! directory-backed variant ([`Artifacts::from_dir`]) reads a forge `out/`
//! tree instead.
//! - [`deploy`] / [`diamond`] — generic deploy and upgrade primitives over any
//! alloy [`Provider`](alloy::providers::Provider): plain deploys, constructor
//! args, ERC1967 proxies, library linking, UUPS upgrades, and the Bank
//! EIP-2535 diamond deploy/facet-replace flows.
//! - [`factory`] — the deterministic-factory bootstrap: predict the canonical
//! cross-network factory address, install it (and the keyless CREATE2
//! deployer it hangs off) where missing, and deploy protocol proxies
//! through it at name-derived CREATE3 addresses.
//!
//! Signing is the consumer's concern: every helper takes a provider you have
//! already wired with a wallet.
pub use Artifacts;
pub use ;