All Questions
7 questions
28
votes
1
answer
10k
views
Cannot perform write functions in smart contract - invalid address?
I have the following simple smart contract...
contract SimpleStorage {
uint storedData;
function set(uint x) {
storedData = x;
}
function get() constant returns (uint retVal) ...
4
votes
1
answer
586
views
Is the address of a Smart Contract fixed?
I would like to know if the address of the smart contract is fixed.
I want some privacy for my application, so I would like to change the sending address and receiving address each time the smart ...
2
votes
3
answers
1k
views
How smart contract transactions work?
I read that smart contracts don’t have a private key, so they can’t sign a transaction. My question is: when a smart contract starts a transaction to an EOA, how are we sure that the smart contract ...
2
votes
1
answer
241
views
How does Transactions work in Ethereum Virtual Machine?
While reading the transactions sections of EVM documentation many questions raised in my head:
If the target account is not set (the transaction does not have a
recipient or the recipient is set ...
1
vote
3
answers
672
views
Transaction receiving ether from a contract address
Are transactions sending ether from contract addresses to normal addresses listed in block.transactions or are they not trivial to detect?
If not in block.transactions than how to detect?
0
votes
1
answer
34
views
Transactions with my contract are older than the contract itself
I have recently started my blockchain development journey and I can't seem to find an answer to my question.
I have deployed a new contract (the same way as I did a few before) on 19.09.2022 13:25 yet ...
0
votes
2
answers
634
views
How can I create a modifier that requires the msg.sender be one of multiple addresses?
I apologize if this has been asked already. It seems like a very basic question but I cannot find an answer to it. Every example of using a modifier to create a "ownerOnly" function uses the "owner =...