0xSage (@baheraarjun) 's Twitter Profile
0xSage

@baheraarjun

Trying to audit web3 protocols

ID: 1587441676343160832

calendar_today01-11-2022 13:49:46

81 Tweet

2 Takipçi

85 Takip Edilen

0xSage (@baheraarjun) 's Twitter Profile Photo

Day 12 of posting web3 and eventually security around it. Adding to function overriding, let's see how to extend a function. Eg: contract parent { uint public a; function speak() external virtual returns(string) { return "Hello"; }} #blockchain #web3

0xSage (@baheraarjun) 's Twitter Profile Photo

contract child is parent{ function speakMore() override external returns(string){ return string.concat(super.speak(), "World"); // Output => Hello World } }