LayerCover

Smart Contracts

API reference and documentation for LayerCover smart contracts.

TL;DR: Full Solidity interface reference for every deployed LayerCover contract. All interfaces follow the I* naming convention and use bundled config patterns for gas efficiency.


Architecture Overview



Core Infrastructure

The foundational vaults and capital layer that hold and manage underwriting capital.


Policy Lifecycle

Contracts governing policy issuance, claim resolution, and payout execution.

🏷️ Naming

All interfaces use the I* prefix (e.g., ISyndicate, IPolicyManager)

⚙️ Config Pattern

Bundled struct configs (configureVault, configureGovernanceSettings) for gas efficiency

📝 NatSpec

Full @notice / @param / @return documentation on all public functions

🔐 Access Control

Role-based via OpenZeppelin AccessControl + TimelockController

🔄 Upgradability

UUPS proxy pattern with upgradeToAndCall on core contracts

📄 License

BUSL-1.1 for core contracts, MIT for interfaces


Risk & Registry

Pool management, risk assessment, and capital allocation tracking.


Orderbook & Rewards

Intent-based coverage matching, referral tracking, and reward distribution.


Yield & Deployment

Yield strategy management and syndicate factory deployment.


Conventions