← Home

@cofhe/mock-contracts

Mock smart contracts for testing CoFHE with FHE primitives locally

11
Versions
MIT
License
No
Install Scripts
Verified
Provenance

Supply chain provenance

Status for the latest visible version.

SLSA provenance attestation npm registry signatures No source commit

Maintainers

tovi-fhefhenixprotocolrogue-rotkoskytoml-fhenix

Keywords

blockchainethereumsmart-contractssolidityFHEencryptionprivacycoprocessorfhenixcofhe

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
source-diff encoded-string-file:src/MockQueryDecrypter.ts AI (source-diff): EVM bytecode in Solidity ABI artifact; expected for mock-contracts package. ai
source-diff encoded-string-file:dist/index.js AI (source-diff): Long strings are EVM bytecode hex in compiled contract artifacts, not malicious payloads. ai
source-diff encoded-string-file:dist/index.mjs AI (source-diff): Same as dist/index.js — EVM bytecode in contract artifact data. ai
source-diff encoded-string-file:src/MockACL.ts AI (source-diff): EVM bytecode embedded in Solidity artifact TypeScript file. ai
source-diff encoded-string-file:src/MockTaskManager.ts AI (source-diff): EVM bytecode embedded in Solidity artifact TypeScript file. ai
source-diff obfuscated-file:src/MockThresholdNetwork.ts AI (source-diff): Auto-generated Solidity artifact file containing ABI and EVM bytecode strings; not obfuscated JS. ai
source-diff encoded-string-file:src/TestBed.ts AI (source-diff): EVM bytecode embedded in Solidity artifact TypeScript file. ai
phantom-deps phantom-dep:@openzeppelin/contracts AI (phantom-deps): Used in Solidity/Foundry config (remappings), not imported in JS/TS directly. ai
phantom-deps phantom-dep:@fhenixprotocol/cofhe-contracts AI (phantom-deps): Solidity dependency referenced in Foundry config, not JS imports. ai
phantom-deps phantom-dep:@openzeppelin/contracts-upgradeable AI (phantom-deps): Solidity dependency referenced in Foundry config, not JS imports. ai
source-diff encoded-string-file:src/MockZkVerifier.ts AI (source-diff): EVM bytecode embedded in Solidity artifact TypeScript file. ai

Versions (showing 11 of 11)

Version Deps Published
0.5.2 3 / 10
0.5.1 3 / 10
0.5.0 3 / 10
0.4.0 3 / 10
0.3.2 3 / 9
0.3.1 3 / 6
0.3.0 3 / 6
0.2.1 3 / 6
0.2.0 3 / 5
0.1.1 3 / 5
0.1.0 3 / 5