Expand description
Typed bindings, embedded forge artifacts, and deploy/upgrade helpers for the libid identity stack. Every helper takes a provider already wired with a wallet.
bindings—alloy::sol!bindings, read from the compiled ABIs, for every contract a consumer talks to.artifacts— creation bytecode of every deployable contract, embedded at compile time (Artifacts::embedded) or read from a forgeout/tree (Artifacts::from_dir).deploy— deploy and upgrade over any alloyProvider: plain deploys, constructor args, ERC1967 proxies and UUPS upgrades.factory— install the canonical cross-network factory and its keyless CREATE2 deployer where missing, and deploy protocol proxies through it at name-derived CREATE3 addresses.platform_verifier— the Platform Verifier initializer, checked against its platform’s circuit andPlatformVerifierBase’s rules.bind_error— a refusedbind, decoded by name.operation_list— the transaction data of one ceremony authorizing several Consumers’ operations.circuits— the ceremony circuits’ vendored UltraHonk verifiers: which circuit a platform proves under, and the deploy of its verifier.testing(featuretesting) — a stand-in Platform Verifier for a consumer’s tests: its binding, payload and deploy.
Re-exports§
Modules§
- artifacts
- The compiled forge artifacts the crate ships.
- bind_
error - A refused
bind, decoded by name. - bindings
alloy::sol!bindings read from the compiled ABIs thatscripts/vendor-artifacts.shvendors intoabi/. One module per contract directory.- circuits
- The ceremony circuits’ UltraHonk verifiers: which circuit each platform proves under, and the deploy of a circuit’s verifier.
- deploy
- Generic deploy and upgrade primitives, usable over any alloy
Providerthat has a wallet wired in. Signing is the consumer’s concern; nothing here constructs or holds keys. - factory
- Bootstrap and use of the deterministic deployment factory.
- operation_
list - The Operation List of chain profiles §3.3: one ceremony’s transaction data
carrying an entry for each of several Consumers. A bind under
OPERATIONS_DOMAINisvec![Operation::bind(target)].abi_encode(); the registry also takes the single form,abi.encode(target)underBIND_DOMAIN. - platform_
verifier - Deploying a launch Platform Verifier: which contract serves which
platform, and its
initializerules checked off chain first.
Macros§
- send_
with_ nonce_ retry - Send a contract call with automatic retry on “nonce too low” errors.
Enums§
- Error
- Crate error type.
Type Aliases§
- Result
- Crate result alias.