Skip to main content

Questions tagged [events]

Solidity events and logging problems. Events allow the convenient usage of the EVM logging facilities, which in turn can be used to “call” JavaScript callbacks in the user interface of a dapp, which listen for these events.

0 votes
1 answer
37 views

When calling the depositV3Now on an AcrossSpokePool, I understand how the off-chain event tracking triggers `fillRelay. https://www.codeslaw.app/contracts/ethereum/...
Aifos Si Prahs's user avatar
0 votes
1 answer
47 views

I'm working with hardhat/ethers.js and is running a simple test of getting an argument of an emitted event of a contract via ethers.js. I have a simple test contract which has a function to emit an ...
zzAustin's user avatar
0 votes
0 answers
46 views

I am currently in the process of backtesting liquidity provision in a uniswapV3 pool, and I was able to get all events in said pool for the past year from an archive node. I am trying to calculate ...
VlakecTomaz's user avatar
0 votes
1 answer
39 views

When create a new contract ,an event with sig 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0generated with topic1 and topic2 so where is this event defined?
newlife's user avatar
  • 138
0 votes
2 answers
113 views

I conducted a test in Solidity using Remix to understand how the order of arguments affects gas consumption in events and function calls. Specifically, I tested the following code: event Test1Event( ...
Nerses Asaturyan's user avatar
1 vote
1 answer
289 views

I have been trying to reconstruct the TVL and liquidity of a V3 pool via ordered events : TxIndex > LogIndex. By following the logic in the Graph V3 pool repositories such as this univ3 graph repo ...
Auchan's user avatar
  • 13
0 votes
1 answer
59 views

deploy.js: const { network, ethers } = require("hardhat") const { developmentChains, networkConfig } = require("../helper-hardhat-config") const { verify } = require("../...
Dennis's user avatar
  • 13
1 vote
0 answers
100 views

I am implementing a crypto payment system for my django web app. I have a smart contract that exposes some functions that let users purchase credits for my application by sending crypto to the smart ...
Andrea Palermo's user avatar
1 vote
1 answer
162 views

I understand that smart contracts can emit events, but I'm curious if there's a way for a smart contract to listen to on-chain events and react to them. Is it possible for a smart contract to monitor ...
adam mr's user avatar
  • 161
1 vote
1 answer
38 views

I wanted to study the events on hardhat by following this lesson. npx version: 9.5.1 node version: v12.22.9 Here's my contract code: // SPDX-License-Identifier: MIT pragma solidity ^0.8.7; contract ...
Ota Repo's user avatar
0 votes
1 answer
228 views

I have a basic POC that listens to a swap event in a specific pair on UniswapV2. This works well. My issue is when I try to run this for say, 10 or more pairs Infura starts giving me rate limiting ...
Makis Christou's user avatar
3 votes
1 answer
129 views

I'm trying out a proxy / upgrade pattern where the deployed contract is an ERC-721 but it delegates as much functionality to a "controller" contract as possible. The storage is split between ...
okwme's user avatar
  • 335
1 vote
1 answer
75 views

I am getting 403 forbidden on every interval multiple times. I used the useWatchContractEvent() hook from wagmi in my next js app. Getting same error multiple times in intervals: POST https://sepolia....
mari0's user avatar
  • 11
0 votes
1 answer
234 views

I have the following js script that i want to use to read events from a smart contract below, but when i run the script I get the following error message TypeError: Cannot read properties of undefined ...
Osemu Aimiosior's user avatar
0 votes
1 answer
37 views

I want to know what are the recommended decentralized storage solutions (IPFS or sub-graph)? and general process for retrieving them for front-end visualization?
Awais Ahmad's user avatar

15 30 50 per page
1
2 3 4 5
58