Intercoin / ControlContract

Lets a community collectively manage a wallet and tokens, including enforcing limits and lockups.
https://intercoin.org
GNU Affero General Public License v3.0
0 stars 3 forks source link

Need to add implement abstraction EIP 4337 #15

Open artman325 opened 1 year ago

artman325 commented 1 year ago

ControlContractAccount is ControlContract, BaseAccount

here https://eips.ethereum.org/EIPS/eip-4337

inspired code from github https://github.com/eth-infinitism/account-abstraction/

seems need to implement at least one function

interface IAccount {
  function validateUserOp
      (UserOperation calldata userOp, bytes32 userOpHash, uint256 missingAccountFunds)
      external returns (uint256 validationData);
}