Skip to content

Hats Protocol v1-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@spengrah spengrah released this 26 Jan 03:10
· 92 commits to main since this release
60f07df

What's New

  • Hat trees can now be linked ("grafted") onto other trees — #79 and #85
  • Wider hat trees: there are now 14 levels below the tophat, with up to 2^16 = 65,536 child hats per hat — #78
  • Gas optimizations, in particular for mintHat#84
  • New event emitted when wearer standing changes — #81
  • Prevent transfer of immutable hats — #80
  • Enable tophats to change their own details and imageURI#86
  • Smart contract documentation is now auto-generated
  • Bug fix: ensure transferHat recipient isn't already wearing the hat — #75 and #77

Deployments

Network Address
Goerli 0x96bd657fcc04c71b47f896a829e5728415cbcaa1
Polygon 0x96bd657fcc04c71b47f896a829e5728415cbcaa1
Gnosis Chain 0x96bd657fcc04c71b47f896a829e5728415cbcaa1

All deployments are made to the same address using a CREATE2 factory, with the following parameters (also viewable in the DeployHats script):

  • salt: 0x0000000000000000000000000000000000000000000000000000000000004a75
  • name: "Hats Protocol v1-beta1"
  • baseImageURI: "ipfs://bafybeigcimbqwfajsnhoq7fqnbdllz7kye7cpdy3adj2sob3wku2llu5bi"