snapshot-labs / sx-starknet

Core smart contracts of Snapshot X for Starknet
https://docs.snapshotx.xyz
MIT License
112 stars 69 forks source link

feat: move L1AvatarExecution to a Factory #612

Closed pscott closed 1 month ago

pscott commented 2 months ago

Edits the L1AvatarExecutionStrategy contract to now be spawned by the L1AvatarExecutionStrategyFactory, allowing for easy off-chain indexing.

Makes use of OpenZeppelin's EIP1167 Clones implem.

For integrators (cc @Sekhmet ) the steps to follow are now:

Closes #609