calldata checkData) external override returns (bool upkeepNeeded, bytes memory performData){
                  
                  
                  upkeepNeeded - (block. timestamp - lastTimeStamp) > interval;
                  
                  
                  }
                  
                  
                  
                  
                  
                  function performUpkeep (bytes calldata performData) external override{
                  
                  
                  lastTineStamp = block.timestamp;
                  
                  
                  addcount. (value) = 10;
                  
                  
                  }
                  
                  
                  
                  
                  
                  
                  
                  
                  How can I grab the addcount and trigger it ?
                  
                  
                
My issue is from the last line. The “addcount.(value) += 10” I know it’s wrong but I’m sure you understand what I’m trying to do under performupkeep
Обсуждают сегодня