Questions tagged [chainlink-automation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
44 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
61 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
2 answers
66 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
21 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
21 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
  • 357
0 votes
1 answer
61 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
74 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
21 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
65 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
142 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
73 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
598 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