Skip to content

Commit

Permalink
v3.6.1 (#433)
Browse files Browse the repository at this point in the history
* correct version

* docs

* v3.6.1
  • Loading branch information
kumaryash90 authored Jul 20, 2023
1 parent a6c89a5 commit 4f35509
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 154 deletions.
2 changes: 1 addition & 1 deletion contracts/airdrop/AirdropERC1155.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ contract AirdropERC1155 is
//////////////////////////////////////////////////////////////*/

bytes32 private constant MODULE_TYPE = bytes32("AirdropERC1155");
uint256 private constant VERSION = 1;
uint256 private constant VERSION = 2;

/*///////////////////////////////////////////////////////////////
Constructor + initializer logic
Expand Down
2 changes: 1 addition & 1 deletion contracts/airdrop/AirdropERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ contract AirdropERC20 is
//////////////////////////////////////////////////////////////*/

bytes32 private constant MODULE_TYPE = bytes32("AirdropERC20");
uint256 private constant VERSION = 1;
uint256 private constant VERSION = 2;

/*///////////////////////////////////////////////////////////////
Constructor + initializer logic
Expand Down
2 changes: 1 addition & 1 deletion contracts/airdrop/AirdropERC721.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ contract AirdropERC721 is
//////////////////////////////////////////////////////////////*/

bytes32 private constant MODULE_TYPE = bytes32("AirdropERC721");
uint256 private constant VERSION = 1;
uint256 private constant VERSION = 2;

/*///////////////////////////////////////////////////////////////
Constructor + initializer logic
Expand Down
2 changes: 1 addition & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thirdweb-dev/contracts",
"description": "Collection of smart contracts deployable via the thirdweb SDK, dashboard and CLI",
"version": "3.6.1-4",
"version": "3.6.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
50 changes: 0 additions & 50 deletions docs/AirdropERC1155.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
|---|---|---|
| results | bytes[] | undefined |

### owner

```solidity
function owner() external view returns (address)
```

Returns the owner of the contract.




#### Returns

| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |

### renounceRole

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

### setOwner

```solidity
function setOwner(address _newOwner) external nonpayable
```

Lets an authorized wallet set a new owner for the contract.



#### Parameters

| Name | Type | Description |
|---|---|---|
| _newOwner | address | The address to set as the new owner of the contract. |



## Events
Expand Down Expand Up @@ -354,23 +321,6 @@ event Initialized(uint8 version)
|---|---|---|
| version | uint8 | undefined |

### OwnerUpdated

```solidity
event OwnerUpdated(address indexed prevOwner, address indexed newOwner)
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| prevOwner `indexed` | address | undefined |
| newOwner `indexed` | address | undefined |

### RoleAdminChanged

```solidity
Expand Down
50 changes: 0 additions & 50 deletions docs/AirdropERC20.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
|---|---|---|
| results | bytes[] | undefined |

### owner

```solidity
function owner() external view returns (address)
```

Returns the owner of the contract.




#### Returns

| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |

### renounceRole

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

### setOwner

```solidity
function setOwner(address _newOwner) external nonpayable
```

Lets an authorized wallet set a new owner for the contract.



#### Parameters

| Name | Type | Description |
|---|---|---|
| _newOwner | address | The address to set as the new owner of the contract. |



## Events
Expand Down Expand Up @@ -353,23 +320,6 @@ event Initialized(uint8 version)
|---|---|---|
| version | uint8 | undefined |

### OwnerUpdated

```solidity
event OwnerUpdated(address indexed prevOwner, address indexed newOwner)
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| prevOwner `indexed` | address | undefined |
| newOwner `indexed` | address | undefined |

### RoleAdminChanged

```solidity
Expand Down
50 changes: 0 additions & 50 deletions docs/AirdropERC721.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,23 +247,6 @@ function multicall(bytes[] data) external nonpayable returns (bytes[] results)
|---|---|---|
| results | bytes[] | undefined |

### owner

```solidity
function owner() external view returns (address)
```

Returns the owner of the contract.




#### Returns

| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |

### renounceRole

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

### setOwner

```solidity
function setOwner(address _newOwner) external nonpayable
```

Lets an authorized wallet set a new owner for the contract.



#### Parameters

| Name | Type | Description |
|---|---|---|
| _newOwner | address | The address to set as the new owner of the contract. |



## Events
Expand Down Expand Up @@ -353,23 +320,6 @@ event Initialized(uint8 version)
|---|---|---|
| version | uint8 | undefined |

### OwnerUpdated

```solidity
event OwnerUpdated(address indexed prevOwner, address indexed newOwner)
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| prevOwner `indexed` | address | undefined |
| newOwner `indexed` | address | undefined |

### RoleAdminChanged

```solidity
Expand Down

0 comments on commit 4f35509

Please sign in to comment.