Compare commits
9 Commits
master
...
typo-fixes
| Author | SHA1 | Date | |
|---|---|---|---|
| 98a43dff54 | |||
| 6caac66f02 | |||
| 0b9edd4a65 | |||
| 659d4b2ff8 | |||
| 5702d954c6 | |||
| d43e45b352 | |||
| fba8c4f58e | |||
| a7fb048a50 | |||
| 25eb6777fe |
@ -68,7 +68,7 @@ To keep your system secure, you should **always** use the installed code as-is,
|
||||
The guides in the [documentation site](https://docs.openzeppelin.com/contracts) will teach about different concepts, and how to use the related contracts that OpenZeppelin Contracts provides:
|
||||
|
||||
* [Access Control](https://docs.openzeppelin.com/contracts/access-control): decide who can perform each of the actions on your system.
|
||||
* [Tokens](https://docs.openzeppelin.com/contracts/tokens): create tradeable assets or collectives, and distribute them via [Crowdsales](https://docs.openzeppelin.com/contracts/crowdsales).
|
||||
* [Tokens](https://docs.openzeppelin.com/contracts/tokens): create tradeable assets or collectives.
|
||||
* [Utilities](https://docs.openzeppelin.com/contracts/utilities): generic useful tools including non-overflowing math, signature verification, and trustless paying systems.
|
||||
|
||||
The [full API](https://docs.openzeppelin.com/contracts/api/token/ERC20) is also thoroughly documented, and serves as a great reference when developing your smart contract application. You can also ask for help or follow Contracts' development in the [community forum](https://forum.openzeppelin.com).
|
||||
|
||||
@ -16,7 +16,7 @@ pragma solidity ^0.8.20;
|
||||
* contract Example {
|
||||
* // Add the library methods
|
||||
* using StorageSlot for bytes32;
|
||||
* using SlotDerivation for bytes32;
|
||||
* using SlotDerivation for *;
|
||||
*
|
||||
* // Declare a namespace
|
||||
* string private constant _NAMESPACE = "<namespace>"; // eg. OpenZeppelin.Slot
|
||||
|
||||
@ -50,6 +50,7 @@ library ECDSA {
|
||||
* be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
|
||||
*
|
||||
* Documentation for signature generation:
|
||||
*
|
||||
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
|
||||
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
|
||||
*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
= Cryptography
|
||||
|
||||
[.readme-notice]
|
||||
NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/utils/cryptography
|
||||
NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/utils#cryptography
|
||||
|
||||
A collection of contracts and libraries that implement various signature validation schemes and cryptographic primitives. These utilities enable secure authentication, multisignature operations, and advanced cryptographic operations in smart contracts.
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ library ERC7739Utils {
|
||||
* - `APP_DOMAIN_SEPARATOR` is the EIP-712 {EIP712-_domainSeparatorV4} of the application smart contract that is
|
||||
* requesting the signature verification (though ERC-1271).
|
||||
* - `contentsHash` is the hash of the underlying data structure or message.
|
||||
* - `contentsDescr` is a descriptor of the "contents" part of the the EIP-712 type of the nested signature.
|
||||
* - `contentsDescr` is a descriptor of the "contents" part of the EIP-712 type of the nested signature.
|
||||
*
|
||||
* NOTE: This function returns empty if the input format is invalid instead of reverting.
|
||||
* data instead.
|
||||
|
||||
@ -17,7 +17,7 @@ pragma solidity ^0.8.20;
|
||||
* contract Example {
|
||||
* // Add the library methods
|
||||
* using StorageSlot for bytes32;
|
||||
* using SlotDerivation for bytes32;
|
||||
* using SlotDerivation for *;
|
||||
*
|
||||
* // Declare a namespace
|
||||
* string private constant _NAMESPACE = "<namespace>"; // eg. OpenZeppelin.Slot
|
||||
|
||||
Reference in New Issue
Block a user