Designing future-proof smart contract systems
Jorge Izquierdo Devcon3
Designing future-proof smart contract systems Jorge Izquierdo - - PowerPoint PPT Presentation
Designing future-proof smart contract systems Jorge Izquierdo Devcon3 Aragon Decentralized organizations platform built on Ethereum. Usable by non-technical users. Allow extendability of the system with third party on-chain
Jorge Izquierdo Devcon3
Ethereum.
contracts
Aragon Blog: Library Driven Development
github.com/maraoz/lib Zeppelin + Aragon
Pros:
Cons:
Proxy 1
Implementation
delegatecall
Proxy 2
call
delegatecall
logic in the context of a contract.
call
aragon-core: common/DelegateProxy.sol
Original idea: Vitalik's DELEGATECALL forwarders
contracts'
number of interactions
Original idea: Nick Johnson's upgradeable.sol
upgradeability
to 32 bytes
TODO: addresses slots
like normal types
arrayP
adding to arrayP
property
the mapping would have been stored if it was a normal value
the mapping would have been stored if it was a normal value
increase p and break all storage.
Employee2 salary
App 1 App 2 Kernel App 3
App v1 Kernel
getAppCode() canPerform(...) foo()
App Proxy
delegate App v1 (0x1234...) true
wiki.aragon.one github.com/aragon aragon.chat