Skip to content

Commit 58b7cbe

Browse files
ernestognwericglaugonzaotc
authored
Update Solidity AccountControls docs (#536)
Co-authored-by: Eric Lau <[email protected]> Co-authored-by: Gonzalo Othacehe <[email protected]>
1 parent b5b3cb8 commit 58b7cbe

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

packages/ui/src/solidity/AccountControls.svelte

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
}}
5555
/>
5656
Signature Validation
57-
<HelpTooltip link="https://docs.openzeppelin.com/contracts/api/interfaces#IERC1271">
57+
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/accounts#signature_validation">
5858
Enables smart contracts to validate signatures through a standard <code>isValidSignature</code> method. Unlike EOAs
5959
(regular accounts) that use private keys, this allows contracts to implement custom signature validation logic, making
6060
them capable of acting as signing entities for operations like approvals, swaps, or any signed messages.
@@ -70,7 +70,7 @@
7070
}}
7171
/>
7272
Account Bound
73-
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/api/utils#ERC7739">
73+
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/accounts#erc_7739_signatures">
7474
Enhances signature security by using a defensive rehashing scheme that prevents signature replay attacks across
7575
multiple smart accounts owned by the same private key. This preserves the readability of signed contents while
7676
ensuring each signature is uniquely bound to a specific account and chain.
@@ -112,10 +112,9 @@
112112
}}
113113
/>
114114
Batched Execution
115-
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/api/account#ERC7821">
115+
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/accounts#batched_execution">
116116
Enables atomic execution of multiple transactions in a single operation, reducing total transaction costs and
117-
latency. Supports different execution modes including single calls, batch calls, and delegatecalls with
118-
customizable error handling.
117+
latency.
119118
</HelpTooltip>
120119
</label>
121120
<label class:checked={!!opts.ERC7579Modules}>
@@ -129,9 +128,10 @@
129128
/>
130129
Modules
131130
<HelpTooltip link="https://eips.ethereum.org/EIPS/eip-7579">
132-
Enables a modular architecture where account functionality can be extended through external contracts (modules).
133-
Supports validators for signature verification, executors for transaction handling, and fallback handlers for
134-
additional features. Hooks are not supported by default.
131+
Enables a modular architecture where account functionality can be extended through installation and
132+
uninstallation of external contracts (modules) and enhances batched execution. Supports validators for signature
133+
verification, executors for transaction handling, and fallback handlers for additional features. Hooks are not
134+
supported by default.
135135
</HelpTooltip>
136136
</label>
137137
<label class:checked={opts.ERC7579Modules === 'AccountERC7579Hooked'} class="subcontrol">
@@ -157,7 +157,7 @@
157157
bind:value={opts.signer}
158158
defaultValue="ECDSA"
159159
helpContent="Defines the base signature validation mechanism for the account. This implementation will be used to validate user operations following ERC-4337 or by ERC-1271's <code>isValidSignature</code> to verify signatures on behalf of the account."
160-
helpLink="https://docs.openzeppelin.com/community-contracts/account-abstraction#selecting_a_signer"
160+
helpLink="https://docs.openzeppelin.com/community-contracts/accounts#selecting_a_signer"
161161
>
162162
<div class="checkbox-group">
163163
<label class:checked={opts.signer === 'ECDSA'}>
@@ -171,15 +171,15 @@
171171
<label class:checked={opts.signer === 'ERC7702'}>
172172
<input type="radio" bind:group={opts.signer} value="ERC7702" />
173173
EOA Delegation
174-
<HelpTooltip link="https://eips.ethereum.org/EIPS/eip-7702">
174+
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/eoa-delegation">
175175
Special ECDSA validation that uses the account's own address as the signer. Enables EOAs to delegate execution
176176
rights to the account while maintaining their native signature verification.
177177
</HelpTooltip>
178178
</label>
179179
<label class:checked={opts.signer === 'Multisig'}>
180180
<input type="radio" bind:group={opts.signer} value="Multisig" />
181181
Multisig*
182-
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/multisig-account#multisignererc7913">
182+
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/multisig">
183183
ERC-7913 multisignature validation requiring a minimum number of signatures to approve operations. The contract
184184
maintains a set of authorized signers and validates that the number of valid signatures meets the threshold
185185
requirement.
@@ -188,9 +188,7 @@
188188
<label class:checked={opts.signer === 'MultisigWeighted'}>
189189
<input type="radio" bind:group={opts.signer} value="MultisigWeighted" />
190190
Multisig Weighted*
191-
<HelpTooltip
192-
link="https://docs.openzeppelin.com/community-contracts/0.0.1/multisig-account#multisignererc7913weighted"
193-
>
191+
<HelpTooltip link="https://docs.openzeppelin.com/community-contracts/multisig#multisignererc7913weighted">
194192
Weighted version of ERC-7913 multisignature validation. Signers have different voting weights, allowing for
195193
flexible governance. The total weight of valid signatures must meet the threshold requirement.
196194
</HelpTooltip>

0 commit comments

Comments
 (0)