@artblocks/contracts 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +67 -154
  2. package/artifacts/contracts/AdminACLV0.sol/AdminACLV0.json +2 -2
  3. package/artifacts/contracts/AdminACLV1.sol/AdminACLV1.json +2 -2
  4. package/artifacts/contracts/DependencyRegistryV0.sol/DependencyRegistryV0.json +22 -4
  5. package/artifacts/contracts/GenArt721CoreV3.sol/GenArt721CoreV3.json +42 -5
  6. package/artifacts/contracts/archive/minter-suite/Minters/MinterDAExp/MinterDAExpV2.sol/MinterDAExpV2.json +2 -2
  7. package/artifacts/contracts/archive/minter-suite/Minters/MinterDAExp/MinterDAExpV3.sol/MinterDAExpV3.json +2 -2
  8. package/artifacts/contracts/archive/minter-suite/Minters/MinterDAExpSettlement/MinterDAExpSettlementV0.sol/MinterDAExpSettlementV0.json +2 -2
  9. package/artifacts/contracts/archive/minter-suite/Minters/MinterDAExpSettlement/MinterDAExpSettlementV1.sol/MinterDAExpSettlementV1.json +2 -2
  10. package/artifacts/contracts/archive/minter-suite/Minters/MinterDALin/MinterDALinV2.sol/MinterDALinV2.json +2 -2
  11. package/artifacts/contracts/archive/minter-suite/Minters/MinterDALin/MinterDALinV3.sol/MinterDALinV3.json +2 -2
  12. package/artifacts/contracts/archive/minter-suite/Minters/MinterHolder/MinterHolderV1.sol/MinterHolderV1.json +2 -2
  13. package/artifacts/contracts/archive/minter-suite/Minters/MinterHolder/MinterHolderV2.sol/MinterHolderV2.json +2 -2
  14. package/artifacts/contracts/archive/minter-suite/Minters/MinterHolder/MinterHolderV3.sol/MinterHolderV3.json +2 -2
  15. package/artifacts/contracts/archive/minter-suite/Minters/MinterMerkle/MinterMerkleV1.sol/MinterMerkleV1.json +2 -2
  16. package/artifacts/contracts/archive/minter-suite/Minters/MinterMerkle/MinterMerkleV2.sol/MinterMerkleV2.json +2 -2
  17. package/artifacts/contracts/archive/minter-suite/Minters/MinterMerkle/MinterMerkleV3.sol/MinterMerkleV3.json +2 -2
  18. package/artifacts/contracts/archive/minter-suite/Minters/MinterMerkle/MinterMerkleV4.sol/MinterMerkleV4.json +2 -2
  19. package/artifacts/contracts/archive/minter-suite/Minters/MinterSetPrice/MinterSetPriceV2.sol/MinterSetPriceV2.json +2 -2
  20. package/artifacts/contracts/archive/minter-suite/Minters/MinterSetPrice/MinterSetPriceV3.sol/MinterSetPriceV3.json +2 -2
  21. package/artifacts/contracts/archive/minter-suite/Minters/MinterSetPriceERC20/MinterSetPriceERC20V2.sol/MinterSetPriceERC20V2.json +2 -2
  22. package/artifacts/contracts/archive/minter-suite/Minters/MinterSetPriceERC20/MinterSetPriceERC20V3.sol/MinterSetPriceERC20V3.json +2 -2
  23. package/artifacts/contracts/engine/{GenArt721CoreV2_ENGINE_FLEX.sol → V2/GenArt721CoreV2_ENGINE_FLEX.sol}/GenArt721CoreV2_ENGINE_FLEX.json +3 -3
  24. package/artifacts/contracts/engine/{GenArt721CoreV2_PBAB.sol → V2/GenArt721CoreV2_PBAB.sol}/GenArt721CoreV2_PBAB.json +3 -3
  25. package/artifacts/contracts/engine/{GenArt721CoreV2_PRTNR.sol → V2/GenArt721CoreV2_PRTNR.sol}/GenArt721CoreV2_PRTNR.json +3 -3
  26. package/artifacts/contracts/engine/{GenArt721MinterBurner_PBAB.sol → V2/GenArt721MinterBurner_PBAB.sol}/GenArt721MinterBurner_PBAB.json +3 -3
  27. package/artifacts/contracts/engine/{GenArt721MinterDAExp_PBAB.sol → V2/GenArt721MinterDAExp_PBAB.sol}/GenArt721MinterDAExp_PBAB.json +3 -3
  28. package/artifacts/contracts/engine/{GenArt721Minter_PBAB.sol → V2/GenArt721Minter_PBAB.sol}/GenArt721Minter_PBAB.json +3 -3
  29. package/artifacts/contracts/engine/V3/GenArt721CoreV3_Engine.sol/GenArt721CoreV3_Engine.json +1960 -0
  30. package/artifacts/contracts/engine/V3/GenArt721CoreV3_Engine_Flex.sol/GenArt721CoreV3_Engine_Flex.json +2247 -0
  31. package/artifacts/contracts/engine/V3/forks/GenArt721CoreV3_Engine_Flex_PROOF.sol/GenArt721CoreV3_Engine_Flex_PROOF.json +2247 -0
  32. package/artifacts/contracts/engine/V3/forks/PROHIBITION/AdminACLV0_PROHIBITION.sol/AdminACLV0_PROHIBITION.json +401 -0
  33. package/artifacts/contracts/engine/V3/forks/PROHIBITION/GenArt721CoreV3_Engine_Flex_PROHIBITION.sol/GenArt721CoreV3_Engine_Flex_PROHIBITION.json +2281 -0
  34. package/artifacts/contracts/engine/V3/forks/PROHIBITION/interfaces/IAdminACLV0_PROHIBITION.sol/IAdminACLV0_PROHIBITION.json +359 -0
  35. package/artifacts/contracts/engine/V3/forks/PROHIBITION/interfaces/IGenArt721CoreContractV3_Engine_Flex_PROHIBITION.sol/IGenArt721CoreContractV3_Engine_Flex_PROHIBITION.json +1094 -0
  36. package/artifacts/contracts/engine-registry/CoreRegistryV1.sol/CoreRegistryV1.json +242 -0
  37. package/artifacts/contracts/engine-registry/EngineRegistryV0.sol/EngineRegistryV0.json +2 -2
  38. package/artifacts/contracts/explorations/GenArt721CoreV3_Explorations.sol/GenArt721CoreV3_Explorations.json +41 -4
  39. package/artifacts/contracts/interfaces/0.8.x/IBytecodeStorageReader.sol/IBytecodeStorageReader.json +111 -0
  40. package/artifacts/contracts/interfaces/0.8.x/ICoreRegistryV1.sol/ICoreRegistryV1.json +172 -0
  41. package/artifacts/contracts/interfaces/0.8.x/IFilteredMinterSEAV0.sol/IFilteredMinterSEAV0.json +1034 -0
  42. package/artifacts/contracts/interfaces/0.8.x/IGenArt721CoreContractExposesHashSeed.sol/IGenArt721CoreContractExposesHashSeed.json +30 -0
  43. package/artifacts/contracts/interfaces/0.8.x/IGenArt721CoreContractV3.sol/IGenArt721CoreContractV3.json +162 -0
  44. package/artifacts/contracts/interfaces/0.8.x/IGenArt721CoreContractV3_Base.sol/IGenArt721CoreContractV3_Base.json +162 -0
  45. package/artifacts/contracts/interfaces/0.8.x/IGenArt721CoreContractV3_Engine.sol/IGenArt721CoreContractV3_Engine.json +137 -13
  46. package/artifacts/contracts/interfaces/0.8.x/IGenArt721CoreContractV3_Engine_Flex.sol/IGenArt721CoreContractV3_Engine_Flex.json +1060 -0
  47. package/artifacts/contracts/interfaces/0.8.x/IMinterFilterV1.sol/IMinterFilterV1.json +429 -0
  48. package/artifacts/contracts/interfaces/0.8.x/IPseudorandomAtomic.sol/IPseudorandomAtomic.json +30 -0
  49. package/artifacts/contracts/interfaces/0.8.x/IRandomizer_V3CoreBase.sol/IRandomizer_V3CoreBase.json +24 -0
  50. package/artifacts/contracts/interfaces/0.8.x/ISharedRandomizerV0.sol/ISharedRandomizerV0.json +207 -0
  51. package/artifacts/contracts/interfaces/0.8.x/IWETH.sol/IWETH.json +55 -0
  52. package/artifacts/contracts/libs/0.8.x/{BytecodeStorage.sol → BytecodeStorageV0.sol}/BytecodeStorage.json +3 -3
  53. package/artifacts/contracts/libs/0.8.x/BytecodeStorageV1.sol/BytecodeStorageReader.json +163 -0
  54. package/artifacts/contracts/libs/0.8.x/BytecodeStorageV1.sol/BytecodeStorageWriter.json +10 -0
  55. package/artifacts/contracts/libs/0.8.x/Bytes32Strings.sol/Bytes32Strings.json +2 -2
  56. package/artifacts/contracts/libs/0.8.x/ERC721_PackedHashSeed.sol/ERC721_PackedHashSeed.json +2 -2
  57. package/artifacts/contracts/libs/0.8.x/SSTORE2.sol/SSTORE2.json +10 -0
  58. package/artifacts/contracts/libs/integration-refs/delegation-registry/DelegationRegistry.sol/DelegationRegistry.json +2 -2
  59. package/artifacts/contracts/libs/integration-refs/gnosis-safe/GnosisSafeMock.sol/GnosisSafeMock.json +2 -2
  60. package/artifacts/contracts/libs/integration-refs/gnosis-safe/GnosisSafeProxyFactoryMock.sol/GnosisSafeProxyFactoryMock.json +2 -2
  61. package/artifacts/contracts/libs/integration-refs/gnosis-safe/MultiSendMock.sol/MultiSendMock.json +2 -2
  62. package/artifacts/contracts/libs/integration-refs/weth9/weth9.sol/WETH9_.json +295 -0
  63. package/artifacts/contracts/minter-suite/MinterFilter/MinterFilterV1.sol/MinterFilterV1.json +2 -2
  64. package/artifacts/contracts/minter-suite/MinterFilter/MinterFilterV2.sol/MinterFilterV2.json +692 -0
  65. package/artifacts/contracts/minter-suite/Minters/MinterDAExpSettlementV2.sol/MinterDAExpSettlementV2.json +2 -2
  66. package/artifacts/contracts/minter-suite/Minters/MinterDAExpV4.sol/MinterDAExpV4.json +2 -2
  67. package/artifacts/contracts/minter-suite/Minters/MinterDALinV4.sol/MinterDALinV4.json +2 -2
  68. package/artifacts/contracts/minter-suite/Minters/MinterHolderV4.sol/MinterHolderV4.json +2 -2
  69. package/artifacts/contracts/minter-suite/Minters/MinterMerkleV5.sol/MinterMerkleV5.json +2 -2
  70. package/artifacts/contracts/minter-suite/Minters/MinterPolyptychV0.sol/IGenArt721CoreContractV3WithRandomizer.json +104 -124
  71. package/artifacts/contracts/minter-suite/Minters/MinterPolyptychV0.sol/MinterPolyptychV0.json +2 -2
  72. package/artifacts/contracts/minter-suite/Minters/MinterSEAV0.sol/MinterSEAV0.json +1289 -0
  73. package/artifacts/contracts/minter-suite/Minters/MinterSetPriceERC20V4.sol/MinterSetPriceERC20V4.json +2 -2
  74. package/artifacts/contracts/minter-suite/Minters/MinterSetPriceV4.sol/MinterSetPriceV4.json +2 -2
  75. package/artifacts/contracts/mock/{BytecodeTextCR_DMock.sol/BytecodeTextCR_DMock.json → BytecodeV0TextCR_DMock.sol/BytecodeV0TextCR_DMock.json} +4 -4
  76. package/artifacts/contracts/mock/BytecodeV1LibCallsMock.sol/BytecodeV1LibCallsMock.json +135 -0
  77. package/artifacts/contracts/mock/BytecodeV1TextCR_DMock.sol/BytecodeV1TextCR_DMock.json +301 -0
  78. package/artifacts/contracts/mock/DeadReceiverBidderMock.sol/DeadReceiverBidderMock.json +33 -0
  79. package/artifacts/contracts/mock/DeadReceiverMock.sol/DeadReceiverMock.json +2 -2
  80. package/artifacts/contracts/mock/DummySharedMinter.sol/DummySharedMinter.json +114 -0
  81. package/artifacts/contracts/mock/ERC20Mock.sol/ERC20Mock.json +2 -2
  82. package/artifacts/contracts/mock/GasLimitReceiverBidderMock.sol/GasLimitReceiverBidderMock.json +46 -0
  83. package/artifacts/contracts/mock/GasLimitReceiverMock.sol/GasLimitReceiverMock.json +28 -0
  84. package/artifacts/contracts/mock/GenArt721CoreV3_Engine_IncorrectCoreType.sol/GenArt721CoreV3_Engine_IncorrectCoreType.json +22 -4
  85. package/artifacts/contracts/mock/MockAdminACLV0.sol/MockAdminACLV0Events.json +2 -2
  86. package/artifacts/contracts/mock/MockAdminACLV0_PROHIBITION.sol/MockAdminACLV0Events_PROHIBITION.json +440 -0
  87. package/artifacts/contracts/mock/OriginRegisterMock.sol/OriginRegisterMock.json +39 -0
  88. package/artifacts/contracts/mock/RandomizerV2_NoAssignMock.sol/RandomizerV2_NoAssignMock.json +2 -2
  89. package/artifacts/contracts/mock/ReentrancyHolderMock.sol/ReentrancyHolderMock.json +2 -2
  90. package/artifacts/contracts/mock/ReentrancyMerkleMock.sol/ReentrancyMerkleMock.json +2 -2
  91. package/artifacts/contracts/mock/ReentrancyMock.sol/ReentrancyMock.json +2 -2
  92. package/artifacts/contracts/mock/ReentrancySEAMock.sol/ReentrancySEAAutoBidderMock.json +51 -0
  93. package/artifacts/contracts/mock/SSTORE2Mock.sol/SSTORE2Mock.json +118 -0
  94. package/artifacts/contracts/{BasicRandomizer.sol → randomizer/deprecated/BasicRandomizer.sol}/BasicRandomizer.json +3 -3
  95. package/artifacts/contracts/randomizer/deprecated/BasicRandomizerBase_v0_0_0.sol/RandomizerBase.json +10 -0
  96. package/artifacts/contracts/randomizer/deprecated/PolyptychRandomizerV0.sol/BasicPolyptychRandomizerV0.json +229 -0
  97. package/artifacts/contracts/randomizer/deprecated/RandomizerV2.sol/BasicRandomizerV2.json +102 -0
  98. package/artifacts/contracts/randomizer/primitive/PseudorandomAtomicBasic.sol/PseudorandomAtomic.json +30 -0
  99. package/artifacts/contracts/randomizer/shared/SharedRandomizerV0.sol/SharedRandomizerV0.json +231 -0
  100. package/artifacts/contracts/royalty-registry/GenArt721RoyaltyOverride.sol/GenArt721RoyaltyOverride.json +2 -2
  101. package/contracts/AdminACLV0.sol +1 -1
  102. package/contracts/AdminACLV1.sol +1 -1
  103. package/contracts/DependencyRegistryV0.sol +89 -141
  104. package/contracts/GenArt721CoreV3.sol +160 -204
  105. package/contracts/archive/minter-suite/Minters/MinterDAExp/MinterDAExpV2.sol +1 -1
  106. package/contracts/archive/minter-suite/Minters/MinterDAExp/MinterDAExpV3.sol +1 -1
  107. package/contracts/archive/minter-suite/Minters/MinterDAExpSettlement/MinterDAExpSettlementV0.sol +1 -1
  108. package/contracts/archive/minter-suite/Minters/MinterDAExpSettlement/MinterDAExpSettlementV1.sol +1 -1
  109. package/contracts/archive/minter-suite/Minters/MinterDALin/MinterDALinV2.sol +1 -1
  110. package/contracts/archive/minter-suite/Minters/MinterDALin/MinterDALinV3.sol +1 -1
  111. package/contracts/archive/minter-suite/Minters/MinterHolder/MinterHolderV1.sol +1 -1
  112. package/contracts/archive/minter-suite/Minters/MinterHolder/MinterHolderV2.sol +1 -1
  113. package/contracts/archive/minter-suite/Minters/MinterHolder/MinterHolderV3.sol +1 -1
  114. package/contracts/archive/minter-suite/Minters/MinterMerkle/MinterMerkleV1.sol +1 -1
  115. package/contracts/archive/minter-suite/Minters/MinterMerkle/MinterMerkleV2.sol +1 -1
  116. package/contracts/archive/minter-suite/Minters/MinterMerkle/MinterMerkleV3.sol +1 -1
  117. package/contracts/archive/minter-suite/Minters/MinterMerkle/MinterMerkleV4.sol +1 -1
  118. package/contracts/archive/minter-suite/Minters/MinterSetPrice/MinterSetPriceV2.sol +1 -1
  119. package/contracts/archive/minter-suite/Minters/MinterSetPrice/MinterSetPriceV3.sol +1 -1
  120. package/contracts/archive/minter-suite/Minters/MinterSetPriceERC20/MinterSetPriceERC20V2.sol +1 -1
  121. package/contracts/archive/minter-suite/Minters/MinterSetPriceERC20/MinterSetPriceERC20V3.sol +1 -1
  122. package/contracts/engine/{GenArt721CoreV2_ENGINE_FLEX.sol → V2/GenArt721CoreV2_ENGINE_FLEX.sol} +2 -2
  123. package/contracts/engine/{GenArt721CoreV2_PBAB.sol → V2/GenArt721CoreV2_PBAB.sol} +2 -2
  124. package/contracts/engine/{GenArt721CoreV2_PRTNR.sol → V2/GenArt721CoreV2_PRTNR.sol} +3 -3
  125. package/contracts/engine/{GenArt721MinterBurner_PBAB.sol → V2/GenArt721MinterBurner_PBAB.sol} +2 -2
  126. package/contracts/engine/{GenArt721MinterDAExp_PBAB.sol → V2/GenArt721MinterDAExp_PBAB.sol} +2 -2
  127. package/contracts/engine/{GenArt721Minter_PBAB.sol → V2/GenArt721Minter_PBAB.sol} +2 -2
  128. package/contracts/{GenArt721CoreV3_Engine.sol → engine/V3/GenArt721CoreV3_Engine.sol} +163 -216
  129. package/contracts/engine/V3/GenArt721CoreV3_Engine_Flex.sol +2283 -0
  130. package/contracts/engine/V3/forks/GenArt721CoreV3_Engine_Flex_PROOF.sol +2293 -0
  131. package/contracts/engine/V3/forks/PROHIBITION/AdminACLV0_PROHIBITION.sol +281 -0
  132. package/contracts/engine/V3/forks/PROHIBITION/GenArt721CoreV3_Engine_Flex_PROHIBITION.sol +2354 -0
  133. package/contracts/engine/V3/forks/PROHIBITION/interfaces/IAdminACLV0_PROHIBITION.sol +123 -0
  134. package/contracts/engine/V3/forks/PROHIBITION/interfaces/IGenArt721CoreContractV3_Engine_Flex_PROHIBITION.sol +29 -0
  135. package/contracts/engine-registry/CoreRegistryV1.sol +254 -0
  136. package/contracts/engine-registry/EngineRegistryV0.sol +1 -1
  137. package/contracts/explorations/GenArt721CoreV3_Explorations.sol +164 -190
  138. package/contracts/interfaces/0.8.x/IBytecodeStorageReader.sol +62 -0
  139. package/contracts/interfaces/0.8.x/ICoreRegistryV1.sol +27 -0
  140. package/contracts/interfaces/0.8.x/IDelegationRegistry.sol +1 -1
  141. package/contracts/interfaces/0.8.x/IDependencyRegistryCompatibleV0.sol +1 -1
  142. package/contracts/interfaces/0.8.x/IDependencyRegistryV0.sol +1 -1
  143. package/contracts/interfaces/0.8.x/IEngineRegistryV0.sol +1 -1
  144. package/contracts/interfaces/0.8.x/IFilteredMinterSEAV0.sol +164 -0
  145. package/contracts/interfaces/0.8.x/IGenArt721CoreContractExposesHashSeed.sol +11 -0
  146. package/contracts/interfaces/0.8.x/IGenArt721CoreContractV3_Base.sol +42 -0
  147. package/contracts/interfaces/0.8.x/IGenArt721CoreContractV3_Engine.sol +0 -8
  148. package/contracts/interfaces/0.8.x/IGenArt721CoreContractV3_Engine_Flex.sol +132 -0
  149. package/contracts/interfaces/0.8.x/IMinterFilterV1.sol +158 -0
  150. package/contracts/interfaces/0.8.x/IPseudorandomAtomic.sol +16 -0
  151. package/contracts/interfaces/0.8.x/IRandomizerPolyptychV0.sol +1 -1
  152. package/contracts/interfaces/0.8.x/IRandomizerV2.sol +2 -5
  153. package/contracts/interfaces/0.8.x/IRandomizer_V3CoreBase.sol +10 -0
  154. package/contracts/interfaces/0.8.x/ISharedRandomizerV0.sol +105 -0
  155. package/contracts/interfaces/0.8.x/IWETH.sol +11 -0
  156. package/contracts/libs/0.8.x/BytecodeStorageV1.sol +399 -0
  157. package/contracts/libs/0.8.x/SSTORE2.sol +109 -0
  158. package/contracts/libs/integration-refs/delegation-registry/DelegationRegistry.sol +1 -1
  159. package/contracts/libs/integration-refs/weth9/weth9.sol +765 -0
  160. package/contracts/minter-suite/MinterFilter/MinterFilterV1.sol +36 -48
  161. package/contracts/minter-suite/MinterFilter/MinterFilterV2.sol +756 -0
  162. package/contracts/minter-suite/Minters/MinterDAExpSettlementV2.sol +27 -35
  163. package/contracts/minter-suite/Minters/MinterDAExpV4.sol +17 -22
  164. package/contracts/minter-suite/Minters/MinterDALinV4.sol +16 -18
  165. package/contracts/minter-suite/Minters/MinterHolderV4.sol +20 -20
  166. package/contracts/minter-suite/Minters/MinterMerkleV5.sol +14 -16
  167. package/contracts/minter-suite/Minters/MinterPolyptychV0.sol +37 -36
  168. package/contracts/minter-suite/Minters/MinterSEAV0.sol +1273 -0
  169. package/contracts/minter-suite/Minters/MinterSetPriceERC20V4.sol +12 -12
  170. package/contracts/minter-suite/Minters/MinterSetPriceV4.sol +10 -11
  171. package/contracts/mock/{BytecodeTextCR_DMock.sol → BytecodeV0TextCR_DMock.sol} +5 -5
  172. package/contracts/mock/BytecodeV1LibCallsMock.sol +114 -0
  173. package/contracts/mock/BytecodeV1TextCR_DMock.sol +233 -0
  174. package/contracts/mock/DeadReceiverBidderMock.sol +23 -0
  175. package/contracts/mock/DeadReceiverMock.sol +1 -1
  176. package/contracts/mock/DummySharedMinter.sol +75 -0
  177. package/contracts/mock/GasLimitReceiverBidderMock.sol +23 -0
  178. package/contracts/mock/GasLimitReceiverMock.sol +19 -0
  179. package/contracts/mock/GenArt721CoreV3_Engine_IncorrectCoreType.sol +14 -27
  180. package/contracts/mock/MockAdminACLV0.sol +1 -1
  181. package/contracts/mock/MockAdminACLV0_PROHIBITION.sol +207 -0
  182. package/contracts/mock/OriginRegisterMock.sol +27 -0
  183. package/contracts/mock/RandomizerV2_NoAssignMock.sol +3 -12
  184. package/contracts/mock/ReentrancySEAMock.sol +36 -0
  185. package/contracts/mock/SSTORE2Mock.sol +93 -0
  186. package/contracts/{BasicRandomizer.sol → randomizer/deprecated/BasicRandomizer.sol} +1 -1
  187. package/contracts/randomizer/deprecated/BasicRandomizerBase_v0_0_0.sol +23 -0
  188. package/contracts/{BasicPolyptychRandomizerV0.sol → randomizer/deprecated/PolyptychRandomizerV0.sol} +20 -29
  189. package/contracts/{BasicRandomizerV2.sol → randomizer/deprecated/RandomizerV2.sol} +6 -14
  190. package/contracts/randomizer/primitive/PseudorandomAtomicBasic.sol +30 -0
  191. package/contracts/randomizer/shared/SharedRandomizerV0.sol +245 -0
  192. package/package.json +36 -30
  193. package/.env.example +0 -10
  194. package/artifacts/contracts/BasicPolyptychRandomizerV0.sol/BasicPolyptychRandomizerV0.json +0 -229
  195. package/artifacts/contracts/BasicRandomizerV2.sol/BasicRandomizerV2.json +0 -102
  196. package/artifacts/contracts/GenArt721CoreV3_Engine.sol/GenArt721CoreV3_Engine.json +0 -1942
  197. package/artifacts/contracts/engine-registry/future/EngineRegistryV1.sol/EngineRegistryV1.json +0 -109
  198. package/contracts/engine-registry/future/EngineRegistryV1.sol +0 -86
  199. /package/contracts/libs/0.8.x/{BytecodeStorage.sol → BytecodeStorageV0.sol} +0 -0
@@ -0,0 +1,765 @@
1
+ // SPDX-License-Identifier: LGPL-3.0-only
2
+
3
+ // Copyright (C) 2015, 2016, 2017, 2019 Dapphub
4
+
5
+ // This program is free software: you can redistribute it and/or modify
6
+ // it under the terms of the GNU General Public License as published by
7
+ // the Free Software Foundation, either version 3 of the License, or
8
+ // (at your option) any later version.
9
+
10
+ // This program is distributed in the hope that it will be useful,
11
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ // GNU General Public License for more details.
14
+
15
+ // You should have received a copy of the GNU General Public License
16
+ // along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+
18
+ // **IMPORTANT**: This contract was copied from the MakerDAO repository, and
19
+ // modified to be compatible with Solidity ^0.8.0. The original contract can be
20
+ // found at https://github.com/makerdao/ds-weth/blob/master/src/weth9.sol
21
+
22
+ pragma solidity >=0.4.23;
23
+
24
+ contract WETH9_ {
25
+ string public name = "Wrapped Ether";
26
+ string public symbol = "WETH";
27
+ uint8 public decimals = 18;
28
+
29
+ event Approval(address indexed src, address indexed guy, uint wad);
30
+ event Transfer(address indexed src, address indexed dst, uint wad);
31
+ event Deposit(address indexed dst, uint wad);
32
+ event Withdrawal(address indexed src, uint wad);
33
+
34
+ mapping(address => uint) public balanceOf;
35
+ mapping(address => mapping(address => uint)) public allowance;
36
+
37
+ receive() external payable {
38
+ deposit();
39
+ }
40
+
41
+ function deposit() public payable {
42
+ balanceOf[msg.sender] += msg.value;
43
+ emit Deposit(msg.sender, msg.value);
44
+ }
45
+
46
+ function withdraw(uint wad) public {
47
+ require(balanceOf[msg.sender] >= wad);
48
+ balanceOf[msg.sender] -= wad;
49
+ payable(msg.sender).transfer(wad);
50
+ emit Withdrawal(msg.sender, wad);
51
+ }
52
+
53
+ function totalSupply() public view returns (uint) {
54
+ return address(this).balance;
55
+ }
56
+
57
+ function approve(address guy, uint wad) public returns (bool) {
58
+ allowance[msg.sender][guy] = wad;
59
+ emit Approval(msg.sender, guy, wad);
60
+ return true;
61
+ }
62
+
63
+ function transfer(address dst, uint wad) public returns (bool) {
64
+ return transferFrom(msg.sender, dst, wad);
65
+ }
66
+
67
+ function transferFrom(
68
+ address src,
69
+ address dst,
70
+ uint wad
71
+ ) public returns (bool) {
72
+ require(balanceOf[src] >= wad);
73
+ if (
74
+ src != msg.sender && allowance[src][msg.sender] != type(uint256).max
75
+ ) {
76
+ require(allowance[src][msg.sender] >= wad);
77
+ allowance[src][msg.sender] -= wad;
78
+ }
79
+
80
+ balanceOf[src] -= wad;
81
+ balanceOf[dst] += wad;
82
+
83
+ emit Transfer(src, dst, wad);
84
+
85
+ return true;
86
+ }
87
+ }
88
+
89
+ /*
90
+ GNU GENERAL PUBLIC LICENSE
91
+ Version 3, 29 June 2007
92
+
93
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
94
+ Everyone is permitted to copy and distribute verbatim copies
95
+ of this license document, but changing it is not allowed.
96
+
97
+ Preamble
98
+
99
+ The GNU General Public License is a free, copyleft license for
100
+ software and other kinds of works.
101
+
102
+ The licenses for most software and other practical works are designed
103
+ to take away your freedom to share and change the works. By contrast,
104
+ the GNU General Public License is intended to guarantee your freedom to
105
+ share and change all versions of a program--to make sure it remains free
106
+ software for all its users. We, the Free Software Foundation, use the
107
+ GNU General Public License for most of our software; it applies also to
108
+ any other work released this way by its authors. You can apply it to
109
+ your programs, too.
110
+
111
+ When we speak of free software, we are referring to freedom, not
112
+ price. Our General Public Licenses are designed to make sure that you
113
+ have the freedom to distribute copies of free software (and charge for
114
+ them if you wish), that you receive source code or can get it if you
115
+ want it, that you can change the software or use pieces of it in new
116
+ free programs, and that you know you can do these things.
117
+
118
+ To protect your rights, we need to prevent others from denying you
119
+ these rights or asking you to surrender the rights. Therefore, you have
120
+ certain responsibilities if you distribute copies of the software, or if
121
+ you modify it: responsibilities to respect the freedom of others.
122
+
123
+ For example, if you distribute copies of such a program, whether
124
+ gratis or for a fee, you must pass on to the recipients the same
125
+ freedoms that you received. You must make sure that they, too, receive
126
+ or can get the source code. And you must show them these terms so they
127
+ know their rights.
128
+
129
+ Developers that use the GNU GPL protect your rights with two steps:
130
+ (1) assert copyright on the software, and (2) offer you this License
131
+ giving you legal permission to copy, distribute and/or modify it.
132
+
133
+ For the developers' and authors' protection, the GPL clearly explains
134
+ that there is no warranty for this free software. For both users' and
135
+ authors' sake, the GPL requires that modified versions be marked as
136
+ changed, so that their problems will not be attributed erroneously to
137
+ authors of previous versions.
138
+
139
+ Some devices are designed to deny users access to install or run
140
+ modified versions of the software inside them, although the manufacturer
141
+ can do so. This is fundamentally incompatible with the aim of
142
+ protecting users' freedom to change the software. The systematic
143
+ pattern of such abuse occurs in the area of products for individuals to
144
+ use, which is precisely where it is most unacceptable. Therefore, we
145
+ have designed this version of the GPL to prohibit the practice for those
146
+ products. If such problems arise substantially in other domains, we
147
+ stand ready to extend this provision to those domains in future versions
148
+ of the GPL, as needed to protect the freedom of users.
149
+
150
+ Finally, every program is threatened constantly by software patents.
151
+ States should not allow patents to restrict development and use of
152
+ software on general-purpose computers, but in those that do, we wish to
153
+ avoid the special danger that patents applied to a free program could
154
+ make it effectively proprietary. To prevent this, the GPL assures that
155
+ patents cannot be used to render the program non-free.
156
+
157
+ The precise terms and conditions for copying, distribution and
158
+ modification follow.
159
+
160
+ TERMS AND CONDITIONS
161
+
162
+ 0. Definitions.
163
+
164
+ "This License" refers to version 3 of the GNU General Public License.
165
+
166
+ "Copyright" also means copyright-like laws that apply to other kinds of
167
+ works, such as semiconductor masks.
168
+
169
+ "The Program" refers to any copyrightable work licensed under this
170
+ License. Each licensee is addressed as "you". "Licensees" and
171
+ "recipients" may be individuals or organizations.
172
+
173
+ To "modify" a work means to copy from or adapt all or part of the work
174
+ in a fashion requiring copyright permission, other than the making of an
175
+ exact copy. The resulting work is called a "modified version" of the
176
+ earlier work or a work "based on" the earlier work.
177
+
178
+ A "covered work" means either the unmodified Program or a work based
179
+ on the Program.
180
+
181
+ To "propagate" a work means to do anything with it that, without
182
+ permission, would make you directly or secondarily liable for
183
+ infringement under applicable copyright law, except executing it on a
184
+ computer or modifying a private copy. Propagation includes copying,
185
+ distribution (with or without modification), making available to the
186
+ public, and in some countries other activities as well.
187
+
188
+ To "convey" a work means any kind of propagation that enables other
189
+ parties to make or receive copies. Mere interaction with a user through
190
+ a computer network, with no transfer of a copy, is not conveying.
191
+
192
+ An interactive user interface displays "Appropriate Legal Notices"
193
+ to the extent that it includes a convenient and prominently visible
194
+ feature that (1) displays an appropriate copyright notice, and (2)
195
+ tells the user that there is no warranty for the work (except to the
196
+ extent that warranties are provided), that licensees may convey the
197
+ work under this License, and how to view a copy of this License. If
198
+ the interface presents a list of user commands or options, such as a
199
+ menu, a prominent item in the list meets this criterion.
200
+
201
+ 1. Source Code.
202
+
203
+ The "source code" for a work means the preferred form of the work
204
+ for making modifications to it. "Object code" means any non-source
205
+ form of a work.
206
+
207
+ A "Standard Interface" means an interface that either is an official
208
+ standard defined by a recognized standards body, or, in the case of
209
+ interfaces specified for a particular programming language, one that
210
+ is widely used among developers working in that language.
211
+
212
+ The "System Libraries" of an executable work include anything, other
213
+ than the work as a whole, that (a) is included in the normal form of
214
+ packaging a Major Component, but which is not part of that Major
215
+ Component, and (b) serves only to enable use of the work with that
216
+ Major Component, or to implement a Standard Interface for which an
217
+ implementation is available to the public in source code form. A
218
+ "Major Component", in this context, means a major essential component
219
+ (kernel, window system, and so on) of the specific operating system
220
+ (if any) on which the executable work runs, or a compiler used to
221
+ produce the work, or an object code interpreter used to run it.
222
+
223
+ The "Corresponding Source" for a work in object code form means all
224
+ the source code needed to generate, install, and (for an executable
225
+ work) run the object code and to modify the work, including scripts to
226
+ control those activities. However, it does not include the work's
227
+ System Libraries, or general-purpose tools or generally available free
228
+ programs which are used unmodified in performing those activities but
229
+ which are not part of the work. For example, Corresponding Source
230
+ includes interface definition files associated with source files for
231
+ the work, and the source code for shared libraries and dynamically
232
+ linked subprograms that the work is specifically designed to require,
233
+ such as by intimate data communication or control flow between those
234
+ subprograms and other parts of the work.
235
+
236
+ The Corresponding Source need not include anything that users
237
+ can regenerate automatically from other parts of the Corresponding
238
+ Source.
239
+
240
+ The Corresponding Source for a work in source code form is that
241
+ same work.
242
+
243
+ 2. Basic Permissions.
244
+
245
+ All rights granted under this License are granted for the term of
246
+ copyright on the Program, and are irrevocable provided the stated
247
+ conditions are met. This License explicitly affirms your unlimited
248
+ permission to run the unmodified Program. The output from running a
249
+ covered work is covered by this License only if the output, given its
250
+ content, constitutes a covered work. This License acknowledges your
251
+ rights of fair use or other equivalent, as provided by copyright law.
252
+
253
+ You may make, run and propagate covered works that you do not
254
+ convey, without conditions so long as your license otherwise remains
255
+ in force. You may convey covered works to others for the sole purpose
256
+ of having them make modifications exclusively for you, or provide you
257
+ with facilities for running those works, provided that you comply with
258
+ the terms of this License in conveying all material for which you do
259
+ not control copyright. Those thus making or running the covered works
260
+ for you must do so exclusively on your behalf, under your direction
261
+ and control, on terms that prohibit them from making any copies of
262
+ your copyrighted material outside their relationship with you.
263
+
264
+ Conveying under any other circumstances is permitted solely under
265
+ the conditions stated below. Sublicensing is not allowed; section 10
266
+ makes it unnecessary.
267
+
268
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
269
+
270
+ No covered work shall be deemed part of an effective technological
271
+ measure under any applicable law fulfilling obligations under article
272
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
273
+ similar laws prohibiting or restricting circumvention of such
274
+ measures.
275
+
276
+ When you convey a covered work, you waive any legal power to forbid
277
+ circumvention of technological measures to the extent such circumvention
278
+ is effected by exercising rights under this License with respect to
279
+ the covered work, and you disclaim any intention to limit operation or
280
+ modification of the work as a means of enforcing, against the work's
281
+ users, your or third parties' legal rights to forbid circumvention of
282
+ technological measures.
283
+
284
+ 4. Conveying Verbatim Copies.
285
+
286
+ You may convey verbatim copies of the Program's source code as you
287
+ receive it, in any medium, provided that you conspicuously and
288
+ appropriately publish on each copy an appropriate copyright notice;
289
+ keep intact all notices stating that this License and any
290
+ non-permissive terms added in accord with section 7 apply to the code;
291
+ keep intact all notices of the absence of any warranty; and give all
292
+ recipients a copy of this License along with the Program.
293
+
294
+ You may charge any price or no price for each copy that you convey,
295
+ and you may offer support or warranty protection for a fee.
296
+
297
+ 5. Conveying Modified Source Versions.
298
+
299
+ You may convey a work based on the Program, or the modifications to
300
+ produce it from the Program, in the form of source code under the
301
+ terms of section 4, provided that you also meet all of these conditions:
302
+
303
+ a) The work must carry prominent notices stating that you modified
304
+ it, and giving a relevant date.
305
+
306
+ b) The work must carry prominent notices stating that it is
307
+ released under this License and any conditions added under section
308
+ 7. This requirement modifies the requirement in section 4 to
309
+ "keep intact all notices".
310
+
311
+ c) You must license the entire work, as a whole, under this
312
+ License to anyone who comes into possession of a copy. This
313
+ License will therefore apply, along with any applicable section 7
314
+ additional terms, to the whole of the work, and all its parts,
315
+ regardless of how they are packaged. This License gives no
316
+ permission to license the work in any other way, but it does not
317
+ invalidate such permission if you have separately received it.
318
+
319
+ d) If the work has interactive user interfaces, each must display
320
+ Appropriate Legal Notices; however, if the Program has interactive
321
+ interfaces that do not display Appropriate Legal Notices, your
322
+ work need not make them do so.
323
+
324
+ A compilation of a covered work with other separate and independent
325
+ works, which are not by their nature extensions of the covered work,
326
+ and which are not combined with it such as to form a larger program,
327
+ in or on a volume of a storage or distribution medium, is called an
328
+ "aggregate" if the compilation and its resulting copyright are not
329
+ used to limit the access or legal rights of the compilation's users
330
+ beyond what the individual works permit. Inclusion of a covered work
331
+ in an aggregate does not cause this License to apply to the other
332
+ parts of the aggregate.
333
+
334
+ 6. Conveying Non-Source Forms.
335
+
336
+ You may convey a covered work in object code form under the terms
337
+ of sections 4 and 5, provided that you also convey the
338
+ machine-readable Corresponding Source under the terms of this License,
339
+ in one of these ways:
340
+
341
+ a) Convey the object code in, or embodied in, a physical product
342
+ (including a physical distribution medium), accompanied by the
343
+ Corresponding Source fixed on a durable physical medium
344
+ customarily used for software interchange.
345
+
346
+ b) Convey the object code in, or embodied in, a physical product
347
+ (including a physical distribution medium), accompanied by a
348
+ written offer, valid for at least three years and valid for as
349
+ long as you offer spare parts or customer support for that product
350
+ model, to give anyone who possesses the object code either (1) a
351
+ copy of the Corresponding Source for all the software in the
352
+ product that is covered by this License, on a durable physical
353
+ medium customarily used for software interchange, for a price no
354
+ more than your reasonable cost of physically performing this
355
+ conveying of source, or (2) access to copy the
356
+ Corresponding Source from a network server at no charge.
357
+
358
+ c) Convey individual copies of the object code with a copy of the
359
+ written offer to provide the Corresponding Source. This
360
+ alternative is allowed only occasionally and noncommercially, and
361
+ only if you received the object code with such an offer, in accord
362
+ with subsection 6b.
363
+
364
+ d) Convey the object code by offering access from a designated
365
+ place (gratis or for a charge), and offer equivalent access to the
366
+ Corresponding Source in the same way through the same place at no
367
+ further charge. You need not require recipients to copy the
368
+ Corresponding Source along with the object code. If the place to
369
+ copy the object code is a network server, the Corresponding Source
370
+ may be on a different server (operated by you or a third party)
371
+ that supports equivalent copying facilities, provided you maintain
372
+ clear directions next to the object code saying where to find the
373
+ Corresponding Source. Regardless of what server hosts the
374
+ Corresponding Source, you remain obligated to ensure that it is
375
+ available for as long as needed to satisfy these requirements.
376
+
377
+ e) Convey the object code using peer-to-peer transmission, provided
378
+ you inform other peers where the object code and Corresponding
379
+ Source of the work are being offered to the general public at no
380
+ charge under subsection 6d.
381
+
382
+ A separable portion of the object code, whose source code is excluded
383
+ from the Corresponding Source as a System Library, need not be
384
+ included in conveying the object code work.
385
+
386
+ A "User Product" is either (1) a "consumer product", which means any
387
+ tangible personal property which is normally used for personal, family,
388
+ or household purposes, or (2) anything designed or sold for incorporation
389
+ into a dwelling. In determining whether a product is a consumer product,
390
+ doubtful cases shall be resolved in favor of coverage. For a particular
391
+ product received by a particular user, "normally used" refers to a
392
+ typical or common use of that class of product, regardless of the status
393
+ of the particular user or of the way in which the particular user
394
+ actually uses, or expects or is expected to use, the product. A product
395
+ is a consumer product regardless of whether the product has substantial
396
+ commercial, industrial or non-consumer uses, unless such uses represent
397
+ the only significant mode of use of the product.
398
+
399
+ "Installation Information" for a User Product means any methods,
400
+ procedures, authorization keys, or other information required to install
401
+ and execute modified versions of a covered work in that User Product from
402
+ a modified version of its Corresponding Source. The information must
403
+ suffice to ensure that the continued functioning of the modified object
404
+ code is in no case prevented or interfered with solely because
405
+ modification has been made.
406
+
407
+ If you convey an object code work under this section in, or with, or
408
+ specifically for use in, a User Product, and the conveying occurs as
409
+ part of a transaction in which the right of possession and use of the
410
+ User Product is transferred to the recipient in perpetuity or for a
411
+ fixed term (regardless of how the transaction is characterized), the
412
+ Corresponding Source conveyed under this section must be accompanied
413
+ by the Installation Information. But this requirement does not apply
414
+ if neither you nor any third party retains the ability to install
415
+ modified object code on the User Product (for example, the work has
416
+ been installed in ROM).
417
+
418
+ The requirement to provide Installation Information does not include a
419
+ requirement to continue to provide support service, warranty, or updates
420
+ for a work that has been modified or installed by the recipient, or for
421
+ the User Product in which it has been modified or installed. Access to a
422
+ network may be denied when the modification itself materially and
423
+ adversely affects the operation of the network or violates the rules and
424
+ protocols for communication across the network.
425
+
426
+ Corresponding Source conveyed, and Installation Information provided,
427
+ in accord with this section must be in a format that is publicly
428
+ documented (and with an implementation available to the public in
429
+ source code form), and must require no special password or key for
430
+ unpacking, reading or copying.
431
+
432
+ 7. Additional Terms.
433
+
434
+ "Additional permissions" are terms that supplement the terms of this
435
+ License by making exceptions from one or more of its conditions.
436
+ Additional permissions that are applicable to the entire Program shall
437
+ be treated as though they were included in this License, to the extent
438
+ that they are valid under applicable law. If additional permissions
439
+ apply only to part of the Program, that part may be used separately
440
+ under those permissions, but the entire Program remains governed by
441
+ this License without regard to the additional permissions.
442
+
443
+ When you convey a copy of a covered work, you may at your option
444
+ remove any additional permissions from that copy, or from any part of
445
+ it. (Additional permissions may be written to require their own
446
+ removal in certain cases when you modify the work.) You may place
447
+ additional permissions on material, added by you to a covered work,
448
+ for which you have or can give appropriate copyright permission.
449
+
450
+ Notwithstanding any other provision of this License, for material you
451
+ add to a covered work, you may (if authorized by the copyright holders of
452
+ that material) supplement the terms of this License with terms:
453
+
454
+ a) Disclaiming warranty or limiting liability differently from the
455
+ terms of sections 15 and 16 of this License; or
456
+
457
+ b) Requiring preservation of specified reasonable legal notices or
458
+ author attributions in that material or in the Appropriate Legal
459
+ Notices displayed by works containing it; or
460
+
461
+ c) Prohibiting misrepresentation of the origin of that material, or
462
+ requiring that modified versions of such material be marked in
463
+ reasonable ways as different from the original version; or
464
+
465
+ d) Limiting the use for publicity purposes of names of licensors or
466
+ authors of the material; or
467
+
468
+ e) Declining to grant rights under trademark law for use of some
469
+ trade names, trademarks, or service marks; or
470
+
471
+ f) Requiring indemnification of licensors and authors of that
472
+ material by anyone who conveys the material (or modified versions of
473
+ it) with contractual assumptions of liability to the recipient, for
474
+ any liability that these contractual assumptions directly impose on
475
+ those licensors and authors.
476
+
477
+ All other non-permissive additional terms are considered "further
478
+ restrictions" within the meaning of section 10. If the Program as you
479
+ received it, or any part of it, contains a notice stating that it is
480
+ governed by this License along with a term that is a further
481
+ restriction, you may remove that term. If a license document contains
482
+ a further restriction but permits relicensing or conveying under this
483
+ License, you may add to a covered work material governed by the terms
484
+ of that license document, provided that the further restriction does
485
+ not survive such relicensing or conveying.
486
+
487
+ If you add terms to a covered work in accord with this section, you
488
+ must place, in the relevant source files, a statement of the
489
+ additional terms that apply to those files, or a notice indicating
490
+ where to find the applicable terms.
491
+
492
+ Additional terms, permissive or non-permissive, may be stated in the
493
+ form of a separately written license, or stated as exceptions;
494
+ the above requirements apply either way.
495
+
496
+ 8. Termination.
497
+
498
+ You may not propagate or modify a covered work except as expressly
499
+ provided under this License. Any attempt otherwise to propagate or
500
+ modify it is void, and will automatically terminate your rights under
501
+ this License (including any patent licenses granted under the third
502
+ paragraph of section 11).
503
+
504
+ However, if you cease all violation of this License, then your
505
+ license from a particular copyright holder is reinstated (a)
506
+ provisionally, unless and until the copyright holder explicitly and
507
+ finally terminates your license, and (b) permanently, if the copyright
508
+ holder fails to notify you of the violation by some reasonable means
509
+ prior to 60 days after the cessation.
510
+
511
+ Moreover, your license from a particular copyright holder is
512
+ reinstated permanently if the copyright holder notifies you of the
513
+ violation by some reasonable means, this is the first time you have
514
+ received notice of violation of this License (for any work) from that
515
+ copyright holder, and you cure the violation prior to 30 days after
516
+ your receipt of the notice.
517
+
518
+ Termination of your rights under this section does not terminate the
519
+ licenses of parties who have received copies or rights from you under
520
+ this License. If your rights have been terminated and not permanently
521
+ reinstated, you do not qualify to receive new licenses for the same
522
+ material under section 10.
523
+
524
+ 9. Acceptance Not Required for Having Copies.
525
+
526
+ You are not required to accept this License in order to receive or
527
+ run a copy of the Program. Ancillary propagation of a covered work
528
+ occurring solely as a consequence of using peer-to-peer transmission
529
+ to receive a copy likewise does not require acceptance. However,
530
+ nothing other than this License grants you permission to propagate or
531
+ modify any covered work. These actions infringe copyright if you do
532
+ not accept this License. Therefore, by modifying or propagating a
533
+ covered work, you indicate your acceptance of this License to do so.
534
+
535
+ 10. Automatic Licensing of Downstream Recipients.
536
+
537
+ Each time you convey a covered work, the recipient automatically
538
+ receives a license from the original licensors, to run, modify and
539
+ propagate that work, subject to this License. You are not responsible
540
+ for enforcing compliance by third parties with this License.
541
+
542
+ An "entity transaction" is a transaction transferring control of an
543
+ organization, or substantially all assets of one, or subdividing an
544
+ organization, or merging organizations. If propagation of a covered
545
+ work results from an entity transaction, each party to that
546
+ transaction who receives a copy of the work also receives whatever
547
+ licenses to the work the party's predecessor in interest had or could
548
+ give under the previous paragraph, plus a right to possession of the
549
+ Corresponding Source of the work from the predecessor in interest, if
550
+ the predecessor has it or can get it with reasonable efforts.
551
+
552
+ You may not impose any further restrictions on the exercise of the
553
+ rights granted or affirmed under this License. For example, you may
554
+ not impose a license fee, royalty, or other charge for exercise of
555
+ rights granted under this License, and you may not initiate litigation
556
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
557
+ any patent claim is infringed by making, using, selling, offering for
558
+ sale, or importing the Program or any portion of it.
559
+
560
+ 11. Patents.
561
+
562
+ A "contributor" is a copyright holder who authorizes use under this
563
+ License of the Program or a work on which the Program is based. The
564
+ work thus licensed is called the contributor's "contributor version".
565
+
566
+ A contributor's "essential patent claims" are all patent claims
567
+ owned or controlled by the contributor, whether already acquired or
568
+ hereafter acquired, that would be infringed by some manner, permitted
569
+ by this License, of making, using, or selling its contributor version,
570
+ but do not include claims that would be infringed only as a
571
+ consequence of further modification of the contributor version. For
572
+ purposes of this definition, "control" includes the right to grant
573
+ patent sublicenses in a manner consistent with the requirements of
574
+ this License.
575
+
576
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
577
+ patent license under the contributor's essential patent claims, to
578
+ make, use, sell, offer for sale, import and otherwise run, modify and
579
+ propagate the contents of its contributor version.
580
+
581
+ In the following three paragraphs, a "patent license" is any express
582
+ agreement or commitment, however denominated, not to enforce a patent
583
+ (such as an express permission to practice a patent or covenant not to
584
+ sue for patent infringement). To "grant" such a patent license to a
585
+ party means to make such an agreement or commitment not to enforce a
586
+ patent against the party.
587
+
588
+ If you convey a covered work, knowingly relying on a patent license,
589
+ and the Corresponding Source of the work is not available for anyone
590
+ to copy, free of charge and under the terms of this License, through a
591
+ publicly available network server or other readily accessible means,
592
+ then you must either (1) cause the Corresponding Source to be so
593
+ available, or (2) arrange to deprive yourself of the benefit of the
594
+ patent license for this particular work, or (3) arrange, in a manner
595
+ consistent with the requirements of this License, to extend the patent
596
+ license to downstream recipients. "Knowingly relying" means you have
597
+ actual knowledge that, but for the patent license, your conveying the
598
+ covered work in a country, or your recipient's use of the covered work
599
+ in a country, would infringe one or more identifiable patents in that
600
+ country that you have reason to believe are valid.
601
+
602
+ If, pursuant to or in connection with a single transaction or
603
+ arrangement, you convey, or propagate by procuring conveyance of, a
604
+ covered work, and grant a patent license to some of the parties
605
+ receiving the covered work authorizing them to use, propagate, modify
606
+ or convey a specific copy of the covered work, then the patent license
607
+ you grant is automatically extended to all recipients of the covered
608
+ work and works based on it.
609
+
610
+ A patent license is "discriminatory" if it does not include within
611
+ the scope of its coverage, prohibits the exercise of, or is
612
+ conditioned on the non-exercise of one or more of the rights that are
613
+ specifically granted under this License. You may not convey a covered
614
+ work if you are a party to an arrangement with a third party that is
615
+ in the business of distributing software, under which you make payment
616
+ to the third party based on the extent of your activity of conveying
617
+ the work, and under which the third party grants, to any of the
618
+ parties who would receive the covered work from you, a discriminatory
619
+ patent license (a) in connection with copies of the covered work
620
+ conveyed by you (or copies made from those copies), or (b) primarily
621
+ for and in connection with specific products or compilations that
622
+ contain the covered work, unless you entered into that arrangement,
623
+ or that patent license was granted, prior to 28 March 2007.
624
+
625
+ Nothing in this License shall be construed as excluding or limiting
626
+ any implied license or other defenses to infringement that may
627
+ otherwise be available to you under applicable patent law.
628
+
629
+ 12. No Surrender of Others' Freedom.
630
+
631
+ If conditions are imposed on you (whether by court order, agreement or
632
+ otherwise) that contradict the conditions of this License, they do not
633
+ excuse you from the conditions of this License. If you cannot convey a
634
+ covered work so as to satisfy simultaneously your obligations under this
635
+ License and any other pertinent obligations, then as a consequence you may
636
+ not convey it at all. For example, if you agree to terms that obligate you
637
+ to collect a royalty for further conveying from those to whom you convey
638
+ the Program, the only way you could satisfy both those terms and this
639
+ License would be to refrain entirely from conveying the Program.
640
+
641
+ 13. Use with the GNU Affero General Public License.
642
+
643
+ Notwithstanding any other provision of this License, you have
644
+ permission to link or combine any covered work with a work licensed
645
+ under version 3 of the GNU Affero General Public License into a single
646
+ combined work, and to convey the resulting work. The terms of this
647
+ License will continue to apply to the part which is the covered work,
648
+ but the special requirements of the GNU Affero General Public License,
649
+ section 13, concerning interaction through a network will apply to the
650
+ combination as such.
651
+
652
+ 14. Revised Versions of this License.
653
+
654
+ The Free Software Foundation may publish revised and/or new versions of
655
+ the GNU General Public License from time to time. Such new versions will
656
+ be similar in spirit to the present version, but may differ in detail to
657
+ address new problems or concerns.
658
+
659
+ Each version is given a distinguishing version number. If the
660
+ Program specifies that a certain numbered version of the GNU General
661
+ Public License "or any later version" applies to it, you have the
662
+ option of following the terms and conditions either of that numbered
663
+ version or of any later version published by the Free Software
664
+ Foundation. If the Program does not specify a version number of the
665
+ GNU General Public License, you may choose any version ever published
666
+ by the Free Software Foundation.
667
+
668
+ If the Program specifies that a proxy can decide which future
669
+ versions of the GNU General Public License can be used, that proxy's
670
+ public statement of acceptance of a version permanently authorizes you
671
+ to choose that version for the Program.
672
+
673
+ Later license versions may give you additional or different
674
+ permissions. However, no additional obligations are imposed on any
675
+ author or copyright holder as a result of your choosing to follow a
676
+ later version.
677
+
678
+ 15. Disclaimer of Warranty.
679
+
680
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
681
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
682
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
683
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
684
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
685
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
686
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
687
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
688
+
689
+ 16. Limitation of Liability.
690
+
691
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
692
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
693
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
694
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
695
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
696
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
697
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
698
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
699
+ SUCH DAMAGES.
700
+
701
+ 17. Interpretation of Sections 15 and 16.
702
+
703
+ If the disclaimer of warranty and limitation of liability provided
704
+ above cannot be given local legal effect according to their terms,
705
+ reviewing courts shall apply local law that most closely approximates
706
+ an absolute waiver of all civil liability in connection with the
707
+ Program, unless a warranty or assumption of liability accompanies a
708
+ copy of the Program in return for a fee.
709
+
710
+ END OF TERMS AND CONDITIONS
711
+
712
+ How to Apply These Terms to Your New Programs
713
+
714
+ If you develop a new program, and you want it to be of the greatest
715
+ possible use to the public, the best way to achieve this is to make it
716
+ free software which everyone can redistribute and change under these terms.
717
+
718
+ To do so, attach the following notices to the program. It is safest
719
+ to attach them to the start of each source file to most effectively
720
+ state the exclusion of warranty; and each file should have at least
721
+ the "copyright" line and a pointer to where the full notice is found.
722
+
723
+ <one line to give the program's name and a brief idea of what it does.>
724
+ Copyright (C) <year> <name of author>
725
+
726
+ This program is free software: you can redistribute it and/or modify
727
+ it under the terms of the GNU General Public License as published by
728
+ the Free Software Foundation, either version 3 of the License, or
729
+ (at your option) any later version.
730
+
731
+ This program is distributed in the hope that it will be useful,
732
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
733
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
734
+ GNU General Public License for more details.
735
+
736
+ You should have received a copy of the GNU General Public License
737
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
738
+
739
+ Also add information on how to contact you by electronic and paper mail.
740
+
741
+ If the program does terminal interaction, make it output a short
742
+ notice like this when it starts in an interactive mode:
743
+
744
+ <program> Copyright (C) <year> <name of author>
745
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
746
+ This is free software, and you are welcome to redistribute it
747
+ under certain conditions; type `show c' for details.
748
+
749
+ The hypothetical commands `show w' and `show c' should show the appropriate
750
+ parts of the General Public License. Of course, your program's commands
751
+ might be different; for a GUI interface, you would use an "about box".
752
+
753
+ You should also get your employer (if you work as a programmer) or school,
754
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
755
+ For more information on this, and how to apply and follow the GNU GPL, see
756
+ <http://www.gnu.org/licenses/>.
757
+
758
+ The GNU General Public License does not permit incorporating your program
759
+ into proprietary programs. If your program is a subroutine library, you
760
+ may consider it more useful to permit linking proprietary applications with
761
+ the library. If this is what you want to do, use the GNU Lesser General
762
+ Public License instead of this License. But first, please read
763
+ <http://www.gnu.org/philosophy/why-not-lgpl.html>.
764
+
765
+ */