ERC-8515 GPU Collateral Proof Registry (GPU Collateral Evidence)
Draft · Vaults & DeFi · created 2026-11-23
A standard for recording, in an on-chain registry, who has pledged which GPU as collateral for a loan or lease, together with signed proof that the GPU actually exists and has been operating.
Why it is needed
GPUs are now financed like aircraft or ships, through collateralized loans, sale-and-leasebacks, and finance leases, and more and more onchain lenders are participating. But lenders have no way to verify three things directly. First, even if the same GPU server is already pledged as collateral to another financial firm, there is no way to know. Even where public registries exist, they do not index GPUs by an identifier the GPU itself can prove, and contracts cannot read them. Second, in a sale-and-leaseback the lender does not directly possess the equipment, and the lessor often lacks access to device-level data such as baseboard management telemetry, so equipment that has disappeared, been moved, or never existed in the first place may go unnoticed until default. Third, repayment depends on rental revenue from actual delivered GPU uptime, and figures calculated solely from the borrower's self-reported utilization are only as trustworthy as the reporter.
What to implement
event DevicePledged(address indexed servicer, bytes32 indexed collateralId, bytes32 indexed deviceKey);: Announces that a device has been registered as collateral under a specific servicer.event DeviceReleased(address indexed servicer, bytes32 indexed collateralId, bytes32 indexed deviceKey);: Announces that a device has been released from collateral.event Reported(address indexed servicer, bytes32 indexed collateralId, Report report, string uri);: Announces that the servicer has recorded an aggregate report and the location of supporting evidence documents for that period.function pledge(bytes32 collateralId, bytes32[] calldata deviceKeys) external;: Registers the device keys specified by the caller as collateral under the caller.function release(bytes32 collateralId, bytes32[] calldata deviceKeys) external;: Releases the device keys specified by the caller from the caller's collateral.function report(bytes32 collateralId, Report calldata r, string calldata uri) external;: Records a report for the given period against the caller's collateral.function pledgeCount(bytes32 deviceKey) external view returns (uint256);: Returns the current number of active collateral pledges for the given device key across all servicers and collateral.function pledgeAt(bytes32 deviceKey, uint256 index) external view returns (address servicer, bytes32 collateralId, uint64 pledgedAt);: Returns the information (servicer, collateral identifier, time collateral was set) for the index-th active pledge of the given device key.function isPledged(address servicer, bytes32 collateralId, bytes32 deviceKey) external view returns (bool);: Returns whether the given device key is actively pledged as collateral under a specific servicer.function deviceCount(address servicer, bytes32 collateralId) external view returns (uint256);: Returns the number of devices actively pledged as collateral under a specific servicer.function latestReport(address servicer, bytes32 collateralId) external view returns (Report memory r, uint64 reportedAt);: Returns the most recent report for a specific servicer's collateral.
In depth
Device key: a hardware-provable GPU name
deviceKey is computed as keccak256("ERC8515.device", pciVendorId, idType, idBytes). idType 0x01 uses the raw DER-encoded SubjectPublicKeyInfo bytes of the device identity certificate assigned by the vendor as-is, a strong identifier that lets the device respond to a challenge and prove key possession. idType 0x02 is a serial number string reported by a vendor management interface, a weak label anyone could claim. Servicers must use 0x01 for any device with an identity certificate, and must not treat evidence for a 0x02 key as proof of existence. The key has no salt, so the same device has the same key across every registry and every servicer, which lets double-pledging between financial firms surface.
Statement: one observer's periodic evidence
A statement is a JSON object made up of kind, registry, servicer, collateralId, deviceKey, pciDeviceId, location, periodStart/periodEnd, observer, role, method, checksPassed/checksFailed, servedSeconds/missedSeconds/unknownSeconds, and evidence. method is one of hw-attestation (challenge response with the device identity key), bmc-telemetry (power, temperature, status readings), workload-meter (job-log meter), or site-inspection (physical visit). servedSeconds+missedSeconds+unknownSeconds must equal the period length exactly, and hw-attestation and site-inspection, which only observe an instant, must report the entire period as unknownSeconds. There is one statement per observer; evidence from multiple observers for the same device and period are each separate statements.
Identifiers and signatures
The statement identifier is the keccak256 hash of the UTF-8 bytes serialized via RFC 8785 (JSON canonicalization). The observer signs this identifier as EIP-712 typed data (Statement(bytes32 statementId)), with domain name "GPU Collateral Evidence", version "1", and chainId/verifyingContract taken from the registry. The signature is distributed as an envelope {statement, signature}. If the observer is an EOA, the signature must be 65 bytes of r||s||v, with s no greater than half the secp256k1 group order and v equal to 27 or 28, and must recover to the observer. If the observer is a contract, ERC-1271's isValidSignature must return 0x1626ba7e when queried against state after the block containing the report, and consumers who cannot read that state must treat the statement as unverified.
Statement root: committed via a Merkle tree
A report commits a set of statements to a single Merkle root. Leaves are formed by listing statement identifiers in ascending order with no duplicates and hashing each as keccak256(0x00 || statementId); at higher levels, adjacent pairs of nodes are combined in order as keccak256(0x01 || left || right). An unpaired final node is carried up unchanged. If there is one statement, the root is that leaf; if there are no statements, the root is bytes32(0). This structure ensures that two consumers who fetch the same document always compute the same number, and the servicer cannot later change which evidence it based its aggregate on.
Registry: pledge, release, report
All state is bound to a (servicer, collateralId) pair. pledge reverts if a key is already active under the same collateral or there is a duplicate key, but does not block, and instead records alongside, keys already pledged under a different servicer or different collateral. release reverts if a key is not active. report requires periodStart<periodEnd<=block.timestamp, devicesAttested<=devicesReported<=the number of devices in the collateral, and servedSeconds+missedSeconds+unknownSeconds equal to devicesReported*(period length), and only allows a replacement if the period is contiguous with or the same as the previous report. A successful report is stored as the latest report, and the full contents are logged via the Reported event, so a replaced report can be recovered from the log.
The registry does not verify the accuracy of reports
That a report is accepted does not mean the registry checks whether its contents are correct. A report being correct means that every statement in the uri document points to that registry, servicer, collateral, and period, points to a device key actively pledged as collateral at the time of the report, and that devicesReported and devicesAttested and the totals computed per the selection rule (the statement with the smallest identifier among those with served/missed time within the period, or failing that the statement with the smallest identifier) actually match. Consumers must fetch the document themselves, verify every signature, recompute the root, and check correctness before treating a report as evidence; otherwise the report is merely the servicer's claim.
What the registry does not do, and the proposal's status
This standard only records the history of collateral pledges and evidence submissions and surfaces conflicts; it does not verify statements or confirm hardware attestations, does not establish priority among financial firms, and does not assess collateral value. The reason pledge is not blocked and is simply recorded is to prevent someone from preemptively locking out equipment by pledging first. This proposal is still in Draft status, and its detailed rules or interfaces may change or discussion may stall going forward.
Things to watch out for
- A clean lookup does not mean exclusivity: pledgeCount being 0 only means no one has pledged the device as collateral in that registry; it is not a guarantee that no collateral exists on another registry or through a private channel.
- A servicer can release its own collateral at any time: If the borrower also acts as the servicer, the collateral record can disappear even while debt remains outstanding.
- Two signatures do not guarantee two independent parties: role is a value the observer declares itself, so a 'third-party' statement made with a key the borrower controls is indistinguishable from an honest statement.
- Self-reported uptime: If the servicer or observer is the borrower itself, servedSeconds amounts to the borrower asserting its own revenue basis, so it should be viewed alongside independent evidence such as rental payments flowing into an account the lender controls.
- The servicer chooses the scope of the report: The servicer can choose which devices, periods, and statements to include in a report, so consumers should not stop at just the count of device keys included in the report, but should cross-check it against the actual list of device keys they funded and treat any missing device, period, or unknown time as an absence of evidence.