Skip to content

Commit 10e3eef

Browse files
committed
add uri field, update help links
1 parent cca51b7 commit 10e3eef

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/ui/src/zama/ConfidentialFungibleControls.svelte

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
</label>
3434
</div>
3535

36+
<label class="labeled-input">
37+
<span class="flex justify-between pr-2">Token URI</span>
38+
<input bind:value={opts.tokenURI} placeholder="https://..." />
39+
</label>
40+
3641
<label class="labeled-input">
3742
<span class="flex justify-between pr-2">
3843
Premint
@@ -63,7 +68,7 @@
6368
<label class:checked={opts.wrappable}>
6469
<input type="checkbox" bind:checked={opts.wrappable} />
6570
Wrappable
66-
<HelpTooltip>TBD</HelpTooltip>
71+
<HelpTooltip>Allows wrapping an ERC20 token into a confidential fungible token.</HelpTooltip>
6772
</label>
6873
</div>
6974
</section>
@@ -73,7 +78,6 @@
7378
bind:value={opts.votes}
7479
defaultValue="blocknumber"
7580
helpContent="Keeps track of historical balances for voting in on-chain governance, with a way to delegate one's voting power to a trusted account."
76-
helpLink="https://docs.openzeppelin.com/contracts/api/token/confidentialFungible#ConfidentialFungibleVotes"
7781
>
7882
<div class="checkbox-group">
7983
<label class:checked={opts.votes === 'blocknumber'}>

0 commit comments

Comments
 (0)