|
16 | 16 | export let accountType: Account | undefined;
|
17 | 17 | </script>
|
18 | 18 |
|
19 |
| - |
20 | 19 | <section class="controls-section">
|
21 | 20 | <h1>Settings</h1>
|
22 | 21 |
|
23 | 22 | <label class="labeled-input">
|
24 | 23 | <span>Name</span>
|
25 |
| - <input bind:value={opts.name} use:error={errors?.name}> |
| 24 | + <input bind:value={opts.name} use:error={errors?.name} /> |
26 | 25 | </label>
|
27 | 26 | </section>
|
28 | 27 |
|
29 | 28 | <section class="controls-section">
|
30 | 29 | <h1>Account Type</h1>
|
31 | 30 | <div class="checkbox-group">
|
32 | 31 | <label class:checked={accountType === 'stark'}>
|
33 |
| - <input type="radio" bind:group={opts.type} value="stark"> |
| 32 | + <input type="radio" bind:group={opts.type} value="stark" /> |
34 | 33 | Starknet
|
35 | 34 | <HelpTooltip link="https://docs.openzeppelin.com/contracts-cairo/accounts#starknet_account">
|
36 | 35 | Starknet account that uses the STARK curve for signature checking.
|
37 | 36 | </HelpTooltip>
|
38 | 37 | </label>
|
39 | 38 |
|
40 | 39 | <label class:checked={accountType === 'eth'}>
|
41 |
| - <input type="radio" bind:group={opts.type} value="eth"> |
| 40 | + <input type="radio" bind:group={opts.type} value="eth" /> |
42 | 41 | Ethereum
|
43 | 42 | <HelpTooltip link="https://docs.openzeppelin.com/contracts-cairo/accounts#ethereum_account">
|
44 | 43 | Ethereum-flavored account that uses the Secp256k1 curve for signature checking.
|
|
52 | 51 |
|
53 | 52 | <div class="checkbox-group">
|
54 | 53 | <label class:checked={opts.outsideExecution}>
|
55 |
| - <input type="checkbox" bind:checked={opts.outsideExecution}> |
| 54 | + <input type="checkbox" bind:checked={opts.outsideExecution} /> |
56 | 55 | Outside Execution
|
57 | 56 | <HelpTooltip link="https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-9.md">
|
58 | 57 | Allows a protocol to submit transactions on behalf of the account, as long as it has the relevant signatures.
|
59 | 58 | </HelpTooltip>
|
60 | 59 | </label>
|
61 | 60 |
|
62 | 61 | <label class:checked={opts.declare}>
|
63 |
| - <input type="checkbox" bind:checked={opts.declare}> |
| 62 | + <input type="checkbox" bind:checked={opts.declare} /> |
64 | 63 | Declarer
|
65 | 64 | <HelpTooltip link="https://docs.starknet.io/architecture-and-concepts/smart-contracts/contract-classes/">
|
66 | 65 | Enables the account to declare other contract classes.
|
67 | 66 | </HelpTooltip>
|
68 | 67 | </label>
|
69 | 68 |
|
70 | 69 | <label class:checked={opts.deploy}>
|
71 |
| - <input type="checkbox" bind:checked={opts.deploy}> |
| 70 | + <input type="checkbox" bind:checked={opts.deploy} /> |
72 | 71 | Deployable
|
73 | 72 | <HelpTooltip link="https://docs.openzeppelin.com/contracts-cairo/accounts#deploying_an_account">
|
74 | 73 | Enables the account to be counterfactually deployed.
|
75 | 74 | </HelpTooltip>
|
76 | 75 | </label>
|
77 | 76 |
|
78 | 77 | <label class:checked={opts.pubkey}>
|
79 |
| - <input type="checkbox" bind:checked={opts.pubkey}> |
| 78 | + <input type="checkbox" bind:checked={opts.pubkey} /> |
80 | 79 | Public Key
|
81 |
| - <HelpTooltip> |
82 |
| - Enables the account to change its own public key. |
83 |
| - </HelpTooltip> |
| 80 | + <HelpTooltip>Enables the account to change its own public key.</HelpTooltip> |
84 | 81 | </label>
|
85 | 82 | <UpgradeabilityField bind:upgradeable={opts.upgradeable} />
|
86 | 83 | </div>
|
|
0 commit comments