This repository was archived by the owner on Jun 11, 2025. It is now read-only.
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
docs: change the pattern of FHEVMConfig #757
Open
Description
import "./FHEVMConfig.sol";
/// @title PaymentLimit
/// @notice A contract to demonstrate FHE gas limits in different scenarios
contract PaymentLimit {
/// @notice Constructor that sets up FHE configuration and deposits initial value
/// @dev Payable to allow initial deposit
constructor() {
FHE.setCoprocessor(FHEVMConfig.defaultConfig());
}