Skip to content

Commit

Permalink
feat: refine descs
Browse files Browse the repository at this point in the history
  • Loading branch information
sdlyy committed Dec 12, 2023
1 parent 9948773 commit 0fd4fce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function EndpointContract(props: Props): JSX.Element {
label={
<InfoTooltip
text={
'The default messaging library.\n The contract handles the message payload packing on the source chain. The owner of the Endpoint contract can set a new default send library version. The version is a number, corresponding to an index in the libraryLookup array.'
'The default messaging library. The contract handles the message payload packing on the source chain. The owner of the Endpoint contract can change this value.'
}
>
Default send library
Expand All @@ -58,7 +58,7 @@ export function EndpointContract(props: Props): JSX.Element {
/>
<Row
label={
<InfoTooltip text="The default messaging library. The contract handles the message payload verification on the destination chain. The owner of the Endpoint contract can set a new default received library version. The version is a number, corresponding to an index in the libraryLookup array.">
<InfoTooltip text="The default messaging library. The contract handles the message payload verification on the destination chain. The owner of the Endpoint contract can change this value.">
Default receive library
</InfoTooltip>
}
Expand Down
10 changes: 5 additions & 5 deletions packages/frontend/src/view/components/protocol/RemoteChain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function RemoteChainComponent(props: Props): JSX.Element | null {
<Row
className="px-6"
label={
<InfoTooltip text="List of destination chains decoding is supported for by this site.">
<InfoTooltip text="List of destination chains supported by this site.">
Remote Chain
</InfoTooltip>
}
Expand All @@ -70,7 +70,7 @@ export function RemoteChainComponent(props: Props): JSX.Element | null {
<>
<Block
title={
<InfoTooltip text="The default config parameters. The owner of UltraLightNodeV2 can set a new default application configuration. Default parameters are used if the User Application did not set its own configuration for a specific chain pathway.">
<InfoTooltip text="The default config parameters. Default parameters are used if the User Application did not set its configuration for a specific chain pathway. This value can be changed by the owner of ULNv2.">
Default app config
</InfoTooltip>
}
Expand Down Expand Up @@ -134,7 +134,7 @@ export function RemoteChainComponent(props: Props): JSX.Element | null {
dense
className="md:pl-7"
label={
<InfoTooltip text="A contract address that can be notified to move a block header. It writes a commitment for the messages on the destination chain.">
<InfoTooltip text="An address allowed to advance a block header. The oracle moves a requested block header from a source chain to a destination chain. It writes a commitment for the messages on the destination chain.">
Oracle
</InfoTooltip>
}
Expand All @@ -149,7 +149,7 @@ export function RemoteChainComponent(props: Props): JSX.Element | null {
dense
className="md:pl-7"
label={
<InfoTooltip text="Works with tandem with an Oracle to transmit messages between chains. By default, User Applications will use LayerZero Relayer which can be changed within the User Application's configuration.">
<InfoTooltip text="Works in tandem with an Oracle to transmit messages between chains. Relayer proves the message inclusion in the source chain to the destination chain.">
Relayer
</InfoTooltip>
}
Expand All @@ -163,7 +163,7 @@ export function RemoteChainComponent(props: Props): JSX.Element | null {

<Block
title={
<InfoTooltip text="Adapter Parameters are a bytes-array used for specifying the amount of gas on the destination chain to send for an application to use. If this parameter is left blank or passed as 0x0, then defaults are inherited and used. The owner of UltraLightNodeV2 can set new default parameters.">
<InfoTooltip text="Adapter Parameters are a bytes-array used for specifying the amount of gas on the destination chain to send for an application to use.">
Default adapter params
</InfoTooltip>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function UltraLightNodeContract(props: Props): JSX.Element {
<Subsection>
<Row
label={
<InfoTooltip text="The owner of the contract. Allowed to change the following values: the destination UltraLightNodeV2 library, the enabled outbound proof types, the available proof libraries, the default adapter parameters, and the default app config.">
<InfoTooltip text="The owner of the contract. Allowed to change the following values: the destination UltraLightNodeV2 library, the enabled outbound proof types, the available proof libraries, the default adapter parameters, the default app config, the Treasury contract address, and the LayerZero token. Allowed to withdraw fees from the Treasury contract.">
Owner
</InfoTooltip>
}
Expand Down

0 comments on commit 0fd4fce

Please sign in to comment.