Questions tagged [method]
The method tag has no summary.
25 questions
1 vote
0 answers
45 views
Call a 'hidden' Method of a Smart Contract on Arbitrum with Python and web3, NoABIFunctionsFound
I have an API key for the Arbitrum end point. I know the Smart Contract address. It is not mine. I know the Function - it's called Harvest with an ID of 0xddc63262. I have the ABI from Arbiscan and my ...
0 votes
2 answers
85 views
Help Needed about decoding the Method ID!
Hello everyone trying to decode a function signature which has this method id "0x64c65435" I'm 99% percent sure the name of the function is "buy" but not sure about the parameters ...
0 votes
1 answer
257 views
Sushi V3Pool smart contract - what to put in "bytes calldata data" parameter of "swap" method? Or how to perform swap programmatically?
Hey guys thanks in advance! I'm using Sushi.com V3 liquidity pools manually, but I like to automate everything. So I'm trying to create liquidity manager in Go, I use Geth as Golang-Eth SDK but my ...
0 votes
2 answers
79 views
Is there a way to test whether an external contract implements (or does not implement) a given interface method?
How would you determine whether a given contract implements a particular interface method without reverting? interface IRandomMethod { function getUint() external view returns (uint); function ...
1 vote
2 answers
307 views
How hackers can penetrate our smart contract function calls?
I used this code in a smart contract method on Polygon blockchain: function withdraw() public { iERC20 tether = iERC20(0xc2132D05D31c914a87C6611C10748AEb04B58e8F); tether.transfer(msg.sender, ...
1 vote
0 answers
89 views
"execution timeout" timeout when calling debug_trace transaction
I have one question. We have organized the ethereum en node as an archive. Since then, we have called large amounts of debug_traceTransaction to that node, but err="execution timeout" ...
1 vote
1 answer
96 views
How can a bytes32[] variable have a custom method (i.e., verifyCalldata)?
Code: https://www.contractreader.io/contract/mainnet/0x0C7D4bdA40CF78F9F1BAf6e3D5774f1E22c9CC4B My question is about this verifyCalldata() call: function verifyAddress( uint256 _projectId, ...
0 votes
1 answer
596 views
What is the correlation between "Hash" (Method ID) & "Name"
I was checking Etherscan and come across a deployed contract (Create contract), but the method id was 0x60a06040. I then used https://openchain.xyz/signatures?query=0x60a06040 and found out that the ...
0 votes
2 answers
1k views
About MethodID:0x095ea7b3
Everyone directs that this ID is used for approve(address,uint256), can I create my own MethodID, but the function is the same as 0x095ea7b3.
0 votes
1 answer
141 views
Calling contract method(0x..) using web3.py
How to call the method like 0x0eb0d6a5 in web3.py? Seems like it is function name but is it different when calling function name?
0 votes
1 answer
126 views
Why Remix keeps giving "The requested account and/or method has not been authorized by the user" error?
I keep getting this error but, after a while, the transaction works. Is there any problem with Remix?
0 votes
1 answer
90 views
0 value method transaction
Hey I have a question hope anyone can help me understand. I withdrew some USDC from Binance to my hardware wallet and noticed an automatic 0 value usdc method transaction about 5 min later. I withdrew ...
1 vote
2 answers
411 views
How to find out the owner of the NFT, knowing the address of the NFT itself
My question is not quite simple... Is it possible to get the owner's wallet address by knowing the NFT address? Let's imagine that we already know the address of a certain NFT that some person bought ...
1 vote
2 answers
591 views
Get Method ID from all transactions in a block
I ask for your help! How do I get the Method ID for each transaction in a block. I can get the following information block = w3.eth.get_block('latest', True) print(list(block)) ['difficulty', '...
2 votes
2 answers
738 views
How to read multiple destination transactions?
I have a system that read normal token transactions with the 0xa9059cbb method, but now I'm receiving transactions like this 0x5ed78dc97ed6c4a3797be99f04977bbcfd45ca5c0ae97ade16dce69e7ecc558a with ...