Skip to content

Commit 9b5238c

Browse files
nkrishangjnsdls
andauthored
Add thirdweb ascii and author tags to contracts (#341)
* Add thirdweb ascii to prebuilts * Add missing thirdweb ascii to remaining prebuilts * Add thirdweb author tag to non-prebuilt contracts --------- Co-authored-by: Jonas Daniels <[email protected]>
1 parent 3297094 commit 9b5238c

File tree

192 files changed

+698
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+698
-79
lines changed

contracts/ContractPublisher.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.0;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
// ========== External imports ==========
516
import "@openzeppelin/contracts/metatx/ERC2771Context.sol";
617
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";

contracts/Split.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
// Base
516
import "./openzeppelin-presets/finance/PaymentSplitterUpgradeable.sol";
617
import "./interfaces/IThirdwebContract.sol";

contracts/TWFactory.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
import "./TWRegistry.sol";
516
import "./interfaces/IThirdwebContract.sol";
617
import "./extension/interface/IContractFactory.sol";

contracts/TWFee.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
46
import "./TWFactory.sol";
57
import "./interfaces/ITWFee.sol";
68

contracts/TWMultichainRegistry.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
516
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
617
import "@openzeppelin/contracts/utils/Multicall.sol";

contracts/TWProxy.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
import "@openzeppelin/contracts/proxy/Proxy.sol";
516
import "@openzeppelin/contracts/utils/Address.sol";
617
import "@openzeppelin/contracts/utils/StorageSlot.sol";

contracts/TWRegistry.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
516
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
617
import "@openzeppelin/contracts/utils/Multicall.sol";

contracts/airdrop/AirdropERC1155.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
// ========== External imports ==========
516
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
617

contracts/airdrop/AirdropERC1155Claimable.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
// ========== External imports ==========
516
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
617

contracts/airdrop/AirdropERC20.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
22
pragma solidity ^0.8.11;
33

4+
/// @author thirdweb
5+
6+
// $$\ $$\ $$\ $$\ $$\
7+
// $$ | $$ | \__| $$ | $$ |
8+
// $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$ |$$\ $$\ $$\ $$$$$$\ $$$$$$$\
9+
// \_$$ _| $$ __$$\ $$ |$$ __$$\ $$ __$$ |$$ | $$ | $$ |$$ __$$\ $$ __$$\
10+
// $$ | $$ | $$ |$$ |$$ | \__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |
11+
// $$ |$$\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |
12+
// \$$$$ |$$ | $$ |$$ |$$ | \$$$$$$$ |\$$$$$\$$$$ |\$$$$$$$\ $$$$$$$ |
13+
// \____/ \__| \__|\__|\__| \_______| \_____\____/ \_______|\_______/
14+
415
// ========== External imports ==========
516

617
import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";

0 commit comments

Comments
 (0)