Smart contracts
Five contracts, each with one job.
QuaVault
Your wallet. Holds the funds and runs batches signed by the current key, then rotates to the next key in the same call. Supports ERC-1271 signatures and receives NFTs (ERC-721, ERC-1155). Anyone can relay a signed batch.
function execute(Call[] calls, address nextOwner, uint256 deadline, bytes signature)
event OwnerRotated(address previousOwner, address nextOwner)QuaVaultFactory
Deploys vaults with CREATE2. The address depends only on the first key, so it is the same on every chain where the factory is deployed. Anyone can deploy a vault for a given key.
function predict(address initialOwner) view returns (address)
function createVault(address initialOwner) returns (address)Router
Entry point for swaps. Takes the protocol fee, then runs the route of an allowed aggregator (Li.Fi) and sends the output to the recipient.
FeeCollector
Receives fees on each chain and forwards them to the buyback contract, directly or through an allowed bridge. The bridge call must name the buyback contract as recipient, so a compromised keeper cannot redirect fees.
BuybackBurn
Swaps the collected fees for the protocol token through allowed routers, with a minimum output. Anyone can then trigger the burn: 99% is burned, the rest goes to the treasury.
Deployment status
Contract addresses will be published here at launch, along with the audit report.