Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/devdocs/Solidity API/Permissioned.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,19 @@ Modifier that requires the provided signature to be signed by a specific owner a
| permission | struct Permission | Data structure containing the public key and the signature to be verified |
| owner | address | The expected owner of the public key to match against the recovered signer |

### onlyBetweenPermitted

```solidity
modifier onlyBetweenPermitted(struct Permission permission, address owner, address permitted)
```

Modifier that requires the provided signature to be signed by one of two specific addresses

#### Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| permission | struct Permission | Data structure containing the public key and the signature to be verified |
| owner | address | The expected owner of the public key to match against the recovered signer |
| permitted | address | A second permitted owner of the public key to match against the recovered signer |

16 changes: 16 additions & 0 deletions versioned_docs/version-Helium/devdocs/Solidity API/Permissioned.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,19 @@ Modifier that requires the provided signature to be signed by a specific owner a
| permission | struct Permission | Data structure containing the public key and the signature to be verified |
| owner | address | The expected owner of the public key to match against the recovered signer |

### onlyBetweenPermitted

```solidity
modifier onlyBetweenPermitted(struct Permission permission, address owner, address permitted)
```

Modifier that requires the provided signature to be signed by one of two specific addresses

#### Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| permission | struct Permission | Data structure containing the public key and the signature to be verified |
| owner | address | The expected owner of the public key to match against the recovered signer |
| permitted | address | A second permitted owner of the public key to match against the recovered signer |