File tree 7 files changed +4
-154
lines changed
7 files changed +4
-154
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ contract AirdropERC1155 is
37
37
//////////////////////////////////////////////////////////////*/
38
38
39
39
bytes32 private constant MODULE_TYPE = bytes32 ("AirdropERC1155 " );
40
- uint256 private constant VERSION = 1 ;
40
+ uint256 private constant VERSION = 2 ;
41
41
42
42
/*///////////////////////////////////////////////////////////////
43
43
Constructor + initializer logic
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ contract AirdropERC20 is
38
38
//////////////////////////////////////////////////////////////*/
39
39
40
40
bytes32 private constant MODULE_TYPE = bytes32 ("AirdropERC20 " );
41
- uint256 private constant VERSION = 1 ;
41
+ uint256 private constant VERSION = 2 ;
42
42
43
43
/*///////////////////////////////////////////////////////////////
44
44
Constructor + initializer logic
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ contract AirdropERC721 is
37
37
//////////////////////////////////////////////////////////////*/
38
38
39
39
bytes32 private constant MODULE_TYPE = bytes32 ("AirdropERC721 " );
40
- uint256 private constant VERSION = 1 ;
40
+ uint256 private constant VERSION = 2 ;
41
41
42
42
/*///////////////////////////////////////////////////////////////
43
43
Constructor + initializer logic
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @thirdweb-dev/contracts" ,
3
3
"description" : " Collection of smart contracts deployable via the thirdweb SDK, dashboard and CLI" ,
4
- "version" : " 3.6.1-4 " ,
4
+ "version" : " 3.6.1" ,
5
5
"license" : " Apache-2.0" ,
6
6
"repository" : {
7
7
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
247
247
| ---| ---| ---|
248
248
| results | bytes[ ] | undefined |
249
249
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
-
267
250
### renounceRole
268
251
269
252
``` solidity
@@ -298,22 +281,6 @@ Revokes role from an account.
298
281
| role | bytes32 | keccak256 hash of the role. e.g. keccak256(" ; TRANSFER_ROLE" ; ) |
299
282
| account | address | Address of the account from which the role is being revoked. |
300
283
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
-
317
284
318
285
319
286
## Events
@@ -354,23 +321,6 @@ event Initialized(uint8 version)
354
321
| ---| ---| ---|
355
322
| version | uint8 | undefined |
356
323
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
-
374
324
### RoleAdminChanged
375
325
376
326
``` solidity
Original file line number Diff line number Diff line change @@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
247
247
| ---| ---| ---|
248
248
| results | bytes[ ] | undefined |
249
249
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
-
267
250
### renounceRole
268
251
269
252
``` solidity
@@ -298,22 +281,6 @@ Revokes role from an account.
298
281
| role | bytes32 | keccak256 hash of the role. e.g. keccak256(" ; TRANSFER_ROLE" ; ) |
299
282
| account | address | Address of the account from which the role is being revoked. |
300
283
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
-
317
284
318
285
319
286
## Events
@@ -353,23 +320,6 @@ event Initialized(uint8 version)
353
320
| ---| ---| ---|
354
321
| version | uint8 | undefined |
355
322
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
-
373
323
### RoleAdminChanged
374
324
375
325
``` solidity
Original file line number Diff line number Diff line change @@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
247
247
| ---| ---| ---|
248
248
| results | bytes[ ] | undefined |
249
249
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
-
267
250
### renounceRole
268
251
269
252
``` solidity
@@ -298,22 +281,6 @@ Revokes role from an account.
298
281
| role | bytes32 | keccak256 hash of the role. e.g. keccak256(" ; TRANSFER_ROLE" ; ) |
299
282
| account | address | Address of the account from which the role is being revoked. |
300
283
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
-
317
284
318
285
319
286
## Events
@@ -353,23 +320,6 @@ event Initialized(uint8 version)
353
320
| ---| ---| ---|
354
321
| version | uint8 | undefined |
355
322
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
-
373
323
### RoleAdminChanged
374
324
375
325
``` solidity
You can’t perform that action at this time.
0 commit comments