Skip to content

Commit 340767b

Browse files
committed
update docs
1 parent 74e0574 commit 340767b

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

Diff for: docs/DropERC1155.md

-15
Original file line numberDiff line numberDiff line change
@@ -497,12 +497,7 @@ function grantRole(bytes32 role, address account) external nonpayable
497497

498498
Grants a role to an account, if not previously granted.
499499

500-
<<<<<<< HEAD
501500
*Caller must have admin role for the `role`. Emits {RoleGranted Event}.*
502-
=======
503-
504-
*Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``&#39;s admin role. May emit a {RoleGranted} event.*
505-
>>>>>>> main
506501

507502
#### Parameters
508503

@@ -793,12 +788,7 @@ function renounceRole(bytes32 role, address account) external nonpayable
793788

794789
Revokes role from the account.
795790

796-
<<<<<<< HEAD
797791
*Caller must have the `role`, with caller being the same as `account`. Emits {RoleRevoked Event}.*
798-
=======
799-
800-
*Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function&#39;s purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.*
801-
>>>>>>> main
802792

803793
#### Parameters
804794

@@ -838,12 +828,7 @@ function revokeRole(bytes32 role, address account) external nonpayable
838828

839829
Revokes role from an account.
840830

841-
<<<<<<< HEAD
842831
*Caller must have admin role for the `role`. Emits {RoleRevoked Event}.*
843-
=======
844-
845-
*Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``&#39;s admin role. May emit a {RoleRevoked} event.*
846-
>>>>>>> main
847832

848833
#### Parameters
849834

Diff for: docs/DropERC721.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ function safeTransferFrom(address from, address to, uint256 tokenId) external no
916916
### safeTransferFrom
917917

918918
```solidity
919-
function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) external nonpayable
919+
function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) external nonpayable
920920
```
921921

922922

@@ -930,7 +930,7 @@ function safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
930930
| from | address | undefined |
931931
| to | address | undefined |
932932
| tokenId | uint256 | undefined |
933-
| data | bytes | undefined |
933+
| _data | bytes | undefined |
934934

935935
### setApprovalForAll
936936

0 commit comments

Comments
 (0)