A collection of one-shot assembler contracts for the Sky ecosystem. Each assembler uses factories to deploy and fully wire a standardized on-chain systems in a single transaction, hands administrative rights to caller-supplied admins as defined by its configuration structs, and renounces every role it held during setup — so the assembler is trustless once the call returns.
The first assembler builds on the PAU stack, giving a reviewable, deterministic path to deploying Prime PAUs as more primes enter the ecosystem and replacing ad-hoc manual deployments.
| Contract | Description |
|---|---|
DefaultPAUAssembler |
Deploys a full PAU stack (AccessControls, ALMProxy, RateLimits, Controller) and one or more AdministeredAgents. |
| Document | Description |
|---|---|
| Default PAU Assembler | Deploy flow, role/permission matrix, configuration, and security notes. |
| Sky Core Review Checklist | Reviewer checklist for validating deploy arguments before sign-off. |
Every assembler in this repository follows the same model:
- Atomic — the full system is deployed and wired in a single call.
- Hand-off — administrative rights are transferred to the addresses named in the deploy configuration (
AdminConfigfor the PAU stack, per-agentadminsfor eachAdministeredAgent) as part of that call. - Trustless after deploy — the assembler renounces every role it held during setup, retaining no control over the deployed contracts.
- Deterministic surface — only the roles and configuration described by the inputs are applied, keeping each deployment easy to review.
Per-assembler mechanics — deploy flow, resulting role layout, and configuration — live under docs/. The first, DefaultPAUAssembler, builds on the diamond-pau PAU factory and the pau-administered-agent agent factory; see its documentation for details.
Auditor note. Assembler
src/has no compile-time dependency on those repositories — it interfaces with them only through inline*Likeadapter interfaces. Integration tests fork the target chain and call canonical on-chainPAUFactoryandAdministeredAgentFactorydeployments, which avoids pulling those repositories in as submodules.
forge buildIntegration tests fork mainnet and require a valid RPC endpoint. Copy .env.example to .env and set MAINNET_RPC_URL, then:
forge test- Solidity
0.8.34,cancunEVM. - The external surface of each factory lives in
src/interfaces/I<Factory>.sol(errors, structs, events, and address-returning functions). The*Likeadapter interfaces for the underlying contracts are declared inline in the implementation file. - Licensed under AGPL-3.0-or-later.