Final month of drafting for "Mastering Ethereum". If you'd like to contribute, there are tasks for every skill level of contributor.
https://t.co/dEFinakyfe
https://t.co/zhGtXsAs86
Want to _really_ know Ethereum down to the lowest bits? Read the technical specification! For a gentler introduction than the 'yellow paper' , check out the ' Ethereum beige paper'
https://t.co/pBRJV3WPa8
#ETHEREUM
#Blockchain can get pretty technical, even for our technical writer @micahdameron. He recalls how he first made sense of the #Ethereum Yellow Paper and explains his motives for the Beige Paper––a more approachable version for the larger crypto community. https://t.co/AGwBi7AU5F
events can have at most three parameters designated as 'indexed'. This allows us to search for these parameter values. It is also possible to filter for specific values via web3.
#ETHEREUM#smartcontracts
events are declared using the 'Event' keyword. Create many different events for debugging, or just to keep an eye on your contracts :)
event Deposit (
address indexed _from,
bytes32 indexed _id,
uint _value
);
#ETHEREUM#smartcontracts
Parents - is your teen texting about price action?
Watch out for these commonly used terms:
LOL - Lots Of Liquidity
WTF - What Time Frame
ASL - Asian Session Lows
LMAO - Lows Made Above Orderblock
STFU - Support Tested From Underneath
ROFL - Retail Orders Forming Lows
Events are defined within the smart contract, and can be emitted when something important happens.
Define:
event LogDepositMade(address accountAddress, uint amount);
Fire within a function:
LogDepositMade(msg.sender, msg.value);
#Ethereum
Solidity maps can contain other maps.
"A map to a map" is used within the ERC20 token standard:
mapping(address => mapping (address => uint256)) allowed;
#Ethereum