Skip to content

A basic example for how to use hashes to "store" complex objects as hashes. Inspired by 0xSplits.

Notifications You must be signed in to change notification settings

The-Arbiter/Hash-Storage-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hash Storage Example

This is a very basic example for how to use hashes to "store" complex objects as hashes.

Why do you care?

This is the future. Sure, it kind of breaks composability but not completely. Anyway I am using this for Arbiter Protocol which is moving to v2 right now and I need to learn how to do it, so this repo is my learning experience.

Also we can do stuff like slices on calldata arrays (which we can't do for other array types in solidity at the moment) so this actually unlocks some cool stuff if you use it and rely on slicing of arrays.

Arby

About

A basic example for how to use hashes to "store" complex objects as hashes. Inspired by 0xSplits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published