Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed for writing smart contracts in Ethereum to run on the EVM. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
1
vote
How to debug a reverted transaction?
You can use hardhat to setup your smart contracts. From there you can use console.log
2
votes
Accepted
What is the purpose of curly bracket blocks in solidity?
You can read more about this in solidity docs …
0
votes
Possible concurrency scenario in Ehtereum - no concurrency
In my opinion T2 can be mined first by simple paying more gas fess than T1. Also , the values of a1 will be a2 because t1 has not executed yet onchain.
0
votes
executeBatch in ERC-4337
I think they might have not updated it . But in the latest code its there
`function executeBatch(address[] calldata dest, uint256[] calldata value, bytes[] calldata func) external {
_requireFromEn …
0
votes
1
answer
25
views
Implementing Biconomy on Safe Contract
Does anyone know how i can implement biconomy on Safe Contracts?
0
votes
Accepted
Implementing Biconomy on Safe Contract
Found the solution . When integrating with frontend or backend you need to make sure that the message should be made of the safe transaction and should be signed by the user .
0
votes
error Dai/insufficient-allowance even when sufficient amount has been approved
Try waiting for the first apporve transaction to get executed on the blockchain as it may be in progress when you are calling the trade function .
0
votes
Trying to access the retrieve method from deployed smart contract but not able to using ethe...
Make sure you are using the correct ABI , find the retrieve function in the ABI . Also check your ethers version and check the docs for that version , how are they calling the contract. Also try to hi …
0
votes
Why uint8 for decimals in ERC20 tokens?
No , it doesnt mess up the calculations if you use uint256 . In some cases the token details are used as parameter in struct . So if you want to optimize your struct, you can easily do it without chan …
0
votes
ERC-4337 - Bundler development
There are number of bundler's code available on the github . In all of them i think eth-infinitism bundler is good as it is written in javascript . Here is the link .
1
vote
Accepted
are there other ways to send bundle of transactions without using flashbot?
You can bundle transactions using a Multi Call contract. Just encode all your transactions into one and use the Multi Call contract. Here is the link
2
votes
0
answers
139
views
SignTypedData in ethers version 6.9.0
Does anyone know how to perform signTypedData in ethers version 6.9.0 . I am tryin to do this but it reverts with this function doesnt exist . I am trying to create a signer usin g JavaScript Provide …
0
votes
How Can I Identify the Blockchain Where a Smart Contract Is Deployed Using Its Address?
You can use tenderly for searching. It will give you a list of addresses where the address has been created. It will also tell you whether that address is a smart contract or a wallet.
Hope this helps …
0
votes
1
answer
158
views
Is it possible to combine signing two cross-chain transactions into one single signing?
Lets say I have a transaction on ETH chain and one on BSC chain, I start the transaction on ETH chain and it asks for my signature. What I want to do is have it just ask for my signature once and have …
0
votes
provide steps to deploy this contract from solidity by example
i hope you are trying to deploy this on remix . If you are then try to send zero amount then you will be able to deploy it on any network if u want. In my case i am deploying it on Sepolia Testnet
A …