- tradefinance: LoC, bill of exchange, factoring, PO financing, dynamic discounting, securitization + tranche tokens, credit lines, guarantees - compliance: sanctions/AML, certificate of origin, phytosanitary, halal, recalls, export licenses, duty/tariff, customs declaration - dpp: EU Digital Product Passport (ERC721) + lifecycle/materials/repairability/recycling - logistics: freight, cold-chain, bonded warehouse, fleet, containers, proof-of-delivery - commodities: tokens, harvest/grading registries, storage receipts, price oracle, vault - energy: renewable energy certs (ERC1155), emissions trading, water/biodiversity, green bonds - workforce: soulbound worker credentials, safety training, milestone payroll, skills - data: IoT sensors, quality inspection, lab tests, oracle aggregator, data marketplace - 1468 forge tests green; 117 ABIs exported; DeployPlatform extended Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
17 lines
477 B
Solidity
17 lines
477 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity 0.8.24;
|
|
|
|
/// @notice Minimal {IKYCRegistry} test double exposing only the `isVerified` read the
|
|
/// tradefinance module consults.
|
|
contract MockKYCRegistry {
|
|
mapping(address => bool) private _verified;
|
|
|
|
function setVerified(address account, bool v) external {
|
|
_verified[account] = v;
|
|
}
|
|
|
|
function isVerified(address account) external view returns (bool) {
|
|
return _verified[account];
|
|
}
|
|
}
|