- 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>
16 lines
442 B
Solidity
16 lines
442 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity 0.8.24;
|
|
|
|
/// @notice Test double exposing the {IAttestationRegistry} reads the workforce module relies on.
|
|
contract MockAttestation {
|
|
mapping(bytes32 => bool) private _attested;
|
|
|
|
function setAttested(bytes32 id, bool attested_) external {
|
|
_attested[id] = attested_;
|
|
}
|
|
|
|
function isAttested(bytes32 id) external view returns (bool) {
|
|
return _attested[id];
|
|
}
|
|
}
|