You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/contracts-cairo/1.0.0/accounts.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,12 @@ interoperability with the ecosystem.
80
80
The Starknet protocol uses a few entrypoints for abstracting the accounts. We already mentioned the first two
81
81
as part of the ISRC6 interface, and both are required for enabling accounts to be used for executing transactions. The rest are optional:
82
82
83
-
1.`\\__validate__` verifies the validity of the transaction to be executed. This is usually used to validate signatures,
83
+
1.`_validate__` verifies the validity of the transaction to be executed. This is usually used to validate signatures,
84
84
but the entrypoint implementation can be customized to feature any validation mechanism [with some limitations](https://docs.starknet.io/architecture-and-concepts/accounts/account-functions/#limitations_of_validation).
85
-
2.`\\__execute__` executes the transaction if the validation is successful.
86
-
3.`\\__validate_declare__` optional entrypoint similar to `\\__validate__` but for transactions
85
+
2.`_execute__` executes the transaction if the validation is successful.
86
+
3.`_validate_declare__` optional entrypoint similar to `_validate__` but for transactions
87
87
meant to declare other contracts.
88
-
4.`\\__validate_deploy__` optional entrypoint similar to `\\__validate__` but meant for [counterfactual deployments](/guides/deployment).
88
+
4.`_validate_deploy__` optional entrypoint similar to `_validate__` but meant for [counterfactual deployments](/guides/deployment).
89
89
90
90
<Callout>
91
91
Although these entrypoints are available to the protocol for its regular transaction flow, they can also be called like any other method.
@@ -275,7 +275,7 @@ wraps and exposes the `deploy_syscall` to provide arbitrary deployments through
275
275
But if you don’t have an account to invoke it, you will probably want to use the latter.
276
276
277
277
To do counterfactual deployments, you need to implement another protocol-level entrypoint named
278
-
`\\__validate_deploy__`. Check the [counterfactual deployments](/guides/deployment) guide to learn how.
278
+
`_validate_deploy__`. Check the [counterfactual deployments](/guides/deployment) guide to learn how.
Copy file name to clipboardExpand all lines: content/contracts-cairo/2.0.0/accounts.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,12 @@ interoperability with the ecosystem.
80
80
The Starknet protocol uses a few entrypoints for abstracting the accounts. We already mentioned the first two
81
81
as part of the ISRC6 interface, and both are required for enabling accounts to be used for executing transactions. The rest are optional:
82
82
83
-
1.`\\__validate__` verifies the validity of the transaction to be executed. This is usually used to validate signatures,
83
+
1.`_validate__` verifies the validity of the transaction to be executed. This is usually used to validate signatures,
84
84
but the entrypoint implementation can be customized to feature any validation mechanism [with some limitations](https://docs.starknet.io/architecture-and-concepts/accounts/account-functions/#limitations_of_validation).
85
-
2.`\\__execute__` executes the transaction if the validation is successful.
86
-
3.`\\__validate_declare__` optional entrypoint similar to `\\__validate__` but for transactions
85
+
2.`_execute__` executes the transaction if the validation is successful.
86
+
3.`_validate_declare__` optional entrypoint similar to `_validate__` but for transactions
87
87
meant to declare other contracts.
88
-
4.`\\__validate_deploy__` optional entrypoint similar to `\\__validate__` but meant for [counterfactual deployments](/guides/deployment).
88
+
4.`_validate_deploy__` optional entrypoint similar to `_validate__` but meant for [counterfactual deployments](/guides/deployment).
89
89
90
90
<Callout>
91
91
Although these entrypoints are available to the protocol for its regular transaction flow, they can also be called like any other method.
@@ -275,7 +275,7 @@ wraps and exposes the `deploy_syscall` to provide arbitrary deployments through
275
275
But if you don’t have an account to invoke it, you will probably want to use the latter.
276
276
277
277
To do counterfactual deployments, you need to implement another protocol-level entrypoint named
278
-
`\\__validate_deploy__`. Check the [counterfactual deployments](/guides/deployment) guide to learn how.
278
+
`_validate_deploy__`. Check the [counterfactual deployments](/guides/deployment) guide to learn how.
Copy file name to clipboardExpand all lines: content/contracts-cairo/accounts.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,12 @@ interoperability with the ecosystem.
80
80
The Starknet protocol uses a few entrypoints for abstracting the accounts. We already mentioned the first two
81
81
as part of the ISRC6 interface, and both are required for enabling accounts to be used for executing transactions. The rest are optional:
82
82
83
-
1.`\\__validate__` verifies the validity of the transaction to be executed. This is usually used to validate signatures,
83
+
1.`_validate__` verifies the validity of the transaction to be executed. This is usually used to validate signatures,
84
84
but the entrypoint implementation can be customized to feature any validation mechanism [with some limitations](https://docs.starknet.io/architecture-and-concepts/accounts/account-functions/#limitations_of_validation).
85
-
2.`\\__execute__` executes the transaction if the validation is successful.
86
-
3.`\\__validate_declare__` optional entrypoint similar to `\\__validate__` but for transactions
85
+
2.`_execute__` executes the transaction if the validation is successful.
86
+
3.`_validate_declare__` optional entrypoint similar to `_validate__` but for transactions
87
87
meant to declare other contracts.
88
-
4.`\\__validate_deploy__` optional entrypoint similar to `\\__validate__` but meant for [counterfactual deployments](/guides/deployment).
88
+
4.`_validate_deploy__` optional entrypoint similar to `_validate__` but meant for [counterfactual deployments](/guides/deployment).
89
89
90
90
<Callout>
91
91
Although these entrypoints are available to the protocol for its regular transaction flow, they can also be called like any other method.
@@ -275,7 +275,7 @@ wraps and exposes the `deploy_syscall` to provide arbitrary deployments through
275
275
But if you don’t have an account to invoke it, you will probably want to use the latter.
276
276
277
277
To do counterfactual deployments, you need to implement another protocol-level entrypoint named
278
-
`\\__validate_deploy__`. Check the [counterfactual deployments](/guides/deployment) guide to learn how.
278
+
`_validate_deploy__`. Check the [counterfactual deployments](/guides/deployment) guide to learn how.
Copy file name to clipboardExpand all lines: content/upgrades-plugins/writing-upgradeable.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -386,7 +386,7 @@ Then the variable `base2` would be assigned the slot that `child` had in the pre
386
386
387
387
Storage gaps are a convention for reserving storage slots in a base contract, allowing future versions of that contract to use up those slots without affecting the storage layout of child contracts.
388
388
389
-
To create a storage gap, declare a fixed-size array in the base contract with an initial number of slots. This can be an array of `uint256` so that each element reserves a 32 byte slot. Use the name `\\__gap` or a name starting with `__gap_` for the array so that OpenZeppelin Upgrades will recognize the gap:
389
+
To create a storage gap, declare a fixed-size array in the base contract with an initial number of slots. This can be an array of `uint256` so that each element reserves a 32 byte slot. Use the name `_gap` or a name starting with `__gap_` for the array so that OpenZeppelin Upgrades will recognize the gap:
0 commit comments