@etherisc/gif-next 0.0.2-d288ca9-933 → 0.0.2-d30275e-758

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. package/README.md +75 -14
  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 +954 -219
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/IService.sol/IService.json → components/IComponent.sol/IComponent.json} +317 -133
  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 +864 -49
  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 +849 -247
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +637 -224
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +79 -3
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +556 -246
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +389 -156
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +451 -3017
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +597 -179
  32. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  34. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +342 -222
  36. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +510 -209
  38. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +316 -75
  40. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2663 -0
  42. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  43. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  44. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +639 -0
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  54. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +902 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +649 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1326 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1072 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1515 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +757 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +235 -200
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +714 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +585 -160
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +969 -0
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +544 -145
  90. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IPricingService.sol/IPricingService.json} +248 -198
  92. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  94. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1575 -0
  96. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1481 -0
  100. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +709 -0
  102. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
  104. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +872 -0
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  118. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  120. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +227 -330
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  127. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  128. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  129. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  130. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  142. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +98 -77
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  156. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +185 -170
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  182. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  194. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  220. package/contracts/components/Component.sol +253 -0
  221. package/contracts/components/Distribution.sol +204 -86
  222. package/contracts/components/IComponent.sol +76 -0
  223. package/contracts/components/IDistributionComponent.sol +44 -16
  224. package/contracts/components/IPoolComponent.sol +88 -37
  225. package/contracts/components/IProductComponent.sol +10 -5
  226. package/contracts/components/Pool.sol +224 -181
  227. package/contracts/components/Product.sol +253 -176
  228. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  229. package/contracts/instance/BundleManager.sol +126 -0
  230. package/contracts/instance/Cloneable.sol +51 -0
  231. package/contracts/instance/IInstance.sol +65 -13
  232. package/contracts/instance/IInstanceService.sol +70 -8
  233. package/contracts/instance/Instance.sol +158 -363
  234. package/contracts/instance/InstanceAccessManager.sol +430 -177
  235. package/contracts/instance/InstanceAuthorizationsLib.sol +300 -0
  236. package/contracts/instance/InstanceReader.sol +69 -39
  237. package/contracts/instance/InstanceService.sol +257 -84
  238. package/contracts/instance/InstanceServiceManager.sol +11 -13
  239. package/contracts/instance/InstanceStore.sol +208 -0
  240. package/contracts/instance/ObjectManager.sol +82 -0
  241. package/contracts/instance/base/ComponentService.sol +148 -0
  242. package/contracts/instance/base/KeyValueStore.sol +13 -5
  243. package/contracts/instance/base/Lifecycle.sol +23 -6
  244. package/contracts/instance/module/IAccess.sol +36 -20
  245. package/contracts/instance/module/IBundle.sol +8 -4
  246. package/contracts/instance/module/IComponents.sol +41 -0
  247. package/contracts/instance/module/IDistribution.sol +2 -0
  248. package/contracts/instance/module/IPolicy.sol +41 -9
  249. package/contracts/instance/module/ISetup.sol +9 -19
  250. package/contracts/instance/service/ApplicationService.sol +185 -0
  251. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  252. package/contracts/instance/service/BundleService.sol +440 -0
  253. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  254. package/contracts/instance/service/ClaimService.sol +239 -0
  255. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  256. package/contracts/instance/service/DistributionService.sol +342 -0
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +61 -0
  259. package/contracts/instance/service/IBundleService.sol +102 -0
  260. package/contracts/instance/service/IClaimService.sol +92 -0
  261. package/contracts/instance/service/IDistributionService.sol +75 -2
  262. package/contracts/instance/service/IPolicyService.sol +139 -0
  263. package/contracts/instance/service/IPoolService.sol +83 -18
  264. package/contracts/instance/service/IPricingService.sol +36 -0
  265. package/contracts/instance/service/IProductService.sol +7 -74
  266. package/contracts/instance/service/PolicyService.sol +577 -0
  267. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  268. package/contracts/instance/service/PoolService.sol +336 -0
  269. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  270. package/contracts/instance/service/PricingService.sol +275 -0
  271. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  272. package/contracts/instance/service/ProductService.sol +210 -0
  273. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  274. package/contracts/registry/ChainNft.sol +9 -1
  275. package/contracts/registry/IRegistry.sol +52 -8
  276. package/contracts/registry/IRegistryService.sol +53 -20
  277. package/contracts/registry/ITransferInterceptor.sol +1 -0
  278. package/contracts/registry/Registry.sol +270 -226
  279. package/contracts/registry/RegistryAccessManager.sol +216 -0
  280. package/contracts/registry/RegistryService.sol +118 -271
  281. package/contracts/registry/RegistryServiceManager.sol +24 -26
  282. package/contracts/registry/ReleaseManager.sol +324 -0
  283. package/contracts/registry/TokenRegistry.sol +116 -0
  284. package/contracts/shared/ERC165.sol +14 -8
  285. package/contracts/shared/INftOwnable.sol +11 -10
  286. package/contracts/shared/IPolicyHolder.sol +26 -0
  287. package/contracts/shared/IRegisterable.sol +4 -6
  288. package/contracts/shared/IRegistryLinked.sol +12 -0
  289. package/contracts/shared/IService.sol +16 -0
  290. package/contracts/shared/IVersionable.sol +4 -47
  291. package/contracts/shared/NftOwnable.sol +67 -83
  292. package/contracts/shared/PolicyHolder.sol +81 -0
  293. package/contracts/shared/ProxyManager.sol +100 -25
  294. package/contracts/shared/Registerable.sol +16 -31
  295. package/contracts/shared/RegistryLinked.sol +48 -0
  296. package/contracts/shared/Service.sol +72 -0
  297. package/contracts/shared/TokenHandler.sol +11 -5
  298. package/contracts/shared/Versionable.sol +4 -92
  299. package/contracts/test/TestRegisterable.sol +1 -1
  300. package/contracts/test/TestService.sol +6 -7
  301. package/contracts/types/Amount.sol +70 -0
  302. package/contracts/types/Blocknumber.sol +1 -0
  303. package/contracts/types/ClaimId.sol +75 -0
  304. package/contracts/types/DistributorType.sol +2 -2
  305. package/contracts/types/Fee.sol +13 -5
  306. package/contracts/types/NftId.sol +8 -0
  307. package/contracts/types/NftIdSet.sol +26 -24
  308. package/contracts/types/ObjectType.sol +16 -7
  309. package/contracts/types/PayoutId.sol +82 -0
  310. package/contracts/types/Referral.sol +4 -0
  311. package/contracts/types/RoleId.sol +26 -11
  312. package/contracts/types/Seconds.sol +54 -0
  313. package/contracts/types/StateId.sol +11 -2
  314. package/contracts/types/Timestamp.sol +18 -13
  315. package/contracts/types/UFixed.sol +1 -0
  316. package/contracts/types/Version.sol +5 -1
  317. package/package.json +3 -3
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  321. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  323. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  325. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  327. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  329. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  331. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  333. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  335. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  337. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  339. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  343. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  346. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  350. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  352. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  354. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  356. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  358. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  360. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  361. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  362. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  363. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  364. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  365. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  366. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  367. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  368. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  369. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  370. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  371. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  372. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  373. package/contracts/components/BaseComponent.sol +0 -86
  374. package/contracts/components/IBaseComponent.sol +0 -24
  375. package/contracts/experiment/cloning/Cloner.sol +0 -47
  376. package/contracts/experiment/errors/Require.sol +0 -38
  377. package/contracts/experiment/errors/Revert.sol +0 -44
  378. package/contracts/experiment/inheritance/A.sol +0 -53
  379. package/contracts/experiment/inheritance/B.sol +0 -28
  380. package/contracts/experiment/inheritance/C.sol +0 -34
  381. package/contracts/experiment/inheritance/IA.sol +0 -13
  382. package/contracts/experiment/inheritance/IB.sol +0 -10
  383. package/contracts/experiment/inheritance/IC.sol +0 -12
  384. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  385. package/contracts/experiment/statemachine/ISM.sol +0 -25
  386. package/contracts/experiment/statemachine/SM.sol +0 -57
  387. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  388. package/contracts/experiment/types/TypeA.sol +0 -47
  389. package/contracts/experiment/types/TypeB.sol +0 -29
  390. package/contracts/instance/AccessManagedSimple.sol +0 -122
  391. package/contracts/instance/AccessManagerSimple.sol +0 -692
  392. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  393. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  394. package/contracts/instance/base/IInstanceBase.sol +0 -23
  395. package/contracts/instance/base/IService.sol +0 -15
  396. package/contracts/instance/base/ServiceBase.sol +0 -44
  397. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  398. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
@@ -0,0 +1,1515 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "DistributionService",
4
+ "sourceName": "contracts/instance/service/DistributionService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "instanceNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
88
+ {
89
+ "internalType": "address",
90
+ "name": "sender",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "component",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorComponentServiceInvalidType",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "component",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorComponentServiceNotComponent",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorComponentServiceSenderNotOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "sender",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorComponentServiceSenderNotService",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "address",
165
+ "name": "caller",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorDistributionServiceCallerNotRegistered",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "target",
177
+ "type": "address"
178
+ }
179
+ ],
180
+ "name": "ErrorIAccessTargetLocked",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "caller",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "commissionPercentage",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "maxCommissionPercentage",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "maxDiscountPercentage",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "discountPercentage",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "minDiscountPercentage",
231
+ "type": "uint256"
232
+ },
233
+ {
234
+ "internalType": "uint256",
235
+ "name": "discountPercentage",
236
+ "type": "uint256"
237
+ }
238
+ ],
239
+ "name": "ErrorIDistributionServiceDiscountTooLow",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "Timestamp",
246
+ "name": "expiryAt",
247
+ "type": "uint40"
248
+ }
249
+ ],
250
+ "name": "ErrorIDistributionServiceExpirationInvalid",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "maxReferralLifetime",
258
+ "type": "uint256"
259
+ },
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "expiryAt",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "ErrorIDistributionServiceExpiryTooLong",
267
+ "type": "error"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "transferredDistributionFeeAmount",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "expectedDistributionFeeAmount",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "ErrorIDistributionServiceInvalidFeeTransferred",
283
+ "type": "error"
284
+ },
285
+ {
286
+ "inputs": [
287
+ {
288
+ "internalType": "string",
289
+ "name": "code",
290
+ "type": "string"
291
+ }
292
+ ],
293
+ "name": "ErrorIDistributionServiceInvalidReferral",
294
+ "type": "error"
295
+ },
296
+ {
297
+ "inputs": [
298
+ {
299
+ "internalType": "ReferralId",
300
+ "name": "referralId",
301
+ "type": "bytes8"
302
+ }
303
+ ],
304
+ "name": "ErrorIDistributionServiceInvalidReferralId",
305
+ "type": "error"
306
+ },
307
+ {
308
+ "inputs": [
309
+ {
310
+ "internalType": "uint256",
311
+ "name": "maxDiscountPercentage",
312
+ "type": "uint256"
313
+ },
314
+ {
315
+ "internalType": "uint256",
316
+ "name": "limit",
317
+ "type": "uint256"
318
+ }
319
+ ],
320
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
321
+ "type": "error"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "maxReferrals",
328
+ "type": "uint256"
329
+ }
330
+ ],
331
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
332
+ "type": "error"
333
+ },
334
+ {
335
+ "inputs": [
336
+ {
337
+ "internalType": "uint256",
338
+ "name": "minFee",
339
+ "type": "uint256"
340
+ },
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "limit",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
348
+ "type": "error"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "NftId",
354
+ "name": "nftId",
355
+ "type": "uint96"
356
+ },
357
+ {
358
+ "internalType": "NftId",
359
+ "name": "parentNftId",
360
+ "type": "uint96"
361
+ }
362
+ ],
363
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
364
+ "type": "error"
365
+ },
366
+ {
367
+ "inputs": [
368
+ {
369
+ "internalType": "NftId",
370
+ "name": "distributionNftId",
371
+ "type": "uint96"
372
+ },
373
+ {
374
+ "internalType": "ReferralId",
375
+ "name": "referralId",
376
+ "type": "bytes8"
377
+ }
378
+ ],
379
+ "name": "ErrorIDistributionServiceReferralInvalid",
380
+ "type": "error"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "NftId",
386
+ "name": "nftId",
387
+ "type": "uint96"
388
+ }
389
+ ],
390
+ "name": "ErrorNftOwnableAlreadyLinked",
391
+ "type": "error"
392
+ },
393
+ {
394
+ "inputs": [
395
+ {
396
+ "internalType": "address",
397
+ "name": "contractAddress",
398
+ "type": "address"
399
+ }
400
+ ],
401
+ "name": "ErrorNftOwnableContractNotRegistered",
402
+ "type": "error"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "ErrorNftOwnableInitialOwnerZero",
407
+ "type": "error"
408
+ },
409
+ {
410
+ "inputs": [
411
+ {
412
+ "internalType": "address",
413
+ "name": "account",
414
+ "type": "address"
415
+ }
416
+ ],
417
+ "name": "ErrorNftOwnableNotOwner",
418
+ "type": "error"
419
+ },
420
+ {
421
+ "inputs": [
422
+ {
423
+ "internalType": "address",
424
+ "name": "registryAddress",
425
+ "type": "address"
426
+ }
427
+ ],
428
+ "name": "ErrorNotRegistry",
429
+ "type": "error"
430
+ },
431
+ {
432
+ "inputs": [],
433
+ "name": "InvalidInitialization",
434
+ "type": "error"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "NotInitializing",
439
+ "type": "error"
440
+ },
441
+ {
442
+ "anonymous": false,
443
+ "inputs": [
444
+ {
445
+ "indexed": false,
446
+ "internalType": "address",
447
+ "name": "authority",
448
+ "type": "address"
449
+ }
450
+ ],
451
+ "name": "AuthorityUpdated",
452
+ "type": "event"
453
+ },
454
+ {
455
+ "anonymous": false,
456
+ "inputs": [
457
+ {
458
+ "indexed": false,
459
+ "internalType": "uint64",
460
+ "name": "version",
461
+ "type": "uint64"
462
+ }
463
+ ],
464
+ "name": "Initialized",
465
+ "type": "event"
466
+ },
467
+ {
468
+ "inputs": [],
469
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
470
+ "outputs": [
471
+ {
472
+ "internalType": "bytes32",
473
+ "name": "",
474
+ "type": "bytes32"
475
+ }
476
+ ],
477
+ "stateMutability": "view",
478
+ "type": "function"
479
+ },
480
+ {
481
+ "inputs": [],
482
+ "name": "REGISTERABLE_LOCATION_V1",
483
+ "outputs": [
484
+ {
485
+ "internalType": "bytes32",
486
+ "name": "",
487
+ "type": "bytes32"
488
+ }
489
+ ],
490
+ "stateMutability": "view",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [],
495
+ "name": "authority",
496
+ "outputs": [
497
+ {
498
+ "internalType": "address",
499
+ "name": "",
500
+ "type": "address"
501
+ }
502
+ ],
503
+ "stateMutability": "view",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [
508
+ {
509
+ "internalType": "address",
510
+ "name": "distributor",
511
+ "type": "address"
512
+ },
513
+ {
514
+ "internalType": "DistributorType",
515
+ "name": "distributorType",
516
+ "type": "bytes8"
517
+ },
518
+ {
519
+ "internalType": "bytes",
520
+ "name": "data",
521
+ "type": "bytes"
522
+ }
523
+ ],
524
+ "name": "createDistributor",
525
+ "outputs": [
526
+ {
527
+ "internalType": "NftId",
528
+ "name": "distributorNftId",
529
+ "type": "uint96"
530
+ }
531
+ ],
532
+ "stateMutability": "nonpayable",
533
+ "type": "function"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "string",
539
+ "name": "name",
540
+ "type": "string"
541
+ },
542
+ {
543
+ "internalType": "UFixed",
544
+ "name": "minDiscountPercentage",
545
+ "type": "uint256"
546
+ },
547
+ {
548
+ "internalType": "UFixed",
549
+ "name": "maxDiscountPercentage",
550
+ "type": "uint256"
551
+ },
552
+ {
553
+ "internalType": "UFixed",
554
+ "name": "commissionPercentage",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "internalType": "uint32",
559
+ "name": "maxReferralCount",
560
+ "type": "uint32"
561
+ },
562
+ {
563
+ "internalType": "uint32",
564
+ "name": "maxReferralLifetime",
565
+ "type": "uint32"
566
+ },
567
+ {
568
+ "internalType": "bool",
569
+ "name": "allowSelfReferrals",
570
+ "type": "bool"
571
+ },
572
+ {
573
+ "internalType": "bool",
574
+ "name": "allowRenewals",
575
+ "type": "bool"
576
+ },
577
+ {
578
+ "internalType": "bytes",
579
+ "name": "data",
580
+ "type": "bytes"
581
+ }
582
+ ],
583
+ "name": "createDistributorType",
584
+ "outputs": [
585
+ {
586
+ "internalType": "DistributorType",
587
+ "name": "distributorType",
588
+ "type": "bytes8"
589
+ }
590
+ ],
591
+ "stateMutability": "nonpayable",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [
596
+ {
597
+ "internalType": "NftId",
598
+ "name": "distributorNftId",
599
+ "type": "uint96"
600
+ },
601
+ {
602
+ "internalType": "string",
603
+ "name": "code",
604
+ "type": "string"
605
+ },
606
+ {
607
+ "internalType": "UFixed",
608
+ "name": "discountPercentage",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint32",
613
+ "name": "maxReferrals",
614
+ "type": "uint32"
615
+ },
616
+ {
617
+ "internalType": "Timestamp",
618
+ "name": "expiryAt",
619
+ "type": "uint40"
620
+ },
621
+ {
622
+ "internalType": "bytes",
623
+ "name": "data",
624
+ "type": "bytes"
625
+ }
626
+ ],
627
+ "name": "createReferral",
628
+ "outputs": [
629
+ {
630
+ "internalType": "ReferralId",
631
+ "name": "referralId",
632
+ "type": "bytes8"
633
+ }
634
+ ],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [],
640
+ "name": "getDomain",
641
+ "outputs": [
642
+ {
643
+ "internalType": "ObjectType",
644
+ "name": "",
645
+ "type": "uint8"
646
+ }
647
+ ],
648
+ "stateMutability": "pure",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [],
653
+ "name": "getInitialInfo",
654
+ "outputs": [
655
+ {
656
+ "components": [
657
+ {
658
+ "internalType": "NftId",
659
+ "name": "nftId",
660
+ "type": "uint96"
661
+ },
662
+ {
663
+ "internalType": "NftId",
664
+ "name": "parentNftId",
665
+ "type": "uint96"
666
+ },
667
+ {
668
+ "internalType": "ObjectType",
669
+ "name": "objectType",
670
+ "type": "uint8"
671
+ },
672
+ {
673
+ "internalType": "bool",
674
+ "name": "isInterceptor",
675
+ "type": "bool"
676
+ },
677
+ {
678
+ "internalType": "address",
679
+ "name": "objectAddress",
680
+ "type": "address"
681
+ },
682
+ {
683
+ "internalType": "address",
684
+ "name": "initialOwner",
685
+ "type": "address"
686
+ },
687
+ {
688
+ "internalType": "bytes",
689
+ "name": "data",
690
+ "type": "bytes"
691
+ }
692
+ ],
693
+ "internalType": "struct IRegistry.ObjectInfo",
694
+ "name": "info",
695
+ "type": "tuple"
696
+ }
697
+ ],
698
+ "stateMutability": "view",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [],
703
+ "name": "getInstanceService",
704
+ "outputs": [
705
+ {
706
+ "internalType": "contract InstanceService",
707
+ "name": "",
708
+ "type": "address"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [],
716
+ "name": "getNftId",
717
+ "outputs": [
718
+ {
719
+ "internalType": "NftId",
720
+ "name": "",
721
+ "type": "uint96"
722
+ }
723
+ ],
724
+ "stateMutability": "view",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [],
729
+ "name": "getOwner",
730
+ "outputs": [
731
+ {
732
+ "internalType": "address",
733
+ "name": "",
734
+ "type": "address"
735
+ }
736
+ ],
737
+ "stateMutability": "view",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [],
742
+ "name": "getRegistry",
743
+ "outputs": [
744
+ {
745
+ "internalType": "contract IRegistry",
746
+ "name": "",
747
+ "type": "address"
748
+ }
749
+ ],
750
+ "stateMutability": "view",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "inputs": [],
755
+ "name": "getRegistryAddress",
756
+ "outputs": [
757
+ {
758
+ "internalType": "address",
759
+ "name": "",
760
+ "type": "address"
761
+ }
762
+ ],
763
+ "stateMutability": "view",
764
+ "type": "function"
765
+ },
766
+ {
767
+ "inputs": [],
768
+ "name": "getRegistryService",
769
+ "outputs": [
770
+ {
771
+ "internalType": "contract IRegistryService",
772
+ "name": "",
773
+ "type": "address"
774
+ }
775
+ ],
776
+ "stateMutability": "view",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [],
781
+ "name": "getVersion",
782
+ "outputs": [
783
+ {
784
+ "internalType": "Version",
785
+ "name": "",
786
+ "type": "uint24"
787
+ }
788
+ ],
789
+ "stateMutability": "pure",
790
+ "type": "function"
791
+ },
792
+ {
793
+ "inputs": [],
794
+ "name": "initializeERC165",
795
+ "outputs": [],
796
+ "stateMutability": "nonpayable",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [
801
+ {
802
+ "internalType": "address",
803
+ "name": "initialOwner",
804
+ "type": "address"
805
+ },
806
+ {
807
+ "internalType": "address",
808
+ "name": "registryAddress",
809
+ "type": "address"
810
+ }
811
+ ],
812
+ "name": "initializeNftOwnable",
813
+ "outputs": [],
814
+ "stateMutability": "nonpayable",
815
+ "type": "function"
816
+ },
817
+ {
818
+ "inputs": [
819
+ {
820
+ "internalType": "address",
821
+ "name": "registryAddress",
822
+ "type": "address"
823
+ },
824
+ {
825
+ "internalType": "NftId",
826
+ "name": "parentNftId",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "internalType": "ObjectType",
831
+ "name": "objectType",
832
+ "type": "uint8"
833
+ },
834
+ {
835
+ "internalType": "bool",
836
+ "name": "isInterceptor",
837
+ "type": "bool"
838
+ },
839
+ {
840
+ "internalType": "address",
841
+ "name": "initialOwner",
842
+ "type": "address"
843
+ },
844
+ {
845
+ "internalType": "bytes",
846
+ "name": "registryData",
847
+ "type": "bytes"
848
+ }
849
+ ],
850
+ "name": "initializeRegisterable",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [
857
+ {
858
+ "internalType": "address",
859
+ "name": "registryAddress",
860
+ "type": "address"
861
+ }
862
+ ],
863
+ "name": "initializeRegistryLinked",
864
+ "outputs": [],
865
+ "stateMutability": "nonpayable",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [
870
+ {
871
+ "internalType": "address",
872
+ "name": "registry",
873
+ "type": "address"
874
+ },
875
+ {
876
+ "internalType": "address",
877
+ "name": "authority",
878
+ "type": "address"
879
+ },
880
+ {
881
+ "internalType": "address",
882
+ "name": "initialOwner",
883
+ "type": "address"
884
+ }
885
+ ],
886
+ "name": "initializeService",
887
+ "outputs": [],
888
+ "stateMutability": "nonpayable",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [
893
+ {
894
+ "internalType": "address",
895
+ "name": "activatedBy",
896
+ "type": "address"
897
+ },
898
+ {
899
+ "internalType": "bytes",
900
+ "name": "data",
901
+ "type": "bytes"
902
+ }
903
+ ],
904
+ "name": "initializeVersionable",
905
+ "outputs": [],
906
+ "stateMutability": "nonpayable",
907
+ "type": "function"
908
+ },
909
+ {
910
+ "inputs": [],
911
+ "name": "isConsumingScheduledOp",
912
+ "outputs": [
913
+ {
914
+ "internalType": "bytes4",
915
+ "name": "",
916
+ "type": "bytes4"
917
+ }
918
+ ],
919
+ "stateMutability": "view",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [],
924
+ "name": "linkToRegisteredNftId",
925
+ "outputs": [],
926
+ "stateMutability": "nonpayable",
927
+ "type": "function"
928
+ },
929
+ {
930
+ "inputs": [
931
+ {
932
+ "internalType": "NftId",
933
+ "name": "distributionNftId",
934
+ "type": "uint96"
935
+ },
936
+ {
937
+ "internalType": "ReferralId",
938
+ "name": "referralId",
939
+ "type": "bytes8"
940
+ },
941
+ {
942
+ "components": [
943
+ {
944
+ "internalType": "uint256",
945
+ "name": "netPremiumAmount",
946
+ "type": "uint256"
947
+ },
948
+ {
949
+ "internalType": "uint256",
950
+ "name": "fullPremiumAmount",
951
+ "type": "uint256"
952
+ },
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "premiumAmount",
956
+ "type": "uint256"
957
+ },
958
+ {
959
+ "internalType": "uint256",
960
+ "name": "productFeeFixAmount",
961
+ "type": "uint256"
962
+ },
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "poolFeeFixAmount",
966
+ "type": "uint256"
967
+ },
968
+ {
969
+ "internalType": "uint256",
970
+ "name": "bundleFeeFixAmount",
971
+ "type": "uint256"
972
+ },
973
+ {
974
+ "internalType": "uint256",
975
+ "name": "distributionFeeFixAmount",
976
+ "type": "uint256"
977
+ },
978
+ {
979
+ "internalType": "uint256",
980
+ "name": "productFeeVarAmount",
981
+ "type": "uint256"
982
+ },
983
+ {
984
+ "internalType": "uint256",
985
+ "name": "poolFeeVarAmount",
986
+ "type": "uint256"
987
+ },
988
+ {
989
+ "internalType": "uint256",
990
+ "name": "bundleFeeVarAmount",
991
+ "type": "uint256"
992
+ },
993
+ {
994
+ "internalType": "uint256",
995
+ "name": "distributionFeeVarAmount",
996
+ "type": "uint256"
997
+ },
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "distributionOwnerFeeFixAmount",
1001
+ "type": "uint256"
1002
+ },
1003
+ {
1004
+ "internalType": "uint256",
1005
+ "name": "distributionOwnerFeeVarAmount",
1006
+ "type": "uint256"
1007
+ },
1008
+ {
1009
+ "internalType": "uint256",
1010
+ "name": "commissionAmount",
1011
+ "type": "uint256"
1012
+ },
1013
+ {
1014
+ "internalType": "uint256",
1015
+ "name": "discountAmount",
1016
+ "type": "uint256"
1017
+ }
1018
+ ],
1019
+ "internalType": "struct IPolicy.Premium",
1020
+ "name": "premium",
1021
+ "type": "tuple"
1022
+ },
1023
+ {
1024
+ "internalType": "uint256",
1025
+ "name": "transferredDistributionFeeAmount",
1026
+ "type": "uint256"
1027
+ }
1028
+ ],
1029
+ "name": "processSale",
1030
+ "outputs": [],
1031
+ "stateMutability": "nonpayable",
1032
+ "type": "function"
1033
+ },
1034
+ {
1035
+ "inputs": [
1036
+ {
1037
+ "internalType": "NftId",
1038
+ "name": "distributionNftId",
1039
+ "type": "uint96"
1040
+ },
1041
+ {
1042
+ "internalType": "ReferralId",
1043
+ "name": "referralId",
1044
+ "type": "bytes8"
1045
+ }
1046
+ ],
1047
+ "name": "referralIsValid",
1048
+ "outputs": [
1049
+ {
1050
+ "internalType": "bool",
1051
+ "name": "isValid",
1052
+ "type": "bool"
1053
+ }
1054
+ ],
1055
+ "stateMutability": "view",
1056
+ "type": "function"
1057
+ },
1058
+ {
1059
+ "inputs": [
1060
+ {
1061
+ "internalType": "address",
1062
+ "name": "distributionAddress",
1063
+ "type": "address"
1064
+ }
1065
+ ],
1066
+ "name": "register",
1067
+ "outputs": [
1068
+ {
1069
+ "internalType": "NftId",
1070
+ "name": "distributionNftId",
1071
+ "type": "uint96"
1072
+ }
1073
+ ],
1074
+ "stateMutability": "nonpayable",
1075
+ "type": "function"
1076
+ },
1077
+ {
1078
+ "inputs": [
1079
+ {
1080
+ "internalType": "bytes4",
1081
+ "name": "interfaceId",
1082
+ "type": "bytes4"
1083
+ }
1084
+ ],
1085
+ "name": "registerInterface",
1086
+ "outputs": [],
1087
+ "stateMutability": "nonpayable",
1088
+ "type": "function"
1089
+ },
1090
+ {
1091
+ "inputs": [
1092
+ {
1093
+ "internalType": "address",
1094
+ "name": "newAuthority",
1095
+ "type": "address"
1096
+ }
1097
+ ],
1098
+ "name": "setAuthority",
1099
+ "outputs": [],
1100
+ "stateMutability": "nonpayable",
1101
+ "type": "function"
1102
+ },
1103
+ {
1104
+ "inputs": [
1105
+ {
1106
+ "components": [
1107
+ {
1108
+ "internalType": "UFixed",
1109
+ "name": "fractionalFee",
1110
+ "type": "uint256"
1111
+ },
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "fixedFee",
1115
+ "type": "uint256"
1116
+ }
1117
+ ],
1118
+ "internalType": "struct Fee",
1119
+ "name": "minDistributionOwnerFee",
1120
+ "type": "tuple"
1121
+ },
1122
+ {
1123
+ "components": [
1124
+ {
1125
+ "internalType": "UFixed",
1126
+ "name": "fractionalFee",
1127
+ "type": "uint256"
1128
+ },
1129
+ {
1130
+ "internalType": "uint256",
1131
+ "name": "fixedFee",
1132
+ "type": "uint256"
1133
+ }
1134
+ ],
1135
+ "internalType": "struct Fee",
1136
+ "name": "distributionFee",
1137
+ "type": "tuple"
1138
+ }
1139
+ ],
1140
+ "name": "setFees",
1141
+ "outputs": [],
1142
+ "stateMutability": "nonpayable",
1143
+ "type": "function"
1144
+ },
1145
+ {
1146
+ "inputs": [
1147
+ {
1148
+ "internalType": "bytes4",
1149
+ "name": "interfaceId",
1150
+ "type": "bytes4"
1151
+ }
1152
+ ],
1153
+ "name": "supportsInterface",
1154
+ "outputs": [
1155
+ {
1156
+ "internalType": "bool",
1157
+ "name": "",
1158
+ "type": "bool"
1159
+ }
1160
+ ],
1161
+ "stateMutability": "view",
1162
+ "type": "function"
1163
+ },
1164
+ {
1165
+ "inputs": [
1166
+ {
1167
+ "internalType": "NftId",
1168
+ "name": "distributorNftId",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "DistributorType",
1173
+ "name": "distributorType",
1174
+ "type": "bytes8"
1175
+ },
1176
+ {
1177
+ "internalType": "bytes",
1178
+ "name": "data",
1179
+ "type": "bytes"
1180
+ }
1181
+ ],
1182
+ "name": "updateDistributorType",
1183
+ "outputs": [],
1184
+ "stateMutability": "nonpayable",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [
1189
+ {
1190
+ "internalType": "bytes",
1191
+ "name": "data",
1192
+ "type": "bytes"
1193
+ }
1194
+ ],
1195
+ "name": "upgradeVersionable",
1196
+ "outputs": [],
1197
+ "stateMutability": "nonpayable",
1198
+ "type": "function"
1199
+ }
1200
+ ],
1201
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6153c080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063644c45e01161010f578063b68d1809116100a2578063cc9fc59a11610071578063cc9fc59a14610494578063d25f50951461049c578063f21de1e81461036c578063f7c34ee0146104af57600080fd5b8063b68d18091461044c578063b6b412ba1461045b578063bf7e214f1461046e578063caf4e3d41461048c57600080fd5b80638dd2b781116100de5780638dd2b781146103f05780638e32e979146104035780638fb3603714610416578063ada9652e1461043757600080fd5b8063644c45e0146103a4578063675393bf146103c25780637a9e5e4b146103d5578063893d20e8146103e857600080fd5b80632b5198b1116101875780634420e486116101565780634420e4861461032e57806349bb9e4b146103595780635ab1bd531461036c5780635dcb3bae1461039157600080fd5b80632b5198b1146102e0578063329d6e741461030057806336fc697e146103135780633d683fd91461031b57600080fd5b80631eff4b22116101c35780631eff4b2214610272578063214cdb80146102a757806325d07384146102ba57806327bb7a33146102cd57600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b610222610203366004613ed8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104c2565b60405162ffffff909116815260200161022e565b61025b61054c565b60405161022e9190613f59565b6102706106e8565b005b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102b5366004613ed8565b6108ef565b6102226102c836600461400f565b61091c565b6102706102db3660046141ff565b610c4f565b6102f36102ee3660046142a9565b610cdb565b60405161022e9190614375565b61027061030e36600461438a565b611207565b610270611354565b6102706103293660046143be565b61139a565b61034161033c36600461441f565b611573565b6040516001600160601b03909116815260200161022e565b61027061036736600461443c565b611a70565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61034161039f36600461448b565b611b6f565b60008051602061532b833981519152546001600160601b0316610341565b6102706103d036600461441f565b611d79565b6102706103e336600461441f565b611e87565b610379611f21565b6102f36103fe3660046144be565b612058565b610270610411366004614558565b6128c7565b61041e612b00565b6040516001600160e01b0319909116815260200161022e565b61029960008051602061532b83398151915281565b6040516078815260200161022e565b6102706104693660046145d3565b612b38565b60008051602061534b833981519152546001600160a01b0316610379565b610379612de6565b610379612df2565b6102706104aa3660046145ff565b612dfe565b6102706104bd36600461470c565b613329565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610523573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610547919061473a565b905090565b610554613e9a565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546000939160608401916105e49061475f565b80601f01602080910402602001604051908101604052809291908181526020018280546106109061475f565b801561065d5780601f106106325761010080835404028352916020019161065d565b820191906000526020600020905b81548152906001019060200180831161064057829003601f168201915b50505050508152505090506040518060e0016040528061067b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106cc611f21565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061532b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077b91906147a4565b156107ac5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bf6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b91906147a4565b6108535760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a3565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb91906147cc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f76133a0565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600080610928846133d9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906147e9565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016109b99190614375565b600060405180830381865afa1580156109d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109fe9190810190614861565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8091906147a4565b15610a9057600092505050610c49565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1091906147a4565b80610c22575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9691906147a4565b8015610c225750610c2273__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d919061493f565b8260a0015164ffffffffff9081169116111590565b9250828015610c445750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b610c576133a0565b610c618287613329565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610cd183826149aa565b5050505050505050565b60008080610ce96078613502565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5291906147e9565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015610da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc69190614aa4565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015610e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4e9190614b45565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af4158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed69190614b45565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015610f30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5491906147a4565b1561106357604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcd9190614b45565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561101d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110419190614b45565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107a3565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b815260040161109f929190614b5e565b602060405180830381865af41580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190614b80565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906147e9565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016111c5929190614b9d565b600060405180830381600087803b1580156111df57600080fd5b505af11580156111f3573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112296104c2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128d9190614c75565b60008051602061536b8339815191528054600160401b900460ff16806112c0575080546001600160401b03808416911610155b156112de5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611308836136a4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61135c6133a0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006113a66078613502565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140e91906147e9565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611461573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114899190810190614c92565b6001600160c01b03198616815260408082018690528051631a99b41b60e31b815290519192506001600160a01b0385169163d4cda0d8916004808201926020929091908290030181865afa1580156114e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150991906147e9565b6001600160a01b031663fb4a8e34878360ff6040518463ffffffff1660e01b815260040161153993929190614d92565b600060405180830381600087803b15801561155357600080fd5b505af1158015611567573d6000803e3d6000fd5b50505050505050505050565b60008080808061158c8660786115876136ac565b613724565b9350935093509350600061159e612de6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156115f0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116189190810190614dd2565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116db91906147e9565b6001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174d9190614aa4565b6040518363ffffffff1660e01b815260040161176a929190614edc565b600060405180830381600087803b15801561178457600080fd5b505af1158015611798573d6000803e3d6000fd5b5060009250600291506117a89050565b6040519080825280602002602001820160405280156117db57816020015b60608152602001906001900390816117c65790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061180f5761180f614efa565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061184e5761184e614efa565b602002602001018190525063b6b412ba60e01b8160008151811061187457611874614efa565b602002602001015160008151811061188e5761188e614efa565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106118c5576118c5614efa565b60200260200101516000815181106118df576118df614efa565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506119236136ac565b8160008151811061193657611936614efa565b60200260200101906001600160401b031690816001600160401b03168152505061195e613a15565b8160018151811061197157611971614efa565b60200260200101906001600160401b031690816001600160401b031681525050611999612df2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156119e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a0f9190810190614f10565b86866040518663ffffffff1660e01b8152600401611a31959493929190614f88565b600060405180830381600087803b158015611a4b57600080fd5b505af1158015611a5f573d6000803e3d6000fd5b505050505050505050505050919050565b60008051602061536b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611aa35750825b90506000826001600160401b03166001148015611abf5750303b155b905081158015611acd575080155b15611aeb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b1557845460ff60401b1916600160401b1785555b611b1f8787613a51565b8315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008080611b7d6078613502565b9250509150611b8a612de6565b6001600160a01b03166357a8fba76040518060e00160405280611bab600090565b6001600160601b03168152602001856001600160601b03168152602001611bd0607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611c2f9190613f59565b6020604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7291906147cc565b925060006040518060a00160405280876001600160c01b03191681526020016001151581526020018681526020016000815260200160008152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1091906147e9565b6001600160a01b031663a671495e85836040518363ffffffff1660e01b8152600401611d3d92919061505c565b600060405180830381600087803b158015611d5757600080fd5b505af1158015611d6b573d6000803e3d6000fd5b505050505050509392505050565b611d816133a0565b806001600160a01b03163b600003611db75760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a3565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611e31575060408051601f3d908101601f19168201909252611e2e918101906147a4565b60015b611e595760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a3565b80611e825760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a3565b505b50565b33611ea760008051602061534b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614611ee25760405162d1953b60e31b81526001600160a01b03821660048201526024016107a3565b816001600160a01b03163b600003611f18576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a3565b611e8282613b71565b60008060008051602061532b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611f91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb591906147a4565b15612042576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612018573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203c91906147e9565b91505090565b54600160601b90046001600160a01b0316919050565b600080806120666078613502565b9250509150875160000361208f5787604051634fad6a5360e11b81526004016107a3919061507e565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156120e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210991906147a4565b156121305760405163df85467b60e01b815264ffffffffff861660048201526024016107a3565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612170573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219491906147e9565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156121e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261220f9190810190614c92565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612244908590600401614375565b600060405180830381865afa158015612261573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122899190810190615091565b90508963ffffffff16816080015163ffffffff1610156122ca576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107a3565b60208101518b10156123e6576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561232c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123509190614b45565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156123a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c49190614b45565b6040516338a25a8b60e21b8152600481019290925260248201526044016107a3565b60408101518b1115612502576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246c9190614b45565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156124bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e09190614b45565b604051631e1ea4f360e31b8152600481019290925260248201526044016107a3565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257a919061493f565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156125d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f59190614b45565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af415801561264b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266f9190614b45565b612679919061519e565b11156127255760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156126da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126fe9190614b45565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107a3565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b815260040161275e929190614b5e565b602060405180830381865af415801561277b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279f9190614b80565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612833573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285791906147e9565b6001600160a01b031663ca0e7f0889836040518363ffffffff1660e01b815260040161288492919061522d565b600060405180830381600087803b15801561289e57600080fd5b505af11580156128b2573d6000803e3d6000fd5b50505050505050505050509695505050505050565b6128cf6133a0565b61294f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612911573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293591906147cc565b603c60008560405180602001604052806000815250610c4f565b6001600160a01b0382161561296c5761296782613bd2565b612adb565b60006129806001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156129e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a049190615252565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612a49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6d91906147e9565b9050612ad9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad491906147e9565b613bd2565b505b612aeb634a531f3360e01b6108ef565b612afb63b68d180960e01b6108ef565b505050565b60008051602061534b833981519152805460009190600160a01b900460ff16612b2a57600061203c565b638fb3603760e01b91505090565b815181511015612c52578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb99190614b45565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c309190614b45565b604051631a9c6b0960e01b8152600481019290925260248201526044016107a3565b600080612c5f6078613502565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc891906147e9565b604051639ad69c6760e01b81526001600160601b03851660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015612d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d409190614aa4565b9050858160400181905250848160600181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612db691906147e9565b6001600160a01b031663f7b442d1858360ff6040518463ffffffff1660e01b81526004016115399392919061526f565b60006105476028613be3565b60006105476046613be3565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90612e42906001600160c01b0319881690600401614375565b602060405180830381865af4158015612e5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e8391906147a4565b1590506000612e92868661091c565b9050818015612e9f575080155b15612ed857604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107a3565b6000612ee3876133d9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4991906147e9565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612faf91906147e9565b90506000826001600160a01b0316631d3be4778a6040518263ffffffff1660e01b8152600401612fdf9190614375565b600060405180830381865afa158015612ffc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130249190810190614861565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038516906327b1d79290602401600060405180830381865afa15801561307a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130a29190810190614c92565b604051639ad69c6760e01b81526001600160601b038d1660048201529091506000906001600160a01b03861690639ad69c679060240161010060405180830381865afa1580156130f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311a9190614aa4565b905060008a61018001518b6101600151613134919061529f565b6101a08c0151909150613147818361529f565b8b1461317a578a613158828461529f565b60405163b9d36bcd60e01b8152600481019290925260248201526044016107a3565b81156131f957818360a001818151613192919061529f565b9052506001600160a01b03861663f7b442d18f8560ff6040518463ffffffff1660e01b81526004016131c69392919061526f565b600060405180830381600087803b1580156131e057600080fd5b505af11580156131f4573d6000803e3d6000fd5b505050505b89156133195760018560800181815161321291906152b2565b63ffffffff169052506001600160a01b0386166361105e0e8e8760ff6040518463ffffffff1660e01b815260040161324c939291906152d6565b600060405180830381600087803b15801561326657600080fd5b505af115801561327a573d6000803e3d6000fd5b505050506000811115613319578084606001818151613299919061529f565b905250608084018051600191906132b190839061529f565b9052508451604051633ed2a38d60e21b81526001600160a01b0388169163fb4a8e34916132e69190889060ff90600401614d92565b600060405180830381600087803b15801561330057600080fd5b505af1158015613314573d6000803e3d6000fd5b505050505b5050505050505050505050505050565b6133316133a0565b61333a81611d79565b613342611354565b6001600160a01b0382166133695760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061532b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061536b83398151915254600160401b900460ff166133d757604051631afcd79f60e31b815260040160405180910390fd5b565b6000806133ee6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561343d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134659190810190614dd2565b602001519050600061347f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156134ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134f69190810190614dd2565b60800151949350505050565b600061350c613e9a565b60006135206001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061358a91906147cc565b92506135968385613cf0565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360091906147e9565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561364a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061366e91906147a4565b1561369d57608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107a3565b9193909250565b6101f06133a0565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105479190614c75565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061379c91906147a4565b6137c4576040516359bff0e360e11b81526001600160a01b03881660048201526024016107a3565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613804573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261382c9190810190614dd2565b905061384381604001518860ff9081169116141590565b15613883576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107a3565b60a08101516001600160a01b03858116908216146138d55760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107a3565b816020015192506138e583613df4565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015613925573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061394991906147e9565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa1580156139a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c491906147a4565b613a0a57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107a3565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136e3565b60008051602061536b8339815191528054600160401b810460ff1615906001600160401b0316600081158015613a845750825b90506000826001600160401b03166001148015613aa05750303b155b905081158015613aae575080155b15613acc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613af657845460ff60401b1916600160401b1785555b60008087806020019051810190613b0d91906152fb565b92509050613b1d8160008b6128c7565b613b2d6321c6c6bb60e21b6108ef565b50508315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611b5d565b60008051602061534b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613bda6133a0565b611e8481613e89565b6000613bf76001546001600160a01b031690565b6001600160a01b031663d39e604383613c0e6104c2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c879190615252565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4991906147e9565b613cf8613e9a565b6000613d0c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d839190810190614dd2565b9150613d9a82604001518460ff9081169116141590565b15613dde57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016107a3565b613deb8260200151613df4565b90509250929050565b6000613e086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e57573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e7f9190810190614dd2565b6080015192915050565b613e916133a0565b611e8481613b71565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215613eea57600080fd5b81356001600160e01b031981168114613f0257600080fd5b9392505050565b60005b83811015613f24578181015183820152602001613f0c565b50506000910152565b60008151808452613f45816020860160208601613f09565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613fc260c08401826001600160a01b03169052565b5060c083015160e080840152613fdc610100840182613f2d565b949350505050565b6001600160601b0381168114611e8457600080fd5b6001600160c01b031981168114611e8457600080fd5b6000806040838503121561402257600080fd5b823561402d81613fe4565b9150602083013561403d81613ff9565b809150509250929050565b6001600160a01b0381168114611e8457600080fd5b60ff81168114611e8457600080fd5b8015158114611e8457600080fd5b80356140858161406c565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156140c2576140c261408a565b60405290565b6040516101e081016001600160401b03811182821017156140c2576140c261408a565b60405160e081016001600160401b03811182821017156140c2576140c261408a565b60405160a081016001600160401b03811182821017156140c2576140c261408a565b60405161012081016001600160401b03811182821017156140c2576140c261408a565b604051601f8201601f191681016001600160401b038111828210171561417a5761417a61408a565b604052919050565b60006001600160401b0382111561419b5761419b61408a565b50601f01601f191660200190565b600082601f8301126141ba57600080fd5b81356141cd6141c882614182565b614152565b8181528460208386010111156141e257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561421857600080fd5b863561422381614048565b9550602087013561423381613fe4565b945060408701356142438161405d565b935060608701356142538161406c565b9250608087013561426381614048565b915060a08701356001600160401b0381111561427e57600080fd5b61428a89828a016141a9565b9150509295509295509295565b63ffffffff81168114611e8457600080fd5b60008060008060008060008060006101208a8c0312156142c857600080fd5b89356001600160401b03808211156142df57600080fd5b6142eb8d838e016141a9565b9a5060208c0135995060408c0135985060608c0135975060808c0135915061431282614297565b90955060a08b01359061432482614297565b81955061433360c08d0161407a565b945061434160e08d0161407a565b93506101008c013591508082111561435857600080fd5b506143658c828d016141a9565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561439c57600080fd5b81356001600160401b038111156143b257600080fd5b613fdc848285016141a9565b6000806000606084860312156143d357600080fd5b83356143de81613fe4565b925060208401356143ee81613ff9565b915060408401356001600160401b0381111561440957600080fd5b614415868287016141a9565b9150509250925092565b60006020828403121561443157600080fd5b8135613f0281614048565b6000806040838503121561444f57600080fd5b823561445a81614048565b915060208301356001600160401b0381111561447557600080fd5b614481858286016141a9565b9150509250929050565b6000806000606084860312156144a057600080fd5b83356143de81614048565b64ffffffffff81168114611e8457600080fd5b60008060008060008060c087890312156144d757600080fd5b86356144e281613fe4565b955060208701356001600160401b03808211156144fe57600080fd5b61450a8a838b016141a9565b9650604089013595506060890135915061452382614297565b909350608088013590614535826144ab565b90925060a0880135908082111561454b57600080fd5b5061428a89828a016141a9565b60008060006060848603121561456d57600080fd5b833561457881614048565b9250602084013561458881614048565b9150604084013561459881614048565b809150509250925092565b6000604082840312156145b557600080fd5b6145bd6140a0565b9050813581526020820135602082015292915050565b600080608083850312156145e657600080fd5b6145f084846145a3565b9150613deb84604085016145a3565b60008060008084860361024081121561461757600080fd5b853561462281613fe4565b9450602086013561463281613ff9565b93506101e0603f19820181131561464857600080fd5b6146506140c8565b915060408701358252606087013560208301526080870135604083015260a0870135606083015260c0870135608083015260e087013560a08301526101008088013560c08401526101208089013560e0850152610140808a0135838601526101609250828a0135828601526101809150818a013581860152506101a0808a0135838601526101c09250828a013582860152838a013581860152505061020088013581840152505080925050610220850135905092959194509250565b6000806040838503121561471f57600080fd5b823561472a81614048565b9150602083013561403d81614048565b60006020828403121561474c57600080fd5b815162ffffff81168114613f0257600080fd5b600181811c9082168061477357607f821691505b60208210810361479357634e487b7160e01b600052602260045260246000fd5b50919050565b80516140858161406c565b6000602082840312156147b657600080fd5b8151613f028161406c565b805161408581613fe4565b6000602082840312156147de57600080fd5b8151613f0281613fe4565b6000602082840312156147fb57600080fd5b8151613f0281614048565b600082601f83011261481757600080fd5b81516148256141c882614182565b81815284602083860101111561483a57600080fd5b613fdc826020830160208701613f09565b805161408581614297565b8051614085816144ab565b60006020828403121561487357600080fd5b81516001600160401b038082111561488a57600080fd5b9083019060e0828603121561489e57600080fd5b6148a66140eb565b6148af836147c1565b81526020830151828111156148c357600080fd5b6148cf87828601614806565b602083015250604083015160408201526148eb6060840161484b565b60608201526148fc6080840161484b565b608082015261490d60a08401614856565b60a082015260c08301518281111561492457600080fd5b61493087828601614806565b60c08301525095945050505050565b60006020828403121561495157600080fd5b8151613f02816144ab565b601f821115612afb57600081815260208120601f850160051c810160208610156149835750805b601f850160051c820191505b818110156149a25782815560010161498f565b505050505050565b81516001600160401b038111156149c3576149c361408a565b6149d7816149d1845461475f565b8461495c565b602080601f831160018114614a0c57600084156149f45750858301515b600019600386901b1c1916600185901b1785556149a2565b600085815260208120601f198616915b82811015614a3b57888601518255948401946001909101908401614a1c565b5085821015614a595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060408284031215614a7b57600080fd5b614a836140a0565b9050815181526020820151602082015292915050565b805161408581614048565b60006101008284031215614ab757600080fd5b60405160c081018181106001600160401b0382111715614ad957614ad961408a565b6040528251614ae781613fe4565b81526020830151614af781614048565b6020820152614b098460408501614a69565b6040820152614b1b8460808501614a69565b606082015260c0830151614b2e81614048565b608082015260e0929092015160a083015250919050565b600060208284031215614b5757600080fd5b5051919050565b6001600160601b0383168152604060208201526000613fdc6040830184613f2d565b600060208284031215614b9257600080fd5b8151613f0281613ff9565b6001600160401b0360c01b831681526040602082015260008251610120806040850152614bce610160850183613f2d565b91506020850151606085015260408501516080850152606085015160a08501526080850151614c0560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c0850151610100614c2d8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152614c568282613f2d565b9695505050505050565b6001600160401b0381168114611e8457600080fd5b600060208284031215614c8757600080fd5b8151613f0281614c60565b600060208284031215614ca457600080fd5b81516001600160401b0380821115614cbb57600080fd5b9083019060a08286031215614ccf57600080fd5b614cd761410d565b8251614ce281613ff9565b81526020830151614cf28161406c565b6020820152604083015182811115614d0957600080fd5b614d1587828601614806565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152614d7260a0850182613f2d565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b0384168152606060208201526000614db46060830185614d3b565b905060ff83166040830152949350505050565b80516140858161405d565b600060208284031215614de457600080fd5b81516001600160401b0380821115614dfb57600080fd5b9083019060e08286031215614e0f57600080fd5b614e176140eb565b614e20836147c1565b8152614e2e602084016147c1565b6020820152614e3f60408401614dc7565b6040820152614e5060608401614799565b6060820152614e6160808401614a99565b608082015261490d60a08401614a99565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b03831681526101208101613f026020830184614e72565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614f2257600080fd5b81516001600160401b03811115614f3857600080fd5b613fdc84828501614806565b600081518084526020808501945080840160005b83811015614f7d5781516001600160401b031687529582019590820190600101614f58565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152614fb960a0840187613f2d565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561503757868403601f19018652825180518086529089019089860190845b818110156150225783516001600160e01b0319168352928b0192918b0191600101614ffc565b50509689019694505091870191600101614fda565b505050868103608088015261504c8189614f44565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000613fdc6040830184614d3b565b602081526000613f026020830184613f2d565b6000602082840312156150a357600080fd5b81516001600160401b03808211156150ba57600080fd5b9083019061012082860312156150cf57600080fd5b6150d761412f565b8251828111156150e657600080fd5b6150f287828601614806565b82525060208301516020820152604083015160408201526060830151606082015261511f6080840161484b565b608082015261513060a0840161484b565b60a082015261514160c08401614799565b60c082015261515260e08401614799565b60e0820152610100808401518381111561516b57600080fd5b61517788828701614806565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610c4957610c49615188565b6001600160601b0381511682526000602082015160e060208501526151d960e0850182613f2d565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152610c448282613f2d565b6001600160401b0360c01b83168152604060208201526000613fdc60408301846151b1565b60006020828403121561526457600080fd5b8151613f028161405d565b6001600160601b0384168152610140810161528d6020830185614e72565b60ff8316610120830152949350505050565b80820180821115610c4957610c49615188565b63ffffffff8181168382160190808211156152cf576152cf615188565b5092915050565b6001600160401b0360c01b84168152606060208201526000614db460608301856151b1565b6000806040838503121561530e57600080fd5b825161531981614048565b602084015190925061403d8161404856fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207666f0c6332e74189e18c85861c246da44023b1e60c7467b945265cd622a9ecc64736f6c63430008140033",
1202
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063644c45e01161010f578063b68d1809116100a2578063cc9fc59a11610071578063cc9fc59a14610494578063d25f50951461049c578063f21de1e81461036c578063f7c34ee0146104af57600080fd5b8063b68d18091461044c578063b6b412ba1461045b578063bf7e214f1461046e578063caf4e3d41461048c57600080fd5b80638dd2b781116100de5780638dd2b781146103f05780638e32e979146104035780638fb3603714610416578063ada9652e1461043757600080fd5b8063644c45e0146103a4578063675393bf146103c25780637a9e5e4b146103d5578063893d20e8146103e857600080fd5b80632b5198b1116101875780634420e486116101565780634420e4861461032e57806349bb9e4b146103595780635ab1bd531461036c5780635dcb3bae1461039157600080fd5b80632b5198b1146102e0578063329d6e741461030057806336fc697e146103135780633d683fd91461031b57600080fd5b80631eff4b22116101c35780631eff4b2214610272578063214cdb80146102a757806325d07384146102ba57806327bb7a33146102cd57600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b610222610203366004613ed8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104c2565b60405162ffffff909116815260200161022e565b61025b61054c565b60405161022e9190613f59565b6102706106e8565b005b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102b5366004613ed8565b6108ef565b6102226102c836600461400f565b61091c565b6102706102db3660046141ff565b610c4f565b6102f36102ee3660046142a9565b610cdb565b60405161022e9190614375565b61027061030e36600461438a565b611207565b610270611354565b6102706103293660046143be565b61139a565b61034161033c36600461441f565b611573565b6040516001600160601b03909116815260200161022e565b61027061036736600461443c565b611a70565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61034161039f36600461448b565b611b6f565b60008051602061532b833981519152546001600160601b0316610341565b6102706103d036600461441f565b611d79565b6102706103e336600461441f565b611e87565b610379611f21565b6102f36103fe3660046144be565b612058565b610270610411366004614558565b6128c7565b61041e612b00565b6040516001600160e01b0319909116815260200161022e565b61029960008051602061532b83398151915281565b6040516078815260200161022e565b6102706104693660046145d3565b612b38565b60008051602061534b833981519152546001600160a01b0316610379565b610379612de6565b610379612df2565b6102706104aa3660046145ff565b612dfe565b6102706104bd36600461470c565b613329565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610523573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610547919061473a565b905090565b610554613e9a565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546000939160608401916105e49061475f565b80601f01602080910402602001604051908101604052809291908181526020018280546106109061475f565b801561065d5780601f106106325761010080835404028352916020019161065d565b820191906000526020600020905b81548152906001019060200180831161064057829003601f168201915b50505050508152505090506040518060e0016040528061067b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106cc611f21565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061532b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077b91906147a4565b156107ac5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bf6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b91906147a4565b6108535760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a3565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb91906147cc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f76133a0565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600080610928846133d9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906147e9565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016109b99190614375565b600060405180830381865afa1580156109d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109fe9190810190614861565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8091906147a4565b15610a9057600092505050610c49565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1091906147a4565b80610c22575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9691906147a4565b8015610c225750610c2273__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d919061493f565b8260a0015164ffffffffff9081169116111590565b9250828015610c445750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b610c576133a0565b610c618287613329565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610cd183826149aa565b5050505050505050565b60008080610ce96078613502565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5291906147e9565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015610da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc69190614aa4565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015610e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4e9190614b45565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af4158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed69190614b45565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015610f30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5491906147a4565b1561106357604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcd9190614b45565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561101d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110419190614b45565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107a3565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b815260040161109f929190614b5e565b602060405180830381865af41580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190614b80565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906147e9565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016111c5929190614b9d565b600060405180830381600087803b1580156111df57600080fd5b505af11580156111f3573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112296104c2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128d9190614c75565b60008051602061536b8339815191528054600160401b900460ff16806112c0575080546001600160401b03808416911610155b156112de5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611308836136a4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61135c6133a0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006113a66078613502565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140e91906147e9565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611461573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114899190810190614c92565b6001600160c01b03198616815260408082018690528051631a99b41b60e31b815290519192506001600160a01b0385169163d4cda0d8916004808201926020929091908290030181865afa1580156114e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150991906147e9565b6001600160a01b031663fb4a8e34878360ff6040518463ffffffff1660e01b815260040161153993929190614d92565b600060405180830381600087803b15801561155357600080fd5b505af1158015611567573d6000803e3d6000fd5b50505050505050505050565b60008080808061158c8660786115876136ac565b613724565b9350935093509350600061159e612de6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156115f0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116189190810190614dd2565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116db91906147e9565b6001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174d9190614aa4565b6040518363ffffffff1660e01b815260040161176a929190614edc565b600060405180830381600087803b15801561178457600080fd5b505af1158015611798573d6000803e3d6000fd5b5060009250600291506117a89050565b6040519080825280602002602001820160405280156117db57816020015b60608152602001906001900390816117c65790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061180f5761180f614efa565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061184e5761184e614efa565b602002602001018190525063b6b412ba60e01b8160008151811061187457611874614efa565b602002602001015160008151811061188e5761188e614efa565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106118c5576118c5614efa565b60200260200101516000815181106118df576118df614efa565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506119236136ac565b8160008151811061193657611936614efa565b60200260200101906001600160401b031690816001600160401b03168152505061195e613a15565b8160018151811061197157611971614efa565b60200260200101906001600160401b031690816001600160401b031681525050611999612df2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156119e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a0f9190810190614f10565b86866040518663ffffffff1660e01b8152600401611a31959493929190614f88565b600060405180830381600087803b158015611a4b57600080fd5b505af1158015611a5f573d6000803e3d6000fd5b505050505050505050505050919050565b60008051602061536b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611aa35750825b90506000826001600160401b03166001148015611abf5750303b155b905081158015611acd575080155b15611aeb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b1557845460ff60401b1916600160401b1785555b611b1f8787613a51565b8315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008080611b7d6078613502565b9250509150611b8a612de6565b6001600160a01b03166357a8fba76040518060e00160405280611bab600090565b6001600160601b03168152602001856001600160601b03168152602001611bd0607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611c2f9190613f59565b6020604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7291906147cc565b925060006040518060a00160405280876001600160c01b03191681526020016001151581526020018681526020016000815260200160008152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1091906147e9565b6001600160a01b031663a671495e85836040518363ffffffff1660e01b8152600401611d3d92919061505c565b600060405180830381600087803b158015611d5757600080fd5b505af1158015611d6b573d6000803e3d6000fd5b505050505050509392505050565b611d816133a0565b806001600160a01b03163b600003611db75760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a3565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611e31575060408051601f3d908101601f19168201909252611e2e918101906147a4565b60015b611e595760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a3565b80611e825760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a3565b505b50565b33611ea760008051602061534b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614611ee25760405162d1953b60e31b81526001600160a01b03821660048201526024016107a3565b816001600160a01b03163b600003611f18576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a3565b611e8282613b71565b60008060008051602061532b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611f91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb591906147a4565b15612042576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612018573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203c91906147e9565b91505090565b54600160601b90046001600160a01b0316919050565b600080806120666078613502565b9250509150875160000361208f5787604051634fad6a5360e11b81526004016107a3919061507e565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156120e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210991906147a4565b156121305760405163df85467b60e01b815264ffffffffff861660048201526024016107a3565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612170573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219491906147e9565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156121e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261220f9190810190614c92565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612244908590600401614375565b600060405180830381865afa158015612261573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122899190810190615091565b90508963ffffffff16816080015163ffffffff1610156122ca576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107a3565b60208101518b10156123e6576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561232c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123509190614b45565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156123a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c49190614b45565b6040516338a25a8b60e21b8152600481019290925260248201526044016107a3565b60408101518b1115612502576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246c9190614b45565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156124bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e09190614b45565b604051631e1ea4f360e31b8152600481019290925260248201526044016107a3565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257a919061493f565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156125d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f59190614b45565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af415801561264b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266f9190614b45565b612679919061519e565b11156127255760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156126da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126fe9190614b45565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107a3565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b815260040161275e929190614b5e565b602060405180830381865af415801561277b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279f9190614b80565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612833573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285791906147e9565b6001600160a01b031663ca0e7f0889836040518363ffffffff1660e01b815260040161288492919061522d565b600060405180830381600087803b15801561289e57600080fd5b505af11580156128b2573d6000803e3d6000fd5b50505050505050505050509695505050505050565b6128cf6133a0565b61294f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612911573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293591906147cc565b603c60008560405180602001604052806000815250610c4f565b6001600160a01b0382161561296c5761296782613bd2565b612adb565b60006129806001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156129e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a049190615252565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612a49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6d91906147e9565b9050612ad9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad491906147e9565b613bd2565b505b612aeb634a531f3360e01b6108ef565b612afb63b68d180960e01b6108ef565b505050565b60008051602061534b833981519152805460009190600160a01b900460ff16612b2a57600061203c565b638fb3603760e01b91505090565b815181511015612c52578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb99190614b45565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c309190614b45565b604051631a9c6b0960e01b8152600481019290925260248201526044016107a3565b600080612c5f6078613502565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc891906147e9565b604051639ad69c6760e01b81526001600160601b03851660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015612d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d409190614aa4565b9050858160400181905250848160600181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612db691906147e9565b6001600160a01b031663f7b442d1858360ff6040518463ffffffff1660e01b81526004016115399392919061526f565b60006105476028613be3565b60006105476046613be3565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90612e42906001600160c01b0319881690600401614375565b602060405180830381865af4158015612e5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e8391906147a4565b1590506000612e92868661091c565b9050818015612e9f575080155b15612ed857604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107a3565b6000612ee3876133d9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4991906147e9565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612faf91906147e9565b90506000826001600160a01b0316631d3be4778a6040518263ffffffff1660e01b8152600401612fdf9190614375565b600060405180830381865afa158015612ffc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130249190810190614861565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038516906327b1d79290602401600060405180830381865afa15801561307a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130a29190810190614c92565b604051639ad69c6760e01b81526001600160601b038d1660048201529091506000906001600160a01b03861690639ad69c679060240161010060405180830381865afa1580156130f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311a9190614aa4565b905060008a61018001518b6101600151613134919061529f565b6101a08c0151909150613147818361529f565b8b1461317a578a613158828461529f565b60405163b9d36bcd60e01b8152600481019290925260248201526044016107a3565b81156131f957818360a001818151613192919061529f565b9052506001600160a01b03861663f7b442d18f8560ff6040518463ffffffff1660e01b81526004016131c69392919061526f565b600060405180830381600087803b1580156131e057600080fd5b505af11580156131f4573d6000803e3d6000fd5b505050505b89156133195760018560800181815161321291906152b2565b63ffffffff169052506001600160a01b0386166361105e0e8e8760ff6040518463ffffffff1660e01b815260040161324c939291906152d6565b600060405180830381600087803b15801561326657600080fd5b505af115801561327a573d6000803e3d6000fd5b505050506000811115613319578084606001818151613299919061529f565b905250608084018051600191906132b190839061529f565b9052508451604051633ed2a38d60e21b81526001600160a01b0388169163fb4a8e34916132e69190889060ff90600401614d92565b600060405180830381600087803b15801561330057600080fd5b505af1158015613314573d6000803e3d6000fd5b505050505b5050505050505050505050505050565b6133316133a0565b61333a81611d79565b613342611354565b6001600160a01b0382166133695760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061532b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061536b83398151915254600160401b900460ff166133d757604051631afcd79f60e31b815260040160405180910390fd5b565b6000806133ee6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561343d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134659190810190614dd2565b602001519050600061347f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156134ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134f69190810190614dd2565b60800151949350505050565b600061350c613e9a565b60006135206001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061358a91906147cc565b92506135968385613cf0565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360091906147e9565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561364a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061366e91906147a4565b1561369d57608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107a3565b9193909250565b6101f06133a0565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105479190614c75565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061379c91906147a4565b6137c4576040516359bff0e360e11b81526001600160a01b03881660048201526024016107a3565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613804573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261382c9190810190614dd2565b905061384381604001518860ff9081169116141590565b15613883576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107a3565b60a08101516001600160a01b03858116908216146138d55760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107a3565b816020015192506138e583613df4565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015613925573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061394991906147e9565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa1580156139a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c491906147a4565b613a0a57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107a3565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136e3565b60008051602061536b8339815191528054600160401b810460ff1615906001600160401b0316600081158015613a845750825b90506000826001600160401b03166001148015613aa05750303b155b905081158015613aae575080155b15613acc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613af657845460ff60401b1916600160401b1785555b60008087806020019051810190613b0d91906152fb565b92509050613b1d8160008b6128c7565b613b2d6321c6c6bb60e21b6108ef565b50508315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611b5d565b60008051602061534b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613bda6133a0565b611e8481613e89565b6000613bf76001546001600160a01b031690565b6001600160a01b031663d39e604383613c0e6104c2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c879190615252565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4991906147e9565b613cf8613e9a565b6000613d0c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d839190810190614dd2565b9150613d9a82604001518460ff9081169116141590565b15613dde57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016107a3565b613deb8260200151613df4565b90509250929050565b6000613e086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e57573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e7f9190810190614dd2565b6080015192915050565b613e916133a0565b611e8481613b71565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215613eea57600080fd5b81356001600160e01b031981168114613f0257600080fd5b9392505050565b60005b83811015613f24578181015183820152602001613f0c565b50506000910152565b60008151808452613f45816020860160208601613f09565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613fc260c08401826001600160a01b03169052565b5060c083015160e080840152613fdc610100840182613f2d565b949350505050565b6001600160601b0381168114611e8457600080fd5b6001600160c01b031981168114611e8457600080fd5b6000806040838503121561402257600080fd5b823561402d81613fe4565b9150602083013561403d81613ff9565b809150509250929050565b6001600160a01b0381168114611e8457600080fd5b60ff81168114611e8457600080fd5b8015158114611e8457600080fd5b80356140858161406c565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156140c2576140c261408a565b60405290565b6040516101e081016001600160401b03811182821017156140c2576140c261408a565b60405160e081016001600160401b03811182821017156140c2576140c261408a565b60405160a081016001600160401b03811182821017156140c2576140c261408a565b60405161012081016001600160401b03811182821017156140c2576140c261408a565b604051601f8201601f191681016001600160401b038111828210171561417a5761417a61408a565b604052919050565b60006001600160401b0382111561419b5761419b61408a565b50601f01601f191660200190565b600082601f8301126141ba57600080fd5b81356141cd6141c882614182565b614152565b8181528460208386010111156141e257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561421857600080fd5b863561422381614048565b9550602087013561423381613fe4565b945060408701356142438161405d565b935060608701356142538161406c565b9250608087013561426381614048565b915060a08701356001600160401b0381111561427e57600080fd5b61428a89828a016141a9565b9150509295509295509295565b63ffffffff81168114611e8457600080fd5b60008060008060008060008060006101208a8c0312156142c857600080fd5b89356001600160401b03808211156142df57600080fd5b6142eb8d838e016141a9565b9a5060208c0135995060408c0135985060608c0135975060808c0135915061431282614297565b90955060a08b01359061432482614297565b81955061433360c08d0161407a565b945061434160e08d0161407a565b93506101008c013591508082111561435857600080fd5b506143658c828d016141a9565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561439c57600080fd5b81356001600160401b038111156143b257600080fd5b613fdc848285016141a9565b6000806000606084860312156143d357600080fd5b83356143de81613fe4565b925060208401356143ee81613ff9565b915060408401356001600160401b0381111561440957600080fd5b614415868287016141a9565b9150509250925092565b60006020828403121561443157600080fd5b8135613f0281614048565b6000806040838503121561444f57600080fd5b823561445a81614048565b915060208301356001600160401b0381111561447557600080fd5b614481858286016141a9565b9150509250929050565b6000806000606084860312156144a057600080fd5b83356143de81614048565b64ffffffffff81168114611e8457600080fd5b60008060008060008060c087890312156144d757600080fd5b86356144e281613fe4565b955060208701356001600160401b03808211156144fe57600080fd5b61450a8a838b016141a9565b9650604089013595506060890135915061452382614297565b909350608088013590614535826144ab565b90925060a0880135908082111561454b57600080fd5b5061428a89828a016141a9565b60008060006060848603121561456d57600080fd5b833561457881614048565b9250602084013561458881614048565b9150604084013561459881614048565b809150509250925092565b6000604082840312156145b557600080fd5b6145bd6140a0565b9050813581526020820135602082015292915050565b600080608083850312156145e657600080fd5b6145f084846145a3565b9150613deb84604085016145a3565b60008060008084860361024081121561461757600080fd5b853561462281613fe4565b9450602086013561463281613ff9565b93506101e0603f19820181131561464857600080fd5b6146506140c8565b915060408701358252606087013560208301526080870135604083015260a0870135606083015260c0870135608083015260e087013560a08301526101008088013560c08401526101208089013560e0850152610140808a0135838601526101609250828a0135828601526101809150818a013581860152506101a0808a0135838601526101c09250828a013582860152838a013581860152505061020088013581840152505080925050610220850135905092959194509250565b6000806040838503121561471f57600080fd5b823561472a81614048565b9150602083013561403d81614048565b60006020828403121561474c57600080fd5b815162ffffff81168114613f0257600080fd5b600181811c9082168061477357607f821691505b60208210810361479357634e487b7160e01b600052602260045260246000fd5b50919050565b80516140858161406c565b6000602082840312156147b657600080fd5b8151613f028161406c565b805161408581613fe4565b6000602082840312156147de57600080fd5b8151613f0281613fe4565b6000602082840312156147fb57600080fd5b8151613f0281614048565b600082601f83011261481757600080fd5b81516148256141c882614182565b81815284602083860101111561483a57600080fd5b613fdc826020830160208701613f09565b805161408581614297565b8051614085816144ab565b60006020828403121561487357600080fd5b81516001600160401b038082111561488a57600080fd5b9083019060e0828603121561489e57600080fd5b6148a66140eb565b6148af836147c1565b81526020830151828111156148c357600080fd5b6148cf87828601614806565b602083015250604083015160408201526148eb6060840161484b565b60608201526148fc6080840161484b565b608082015261490d60a08401614856565b60a082015260c08301518281111561492457600080fd5b61493087828601614806565b60c08301525095945050505050565b60006020828403121561495157600080fd5b8151613f02816144ab565b601f821115612afb57600081815260208120601f850160051c810160208610156149835750805b601f850160051c820191505b818110156149a25782815560010161498f565b505050505050565b81516001600160401b038111156149c3576149c361408a565b6149d7816149d1845461475f565b8461495c565b602080601f831160018114614a0c57600084156149f45750858301515b600019600386901b1c1916600185901b1785556149a2565b600085815260208120601f198616915b82811015614a3b57888601518255948401946001909101908401614a1c565b5085821015614a595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060408284031215614a7b57600080fd5b614a836140a0565b9050815181526020820151602082015292915050565b805161408581614048565b60006101008284031215614ab757600080fd5b60405160c081018181106001600160401b0382111715614ad957614ad961408a565b6040528251614ae781613fe4565b81526020830151614af781614048565b6020820152614b098460408501614a69565b6040820152614b1b8460808501614a69565b606082015260c0830151614b2e81614048565b608082015260e0929092015160a083015250919050565b600060208284031215614b5757600080fd5b5051919050565b6001600160601b0383168152604060208201526000613fdc6040830184613f2d565b600060208284031215614b9257600080fd5b8151613f0281613ff9565b6001600160401b0360c01b831681526040602082015260008251610120806040850152614bce610160850183613f2d565b91506020850151606085015260408501516080850152606085015160a08501526080850151614c0560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c0850151610100614c2d8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152614c568282613f2d565b9695505050505050565b6001600160401b0381168114611e8457600080fd5b600060208284031215614c8757600080fd5b8151613f0281614c60565b600060208284031215614ca457600080fd5b81516001600160401b0380821115614cbb57600080fd5b9083019060a08286031215614ccf57600080fd5b614cd761410d565b8251614ce281613ff9565b81526020830151614cf28161406c565b6020820152604083015182811115614d0957600080fd5b614d1587828601614806565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152614d7260a0850182613f2d565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b0384168152606060208201526000614db46060830185614d3b565b905060ff83166040830152949350505050565b80516140858161405d565b600060208284031215614de457600080fd5b81516001600160401b0380821115614dfb57600080fd5b9083019060e08286031215614e0f57600080fd5b614e176140eb565b614e20836147c1565b8152614e2e602084016147c1565b6020820152614e3f60408401614dc7565b6040820152614e5060608401614799565b6060820152614e6160808401614a99565b608082015261490d60a08401614a99565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b03831681526101208101613f026020830184614e72565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614f2257600080fd5b81516001600160401b03811115614f3857600080fd5b613fdc84828501614806565b600081518084526020808501945080840160005b83811015614f7d5781516001600160401b031687529582019590820190600101614f58565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152614fb960a0840187613f2d565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561503757868403601f19018652825180518086529089019089860190845b818110156150225783516001600160e01b0319168352928b0192918b0191600101614ffc565b50509689019694505091870191600101614fda565b505050868103608088015261504c8189614f44565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000613fdc6040830184614d3b565b602081526000613f026020830184613f2d565b6000602082840312156150a357600080fd5b81516001600160401b03808211156150ba57600080fd5b9083019061012082860312156150cf57600080fd5b6150d761412f565b8251828111156150e657600080fd5b6150f287828601614806565b82525060208301516020820152604083015160408201526060830151606082015261511f6080840161484b565b608082015261513060a0840161484b565b60a082015261514160c08401614799565b60c082015261515260e08401614799565b60e0820152610100808401518381111561516b57600080fd5b61517788828701614806565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610c4957610c49615188565b6001600160601b0381511682526000602082015160e060208501526151d960e0850182613f2d565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152610c448282613f2d565b6001600160401b0360c01b83168152604060208201526000613fdc60408301846151b1565b60006020828403121561526457600080fd5b8151613f028161405d565b6001600160601b0384168152610140810161528d6020830185614e72565b60ff8316610120830152949350505050565b80820180821115610c4957610c49615188565b63ffffffff8181168382160190808211156152cf576152cf615188565b5092915050565b6001600160401b0360c01b84168152606060208201526000614db460608301856151b1565b6000806040838503121561530e57600080fd5b825161531981614048565b602084015190925061403d8161404856fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207666f0c6332e74189e18c85861c246da44023b1e60c7467b945265cd622a9ecc64736f6c63430008140033",
1203
+ "linkReferences": {
1204
+ "contracts/types/DistributorType.sol": {
1205
+ "DistributorTypeLib": [
1206
+ {
1207
+ "length": 20,
1208
+ "start": 4430
1209
+ }
1210
+ ]
1211
+ },
1212
+ "contracts/types/NftId.sol": {
1213
+ "NftIdLib": [
1214
+ {
1215
+ "length": 20,
1216
+ "start": 2051
1217
+ },
1218
+ {
1219
+ "length": 20,
1220
+ "start": 2824
1221
+ },
1222
+ {
1223
+ "length": 20,
1224
+ "start": 8253
1225
+ }
1226
+ ]
1227
+ },
1228
+ "contracts/types/Referral.sol": {
1229
+ "ReferralLib": [
1230
+ {
1231
+ "length": 20,
1232
+ "start": 10253
1233
+ },
1234
+ {
1235
+ "length": 20,
1236
+ "start": 12022
1237
+ }
1238
+ ]
1239
+ },
1240
+ "contracts/types/RoleId.sol": {
1241
+ "RoleIdLib": [
1242
+ {
1243
+ "length": 20,
1244
+ "start": 14251
1245
+ },
1246
+ {
1247
+ "length": 20,
1248
+ "start": 15125
1249
+ }
1250
+ ]
1251
+ },
1252
+ "contracts/types/Timestamp.sol": {
1253
+ "TimestampLib": [
1254
+ {
1255
+ "length": 20,
1256
+ "start": 2968
1257
+ },
1258
+ {
1259
+ "length": 20,
1260
+ "start": 3102
1261
+ },
1262
+ {
1263
+ "length": 20,
1264
+ "start": 3208
1265
+ },
1266
+ {
1267
+ "length": 20,
1268
+ "start": 8593
1269
+ },
1270
+ {
1271
+ "length": 20,
1272
+ "start": 9717
1273
+ },
1274
+ {
1275
+ "length": 20,
1276
+ "start": 9853
1277
+ },
1278
+ {
1279
+ "length": 20,
1280
+ "start": 9975
1281
+ },
1282
+ {
1283
+ "length": 20,
1284
+ "start": 10118
1285
+ }
1286
+ ]
1287
+ },
1288
+ "contracts/types/UFixed.sol": {
1289
+ "UFixedLib": [
1290
+ {
1291
+ "length": 20,
1292
+ "start": 3798
1293
+ },
1294
+ {
1295
+ "length": 20,
1296
+ "start": 3934
1297
+ },
1298
+ {
1299
+ "length": 20,
1300
+ "start": 4060
1301
+ },
1302
+ {
1303
+ "length": 20,
1304
+ "start": 4181
1305
+ },
1306
+ {
1307
+ "length": 20,
1308
+ "start": 4297
1309
+ },
1310
+ {
1311
+ "length": 20,
1312
+ "start": 9176
1313
+ },
1314
+ {
1315
+ "length": 20,
1316
+ "start": 9292
1317
+ },
1318
+ {
1319
+ "length": 20,
1320
+ "start": 9460
1321
+ },
1322
+ {
1323
+ "length": 20,
1324
+ "start": 9576
1325
+ },
1326
+ {
1327
+ "length": 20,
1328
+ "start": 11329
1329
+ },
1330
+ {
1331
+ "length": 20,
1332
+ "start": 11448
1333
+ }
1334
+ ]
1335
+ },
1336
+ "contracts/types/Version.sol": {
1337
+ "VersionLib": [
1338
+ {
1339
+ "length": 20,
1340
+ "start": 1487
1341
+ },
1342
+ {
1343
+ "length": 20,
1344
+ "start": 4847
1345
+ },
1346
+ {
1347
+ "length": 20,
1348
+ "start": 15631
1349
+ }
1350
+ ],
1351
+ "VersionPartLib": [
1352
+ {
1353
+ "length": 20,
1354
+ "start": 10892
1355
+ }
1356
+ ]
1357
+ }
1358
+ },
1359
+ "deployedLinkReferences": {
1360
+ "contracts/types/DistributorType.sol": {
1361
+ "DistributorTypeLib": [
1362
+ {
1363
+ "length": 20,
1364
+ "start": 4200
1365
+ }
1366
+ ]
1367
+ },
1368
+ "contracts/types/NftId.sol": {
1369
+ "NftIdLib": [
1370
+ {
1371
+ "length": 20,
1372
+ "start": 1821
1373
+ },
1374
+ {
1375
+ "length": 20,
1376
+ "start": 2594
1377
+ },
1378
+ {
1379
+ "length": 20,
1380
+ "start": 8023
1381
+ }
1382
+ ]
1383
+ },
1384
+ "contracts/types/Referral.sol": {
1385
+ "ReferralLib": [
1386
+ {
1387
+ "length": 20,
1388
+ "start": 10023
1389
+ },
1390
+ {
1391
+ "length": 20,
1392
+ "start": 11792
1393
+ }
1394
+ ]
1395
+ },
1396
+ "contracts/types/RoleId.sol": {
1397
+ "RoleIdLib": [
1398
+ {
1399
+ "length": 20,
1400
+ "start": 14021
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 14895
1405
+ }
1406
+ ]
1407
+ },
1408
+ "contracts/types/Timestamp.sol": {
1409
+ "TimestampLib": [
1410
+ {
1411
+ "length": 20,
1412
+ "start": 2738
1413
+ },
1414
+ {
1415
+ "length": 20,
1416
+ "start": 2872
1417
+ },
1418
+ {
1419
+ "length": 20,
1420
+ "start": 2978
1421
+ },
1422
+ {
1423
+ "length": 20,
1424
+ "start": 8363
1425
+ },
1426
+ {
1427
+ "length": 20,
1428
+ "start": 9487
1429
+ },
1430
+ {
1431
+ "length": 20,
1432
+ "start": 9623
1433
+ },
1434
+ {
1435
+ "length": 20,
1436
+ "start": 9745
1437
+ },
1438
+ {
1439
+ "length": 20,
1440
+ "start": 9888
1441
+ }
1442
+ ]
1443
+ },
1444
+ "contracts/types/UFixed.sol": {
1445
+ "UFixedLib": [
1446
+ {
1447
+ "length": 20,
1448
+ "start": 3568
1449
+ },
1450
+ {
1451
+ "length": 20,
1452
+ "start": 3704
1453
+ },
1454
+ {
1455
+ "length": 20,
1456
+ "start": 3830
1457
+ },
1458
+ {
1459
+ "length": 20,
1460
+ "start": 3951
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 4067
1465
+ },
1466
+ {
1467
+ "length": 20,
1468
+ "start": 8946
1469
+ },
1470
+ {
1471
+ "length": 20,
1472
+ "start": 9062
1473
+ },
1474
+ {
1475
+ "length": 20,
1476
+ "start": 9230
1477
+ },
1478
+ {
1479
+ "length": 20,
1480
+ "start": 9346
1481
+ },
1482
+ {
1483
+ "length": 20,
1484
+ "start": 11099
1485
+ },
1486
+ {
1487
+ "length": 20,
1488
+ "start": 11218
1489
+ }
1490
+ ]
1491
+ },
1492
+ "contracts/types/Version.sol": {
1493
+ "VersionLib": [
1494
+ {
1495
+ "length": 20,
1496
+ "start": 1257
1497
+ },
1498
+ {
1499
+ "length": 20,
1500
+ "start": 4617
1501
+ },
1502
+ {
1503
+ "length": 20,
1504
+ "start": 15401
1505
+ }
1506
+ ],
1507
+ "VersionPartLib": [
1508
+ {
1509
+ "length": 20,
1510
+ "start": 10662
1511
+ }
1512
+ ]
1513
+ }
1514
+ }
1515
+ }