@etherisc/gif-next 0.0.2-f5a74cc-201 → 0.0.2-f626d92-602

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +753 -168
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +233 -81
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +846 -57
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +695 -258
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +529 -217
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -66
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1063 -394
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +315 -167
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +937 -1191
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +583 -193
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +137 -270
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +482 -286
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +328 -99
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +247 -180
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1039 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1341 -259
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +440 -79
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +622 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +217 -208
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPolicyService.sol/IPolicyService.json} +328 -164
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +429 -313
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +614 -426
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +302 -105
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +257 -564
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +200 -83
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +88 -41
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +218 -182
  217. package/contracts/components/Product.sol +125 -121
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  219. package/contracts/instance/BundleManager.sol +14 -16
  220. package/contracts/instance/Cloneable.sol +7 -2
  221. package/contracts/instance/IInstance.sol +56 -14
  222. package/contracts/instance/IInstanceService.sol +43 -3
  223. package/contracts/instance/Instance.sol +133 -261
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +10 -34
  226. package/contracts/instance/InstanceService.sol +400 -144
  227. package/contracts/instance/InstanceServiceManager.sol +6 -9
  228. package/contracts/instance/ObjectManager.sol +11 -24
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +11 -2
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +30 -3
  237. package/contracts/instance/module/ISetup.sol +7 -20
  238. package/contracts/instance/service/ApplicationService.sol +350 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +431 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +151 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +378 -31
  245. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  246. package/contracts/instance/service/IApplicationService.sol +82 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -0
  248. package/contracts/instance/service/IClaimService.sol +61 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +72 -0
  251. package/contracts/instance/service/IPoolService.sol +73 -25
  252. package/contracts/instance/service/IProductService.sol +2 -72
  253. package/contracts/instance/service/PolicyService.sol +362 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +203 -187
  256. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  257. package/contracts/instance/service/ProductService.sol +104 -464
  258. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +39 -19
  261. package/contracts/registry/IRegistryService.sol +31 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +243 -224
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +97 -173
  266. package/contracts/registry/RegistryServiceManager.sol +21 -39
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +22 -17
  269. package/contracts/shared/ERC165.sol +14 -12
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +66 -80
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -32
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +41 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +60 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +52 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/ObjectType.sol +10 -5
  293. package/contracts/types/PayoutId.sol +54 -0
  294. package/contracts/types/Referral.sol +4 -0
  295. package/contracts/types/RoleId.sol +26 -19
  296. package/contracts/types/Seconds.sol +54 -0
  297. package/contracts/types/StateId.sol +1 -0
  298. package/contracts/types/Timestamp.sol +13 -13
  299. package/contracts/types/UFixed.sol +1 -0
  300. package/contracts/types/Version.sol +1 -0
  301. package/package.json +3 -3
  302. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -368
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  344. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  346. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  347. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  348. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  350. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  353. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  355. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  356. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  357. package/contracts/components/BaseComponent.sol +0 -132
  358. package/contracts/components/IBaseComponent.sol +0 -31
  359. package/contracts/experiment/cloning/Cloner.sol +0 -47
  360. package/contracts/experiment/errors/Require.sol +0 -38
  361. package/contracts/experiment/errors/Revert.sol +0 -44
  362. package/contracts/experiment/inheritance/A.sol +0 -53
  363. package/contracts/experiment/inheritance/B.sol +0 -28
  364. package/contracts/experiment/inheritance/C.sol +0 -34
  365. package/contracts/experiment/inheritance/IA.sol +0 -13
  366. package/contracts/experiment/inheritance/IB.sol +0 -10
  367. package/contracts/experiment/inheritance/IC.sol +0 -12
  368. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  369. package/contracts/experiment/statemachine/ISM.sol +0 -25
  370. package/contracts/experiment/statemachine/SM.sol +0 -57
  371. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  372. package/contracts/experiment/types/TypeA.sol +0 -47
  373. package/contracts/experiment/types/TypeB.sol +0 -29
  374. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  375. package/contracts/instance/IInstanceBase.sol +0 -26
  376. package/contracts/instance/InstanceBase.sol +0 -41
  377. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  378. package/contracts/instance/base/IInstanceBase.sol +0 -23
  379. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  380. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  381. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -3,11 +3,6 @@
3
3
  "contractName": "BundleManager",
4
4
  "sourceName": "contracts/instance/BundleManager.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
6
  {
12
7
  "inputs": [
13
8
  {
@@ -46,6 +41,11 @@
46
41
  "name": "AccessManagedUnauthorized",
47
42
  "type": "error"
48
43
  },
44
+ {
45
+ "inputs": [],
46
+ "name": "CloneableAuthorityZero",
47
+ "type": "error"
48
+ },
49
49
  {
50
50
  "inputs": [
51
51
  {
@@ -63,9 +63,14 @@
63
63
  "internalType": "NftId",
64
64
  "name": "bundleNftId",
65
65
  "type": "uint96"
66
+ },
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "policyNftId",
70
+ "type": "uint96"
66
71
  }
67
72
  ],
68
- "name": "ErrorBundleManagerBundleNotRegistered",
73
+ "name": "ErrorBundleManagerBundleLocked",
69
74
  "type": "error"
70
75
  },
71
76
  {
@@ -76,7 +81,7 @@
76
81
  "type": "uint96"
77
82
  }
78
83
  ],
79
- "name": "ErrorBundleManagerBundleUnknown",
84
+ "name": "ErrorBundleManagerBundleNotRegistered",
80
85
  "type": "error"
81
86
  },
82
87
  {
@@ -85,14 +90,9 @@
85
90
  "internalType": "NftId",
86
91
  "name": "bundleNftId",
87
92
  "type": "uint96"
88
- },
89
- {
90
- "internalType": "NftId",
91
- "name": "policyNftId",
92
- "type": "uint96"
93
93
  }
94
94
  ],
95
- "name": "ErrorBundleManagerErrorBundleLocked",
95
+ "name": "ErrorBundleManagerBundleUnknown",
96
96
  "type": "error"
97
97
  },
98
98
  {
@@ -103,7 +103,7 @@
103
103
  "type": "uint96"
104
104
  }
105
105
  ],
106
- "name": "ErrorBundleManagerErrorPolicyAlreadyActivated",
106
+ "name": "ErrorBundleManagerPolicyAlreadyActivated",
107
107
  "type": "error"
108
108
  },
109
109
  {
@@ -234,6 +234,25 @@
234
234
  "name": "LogBundleManagerBundleAdded",
235
235
  "type": "event"
236
236
  },
237
+ {
238
+ "anonymous": false,
239
+ "inputs": [
240
+ {
241
+ "indexed": false,
242
+ "internalType": "NftId",
243
+ "name": "poolNftId",
244
+ "type": "uint96"
245
+ },
246
+ {
247
+ "indexed": false,
248
+ "internalType": "NftId",
249
+ "name": "bundleNftId",
250
+ "type": "uint96"
251
+ }
252
+ ],
253
+ "name": "LogBundleManagerBundleClosed",
254
+ "type": "event"
255
+ },
237
256
  {
238
257
  "anonymous": false,
239
258
  "inputs": [
@@ -313,16 +332,10 @@
313
332
  {
314
333
  "anonymous": false,
315
334
  "inputs": [
316
- {
317
- "indexed": false,
318
- "internalType": "NftId",
319
- "name": "instanceNftId",
320
- "type": "uint96"
321
- },
322
335
  {
323
336
  "indexed": false,
324
337
  "internalType": "address",
325
- "name": "instanceReader",
338
+ "name": "instance",
326
339
  "type": "address"
327
340
  }
328
341
  ],
@@ -486,10 +499,10 @@
486
499
  },
487
500
  {
488
501
  "inputs": [],
489
- "name": "getInstanceReader",
502
+ "name": "getInstance",
490
503
  "outputs": [
491
504
  {
492
- "internalType": "contract InstanceReader",
505
+ "internalType": "contract IInstance",
493
506
  "name": "",
494
507
  "type": "address"
495
508
  }
@@ -532,18 +545,8 @@
532
545
  "inputs": [
533
546
  {
534
547
  "internalType": "address",
535
- "name": "authority",
536
- "type": "address"
537
- },
538
- {
539
- "internalType": "address",
540
- "name": "registry",
548
+ "name": "instanceAddress",
541
549
  "type": "address"
542
- },
543
- {
544
- "internalType": "NftId",
545
- "name": "instanceNftId",
546
- "type": "uint96"
547
550
  }
548
551
  ],
549
552
  "name": "initialize",
@@ -630,14 +633,14 @@
630
633
  "type": "function"
631
634
  }
632
635
  ],
633
- "bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b0319908116909155600380549091169055611e858061003c6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80638de1d14e116100a2578063b5346af511610071578063b5346af51461025d578063bf7e214f14610270578063c861c25014610278578063db70354c1461028b578063dbacaaaf1461029e57600080fd5b80638de1d14e146102035780638fb360371461021657806394b9929b146102375780639a8fe6781461024a57600080fd5b806345983a8a116100e957806345983a8a1461018e578063485cc955146101a15780635ab1bd53146101b45780636ebed908146101c55780637a9e5e4b146101f057600080fd5b806302cd30711461011b57806306fa4565146101455780630cc7e6141461015a57806313ab148d1461016d575b600080fd5b6003546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6101586101533660046116c0565b6102b1565b005b6101586101683660046116c0565b61038d565b61018061017b3660046116c0565b6105b0565b60405190815260200161013c565b61018061019c3660046116c0565b6105c1565b6101586101af3660046116f2565b61064d565b6000546001600160a01b0316610128565b6101d86101d336600461172b565b6107ef565b6040516001600160601b03909116815260200161013c565b6101586101fe366004611757565b610802565b6101586102113660046116c0565b610889565b61021e6109fe565b6040516001600160e01b0319909116815260200161013c565b6101806102453660046116c0565b610a37565b6101586102583660046116c0565b610a42565b61015861026b3660046116c0565b610c68565b610128610d38565b610158610286366004611774565b610d54565b6101d861029936600461172b565b610ef3565b6101d86102ac36600461172b565b610eff565b6102be335b600036610f92565b600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610310573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103389190810190611966565b5190506103458183611098565b604080516001600160601b038084168252841660208201527f8481dca68853151d9f39783b09bf4144fd4fadcbf056b07e508ca3f873f2b89891015b60405180910390a15050565b610396336102b6565b60035460405163bd7d9d8560e01b81526001600160601b03831660048201526000916001600160a01b03169063bd7d9d8590602401600060405180830381865afa1580156103e8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104109190810190611a71565b60200151600354604051634793b4ab60e01b81526001600160601b03831660048201529192506000916001600160a01b0390911690634793b4ab90602401600060405180830381865afa15801561046b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104939190810190611966565b5190506104a0818361111b565b6104d55760405163324bcb1160e11b81526001600160601b038084166004830152841660248201526044015b60405180910390fd5b6001600160601b0382166000908152600460208190526040918290209151631461054360e31b815273__$0dc988b1672de335b826773df9015af2da$__9263a3082a1892610537928891019182526001600160601b0316602082015260400190565b60006040518083038186803b15801561054f57600080fd5b505af4158015610563573d6000803e3d6000fd5b5050604080516001600160601b038087168252871660208201527f5cb68c560151617390da8ac6298cbe334b6a6e27a8bdea1f03a939de82a59b2a935001905060405180910390a1505050565b60006105bb826111be565b92915050565b6001600160601b03811660009081526004602081905260408083209051638b6233dd60e01b81529182015273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd906024015b602060405180830381865af4158015610629573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105bb9190611bd7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156106935750825b905060008267ffffffffffffffff1660011480156106b05750303b155b9050811580156106be575080155b156106dc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561070657845460ff60401b1916600160401b1785555b61070f8761120f565b856001600160a01b03163b6000036107455760405163071669cf60e21b81526001600160a01b03871660048201526024016104cc565b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156107e657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60006107fb8383611223565b9392505050565b3361080b610d38565b6001600160a01b0316816001600160a01b0316146108465760405162d1953b60e31b81526001600160a01b03821660048201526024016104cc565b816001600160a01b03163b60000361087c576040516361798f2f60e11b81526001600160a01b03831660048201526024016104cc565b6108858261127b565b5050565b610892336102b6565b600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa1580156108e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261090c9190810190611966565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098c9190611c00565b156109b457604051620852e560e41b81526001600160601b03831660048201526024016104cc565b6109be81836112d5565b604080516001600160601b038084168252841660208201527f559277c2e6b13df1c45b0a6a50bea96df5fc3499ee767963594bdd7cb5cc10359101610381565b600080516020611e30833981519152805460009190600160a01b900460ff16610a28576000610a31565b638fb3603760e01b5b91505090565b60006105bb826113dd565b610a4b336102b6565b60035460405163bd7d9d8560e01b81526001600160601b03831660048201526000916001600160a01b03169063bd7d9d8590602401600060405180830381865afa158015610a9d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ac59190810190611a71565b6020810151600354604051634793b4ab60e01b81526001600160601b038316600482015292935090916000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610b21573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b499190810190611966565b519050610b56818361142e565b610b7e576040516352500dd960e01b81526001600160601b03831660048201526024016104cc565b6001600160601b038216600090815260046020819052604091829020915163539eabab60e11b815273__$0dc988b1672de335b826773df9015af2da$__9263a73d575692610be0928991019182526001600160601b0316602082015260400190565b60006040518083038186803b158015610bf857600080fd5b505af4158015610c0c573d6000803e3d6000fd5b505050507fb0b509518a18f79abc72ff294f3a785a37721a790e8f0f53d8b991dac386102d836020015185604051610c5a9291906001600160601b0392831681529116602082015260400190565b60405180910390a150505050565b610c71336102b6565b600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610cc3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ceb9190810190611966565b519050610cf88183611490565b604080516001600160601b038084168252841660208201527fb153f926e58e76caa7d661713867b8f1bbfcbda82504931fab2dccc2610a98dd9101610381565b600080516020611e30833981519152546001600160a01b031690565b610d5e838361064d565b600080546040516305247a1760e51b81526001600160601b03841660048201526001600160a01b039091169063a48f42e090602401600060405180830381865afa158015610db0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dd89190810190611c37565b9050610df68160400151610dea604690565b60ff9081169116141590565b15610e1f57604051632295742160e21b81526001600160601b03831660048201526024016104cc565b600081608001519050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8a9190611d0a565b600380546001600160a01b0319166001600160a01b03929092169182179055604080516001600160601b038616815260208101929092527fc23472ef19cd3719232c2fbc22eb87b48424eba43454acefd67a6578fda49d90910160405180910390a15050505050565b60006107fb83836114eb565b6001600160601b0382166000908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044015b602060405180830381865af4158015610f6e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190611d27565b600080516020611e30833981519152600080610fcd610faf610d38565b8730610fbf600460008a8c611d44565b610fc891611d6e565b611543565b91509150816110905763ffffffff81161561106d57825460ff60a01b1916600160a01b178355610ffb610d38565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161102a93929190611d9e565b600060405180830381600087803b15801561104457600080fd5b505af1158015611058573d6000803e3d6000fd5b5050845460ff60a01b19168555506110909050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104cc565b505050505050565b6001600160601b03828116600090815260016020526040908190209051631461054360e31b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a18906044015b60006040518083038186803b15801561110757600080fd5b505af4158015611090573d6000803e3d6000fd5b6001600160601b0382166000908152600160205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b99161117d919086906004019182526001600160601b0316602082015260400190565b602060405180830381865af415801561119a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190611c00565b6001600160601b0381166000908152600260205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd9060240161060c565b61121761164f565b6112208161169a565b50565b6001600160601b038216600090815260016020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401610f51565b600080516020611e3083398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610381565b6001600160601b0382811660009081526002602090815260408083206001909252918290209151631461054360e31b81526004810182905292841660248401529173__$0dc988b1672de335b826773df9015af2da$__9063a3082a189060440160006040518083038186803b15801561134d57600080fd5b505af4158015611361573d6000803e3d6000fd5b5050604051631461054360e31b8152600481018490526001600160601b038616602482015273__$0dc988b1672de335b826773df9015af2da$__925063a3082a18915060440160006040518083038186803b1580156113bf57600080fd5b505af41580156113d3573d6000803e3d6000fd5b5050505050505050565b6001600160601b0381166000908152600160205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd9060240161060c565b6001600160601b0382166000908152600260205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b99161117d919086906004019182526001600160601b0316602082015260400190565b6001600160601b0382811660009081526001602052604090819020905163539eabab60e11b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a73d5756906044016110ef565b6001600160601b038216600090815260026020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401610f51565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516115b29190611dde565b600060405180830381855afa9150503d80600081146115ed576040519150601f19603f3d011682016040523d82523d6000602084013e6115f2565b606091505b50915091508115611644576040815110611624578080602001905181019061161a9190611dfa565b9094509250611644565b602081511061164457808060200190518101906116419190611c00565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661169857604051631afcd79f60e31b815260040160405180910390fd5b565b6116a261164f565b6112208161127b565b6001600160601b038116811461122057600080fd5b6000602082840312156116d257600080fd5b81356107fb816116ab565b6001600160a01b038116811461122057600080fd5b6000806040838503121561170557600080fd5b8235611710816116dd565b91506020830135611720816116dd565b809150509250929050565b6000806040838503121561173e57600080fd5b8235611749816116ab565b946020939093013593505050565b60006020828403121561176957600080fd5b81356107fb816116dd565b60008060006060848603121561178957600080fd5b8335611794816116dd565b925060208401356117a4816116dd565b915060408401356117b4816116ab565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff811182821017156117f9576117f96117bf565b60405290565b604051610200810167ffffffffffffffff811182821017156117f9576117f96117bf565b60405160e0810167ffffffffffffffff811182821017156117f9576117f96117bf565b8051611851816116ab565b919050565b60006040828403121561186857600080fd5b6040516040810181811067ffffffffffffffff8211171561188b5761188b6117bf565b604052825181526020928301519281019290925250919050565b60005b838110156118c05781810151838201526020016118a8565b50506000910152565b600082601f8301126118da57600080fd5b815167ffffffffffffffff808211156118f5576118f56117bf565b604051601f8301601f19908116603f0116810190828211818310171561191d5761191d6117bf565b8160405283815286602085880101111561193657600080fd5b6119478460208301602089016118a5565b9695505050505050565b805164ffffffffff8116811461185157600080fd5b60006020828403121561197857600080fd5b815167ffffffffffffffff8082111561199057600080fd5b9083019061014082860312156119a557600080fd5b6119ad6117d5565b6119b683611846565b81526119c58660208501611856565b60208201526060830151828111156119dc57600080fd5b6119e8878286016118c9565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150611a26828401611951565b60e0820152611a386101208401611951565b91810191909152949350505050565b80516001600160c01b03198116811461185157600080fd5b805161ffff8116811461185157600080fd5b600060208284031215611a8357600080fd5b815167ffffffffffffffff80821115611a9b57600080fd5b908301906102008286031215611ab057600080fd5b611ab86117ff565b611ac183611846565b8152611acf60208401611846565b6020820152611ae060408401611a47565b6040820152611af160608401611a47565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115611b3257600080fd5b611b3e888287016118c9565b8284015250506101208084015183811115611b5857600080fd5b611b64888287016118c9565b8284015250506101409150611b7a828401611a5f565b828201526101609150611b8e828401611a5f565b82820152610180915081830151828201526101a09150611baf828401611951565b828201526101c09150611bc3828401611951565b828201526101e09150611a38828401611951565b600060208284031215611be957600080fd5b5051919050565b8051801515811461185157600080fd5b600060208284031215611c1257600080fd5b6107fb82611bf0565b805160ff8116811461185157600080fd5b8051611851816116dd565b600060208284031215611c4957600080fd5b815167ffffffffffffffff80821115611c6157600080fd5b9083019060e08286031215611c7557600080fd5b611c7d611823565b611c8683611846565b8152611c9460208401611846565b6020820152611ca560408401611c1b565b6040820152611cb660608401611bf0565b6060820152611cc760808401611c2c565b6080820152611cd860a08401611c2c565b60a082015260c083015182811115611cef57600080fd5b611cfb878286016118c9565b60c08301525095945050505050565b600060208284031215611d1c57600080fd5b81516107fb816116dd565b600060208284031215611d3957600080fd5b81516107fb816116ab565b60008085851115611d5457600080fd5b83861115611d6157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611d965780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251611df08184602087016118a5565b9190910192915050565b60008060408385031215611e0d57600080fd5b611e1683611bf0565b9150602083015163ffffffff8116811461172057600080fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220df6697b68b9b0f4a614fc4eb90e83d549ac71a9e94bf7c7afd6cb62739031da664736f6c63430008140033",
634
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c80638de1d14e116100a2578063b5346af511610071578063b5346af51461025d578063bf7e214f14610270578063c861c25014610278578063db70354c1461028b578063dbacaaaf1461029e57600080fd5b80638de1d14e146102035780638fb360371461021657806394b9929b146102375780639a8fe6781461024a57600080fd5b806345983a8a116100e957806345983a8a1461018e578063485cc955146101a15780635ab1bd53146101b45780636ebed908146101c55780637a9e5e4b146101f057600080fd5b806302cd30711461011b57806306fa4565146101455780630cc7e6141461015a57806313ab148d1461016d575b600080fd5b6003546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6101586101533660046116c0565b6102b1565b005b6101586101683660046116c0565b61038d565b61018061017b3660046116c0565b6105b0565b60405190815260200161013c565b61018061019c3660046116c0565b6105c1565b6101586101af3660046116f2565b61064d565b6000546001600160a01b0316610128565b6101d86101d336600461172b565b6107ef565b6040516001600160601b03909116815260200161013c565b6101586101fe366004611757565b610802565b6101586102113660046116c0565b610889565b61021e6109fe565b6040516001600160e01b0319909116815260200161013c565b6101806102453660046116c0565b610a37565b6101586102583660046116c0565b610a42565b61015861026b3660046116c0565b610c68565b610128610d38565b610158610286366004611774565b610d54565b6101d861029936600461172b565b610ef3565b6101d86102ac36600461172b565b610eff565b6102be335b600036610f92565b600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610310573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103389190810190611966565b5190506103458183611098565b604080516001600160601b038084168252841660208201527f8481dca68853151d9f39783b09bf4144fd4fadcbf056b07e508ca3f873f2b89891015b60405180910390a15050565b610396336102b6565b60035460405163bd7d9d8560e01b81526001600160601b03831660048201526000916001600160a01b03169063bd7d9d8590602401600060405180830381865afa1580156103e8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104109190810190611a71565b60200151600354604051634793b4ab60e01b81526001600160601b03831660048201529192506000916001600160a01b0390911690634793b4ab90602401600060405180830381865afa15801561046b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104939190810190611966565b5190506104a0818361111b565b6104d55760405163324bcb1160e11b81526001600160601b038084166004830152841660248201526044015b60405180910390fd5b6001600160601b0382166000908152600460208190526040918290209151631461054360e31b815273__$0dc988b1672de335b826773df9015af2da$__9263a3082a1892610537928891019182526001600160601b0316602082015260400190565b60006040518083038186803b15801561054f57600080fd5b505af4158015610563573d6000803e3d6000fd5b5050604080516001600160601b038087168252871660208201527f5cb68c560151617390da8ac6298cbe334b6a6e27a8bdea1f03a939de82a59b2a935001905060405180910390a1505050565b60006105bb826111be565b92915050565b6001600160601b03811660009081526004602081905260408083209051638b6233dd60e01b81529182015273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd906024015b602060405180830381865af4158015610629573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105bb9190611bd7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156106935750825b905060008267ffffffffffffffff1660011480156106b05750303b155b9050811580156106be575080155b156106dc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561070657845460ff60401b1916600160401b1785555b61070f8761120f565b856001600160a01b03163b6000036107455760405163071669cf60e21b81526001600160a01b03871660048201526024016104cc565b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156107e657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60006107fb8383611223565b9392505050565b3361080b610d38565b6001600160a01b0316816001600160a01b0316146108465760405162d1953b60e31b81526001600160a01b03821660048201526024016104cc565b816001600160a01b03163b60000361087c576040516361798f2f60e11b81526001600160a01b03831660048201526024016104cc565b6108858261127b565b5050565b610892336102b6565b600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa1580156108e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261090c9190810190611966565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098c9190611c00565b156109b457604051620852e560e41b81526001600160601b03831660048201526024016104cc565b6109be81836112d5565b604080516001600160601b038084168252841660208201527f559277c2e6b13df1c45b0a6a50bea96df5fc3499ee767963594bdd7cb5cc10359101610381565b600080516020611e30833981519152805460009190600160a01b900460ff16610a28576000610a31565b638fb3603760e01b5b91505090565b60006105bb826113dd565b610a4b336102b6565b60035460405163bd7d9d8560e01b81526001600160601b03831660048201526000916001600160a01b03169063bd7d9d8590602401600060405180830381865afa158015610a9d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ac59190810190611a71565b6020810151600354604051634793b4ab60e01b81526001600160601b038316600482015292935090916000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610b21573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b499190810190611966565b519050610b56818361142e565b610b7e576040516352500dd960e01b81526001600160601b03831660048201526024016104cc565b6001600160601b038216600090815260046020819052604091829020915163539eabab60e11b815273__$0dc988b1672de335b826773df9015af2da$__9263a73d575692610be0928991019182526001600160601b0316602082015260400190565b60006040518083038186803b158015610bf857600080fd5b505af4158015610c0c573d6000803e3d6000fd5b505050507fb0b509518a18f79abc72ff294f3a785a37721a790e8f0f53d8b991dac386102d836020015185604051610c5a9291906001600160601b0392831681529116602082015260400190565b60405180910390a150505050565b610c71336102b6565b600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610cc3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ceb9190810190611966565b519050610cf88183611490565b604080516001600160601b038084168252841660208201527fb153f926e58e76caa7d661713867b8f1bbfcbda82504931fab2dccc2610a98dd9101610381565b600080516020611e30833981519152546001600160a01b031690565b610d5e838361064d565b600080546040516305247a1760e51b81526001600160601b03841660048201526001600160a01b039091169063a48f42e090602401600060405180830381865afa158015610db0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dd89190810190611c37565b9050610df68160400151610dea604690565b60ff9081169116141590565b15610e1f57604051632295742160e21b81526001600160601b03831660048201526024016104cc565b600081608001519050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8a9190611d0a565b600380546001600160a01b0319166001600160a01b03929092169182179055604080516001600160601b038616815260208101929092527fc23472ef19cd3719232c2fbc22eb87b48424eba43454acefd67a6578fda49d90910160405180910390a15050505050565b60006107fb83836114eb565b6001600160601b0382166000908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044015b602060405180830381865af4158015610f6e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190611d27565b600080516020611e30833981519152600080610fcd610faf610d38565b8730610fbf600460008a8c611d44565b610fc891611d6e565b611543565b91509150816110905763ffffffff81161561106d57825460ff60a01b1916600160a01b178355610ffb610d38565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161102a93929190611d9e565b600060405180830381600087803b15801561104457600080fd5b505af1158015611058573d6000803e3d6000fd5b5050845460ff60a01b19168555506110909050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104cc565b505050505050565b6001600160601b03828116600090815260016020526040908190209051631461054360e31b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a18906044015b60006040518083038186803b15801561110757600080fd5b505af4158015611090573d6000803e3d6000fd5b6001600160601b0382166000908152600160205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b99161117d919086906004019182526001600160601b0316602082015260400190565b602060405180830381865af415801561119a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190611c00565b6001600160601b0381166000908152600260205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd9060240161060c565b61121761164f565b6112208161169a565b50565b6001600160601b038216600090815260016020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401610f51565b600080516020611e3083398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610381565b6001600160601b0382811660009081526002602090815260408083206001909252918290209151631461054360e31b81526004810182905292841660248401529173__$0dc988b1672de335b826773df9015af2da$__9063a3082a189060440160006040518083038186803b15801561134d57600080fd5b505af4158015611361573d6000803e3d6000fd5b5050604051631461054360e31b8152600481018490526001600160601b038616602482015273__$0dc988b1672de335b826773df9015af2da$__925063a3082a18915060440160006040518083038186803b1580156113bf57600080fd5b505af41580156113d3573d6000803e3d6000fd5b5050505050505050565b6001600160601b0381166000908152600160205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd9060240161060c565b6001600160601b0382166000908152600260205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b99161117d919086906004019182526001600160601b0316602082015260400190565b6001600160601b0382811660009081526001602052604090819020905163539eabab60e11b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a73d5756906044016110ef565b6001600160601b038216600090815260026020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401610f51565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516115b29190611dde565b600060405180830381855afa9150503d80600081146115ed576040519150601f19603f3d011682016040523d82523d6000602084013e6115f2565b606091505b50915091508115611644576040815110611624578080602001905181019061161a9190611dfa565b9094509250611644565b602081511061164457808060200190518101906116419190611c00565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661169857604051631afcd79f60e31b815260040160405180910390fd5b565b6116a261164f565b6112208161127b565b6001600160601b038116811461122057600080fd5b6000602082840312156116d257600080fd5b81356107fb816116ab565b6001600160a01b038116811461122057600080fd5b6000806040838503121561170557600080fd5b8235611710816116dd565b91506020830135611720816116dd565b809150509250929050565b6000806040838503121561173e57600080fd5b8235611749816116ab565b946020939093013593505050565b60006020828403121561176957600080fd5b81356107fb816116dd565b60008060006060848603121561178957600080fd5b8335611794816116dd565b925060208401356117a4816116dd565b915060408401356117b4816116ab565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff811182821017156117f9576117f96117bf565b60405290565b604051610200810167ffffffffffffffff811182821017156117f9576117f96117bf565b60405160e0810167ffffffffffffffff811182821017156117f9576117f96117bf565b8051611851816116ab565b919050565b60006040828403121561186857600080fd5b6040516040810181811067ffffffffffffffff8211171561188b5761188b6117bf565b604052825181526020928301519281019290925250919050565b60005b838110156118c05781810151838201526020016118a8565b50506000910152565b600082601f8301126118da57600080fd5b815167ffffffffffffffff808211156118f5576118f56117bf565b604051601f8301601f19908116603f0116810190828211818310171561191d5761191d6117bf565b8160405283815286602085880101111561193657600080fd5b6119478460208301602089016118a5565b9695505050505050565b805164ffffffffff8116811461185157600080fd5b60006020828403121561197857600080fd5b815167ffffffffffffffff8082111561199057600080fd5b9083019061014082860312156119a557600080fd5b6119ad6117d5565b6119b683611846565b81526119c58660208501611856565b60208201526060830151828111156119dc57600080fd5b6119e8878286016118c9565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150611a26828401611951565b60e0820152611a386101208401611951565b91810191909152949350505050565b80516001600160c01b03198116811461185157600080fd5b805161ffff8116811461185157600080fd5b600060208284031215611a8357600080fd5b815167ffffffffffffffff80821115611a9b57600080fd5b908301906102008286031215611ab057600080fd5b611ab86117ff565b611ac183611846565b8152611acf60208401611846565b6020820152611ae060408401611a47565b6040820152611af160608401611a47565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115611b3257600080fd5b611b3e888287016118c9565b8284015250506101208084015183811115611b5857600080fd5b611b64888287016118c9565b8284015250506101409150611b7a828401611a5f565b828201526101609150611b8e828401611a5f565b82820152610180915081830151828201526101a09150611baf828401611951565b828201526101c09150611bc3828401611951565b828201526101e09150611a38828401611951565b600060208284031215611be957600080fd5b5051919050565b8051801515811461185157600080fd5b600060208284031215611c1257600080fd5b6107fb82611bf0565b805160ff8116811461185157600080fd5b8051611851816116dd565b600060208284031215611c4957600080fd5b815167ffffffffffffffff80821115611c6157600080fd5b9083019060e08286031215611c7557600080fd5b611c7d611823565b611c8683611846565b8152611c9460208401611846565b6020820152611ca560408401611c1b565b6040820152611cb660608401611bf0565b6060820152611cc760808401611c2c565b6080820152611cd860a08401611c2c565b60a082015260c083015182811115611cef57600080fd5b611cfb878286016118c9565b60c08301525095945050505050565b600060208284031215611d1c57600080fd5b81516107fb816116dd565b600060208284031215611d3957600080fd5b81516107fb816116ab565b60008085851115611d5457600080fd5b83861115611d6157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611d965780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251611df08184602087016118a5565b9190910192915050565b60008060408385031215611e0d57600080fd5b611e1683611bf0565b9150602083015163ffffffff8116811461172057600080fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220df6697b68b9b0f4a614fc4eb90e83d549ac71a9e94bf7c7afd6cb62739031da664736f6c63430008140033",
636
+ "bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b0319169055611fe6806100306000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461025f578063c4d66de814610267578063db70354c1461027a578063dbacaaaf1461028d578063de7b5d14146102a057600080fd5b80638fb360371461020557806394b9929b146102265780639a8fe67814610239578063b5346af51461024c57600080fd5b8063485cc955116100e9578063485cc9551461017c5780635ab1bd531461018f5780636ebed908146101b45780637a9e5e4b146101df5780638de1d14e146101f257600080fd5b806306fa45651461011b5780630cc7e6141461013057806313ab148d1461014357806345983a8a14610169575b600080fd5b61012e61012936600461195b565b6102b1565b005b61012e61013e36600461195b565b6103f8565b61015661015136600461195b565b6106f9565b6040519081526020015b60405180910390f35b61015661017736600461195b565b61070a565b61012e61018a36600461198d565b610796565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610160565b6101c76101c23660046119c6565b61085c565b6040516001600160601b039091168152602001610160565b61012e6101ed3660046119f2565b61086f565b61012e61020036600461195b565b6108f6565b61020d610ad6565b6040516001600160e01b03199091168152602001610160565b61015661023436600461195b565b610b0f565b61012e61024736600461195b565b610b1a565b61012e61025a36600461195b565b610e16565b61019c610f51565b61012e6102753660046119f2565b610f6d565b6101c76102883660046119c6565b611196565b6101c761029b3660046119c6565b6111a2565b6003546001600160a01b031661019c565b6102be335b600036611235565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032c9190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa15801561037b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103a39190810190611bb0565b5190506103b08183611333565b604080516001600160601b038084168252841660208201527f8481dca68853151d9f39783b09bf4144fd4fadcbf056b07e508ca3f873f2b89891015b60405180910390a15050565b610401336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa15801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f9190611a0f565b60405163bd7d9d8560e01b81526001600160601b03841660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa1580156104be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104e69190810190611cd7565b6020015190506000600360009054906101000a90046001600160a01b03166001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610541573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105659190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa1580156105b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105dc9190810190611bb0565b5190506105e981836113b6565b61061e57604051635f73b3b960e11b81526001600160601b038084166004830152841660248201526044015b60405180910390fd5b6001600160601b0382166000908152600460208190526040918290209151631461054360e31b815273__$0dc988b1672de335b826773df9015af2da$__9263a3082a1892610680928891019182526001600160601b0316602082015260400190565b60006040518083038186803b15801561069857600080fd5b505af41580156106ac573d6000803e3d6000fd5b5050604080516001600160601b038087168252871660208201527f5cb68c560151617390da8ac6298cbe334b6a6e27a8bdea1f03a939de82a59b2a935001905060405180910390a1505050565b600061070482611459565b92915050565b6001600160601b03811660009081526004602081905260408083209051638b6233dd60e01b81529182015273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd906024015b602060405180830381865af4158015610772573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107049190611e44565b61079e6114aa565b6001600160a01b0382166107c55760405163e639886560e01b815260040160405180910390fd5b6107ce826114f5565b806001600160a01b03163b6000036108045760405163071669cf60e21b81526001600160a01b0382166004820152602401610615565b600080546001600160a01b0319166001600160a01b0383811691821790925560408051928516835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd12722441291016103ec565b60006108688383611509565b9392505050565b33610878610f51565b6001600160a01b0316816001600160a01b0316146108b35760405162d1953b60e31b81526001600160a01b0382166004820152602401610615565b816001600160a01b03163b6000036108e9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610615565b6108f282611561565b5050565b6108ff336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610949573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096d9190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa1580156109bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e49190810190611bb0565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610a40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a649190611e6d565b15610a8c57604051620852e560e41b81526001600160601b0383166004820152602401610615565b610a9681836115bb565b604080516001600160601b038084168252841660208201527f559277c2e6b13df1c45b0a6a50bea96df5fc3499ee767963594bdd7cb5cc103591016103ec565b600080516020611f91833981519152805460009190600160a01b900460ff16610b00576000610b09565b638fb3603760e01b5b91505090565b6000610704826116c3565b610b23336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b919190611a0f565b60405163bd7d9d8560e01b81526001600160601b03841660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015610be0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c089190810190611cd7565b602080820151600354604080516302cd307160e01b8152905194955091936000936001600160a01b03909216926302cd30719260048083019391928290030181865afa158015610c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c809190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610ccf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cf79190810190611bb0565b519050610d048183611714565b610d2c576040516352500dd960e01b81526001600160601b0383166004820152602401610615565b6001600160601b038216600090815260046020819052604091829020915163539eabab60e11b815273__$0dc988b1672de335b826773df9015af2da$__9263a73d575692610d8e928991019182526001600160601b0316602082015260400190565b60006040518083038186803b158015610da657600080fd5b505af4158015610dba573d6000803e3d6000fd5b505050507fb0b509518a18f79abc72ff294f3a785a37721a790e8f0f53d8b991dac386102d836020015185604051610e089291906001600160601b0392831681529116602082015260400190565b60405180910390a150505050565b610e1f336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610e69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8d9190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610edc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f049190810190611bb0565b519050610f118183611776565b604080516001600160601b038084168252841660208201527fb153f926e58e76caa7d661713867b8f1bbfcbda82504931fab2dccc2610a98dd91016103ec565b600080516020611f91833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610fb35750825b905060008267ffffffffffffffff166001148015610fd05750303b155b905081158015610fde575080155b15610ffc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561102657845460ff60401b1916600160401b1785555b60008690506110f2816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110909190611a0f565b826001600160a01b031663f21de1e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ce573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a9190611a0f565b600380546001600160a01b0319166001600160a01b038381169190911790915560405190881681527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a150831561118e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b600061086883836117d1565b6001600160601b0382166000908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044015b602060405180830381865af4158015611211573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190611e88565b600080516020611f91833981519152600080611270611252610f51565b8730611262600460008a8c611ea5565b61126b91611ecf565b611829565b915091508161118e5763ffffffff81161561131057825460ff60a01b1916600160a01b17835561129e610f51565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016112cd93929190611eff565b600060405180830381600087803b1580156112e757600080fd5b505af11580156112fb573d6000803e3d6000fd5b5050845460ff60a01b191685555061118e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610615565b6001600160601b03828116600090815260016020526040908190209051631461054360e31b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a18906044015b60006040518083038186803b1580156113a257600080fd5b505af415801561118e573d6000803e3d6000fd5b6001600160601b0382166000908152600160205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b991611418919086906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015611435573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190611e6d565b6001600160601b0381166000908152600260205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401610755565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114f357604051631afcd79f60e31b815260040160405180910390fd5b565b6114fd6114aa565b61150681611935565b50565b6001600160601b038216600090815260016020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044016111f4565b600080516020611f9183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016103ec565b6001600160601b0382811660009081526002602090815260408083206001909252918290209151631461054360e31b81526004810182905292841660248401529173__$0dc988b1672de335b826773df9015af2da$__9063a3082a189060440160006040518083038186803b15801561163357600080fd5b505af4158015611647573d6000803e3d6000fd5b5050604051631461054360e31b8152600481018490526001600160601b038616602482015273__$0dc988b1672de335b826773df9015af2da$__925063a3082a18915060440160006040518083038186803b1580156116a557600080fd5b505af41580156116b9573d6000803e3d6000fd5b5050505050505050565b6001600160601b0381166000908152600160205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401610755565b6001600160601b0382166000908152600260205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b991611418919086906004019182526001600160601b0316602082015260400190565b6001600160601b0382811660009081526001602052604090819020905163539eabab60e11b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a73d57569060440161138a565b6001600160601b038216600090815260026020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044016111f4565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118989190611f3f565b600060405180830381855afa9150503d80600081146118d3576040519150601f19603f3d011682016040523d82523d6000602084013e6118d8565b606091505b5091509150811561192a57604081511061190a57808060200190518101906119009190611f5b565b909450925061192a565b602081511061192a57808060200190518101906119279190611e6d565b93505b505094509492505050565b61193d6114aa565b61150681611561565b6001600160601b038116811461150657600080fd5b60006020828403121561196d57600080fd5b813561086881611946565b6001600160a01b038116811461150657600080fd5b600080604083850312156119a057600080fd5b82356119ab81611978565b915060208301356119bb81611978565b809150509250929050565b600080604083850312156119d957600080fd5b82356119e481611946565b946020939093013593505050565b600060208284031215611a0457600080fd5b813561086881611978565b600060208284031215611a2157600080fd5b815161086881611978565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff81118282101715611a6657611a66611a2c565b60405290565b604051610200810167ffffffffffffffff81118282101715611a6657611a66611a2c565b8051611a9b81611946565b919050565b600060408284031215611ab257600080fd5b6040516040810181811067ffffffffffffffff82111715611ad557611ad5611a2c565b604052825181526020928301519281019290925250919050565b60005b83811015611b0a578181015183820152602001611af2565b50506000910152565b600082601f830112611b2457600080fd5b815167ffffffffffffffff80821115611b3f57611b3f611a2c565b604051601f8301601f19908116603f01168101908282118183101715611b6757611b67611a2c565b81604052838152866020858801011115611b8057600080fd5b611b91846020830160208901611aef565b9695505050505050565b805164ffffffffff81168114611a9b57600080fd5b600060208284031215611bc257600080fd5b815167ffffffffffffffff80821115611bda57600080fd5b908301906101408286031215611bef57600080fd5b611bf7611a42565b611c0083611a90565b8152611c0f8660208501611aa0565b6020820152606083015182811115611c2657600080fd5b611c3287828601611b13565b604083015250611c4460808401611a90565b6060820152611c5560a08401611a90565b6080820152611c6660c08401611a90565b60a0820152611c7760e08401611b9b565b60c08201526101009150611c8c828401611b9b565b60e0820152611c9e6101208401611b9b565b91810191909152949350505050565b80516001600160c01b031981168114611a9b57600080fd5b805161ffff81168114611a9b57600080fd5b600060208284031215611ce957600080fd5b815167ffffffffffffffff80821115611d0157600080fd5b908301906102008286031215611d1657600080fd5b611d1e611a6c565b611d2783611a90565b8152611d3560208401611a90565b6020820152611d4660408401611cad565b6040820152611d5760608401611cad565b60608201526080830151608082015260a083015160a082015260c083015160c0820152611d8660e08401611b9b565b60e08201526101008084015183811115611d9f57600080fd5b611dab88828701611b13565b8284015250506101208084015183811115611dc557600080fd5b611dd188828701611b13565b8284015250506101409150611de7828401611cc5565b828201526101609150611dfb828401611cc5565b82820152610180915081830151828201526101a09150611e1c828401611b9b565b828201526101c09150611e30828401611b9b565b828201526101e09150611c9e828401611b9b565b600060208284031215611e5657600080fd5b5051919050565b80518015158114611a9b57600080fd5b600060208284031215611e7f57600080fd5b61086882611e5d565b600060208284031215611e9a57600080fd5b815161086881611946565b60008085851115611eb557600080fd5b83861115611ec257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611ef75780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251611f51818460208701611aef565b9190910192915050565b60008060408385031215611f6e57600080fd5b611f7783611e5d565b9150602083015163ffffffff811681146119bb57600080fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212200bfbe30def72860b9c3c60f2abd9bd68ae9b6c9fc49170e72b0255b5176aef4a64736f6c63430008140033",
637
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c80638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461025f578063c4d66de814610267578063db70354c1461027a578063dbacaaaf1461028d578063de7b5d14146102a057600080fd5b80638fb360371461020557806394b9929b146102265780639a8fe67814610239578063b5346af51461024c57600080fd5b8063485cc955116100e9578063485cc9551461017c5780635ab1bd531461018f5780636ebed908146101b45780637a9e5e4b146101df5780638de1d14e146101f257600080fd5b806306fa45651461011b5780630cc7e6141461013057806313ab148d1461014357806345983a8a14610169575b600080fd5b61012e61012936600461195b565b6102b1565b005b61012e61013e36600461195b565b6103f8565b61015661015136600461195b565b6106f9565b6040519081526020015b60405180910390f35b61015661017736600461195b565b61070a565b61012e61018a36600461198d565b610796565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610160565b6101c76101c23660046119c6565b61085c565b6040516001600160601b039091168152602001610160565b61012e6101ed3660046119f2565b61086f565b61012e61020036600461195b565b6108f6565b61020d610ad6565b6040516001600160e01b03199091168152602001610160565b61015661023436600461195b565b610b0f565b61012e61024736600461195b565b610b1a565b61012e61025a36600461195b565b610e16565b61019c610f51565b61012e6102753660046119f2565b610f6d565b6101c76102883660046119c6565b611196565b6101c761029b3660046119c6565b6111a2565b6003546001600160a01b031661019c565b6102be335b600036611235565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032c9190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa15801561037b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103a39190810190611bb0565b5190506103b08183611333565b604080516001600160601b038084168252841660208201527f8481dca68853151d9f39783b09bf4144fd4fadcbf056b07e508ca3f873f2b89891015b60405180910390a15050565b610401336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa15801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f9190611a0f565b60405163bd7d9d8560e01b81526001600160601b03841660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa1580156104be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104e69190810190611cd7565b6020015190506000600360009054906101000a90046001600160a01b03166001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610541573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105659190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa1580156105b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105dc9190810190611bb0565b5190506105e981836113b6565b61061e57604051635f73b3b960e11b81526001600160601b038084166004830152841660248201526044015b60405180910390fd5b6001600160601b0382166000908152600460208190526040918290209151631461054360e31b815273__$0dc988b1672de335b826773df9015af2da$__9263a3082a1892610680928891019182526001600160601b0316602082015260400190565b60006040518083038186803b15801561069857600080fd5b505af41580156106ac573d6000803e3d6000fd5b5050604080516001600160601b038087168252871660208201527f5cb68c560151617390da8ac6298cbe334b6a6e27a8bdea1f03a939de82a59b2a935001905060405180910390a1505050565b600061070482611459565b92915050565b6001600160601b03811660009081526004602081905260408083209051638b6233dd60e01b81529182015273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd906024015b602060405180830381865af4158015610772573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107049190611e44565b61079e6114aa565b6001600160a01b0382166107c55760405163e639886560e01b815260040160405180910390fd5b6107ce826114f5565b806001600160a01b03163b6000036108045760405163071669cf60e21b81526001600160a01b0382166004820152602401610615565b600080546001600160a01b0319166001600160a01b0383811691821790925560408051928516835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd12722441291016103ec565b60006108688383611509565b9392505050565b33610878610f51565b6001600160a01b0316816001600160a01b0316146108b35760405162d1953b60e31b81526001600160a01b0382166004820152602401610615565b816001600160a01b03163b6000036108e9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610615565b6108f282611561565b5050565b6108ff336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610949573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096d9190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa1580156109bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e49190810190611bb0565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610a40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a649190611e6d565b15610a8c57604051620852e560e41b81526001600160601b0383166004820152602401610615565b610a9681836115bb565b604080516001600160601b038084168252841660208201527f559277c2e6b13df1c45b0a6a50bea96df5fc3499ee767963594bdd7cb5cc103591016103ec565b600080516020611f91833981519152805460009190600160a01b900460ff16610b00576000610b09565b638fb3603760e01b5b91505090565b6000610704826116c3565b610b23336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b919190611a0f565b60405163bd7d9d8560e01b81526001600160601b03841660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015610be0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c089190810190611cd7565b602080820151600354604080516302cd307160e01b8152905194955091936000936001600160a01b03909216926302cd30719260048083019391928290030181865afa158015610c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c809190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610ccf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cf79190810190611bb0565b519050610d048183611714565b610d2c576040516352500dd960e01b81526001600160601b0383166004820152602401610615565b6001600160601b038216600090815260046020819052604091829020915163539eabab60e11b815273__$0dc988b1672de335b826773df9015af2da$__9263a73d575692610d8e928991019182526001600160601b0316602082015260400190565b60006040518083038186803b158015610da657600080fd5b505af4158015610dba573d6000803e3d6000fd5b505050507fb0b509518a18f79abc72ff294f3a785a37721a790e8f0f53d8b991dac386102d836020015185604051610e089291906001600160601b0392831681529116602082015260400190565b60405180910390a150505050565b610e1f336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610e69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8d9190611a0f565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610edc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f049190810190611bb0565b519050610f118183611776565b604080516001600160601b038084168252841660208201527fb153f926e58e76caa7d661713867b8f1bbfcbda82504931fab2dccc2610a98dd91016103ec565b600080516020611f91833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610fb35750825b905060008267ffffffffffffffff166001148015610fd05750303b155b905081158015610fde575080155b15610ffc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561102657845460ff60401b1916600160401b1785555b60008690506110f2816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110909190611a0f565b826001600160a01b031663f21de1e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ce573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a9190611a0f565b600380546001600160a01b0319166001600160a01b038381169190911790915560405190881681527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a150831561118e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b600061086883836117d1565b6001600160601b0382166000908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044015b602060405180830381865af4158015611211573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190611e88565b600080516020611f91833981519152600080611270611252610f51565b8730611262600460008a8c611ea5565b61126b91611ecf565b611829565b915091508161118e5763ffffffff81161561131057825460ff60a01b1916600160a01b17835561129e610f51565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016112cd93929190611eff565b600060405180830381600087803b1580156112e757600080fd5b505af11580156112fb573d6000803e3d6000fd5b5050845460ff60a01b191685555061118e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610615565b6001600160601b03828116600090815260016020526040908190209051631461054360e31b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a18906044015b60006040518083038186803b1580156113a257600080fd5b505af415801561118e573d6000803e3d6000fd5b6001600160601b0382166000908152600160205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b991611418919086906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015611435573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190611e6d565b6001600160601b0381166000908152600260205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401610755565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114f357604051631afcd79f60e31b815260040160405180910390fd5b565b6114fd6114aa565b61150681611935565b50565b6001600160601b038216600090815260016020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044016111f4565b600080516020611f9183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016103ec565b6001600160601b0382811660009081526002602090815260408083206001909252918290209151631461054360e31b81526004810182905292841660248401529173__$0dc988b1672de335b826773df9015af2da$__9063a3082a189060440160006040518083038186803b15801561163357600080fd5b505af4158015611647573d6000803e3d6000fd5b5050604051631461054360e31b8152600481018490526001600160601b038616602482015273__$0dc988b1672de335b826773df9015af2da$__925063a3082a18915060440160006040518083038186803b1580156116a557600080fd5b505af41580156116b9573d6000803e3d6000fd5b5050505050505050565b6001600160601b0381166000908152600160205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401610755565b6001600160601b0382166000908152600260205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b991611418919086906004019182526001600160601b0316602082015260400190565b6001600160601b0382811660009081526001602052604090819020905163539eabab60e11b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a73d57569060440161138a565b6001600160601b038216600090815260026020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044016111f4565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118989190611f3f565b600060405180830381855afa9150503d80600081146118d3576040519150601f19603f3d011682016040523d82523d6000602084013e6118d8565b606091505b5091509150811561192a57604081511061190a57808060200190518101906119009190611f5b565b909450925061192a565b602081511061192a57808060200190518101906119279190611e6d565b93505b505094509492505050565b61193d6114aa565b61150681611561565b6001600160601b038116811461150657600080fd5b60006020828403121561196d57600080fd5b813561086881611946565b6001600160a01b038116811461150657600080fd5b600080604083850312156119a057600080fd5b82356119ab81611978565b915060208301356119bb81611978565b809150509250929050565b600080604083850312156119d957600080fd5b82356119e481611946565b946020939093013593505050565b600060208284031215611a0457600080fd5b813561086881611978565b600060208284031215611a2157600080fd5b815161086881611978565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff81118282101715611a6657611a66611a2c565b60405290565b604051610200810167ffffffffffffffff81118282101715611a6657611a66611a2c565b8051611a9b81611946565b919050565b600060408284031215611ab257600080fd5b6040516040810181811067ffffffffffffffff82111715611ad557611ad5611a2c565b604052825181526020928301519281019290925250919050565b60005b83811015611b0a578181015183820152602001611af2565b50506000910152565b600082601f830112611b2457600080fd5b815167ffffffffffffffff80821115611b3f57611b3f611a2c565b604051601f8301601f19908116603f01168101908282118183101715611b6757611b67611a2c565b81604052838152866020858801011115611b8057600080fd5b611b91846020830160208901611aef565b9695505050505050565b805164ffffffffff81168114611a9b57600080fd5b600060208284031215611bc257600080fd5b815167ffffffffffffffff80821115611bda57600080fd5b908301906101408286031215611bef57600080fd5b611bf7611a42565b611c0083611a90565b8152611c0f8660208501611aa0565b6020820152606083015182811115611c2657600080fd5b611c3287828601611b13565b604083015250611c4460808401611a90565b6060820152611c5560a08401611a90565b6080820152611c6660c08401611a90565b60a0820152611c7760e08401611b9b565b60c08201526101009150611c8c828401611b9b565b60e0820152611c9e6101208401611b9b565b91810191909152949350505050565b80516001600160c01b031981168114611a9b57600080fd5b805161ffff81168114611a9b57600080fd5b600060208284031215611ce957600080fd5b815167ffffffffffffffff80821115611d0157600080fd5b908301906102008286031215611d1657600080fd5b611d1e611a6c565b611d2783611a90565b8152611d3560208401611a90565b6020820152611d4660408401611cad565b6040820152611d5760608401611cad565b60608201526080830151608082015260a083015160a082015260c083015160c0820152611d8660e08401611b9b565b60e08201526101008084015183811115611d9f57600080fd5b611dab88828701611b13565b8284015250506101208084015183811115611dc557600080fd5b611dd188828701611b13565b8284015250506101409150611de7828401611cc5565b828201526101609150611dfb828401611cc5565b82820152610180915081830151828201526101a09150611e1c828401611b9b565b828201526101c09150611e30828401611b9b565b828201526101e09150611c9e828401611b9b565b600060208284031215611e5657600080fd5b5051919050565b80518015158114611a9b57600080fd5b600060208284031215611e7f57600080fd5b61086882611e5d565b600060208284031215611e9a57600080fd5b815161086881611946565b60008085851115611eb557600080fd5b83861115611ec257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611ef75780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251611f51818460208701611aef565b9190910192915050565b60008060408385031215611f6e57600080fd5b611f7783611e5d565b9150602083015163ffffffff811681146119bb57600080fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212200bfbe30def72860b9c3c60f2abd9bd68ae9b6c9fc49170e72b0255b5176aef4a64736f6c63430008140033",
635
638
  "linkReferences": {
636
639
  "contracts/types/NftId.sol": {
637
640
  "NftIdLib": [
638
641
  {
639
642
  "length": 20,
640
- "start": 2410
643
+ "start": 2614
641
644
  }
642
645
  ]
643
646
  },
@@ -645,59 +648,59 @@
645
648
  "LibNftIdSet": [
646
649
  {
647
650
  "length": 20,
648
- "start": 1339
651
+ "start": 1656
649
652
  },
650
653
  {
651
654
  "length": 20,
652
- "start": 1578
655
+ "start": 1895
653
656
  },
654
657
  {
655
658
  "length": 20,
656
- "start": 3044
659
+ "start": 3462
657
660
  },
658
661
  {
659
662
  "length": 20,
660
- "start": 3951
663
+ "start": 4614
661
664
  },
662
665
  {
663
666
  "length": 20,
664
- "start": 4365
667
+ "start": 5020
665
668
  },
666
669
  {
667
670
  "length": 20,
668
- "start": 4478
671
+ "start": 5133
669
672
  },
670
673
  {
671
674
  "length": 20,
672
- "start": 4649
675
+ "start": 5304
673
676
  },
674
677
  {
675
678
  "length": 20,
676
- "start": 4757
679
+ "start": 5487
677
680
  },
678
681
  {
679
682
  "length": 20,
680
- "start": 4948
683
+ "start": 5678
681
684
  },
682
685
  {
683
686
  "length": 20,
684
- "start": 5060
687
+ "start": 5790
685
688
  },
686
689
  {
687
690
  "length": 20,
688
- "start": 5192
691
+ "start": 5922
689
692
  },
690
693
  {
691
694
  "length": 20,
692
- "start": 5265
695
+ "start": 5995
693
696
  },
694
697
  {
695
698
  "length": 20,
696
- "start": 5381
699
+ "start": 6111
697
700
  },
698
701
  {
699
702
  "length": 20,
700
- "start": 5469
703
+ "start": 6199
701
704
  }
702
705
  ]
703
706
  }
@@ -707,7 +710,7 @@
707
710
  "NftIdLib": [
708
711
  {
709
712
  "length": 20,
710
- "start": 2350
713
+ "start": 2566
711
714
  }
712
715
  ]
713
716
  },
@@ -715,59 +718,59 @@
715
718
  "LibNftIdSet": [
716
719
  {
717
720
  "length": 20,
718
- "start": 1279
721
+ "start": 1608
719
722
  },
720
723
  {
721
724
  "length": 20,
722
- "start": 1518
725
+ "start": 1847
723
726
  },
724
727
  {
725
728
  "length": 20,
726
- "start": 2984
729
+ "start": 3414
727
730
  },
728
731
  {
729
732
  "length": 20,
730
- "start": 3891
733
+ "start": 4566
731
734
  },
732
735
  {
733
736
  "length": 20,
734
- "start": 4305
737
+ "start": 4972
735
738
  },
736
739
  {
737
740
  "length": 20,
738
- "start": 4418
741
+ "start": 5085
739
742
  },
740
743
  {
741
744
  "length": 20,
742
- "start": 4589
745
+ "start": 5256
743
746
  },
744
747
  {
745
748
  "length": 20,
746
- "start": 4697
749
+ "start": 5439
747
750
  },
748
751
  {
749
752
  "length": 20,
750
- "start": 4888
753
+ "start": 5630
751
754
  },
752
755
  {
753
756
  "length": 20,
754
- "start": 5000
757
+ "start": 5742
755
758
  },
756
759
  {
757
760
  "length": 20,
758
- "start": 5132
761
+ "start": 5874
759
762
  },
760
763
  {
761
764
  "length": 20,
762
- "start": 5205
765
+ "start": 5947
763
766
  },
764
767
  {
765
768
  "length": 20,
766
- "start": 5321
769
+ "start": 6063
767
770
  },
768
771
  {
769
772
  "length": 20,
770
- "start": 5409
773
+ "start": 6151
771
774
  }
772
775
  ]
773
776
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/22f71908b6d30edf2ad9c8021d4bb240.json"
3
+ "buildInfo": "../../../build-info/a217c5bb40d255ef67cb8b4d687de7f1.json"
4
4
  }
@@ -41,6 +41,11 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [],
46
+ "name": "CloneableAuthorityZero",
47
+ "type": "error"
48
+ },
44
49
  {
45
50
  "inputs": [
46
51
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/22f71908b6d30edf2ad9c8021d4bb240.json"
3
+ "buildInfo": "../../../build-info/a217c5bb40d255ef67cb8b4d687de7f1.json"
4
4
  }