Skip to content

Commit

Permalink
CI: a372599
Browse files Browse the repository at this point in the history
  • Loading branch information
Docs Syncer committed Jul 3, 2024
1 parent bc6200d commit 4ab7492
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 53 deletions.
52 changes: 0 additions & 52 deletions docs/reference/contracts/access/MerkleWhitelisted.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,58 +38,6 @@ modifier onlyWhitelistedUser(address user_, bytes32[] memory merkleProof_)

## Functions info

### isWhitelisted (0x7ea25896)

```solidity
function isWhitelisted(
bytes32 leaf_,
bytes32[] memory merkleProof_
) public view returns (bool)
```

The function to check if the leaf belongs to the Merkle tree


Parameters:

| Name | Type | Description |
| :----------- | :-------- | :---------------------------------------------- |
| leaf_ | bytes32 | the leaf to be checked |
| merkleProof_ | bytes32[] | the path from the leaf to the Merkle tree root |


Return values:

| Name | Type | Description |
| :--- | :--- | :----------------------------------------------------------- |
| [0] | bool | true if the leaf belongs to the Merkle tree, false otherwise |

### isWhitelistedUser (0xa188491c)

```solidity
function isWhitelistedUser(
address user_,
bytes32[] memory merkleProof_
) public view returns (bool)
```

The function to check if the user belongs to the Merkle tree


Parameters:

| Name | Type | Description |
| :----------- | :-------- | :---------------------------------------------- |
| user_ | address | the user to be checked |
| merkleProof_ | bytes32[] | the path from the user to the Merkle tree root |


Return values:

| Name | Type | Description |
| :--- | :--- | :----------------------------------------------------------- |
| [0] | bool | true if the user belongs to the Merkle tree, false otherwise |

### getMerkleRoot (0x49590657)

```solidity
Expand Down
10 changes: 9 additions & 1 deletion docs/reference/contracts/finance/staking/AbstractStaking.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,18 @@ Parameters:
### claimAll (0xd1058e59)

```solidity
function claimAll() public stakingStarted
function claimAll() public stakingStarted returns (uint256)
```

Claims all the available rewards.


Return values:

| Name | Type | Description |
| :--- | :------ | :-------------------------------------- |
| [0] | uint256 | The total value of the rewards claimed. |

### withdraw (0x3ccfd60b)

```solidity
Expand Down

0 comments on commit 4ab7492

Please sign in to comment.