diff --git a/docs/modules/ROOT/pages/accounts.adoc b/docs/modules/ROOT/pages/accounts.adoc index dcf472fab..eef5f0d49 100644 --- a/docs/modules/ROOT/pages/accounts.adoc +++ b/docs/modules/ROOT/pages/accounts.adoc @@ -1,7 +1,7 @@ :test-signers: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.6.1/tests/signers.py :snip-5: https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-5.md :snip-6: https://github.com/ericnordelo/SNIPs/blob/feat/standard-account/SNIPS/snip-6.md -:counterfactual: xref:/guides/deployment.adoc[Counterfactual deployments] +:counterfactual: xref:/guides/deployment.adoc[counterfactual deployments] = Accounts diff --git a/src/account/interface.cairo b/src/account/interface.cairo index f190c7233..3dbc596ba 100644 --- a/src/account/interface.cairo +++ b/src/account/interface.cairo @@ -13,11 +13,6 @@ trait ISRC6 { fn is_valid_signature(self: @TState, hash: felt252, signature: Array) -> felt252; } -#[starknet::interface] -trait ISRC6CamelOnly { - fn isValidSignature(self: @TState, hash: felt252, signature: Array) -> felt252; -} - #[starknet::interface] trait IDeclarer { fn __validate_declare__(self: @TState, class_hash: felt252) -> felt252; @@ -36,6 +31,11 @@ trait IPublicKey { fn set_public_key(ref self: TState, new_public_key: felt252); } +#[starknet::interface] +trait ISRC6CamelOnly { + fn isValidSignature(self: @TState, hash: felt252, signature: Array) -> felt252; +} + #[starknet::interface] trait IPublicKeyCamel { fn getPublicKey(self: @TState) -> felt252;