I was trying to deploy my smart contract on the venom devnet blockchain with this jrpc URL jrpc url but I got an error with this message Error("Giv ...
I was trying to deploy my smart contract on the venom devnet blockchain with this jrpc URL jrpc url but I got an error with this message Error("Giv ...
I want to build a smart contract function, which use caller's password as params. I have no knowledge about blockchain security, so I ask the followin ...
Can anyone Explain me how uint variable accept address in this smart contract // SPDX-License-Identifier: Apache-2.0. pragma solidity ^0.6.12; libra ...
Here is my code, I have also added the options as well in the approve function which contains the from, to, gasLimit but that also doesn't work for me ...
Can you help me explain below smart contract code I found on tomb finance, tomb.sol contract? // Initial distribution for the first 24h genesis pools ...
I'm learning how the Uniswapv2 contracts work but I can't seem to wrap my mind around the swap() function. Reference: https://github.com/Uniswap/v2-c ...
I am planning out a new project in which I need to connect one particular Fiat payment gateway to my smart contract. I don't want to have a system wit ...
While attempting to fund me contract is tell me it encountered an error without specifying the error. I attempted to fund 0.1 eth through the fund fun ...
i make simple code, but have error "TypeError: Explicit type conversion not allowed from "uint256" to "address"." Can you help me? I even asked the gp ...
ChainLink automation enables conditional execution of smart contracts functions. However, when calling function from the smart contract, it is the Cha ...
All is good and work very well, but why when I need to call function requestTokens, only owner can have success on transaction while other address can ...
Confused about what could have caused this to stop working, I installed solana and anchor and was able to test projects. anchor --version anchor-cli 0 ...
When I'm learning OpenZeppelin, I found its Ownable library has a function transferOwnership, which can give the owner of current contract to an addre ...
I'm trying to read total supply from this smart contract, I have checked the ABI and the read does not require arguments. Why am I getting this error? ...
I used the following library code to delete an element in array according to its index. The only way in my mind is using loop, but it costs a lot of g ...
According to this doc. We can use ethers.getContract to get deployed contract. I have deployed my contract at 0x33F4623337b8F9EDc9529a79F0d68B2BeC98d ...
I noticed there are two methods to call the contract's functions in Solidity as follow. I don't understand the difference between contract B and C, ...
I am implementing a token that takes fees on buy/sell but not on transfer. I rely on checking the 'from' and 'to' for being uniswap pairs (V2 or V3) t ...
I still don't understand the usage of override in solidity. I know the how to write code of override, but I have no idea when I should use them. Ques ...
when i want to deploy this contract in REMIX IDE i get this error: Gas estimation errored with the following message (see below). The transaction exe ...