Creating/Deploying Contracts and Fallback Functions Flashcards
1
Q
creating a contract from outside
A
mist, IDE: Remix (available in Mist), using web3.eth.Contract directly on geth
2
Q
Contracts can also be created inside other contracts
A
The source code of the created contract has to be known to the creator
3
Q
Constructor
A
a function with the same name as the contract
optional
will be executed (only once) when a contract is created
4
Q
a contract can have
A
at most one unnamed function
5
Q
this function is executed whenever
A
the contract receives plain Either (without data)