@etherisc/gif-next 0.0.2-d5522f6-712 → 0.0.2-d5fac82-078

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