Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • yes i am. i have a projects. every project have their own time to trıgger. I want to trigger every project when its time. dont want to trigger specify projectId Commented Nov 10, 2022 at 8:47
  • yes i was. But i figure it out.my mistake is projectId is a variable in the contract. So when ever i call checkUpKepp or performUpKepp it will run function with last index of that projectId. So just last project will be check. Commented Nov 10, 2022 at 9:28
  • in fact, if you expect to have the same result with is_funding with parameter projectId. And the function checkUpkeep then imad you know it s missing the parameter. For your need, to ensure that a project is triggered when it's time. I need to get more information about projectToTime. Is it a mapping of mapping? Of course to make a check, I ll advice offchain, but if you cannot, I ll advice to change your architecture. Commented Nov 10, 2022 at 9:38
  • yes its a mapping of mapping // projectId => projectFundingTime => timestamp of adding Commented Nov 10, 2022 at 9:43