caelum0x e361a8dc22 feat: ProofChain platform — 64 contracts (11 modules), backend API, expanded web
- core: AddressBook registry, Roles lib, ProofChainAccess base, Pauser
- modules: provenance, payments/treasury, identity, reputation, finance/RWA,
  insurance, disputes+governance, esg/tokenization, marketplace, rewards
- @proofchain/api: 33 routers + event indexer (Supabase)
- web: 37 pages incl landing, explorer, finance, governance, esg, marketplace
- 704 forge tests + 449 vitest tests green; 61 ABIs exported

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-31 19:22:38 +03:00

24 lines
681 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
import { LenderVault } from "../../../src/finance/LenderVault.sol";
/// @notice Stand-in for the FinancingPool used by {LenderVault} tests. Reports a settable deployed
/// balance and can trigger the vault's pool-only {lendTo}.
contract MockDeployedPool {
uint256 public deployed;
function setDeployed(uint256 v) external {
deployed = v;
}
function deployedAssets() external view returns (uint256) {
return deployed;
}
function doLend(address vault, address to, uint256 amount) external {
LenderVault(vault).lendTo(to, amount);
deployed += amount;
}
}