Questions tagged [contract-invocation]
Questions regarding the act of calling or interacting with (a.k.a. invoking) a contract on the Ethereum blockchain by a user or another contract on the blockchain. Includes both local invocation by call and global invocation by transaction.
1,196 questions
1 vote
2 answers
127 views
Why swapping token to token uses both ERC-20 approve() and EIP-2612 permit()?
I'm learning smart contracts. As my knowledge, there are two ways to delegate token to others: use an ERC-20 approve(), sign and broadcast the transaction use an EIP-712 offline signature, give the ...
0 votes
1 answer
86 views
How can I take my funds out of a smart contract I deployed while totally ignorant about the immutability of smart contracts? [duplicate]
How can I tell if I am still the owner or admin of my smart contract which I recently deployed? How can I terminate/destroy the smart contract if it did not have selfdestruct coded in? How do I take ...
0 votes
0 answers
34 views
Í accidentally created a Smart Contract by sending ETH somehow, wondering if I could get it back?
0x9430d07baea8bd96fae38e0306e64c3a1fe1bfc5 That is the token contract, I'm pretty sure I accidentally created it by sending 0.25 ETH to an address that didn't exist at the time? And so it created a ...
1 vote
1 answer
120 views
How can I withdraw ERC20 tokens from this proxy contract?
I have an contract exactly like this: https://etherscan.io/address/0xd9db270c1b5e3bd161e8c8503c55ceabee709552#code How can I withdraw ERC20 tokens from it? Please write an nodejs example or the value ...
1 vote
1 answer
62 views
Strange 0 ETH transactions that don't go to contracts with structured message
I was researching EOA->EOA transactions that took more than 21k gas when I found multiple transactions that don't transfer any ETH value nor do they call a contract but have a not null data field. ...
0 votes
1 answer
50 views
DYOR: Smart Contract Hash vs. Audit CheckSum w/ SHA256
Stack Exchange, First off I would like to say, as a grateful reader on many different stack forums, thank you all for the competent, articulate and drama-free solutions written on these pages. So many ...
0 votes
1 answer
56 views
Interact with Deployed Contract
Can we interact with a deployed contract without web3 library meaning through another contract. Can we make a call to another contract inside of a contract through may be assembly keyword that makes ...
0 votes
1 answer
33 views
The state of the called contract has not updated!
There are two smart contracts, A and B. The addDev() function in contract A is called from contract B using the targetContractAddress.call() method. However, despite the call being successful, the ...