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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Constructor

A

a function with the same name as the contract

optional

will be executed (only once) when a contract is created

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

a contract can have

A

at most one unnamed function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

this function is executed whenever

A

the contract receives plain Either (without data)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly