Skip to content

Commit

Permalink
docs: update auto-generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
b00ste committed Oct 10, 2023
1 parent b35c61b commit 944dad2
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions docs/contracts/LSP6KeyManager/LSP6KeyManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,6 @@ _Execute the `payload` passed to `execute(...)` or `executeRelayCall(...)`_
function _verifyPermissions(
address targetContract,
address from,
uint256 msgValue,
bool isRelayedCall,
bytes payload
) internal view;
Expand All @@ -1179,9 +1178,8 @@ Verify if the `from` address is allowed to execute the `payload` on the [`target

| Name | Type | Description |
| ---------------- | :-------: | ------------------------------------------------------------------- |
| `targetContract` | `address` | - |
| `targetContract` | `address` | The contract that is owned by the Key Manager |
| `from` | `address` | Either the caller of {execute} or the signer of {executeRelayCall}. |
| `msgValue` | `uint256` | - |
| `isRelayedCall` | `bool` | - |
| `payload` | `bytes` | The abi-encoded function call to execute on the {target} contract. |

Expand Down Expand Up @@ -1310,27 +1308,6 @@ Reverts when calling the KeyManager through `execute(uint256,address,uint256,byt

<br/>

### CannotSendValueToSetData

:::note References

- Specification details: [**LSP-6-KeyManager**](https://github.com/lukso-network/lips/tree/main/LSPs/LSP-6-KeyManager.md#cannotsendvaluetosetdata)
- Solidity implementation: [`LSP6KeyManager.sol`](https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP6KeyManager/LSP6KeyManager.sol)
- Error signature: `CannotSendValueToSetData()`
- Error hash: `0x59a529fc`

:::

```solidity
error CannotSendValueToSetData();
```

_Cannot sent native tokens while setting data._

Reverts when calling the `setData(byte32,bytes)` or `setData(bytes32[],bytes[]) functions on the linked [`target`](#target) while sending value.

<br/>

### DelegateCallDisallowedViaKeyManager

:::note References
Expand Down

0 comments on commit 944dad2

Please sign in to comment.