Update docs

This commit is contained in:
github-actions
2025-01-22 04:00:10 +00:00
parent edf6031131
commit 0dda004024
124 changed files with 8439 additions and 1170 deletions

View File

@ -58,7 +58,7 @@ This directory includes primitives for financial systems:
[.contract]
[[VestingWallet]]
=== `++VestingWallet++` link:https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v5.1.0/contracts/finance/VestingWallet.sol[{github-icon},role=heading-link]
=== `++VestingWallet++` link:https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v5.2.0/contracts/finance/VestingWallet.sol[{github-icon},role=heading-link]
[.hljs-theme-light.nopadding]
```solidity
@ -83,6 +83,11 @@ near future.
NOTE: When using this contract with any token whose balance is adjusted automatically (i.e. a rebase token), make
sure to account the supply/balance adjustment in the vesting schedule to ensure the vested amount is as intended.
NOTE: Chains with support for native ERC20s may allow the vesting wallet to withdraw the underlying asset as both an
ERC20 and as native currency. For example, if chain C supports token A and the wallet gets deposited 100 A, then
at 50% of the vesting period, the beneficiary can withdraw 50 A as ERC20 and 25 A as native currency (totaling 75 A).
Consider disabling one of the withdrawal methods.
[.contract-index]
.Functions
--