Skip to main content

Questions tagged [chainlink-automation]

Chainlink Automation reliably executes smart contract functions using a variety of triggers.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Checkupkeep function is not showing to get called by automation nodes for Chainlink Keepers

https://sepolia.etherscan.io/address/0xc3062430Aa70dABd1e33a702323aB6c4980883fd#code Question: The argument for performupkeep(input) is coming from my checkupkeep. So what should I give as input ...
soumyadeep.eth's user avatar
0 votes
1 answer
51 views

Timeout Error in Hardhat Staging Test with Chainlink VRF and automation on sepolia network

I am encountering a timeout error while running a staging test for my Lottery smart contract using Hardhat. The test is supposed to integrate with live Chainlink VRF and Chainlink Keepers, but it ...
ALISHA REDDY's user avatar
2 votes
2 answers
29 views

Renouncing a contract that contains a chainlink upkeep

I am creating a contract that I want to be fully renounced, but there is also a function that needs to be called once a year in the contract. I created a chainlink upkeep to call it. The upkeep adress ...
Stavros Cotsoradis's user avatar
2 votes
1 answer
88 views

Error in Chainlink Functions source script with EthersJS for Writing to smart contract

After following this example of Chainlink Functions: I used a basic smart contract like below: // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.8.2 <0.9.0; contract Storage { ...
Sokrates's user avatar
  • 123
1 vote
0 answers
74 views

How to Implement Chainlink VRF into EIP2535 Standard Contract

I'm currently working on a smart contract that involves using Chainlink VRF (Verifiable Random Function) through a Diamond contract. My contract structure includes a performUpkeep function, which ...
PraveenMatheesha's user avatar
0 votes
3 answers
118 views

VRFCoordinatorV2Mock.createSubscription is not a function contract error

const { network, ethers } = require("hardhat") const { developmentChain } = require("../helper-hardhat-config") const { networkConfig } = require("../helper-hardhat-config&...
Rajvir Singh's user avatar
0 votes
1 answer
30 views

Does Anyone Know How To Implement CHAINLINK AUTOAMTION (Keepers) To be the "Executor" of the "Timelock" contract in a DAO?

I am trying to add a different element to a DAO - and that is to make Chainlink be the automatic "executor" of the "timelock" contract when the minDelay amount of time has passed. ...
Samuel Dominguez's user avatar
1 vote
1 answer
28 views

Can Chainlink time-based upkeep register multiple cron jobs in a single contract?

I have been trying to make a raffle platform with the Chainlink automation. I can see the time-based upkeep can have only one cron job, But when the raffles are created in the platform, each of them ...
DHC's user avatar
  • 377
0 votes
1 answer
94 views

Decoding Chainlink Function Response in Solidity Contract and Handling Nested JSON Objects

I'm dealing with a problem regarding the decoding of data obtained from a Chainlink function in my Solidity code. Specifically, I'm using a Chainlink custom function that sends an HTTP GET request to ...
Blaž Perić's user avatar
0 votes
2 answers
84 views

Chainlink Automation: why is registering upkeep directly from contract reverting?

I have a factory contract which deploys a custom contract. The custom contract imports Automation Compatible.sol and implements checkUpkeep() and performUpkeep() The factory contract has a function ...
palmcivet's user avatar
0 votes
1 answer
34 views

"Seeking Help with an Error in Implementing Patrick Collins' Automation Smart Contract"

I ran into a problem with implementing Patrick Collins' automation smart contract, and I received "contract 'raffle should be marked as abstract" and is not compiled. What is wrong with my ...
Elyas Sarjoghi's user avatar
1 vote
0 answers
79 views

Chainlink performUpkeep not being executed

I am trying to implement a decentralized raffle that works with custom tokens and randomly select the winner using chainlink automated keepers. I selected a time-based keeper so that "...
yksooh's user avatar
  • 11
1 vote
0 answers
22 views

Chainlink Automation ( Upkeep ) Design Choice

Within my system, there is a mother smart contract capable of breeding identical baby smart contracts. In general, a certain action needs to be done in the baby smart contracts ( at some point ) to ...
Sina Rahimi's user avatar
1 vote
2 answers
155 views

Chainlink VRF2, Automation - Raffle Game

i am writing a raffle game contract, I integrated Chainlink keepers to check how much time has passed and pick the winner to move on to next round. function checkUpkeep( bytes calldata ...
Bengican Altunsu's user avatar
0 votes
1 answer
78 views

Address to String in Chainlink Request is giving error?

When i am using req.add("publicKey","any_public_key_here_as_string"); I have 2 steps mentioned in our job specification decode_cbor [type=cborparse data="$(decode_log.data)&...
Dummy Mail's user avatar
0 votes
2 answers
833 views

Keepers explained in Defi

So I have been working on a fork for GMX. In the end it gets stuck on off chain keepers (which was supposedly fixed by Chainlinks upkeep). Can someone please explain what exactly is happening? I dont ...
SideChain Labs's user avatar