Skip to content

Commit

Permalink
feat: add oz account v0.5.0 to registry
Browse files Browse the repository at this point in the history
This account is used by `katana` from `dojo` for pre-funded accounts.
Having this class registered helps Starkli work better with `katana`.
  • Loading branch information
xJonathanLEI committed Sep 15, 2023
1 parent c7fbfc8 commit 5a5cc1a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ use crate::path::ExpandedPathbufParser;

const BRAAVOS_SIGNER_TYPE_STARK: FieldElement = FieldElement::ONE;

pub const KNOWN_ACCOUNT_CLASSES: [KnownAccountClass; 4] = [
pub const KNOWN_ACCOUNT_CLASSES: [KnownAccountClass; 5] = [
KnownAccountClass {
class_hash: felt!("0x048dd59fabc729a5db3afdf649ecaf388e931647ab2f53ca3c6183fa480aa292"),
variant: AccountVariantType::OpenZeppelin,
description: "OpenZeppelin account contract v0.6.1 compiled with cairo-lang v0.11.0.2",
},
KnownAccountClass {
class_hash: felt!("0x04d07e40e93398ed3c76981e72dd1fd22557a78ce36c0515f679e27f0bb5bc5f"),
variant: AccountVariantType::OpenZeppelin,
description: "OpenZeppelin account contract v0.5.0 compiled with cairo-lang v0.10.1",
},
KnownAccountClass {
class_hash: felt!("0x025ec026985a3bf9d0cc1fe17326b245dfdc3ff89b8fde106542a3ea56c5a918"),
variant: AccountVariantType::ArgentLegacy,
Expand Down

0 comments on commit 5a5cc1a

Please sign in to comment.