I’m trying to understand how to use the clones/minimal proxy pattern from last weekend’s session, would like some help checking my logic. I have a contract factory that deploys a contract (I’ll call a copy) that manages incoming bids and approvals. My understanding is that I can’t use a library for the the functions on the copy that affect storage or memory, so then I would instead deploy the copy contract once and then deploy clones afterwards that use a function selector for the functions on the copy contract to change/affect storage in my clones?
My main confusion is over where/how that first copy contract is deployed so the functions can be selected. I can upload my contract/contract factory here if it helps
Phrased another way, where can I find the walletImplemention solidity file from https://github.com/OpenZeppelin/workshops/blob/master/02-contracts-clone/contracts/3-argent/WalletFactoryClones.sol