Skip to content

HatsSignerGate v2

Latest
Compare
Choose a tag to compare
@spengrah spengrah released this 19 Dec 02:25
2c0172e

Changes

This is a major release, with many new features and improvements.

  • No more dedicated factory. Instances are now deployed from the Zodiac Module Proxy Factory.
  • All HSGs are now Multi, ie they can be configured with multiple signers hats
  • Full compatibility with other Safe & Zodiac modules, ie HSG is now a Zodiac modifier to which Safe modules and a guard can be attached
  • Simpler and more legible valid signer logic
  • Stronger protections against signers changing Safe state, including explicit protection against signers changing the fallback handler
  • Delegatecalls are now restricted to a set of approved target contracts, for improved state safety while retaining ability to batch calls via MultiSend
  • HSG can be be detached from the Safe, or the Safe can be migrated to a new HSG (by the owner)
  • Removed the maxSigners parameter, which in practice only complicated initial configuration unnecessarily
  • Uses transient storage for significant gas savings
  • Signer permissions can optionally be claimed on behalf of accounts wearing a signersHat, for improved automation and onboarding UX
  • HSG can be locked, preventing any changes to configuration

Deployments

See deployment parameters for more details on each deployment.

HatsSignerGate Implementation

Network Address
Sepolia 0x148057884AC910Bdd93693F230C5c35a8c47CA3b
Ethereum (mainnet)
Arbitrum 0x148057884AC910Bdd93693F230C5c35a8c47CA3b
Gnosis Chain 0x148057884AC910Bdd93693F230C5c35a8c47CA3b
Polygon 0x148057884AC910Bdd93693F230C5c35a8c47CA3b
Optimism 0x148057884AC910Bdd93693F230C5c35a8c47CA3b
Base 0x148057884AC910Bdd93693F230C5c35a8c47CA3b
Celo Will be deployed once Celo supports PUSH0 (EIP-3855)