Skip to content

Multicall and Proxy

Compare
Choose a tag to compare
@juniset juniset released this 25 Feb 16:12
· 1910 commits to develop since this release
e0ae18a

Summary

This second release makes the account upgradable by implementing the proxy pattern. The account is a Proxy.cairo contract delegating all calls to an ArgentAccount.cairo implementation. This should enable users to keep their accounts while StarkNet evolves towards production.

In addition, ArgentAccount implements the new IAccount interface where the entry point is renamed __execute__ and the input is an array of calls that are executed in sequence. In addition, the hash of the transaction is updated to support multicalls and the new max_fee and version parameters introduced in Cairo 0.7.1.

To separate accounts from other contracts on StarkNet the ArgentAccount now implements EIP165 with the interface ID of 0xf10dbd44.

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0