Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/cookbookdev/docsbot-…
Browse files Browse the repository at this point in the history
…4.18.11
  • Loading branch information
Hugoo authored Jun 19, 2024
2 parents b2a73c1 + 7e52f64 commit 5bc4a1f
Show file tree
Hide file tree
Showing 32 changed files with 337 additions and 158 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1938,6 +1938,7 @@ reverts when there is no extension for the function selector being called with
| `functionSelector` | `bytes4` | - |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ error WrongPlainSecret();
reverts when the plain secret produce a different hash than the secret hash originally set

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ Reverts when only the owner is allowed to call the function.
| `callerAddress` | `address` | The address that tried to make the call. |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ error InvalidValueSum();
Reverts when `msg.value` sent to [`deployCreate2AndInitialize(..)`](#deploycreate2andinitialize) function is not equal to the sum of the `initializeCalldataMsgValue` and `constructorMsgValue`

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ If there is an extension for the function selector being called, it calls the ex
`CALL` opcode, passing the `msg.data` appended with the 20 bytes of the [`msg.sender`](#msg.sender) and 32 bytes of the `msg.value`.

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ function _extendableMsgValue() internal view returns (uint256);
Returns the original `msg.value` sent to the extendable contract.

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ Reverts when EOA calls the [`universalReceiver(..)`](#universalreceiver) functio
| `caller` | `address` | The address of the EOA |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ Reverts when EOA calls the [`universalReceiver(..)`](#universalreceiver) functio
| `caller` | `address` | The address of the EOA |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ function _revertWithLSP20DefaultError(
```

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Executes post-deployment logic for the primary and secondary contracts.
| `calldataToPostDeploymentModule` | `bytes` | Calldata to be passed for the post-deployment execution. |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ Reverts when the deployment & intialization of the secondary contract has failed
| `errorData` | `bytes` | Potentially information about why the deployment & intialization have failed. |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ The "idx" is a 256bits (unsigned) integer, where:
| `0` | `bool` | true if the nonce is the latest nonce for the `signer`, false otherwise. |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ error OwnableCannotSetZeroAddressAsOwner();
Reverts when trying to set `address(0)` as the contract owner when deploying the contract, initializing it or transferring ownership of the contract.

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
3 changes: 2 additions & 1 deletion docs/contracts/contracts/LSP6KeyManager/LSP6KeyManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Same as [`execute`](#execute) but execute a batch of payloads (abi-encoded funct

:::tip Hint

If you are looking to learn how to sign and execute relay transactions via the Key Manager, see our Javascript step by step guide [_"Execute Relay Transactions"_](../../../learn/expert-guides/key-manager/execute-relay-transactions.md). See the LSP6 Standard page for more details on how to [generate a valid signature for Execute Relay Call](../../../standards/universal-profile/lsp6-key-manager.md#how-to-sign-relay-transactions).
If you are looking to learn how to sign and execute relay transactions via the Key Manager, see our Javascript step by step guide [_"Execute Relay Transactions"_](../../../learn/key-manager/execute-relay-transactions.md). See the LSP6 Standard page for more details on how to [generate a valid signature for Execute Relay Call](../../../standards/universal-profile/lsp6-key-manager.md#how-to-sign-relay-transactions).

:::

Expand Down Expand Up @@ -1967,6 +1967,7 @@ _Relay call expired (deadline passed)._
Reverts when the period to execute the relay call has expired.

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1914,6 +1914,7 @@ error OwnableCannotSetZeroAddressAsOwner();
Reverts when trying to set `address(0)` as the contract owner when deploying the contract, initializing it or transferring ownership of the contract.

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2202,6 +2202,7 @@ error OwnableCannotSetZeroAddressAsOwner();
Reverts when trying to set `address(0)` as the contract owner when deploying the contract, initializing it or transferring ownership of the contract.

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
1 change: 1 addition & 0 deletions docs/contracts/contracts/LSP9Vault/LSP9Vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -1805,6 +1805,7 @@ Reverts when only the owner is allowed to call the function.
| `callerAddress` | `address` | The address that tried to make the call. |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1867,6 +1867,7 @@ reverts when there is no extension for the function selector being called with
| `functionSelector` | `bytes4` | - |

<br/>

<!-- GLOBAL LINKS -->

<!-- prettier-ignore-start -->
Expand Down
2 changes: 1 addition & 1 deletion docs/contracts/libraries/LSP2Utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function generateMappingWithGroupingKey(
) internal pure returns (bytes32);
```

Generate a data key of key type MappingWithGrouping that map a `keyPrefix` to an other `mapPrefix` to a specific `subMapKey`. As:
Generate a data key of key type MappingWithGrouping that map a `keyPrefix` to another `mapPrefix` to a specific `subMapKey`. As:

```
keyPrefix:mapPrefix:0000:subMapKey
Expand Down
4 changes: 2 additions & 2 deletions docs/contracts/overview/UniversalProfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ A `UniversalProfile` has all the basic functionalities of an _Externally Owned A

All ownable functions such as [`execute(..)`](../contracts/UniversalProfile.md#execute), [`executeBatch(..)`](../contracts/UniversalProfile.md#executebatch), [`setData(..)`](../contracts/UniversalProfile.md#setdata), [`setDataBatch(..)`](../contracts/UniversalProfile.md#setdatabatch), [`transferOwnership(..)`](../contracts/UniversalProfile.md#transferownership), and [`renounceOwnership(..)`](../contracts/UniversalProfile.md#renounceownership) can be called by the owner

The contract also includes the [LSP20-CallVerification](../../standards/universal-profile/lsp0-erc725account.md#lsp20---call-verification) at its core. Meaning if the contract is owned by an other contract, LSP20 enables to interact with the contract directly without having to resolve through its owner first. This allows seamless integrations with other contracts, protocols and dApps, as the contract can be called directly, making the developer experience easier.
The contract also includes the [LSP20-CallVerification](../../standards/universal-profile/lsp0-erc725account.md#lsp20---call-verification) at its core. Meaning if the contract is owned by another contract, LSP20 enables to interact with the contract directly without having to resolve through its owner first. This allows seamless integrations with other contracts, protocols and dApps, as the contract can be called directly, making the developer experience easier.

To illustrate, if an other address than the owner calls the [`execute(..)`](../contracts/UniversalProfile.md#execute) function, the account contract will:
To illustrate, if another address than the owner calls the [`execute(..)`](../contracts/UniversalProfile.md#execute) function, the account contract will:

1. Forward the call to the owner.
2. The execution of the function will only continue if the owner returns the `LSP20 MAGIC VALUE`, indicating that the caller is allowed to execute the function.
Expand Down
8 changes: 0 additions & 8 deletions docs/faq/lukso/feature-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ description: 'LUKSO ecosystem feature requests: developer events, hackathons, gr

# Feature Requests

## Will there be video guides about LSPs?

Yes, there are already several videos created for the BuildUP #2 hackathon that you can find on the [LUKSO Youtube channel](https://www.youtube.com/playlist?list=PLNzyUdu4v7bkwBuDV0gSJrrniPsx5bxK_). Additional videos will be released over time.

## Will there be re-occurring developer events?

Yes, developer meetings and events are planned to present our monthly tech progress and move into a more transparent development process. You can now find and discuss weekly tech updates within the official [LUKSO Discord](https://discord.gg/lukso) server.
Expand All @@ -22,10 +18,6 @@ Yes, developers have several options for financial support when building on LUKS

At the moment, LUKSO is available on [KuCoin](https://www.kucoin.com/de), [Crypto.com](https://crypto.com/), and [Gate.io](https://www.gate.io/). As the network continues to expand, additionl exchanges may consider joining. It is important to note that this decision is entirely at the discretion of the exchanges.

## Is it planned to have a video guide about setting up a node?

Setting up a node exceeds the network configurations and LUKSO CLI. Complete node setups depend on many influences, such as the operating system, security measures, server location, network configurations and hardware. Due to the various configurations, we cannot issue a standardized guide. However, you can check the [Community Guides](https://docs.luksoverse.io/) by Luksoverse or join the [ETHStaker](https://discord.com/invite/ucsTcA2wTq) Community Discord to get comprehensive knowledge about running a node for EVM networks.

## Will there be a Mobile Application for Universal Profiles?

Yes, LUKSO is actively developing a mobile version of the browser extension that let you interact with your Universal Profiles from your mobile phone. There is no strict release date planned, but we aligned the development of the Mobile and Browser Extension in order to be able to quickly implement features on both sides.
2 changes: 1 addition & 1 deletion docs/learn/universal-profile/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ When building dApps on LUKSO, you are interacting with [Universal Profiles](../.
<div style={{ display: 'flex', justifyContent: 'center' }}>
<CallToActionButton
color="white"
link="/learn/universal-profile/connect-profile"
link="/learn/universal-profile/connect-profile/connect-up"
text="3 - Get started building! 🫡"
/>
</div>
Expand Down
Loading

0 comments on commit 5bc4a1f

Please sign in to comment.