Skip to content

Commit 4f35509

Browse files
authoredJul 20, 2023
v3.6.1 (#433)
* correct version * docs * v3.6.1
1 parent a6c89a5 commit 4f35509

File tree

7 files changed

+4
-154
lines changed

7 files changed

+4
-154
lines changed
 

‎contracts/airdrop/AirdropERC1155.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ contract AirdropERC1155 is
3737
//////////////////////////////////////////////////////////////*/
3838

3939
bytes32 private constant MODULE_TYPE = bytes32("AirdropERC1155");
40-
uint256 private constant VERSION = 1;
40+
uint256 private constant VERSION = 2;
4141

4242
/*///////////////////////////////////////////////////////////////
4343
Constructor + initializer logic

‎contracts/airdrop/AirdropERC20.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ contract AirdropERC20 is
3838
//////////////////////////////////////////////////////////////*/
3939

4040
bytes32 private constant MODULE_TYPE = bytes32("AirdropERC20");
41-
uint256 private constant VERSION = 1;
41+
uint256 private constant VERSION = 2;
4242

4343
/*///////////////////////////////////////////////////////////////
4444
Constructor + initializer logic

‎contracts/airdrop/AirdropERC721.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ contract AirdropERC721 is
3737
//////////////////////////////////////////////////////////////*/
3838

3939
bytes32 private constant MODULE_TYPE = bytes32("AirdropERC721");
40-
uint256 private constant VERSION = 1;
40+
uint256 private constant VERSION = 2;
4141

4242
/*///////////////////////////////////////////////////////////////
4343
Constructor + initializer logic

‎contracts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thirdweb-dev/contracts",
33
"description": "Collection of smart contracts deployable via the thirdweb SDK, dashboard and CLI",
4-
"version": "3.6.1-4",
4+
"version": "3.6.1",
55
"license": "Apache-2.0",
66
"repository": {
77
"type": "git",

‎docs/AirdropERC1155.md

-50
Original file line numberDiff line numberDiff line change
@@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
247247
|---|---|---|
248248
| results | bytes[] | undefined |
249249

250-
### owner
251-
252-
```solidity
253-
function owner() external view returns (address)
254-
```
255-
256-
Returns the owner of the contract.
257-
258-
259-
260-
261-
#### Returns
262-
263-
| Name | Type | Description |
264-
|---|---|---|
265-
| _0 | address | undefined |
266-
267250
### renounceRole
268251

269252
```solidity
@@ -298,22 +281,6 @@ Revokes role from an account.
298281
| role | bytes32 | keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") |
299282
| account | address | Address of the account from which the role is being revoked. |
300283

301-
### setOwner
302-
303-
```solidity
304-
function setOwner(address _newOwner) external nonpayable
305-
```
306-
307-
Lets an authorized wallet set a new owner for the contract.
308-
309-
310-
311-
#### Parameters
312-
313-
| Name | Type | Description |
314-
|---|---|---|
315-
| _newOwner | address | The address to set as the new owner of the contract. |
316-
317284

318285

319286
## Events
@@ -354,23 +321,6 @@ event Initialized(uint8 version)
354321
|---|---|---|
355322
| version | uint8 | undefined |
356323

357-
### OwnerUpdated
358-
359-
```solidity
360-
event OwnerUpdated(address indexed prevOwner, address indexed newOwner)
361-
```
362-
363-
364-
365-
366-
367-
#### Parameters
368-
369-
| Name | Type | Description |
370-
|---|---|---|
371-
| prevOwner `indexed` | address | undefined |
372-
| newOwner `indexed` | address | undefined |
373-
374324
### RoleAdminChanged
375325

376326
```solidity

‎docs/AirdropERC20.md

-50
Original file line numberDiff line numberDiff line change
@@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
247247
|---|---|---|
248248
| results | bytes[] | undefined |
249249

250-
### owner
251-
252-
```solidity
253-
function owner() external view returns (address)
254-
```
255-
256-
Returns the owner of the contract.
257-
258-
259-
260-
261-
#### Returns
262-
263-
| Name | Type | Description |
264-
|---|---|---|
265-
| _0 | address | undefined |
266-
267250
### renounceRole
268251

269252
```solidity
@@ -298,22 +281,6 @@ Revokes role from an account.
298281
| role | bytes32 | keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") |
299282
| account | address | Address of the account from which the role is being revoked. |
300283

301-
### setOwner
302-
303-
```solidity
304-
function setOwner(address _newOwner) external nonpayable
305-
```
306-
307-
Lets an authorized wallet set a new owner for the contract.
308-
309-
310-
311-
#### Parameters
312-
313-
| Name | Type | Description |
314-
|---|---|---|
315-
| _newOwner | address | The address to set as the new owner of the contract. |
316-
317284

318285

319286
## Events
@@ -353,23 +320,6 @@ event Initialized(uint8 version)
353320
|---|---|---|
354321
| version | uint8 | undefined |
355322

356-
### OwnerUpdated
357-
358-
```solidity
359-
event OwnerUpdated(address indexed prevOwner, address indexed newOwner)
360-
```
361-
362-
363-
364-
365-
366-
#### Parameters
367-
368-
| Name | Type | Description |
369-
|---|---|---|
370-
| prevOwner `indexed` | address | undefined |
371-
| newOwner `indexed` | address | undefined |
372-
373323
### RoleAdminChanged
374324

375325
```solidity

‎docs/AirdropERC721.md

-50
Original file line numberDiff line numberDiff line change
@@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
247247
|---|---|---|
248248
| results | bytes[] | undefined |
249249

250-
### owner
251-
252-
```solidity
253-
function owner() external view returns (address)
254-
```
255-
256-
Returns the owner of the contract.
257-
258-
259-
260-
261-
#### Returns
262-
263-
| Name | Type | Description |
264-
|---|---|---|
265-
| _0 | address | undefined |
266-
267250
### renounceRole
268251

269252
```solidity
@@ -298,22 +281,6 @@ Revokes role from an account.
298281
| role | bytes32 | keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") |
299282
| account | address | Address of the account from which the role is being revoked. |
300283

301-
### setOwner
302-
303-
```solidity
304-
function setOwner(address _newOwner) external nonpayable
305-
```
306-
307-
Lets an authorized wallet set a new owner for the contract.
308-
309-
310-
311-
#### Parameters
312-
313-
| Name | Type | Description |
314-
|---|---|---|
315-
| _newOwner | address | The address to set as the new owner of the contract. |
316-
317284

318285

319286
## Events
@@ -353,23 +320,6 @@ event Initialized(uint8 version)
353320
|---|---|---|
354321
| version | uint8 | undefined |
355322

356-
### OwnerUpdated
357-
358-
```solidity
359-
event OwnerUpdated(address indexed prevOwner, address indexed newOwner)
360-
```
361-
362-
363-
364-
365-
366-
#### Parameters
367-
368-
| Name | Type | Description |
369-
|---|---|---|
370-
| prevOwner `indexed` | address | undefined |
371-
| newOwner `indexed` | address | undefined |
372-
373323
### RoleAdminChanged
374324

375325
```solidity

0 commit comments

Comments
 (0)
Please sign in to comment.