Skip to content

Instantly share code, notes, and snippets.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// Interface for ERC20 tokens
interface IERC20 {
function balanceOf(address account) external view returns (uint256);
}
contract CapitalCommitment {
// Mapping from user address to token address to commitment amount