@etherisc/gif-next 0.0.2-bfb44e0-483 → 0.0.2-c00cf5d-513

Sign up to get free protection for your applications and to get access to all the features.
Files changed (506) hide show
  1. package/README.md +8 -84
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +206 -244
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1583 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +855 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +206 -156
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +380 -196
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +277 -1998
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +172 -230
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +389 -2735
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +692 -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 +443 -255
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +217 -479
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +246 -129
  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 +25 -150
  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 +273 -336
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +386 -185
  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/{components → pool}/Pool.sol/Pool.json +363 -303
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1649 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +783 -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 → product}/IApplicationService.sol/IApplicationService.json +109 -254
  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 +174 -307
  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} +235 -237
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +212 -164
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +67 -174
  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/{components → product}/Product.sol/Product.json +166 -239
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +891 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +715 -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 +123 -19
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +212 -240
  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 +146 -34
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +292 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +245 -314
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +240 -123
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +597 -86
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +44 -92
  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 +1806 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  133. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  134. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +146 -151
  135. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  136. package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +118 -222
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  139. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  140. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  141. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  143. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  144. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +190 -74
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +4 -43
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +4 -43
  151. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -34
  153. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IService.sol/IService.json +66 -173
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
  157. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -91
  159. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  160. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -47
  161. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  162. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +226 -95
  163. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  164. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +32 -89
  165. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  166. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -36
  167. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Service.sol/Service.json +92 -212
  169. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  170. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  171. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  173. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -150
  175. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  176. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  177. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  178. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  179. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  181. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  183. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  185. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  186. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  187. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  189. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  190. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  191. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  192. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  193. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  195. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  197. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  198. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  199. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  201. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  203. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  205. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  207. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  209. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  210. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  211. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  212. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  213. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  215. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  217. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  219. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  220. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  221. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  223. package/contracts/{components → distribution}/Distribution.sol +47 -60
  224. package/contracts/distribution/DistributionService.sol +351 -0
  225. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  226. package/contracts/{components → distribution}/IDistributionComponent.sol +8 -37
  227. package/contracts/distribution/IDistributionService.sol +87 -0
  228. package/contracts/instance/BundleManager.sol +15 -14
  229. package/contracts/instance/IInstance.sol +52 -59
  230. package/contracts/instance/IInstanceService.sol +32 -19
  231. package/contracts/instance/Instance.sol +138 -185
  232. package/contracts/instance/InstanceAdmin.sol +330 -0
  233. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  234. package/contracts/instance/InstanceReader.sol +101 -26
  235. package/contracts/instance/InstanceService.sol +173 -307
  236. package/contracts/instance/InstanceServiceManager.sol +12 -22
  237. package/contracts/instance/InstanceStore.sol +211 -0
  238. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  239. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  240. package/contracts/instance/base/ILifecycle.sol +3 -3
  241. package/contracts/instance/base/KeyValueStore.sol +44 -47
  242. package/contracts/instance/base/Lifecycle.sol +28 -7
  243. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
  244. package/contracts/instance/module/IAccess.sol +19 -20
  245. package/contracts/instance/module/IBundle.sol +11 -8
  246. package/contracts/instance/module/IComponents.sol +41 -0
  247. package/contracts/instance/module/IDistribution.sol +7 -4
  248. package/contracts/instance/module/IPolicy.sol +50 -17
  249. package/contracts/instance/module/IRisk.sol +1 -1
  250. package/contracts/instance/module/ISetup.sol +9 -23
  251. package/contracts/instance/module/ITreasury.sol +2 -2
  252. package/contracts/pool/BundleService.sol +384 -0
  253. package/contracts/pool/BundleServiceManager.sol +42 -0
  254. package/contracts/pool/IBundleService.sol +118 -0
  255. package/contracts/pool/IPoolComponent.sol +114 -0
  256. package/contracts/pool/IPoolService.sol +114 -0
  257. package/contracts/pool/Pool.sol +302 -0
  258. package/contracts/pool/PoolService.sol +404 -0
  259. package/contracts/pool/PoolServiceManager.sol +42 -0
  260. package/contracts/product/ApplicationService.sol +187 -0
  261. package/contracts/product/ApplicationServiceManager.sol +38 -0
  262. package/contracts/product/ClaimService.sol +443 -0
  263. package/contracts/product/ClaimServiceManager.sol +38 -0
  264. package/contracts/{instance/service → product}/IApplicationService.sol +16 -36
  265. package/contracts/product/IClaimService.sol +93 -0
  266. package/contracts/product/IPolicyService.sol +80 -0
  267. package/contracts/product/IPricingService.sol +37 -0
  268. package/contracts/{components → product}/IProductComponent.sol +13 -11
  269. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  270. package/contracts/product/PolicyService.sol +378 -0
  271. package/contracts/product/PolicyServiceManager.sol +42 -0
  272. package/contracts/product/PricingService.sol +276 -0
  273. package/contracts/product/PricingServiceManager.sol +42 -0
  274. package/contracts/{components → product}/Product.sol +186 -85
  275. package/contracts/product/ProductService.sol +212 -0
  276. package/contracts/product/ProductServiceManager.sol +42 -0
  277. package/contracts/registry/ChainNft.sol +8 -0
  278. package/contracts/registry/IRegistry.sol +31 -17
  279. package/contracts/registry/IRegistryService.sol +32 -38
  280. package/contracts/registry/ITransferInterceptor.sol +1 -0
  281. package/contracts/registry/Registry.sol +70 -67
  282. package/contracts/registry/RegistryAdmin.sol +141 -0
  283. package/contracts/registry/RegistryService.sol +65 -94
  284. package/contracts/registry/RegistryServiceManager.sol +22 -24
  285. package/contracts/registry/ReleaseManager.sol +318 -188
  286. package/contracts/registry/TokenRegistry.sol +19 -14
  287. package/contracts/shared/AccessManagerCustom.sol +736 -0
  288. package/contracts/shared/AccessManagerExtended.sol +469 -0
  289. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  290. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  291. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  292. package/contracts/{components → shared}/Component.sol +121 -86
  293. package/contracts/shared/ComponentService.sol +142 -0
  294. package/contracts/shared/ERC165.sol +2 -1
  295. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  296. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  297. package/contracts/shared/IComponent.sol +90 -0
  298. package/contracts/shared/INftOwnable.sol +5 -10
  299. package/contracts/shared/IPolicyHolder.sol +24 -10
  300. package/contracts/shared/IRegistryLinked.sol +0 -4
  301. package/contracts/shared/IService.sol +6 -4
  302. package/contracts/shared/IVersionable.sol +5 -48
  303. package/contracts/shared/NftOwnable.sol +20 -93
  304. package/contracts/shared/PolicyHolder.sol +31 -18
  305. package/contracts/shared/ProxyManager.sol +129 -24
  306. package/contracts/shared/Registerable.sol +14 -20
  307. package/contracts/shared/RegistryLinked.sol +5 -26
  308. package/contracts/shared/Service.sol +30 -18
  309. package/contracts/shared/TokenHandler.sol +14 -6
  310. package/contracts/shared/Versionable.sol +1 -90
  311. package/contracts/staking/IStakingService.sol +102 -0
  312. package/contracts/staking/StakingService.sol +169 -0
  313. package/contracts/staking/StakingServiceManager.sol +40 -0
  314. package/contracts/type/Amount.sol +109 -0
  315. package/contracts/{types → type}/Blocknumber.sol +1 -0
  316. package/contracts/type/ClaimId.sol +75 -0
  317. package/contracts/{types → type}/Fee.sol +17 -8
  318. package/contracts/{types → type}/NftId.sol +8 -0
  319. package/contracts/{types → type}/NftIdSet.sol +1 -1
  320. package/contracts/{types → type}/ObjectType.sol +13 -7
  321. package/contracts/type/PayoutId.sol +82 -0
  322. package/contracts/{types → type}/Referral.sol +4 -0
  323. package/contracts/{types → type}/RoleId.sol +62 -13
  324. package/contracts/type/Seconds.sol +54 -0
  325. package/contracts/{types → type}/StateId.sol +7 -2
  326. package/contracts/{types → type}/Timestamp.sol +18 -13
  327. package/contracts/{types → type}/UFixed.sol +1 -0
  328. package/contracts/{types → type}/Version.sol +1 -0
  329. package/package.json +1 -1
  330. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  331. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  332. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  333. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  334. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  335. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  336. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  337. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  340. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  342. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  344. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  346. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  348. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  350. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  352. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  354. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  356. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  358. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  360. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  361. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  362. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  363. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  364. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  365. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  366. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  367. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  368. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  370. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  372. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  374. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  376. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  378. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  379. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  380. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  381. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  383. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  384. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  385. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1117
  386. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  387. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1318
  388. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  389. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -586
  390. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  391. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1176
  392. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  393. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -602
  394. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  395. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  396. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  397. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  398. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  399. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  400. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1378
  402. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -642
  404. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  405. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -957
  406. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  407. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -574
  408. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  409. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1007
  410. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -574
  412. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  413. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  414. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  415. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  416. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  417. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  418. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  419. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -446
  420. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  421. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  422. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  423. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -759
  424. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  425. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  426. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  427. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  428. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  429. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  430. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  431. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  432. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  433. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  434. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  435. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  436. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  437. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  439. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  440. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  441. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  442. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  443. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  444. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  445. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  446. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  447. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  448. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  449. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  450. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  451. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  452. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  453. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  455. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  456. package/contracts/components/IComponent.sol +0 -50
  457. package/contracts/components/IPoolComponent.sol +0 -87
  458. package/contracts/components/Pool.sol +0 -254
  459. package/contracts/experiment/cloning/Cloner.sol +0 -47
  460. package/contracts/experiment/errors/Require.sol +0 -38
  461. package/contracts/experiment/errors/Revert.sol +0 -44
  462. package/contracts/experiment/inheritance/A.sol +0 -53
  463. package/contracts/experiment/inheritance/B.sol +0 -28
  464. package/contracts/experiment/inheritance/C.sol +0 -34
  465. package/contracts/experiment/inheritance/IA.sol +0 -13
  466. package/contracts/experiment/inheritance/IB.sol +0 -10
  467. package/contracts/experiment/inheritance/IC.sol +0 -12
  468. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  469. package/contracts/experiment/statemachine/ISM.sol +0 -25
  470. package/contracts/experiment/statemachine/SM.sol +0 -57
  471. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  472. package/contracts/experiment/types/TypeA.sol +0 -47
  473. package/contracts/experiment/types/TypeB.sol +0 -29
  474. package/contracts/instance/InstanceAccessManager.sol +0 -297
  475. package/contracts/instance/base/ComponentService.sol +0 -134
  476. package/contracts/instance/service/ApplicationService.sol +0 -268
  477. package/contracts/instance/service/BundleService.sol +0 -298
  478. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  479. package/contracts/instance/service/DistributionService.sol +0 -274
  480. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  481. package/contracts/instance/service/IBundleService.sol +0 -54
  482. package/contracts/instance/service/IDistributionService.sol +0 -65
  483. package/contracts/instance/service/IPolicyService.sol +0 -88
  484. package/contracts/instance/service/IPoolService.sol +0 -20
  485. package/contracts/instance/service/PolicyService.sol +0 -524
  486. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  487. package/contracts/instance/service/PoolService.sol +0 -109
  488. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  489. package/contracts/instance/service/ProductService.sol +0 -233
  490. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  491. package/contracts/registry/RegistryAccessManager.sol +0 -216
  492. package/contracts/shared/ContractDeployerLib.sol +0 -72
  493. package/contracts/test/TestFee.sol +0 -25
  494. package/contracts/test/TestRegisterable.sol +0 -18
  495. package/contracts/test/TestRoleId.sol +0 -14
  496. package/contracts/test/TestService.sol +0 -25
  497. package/contracts/test/TestToken.sol +0 -26
  498. package/contracts/test/TestVersion.sol +0 -44
  499. package/contracts/test/TestVersionable.sol +0 -17
  500. package/contracts/test/Usdc.sol +0 -26
  501. package/contracts/types/ChainId.sol +0 -38
  502. package/contracts/types/NumberId.sol +0 -52
  503. /package/contracts/{types → type}/AddressSet.sol +0 -0
  504. /package/contracts/{types → type}/DistributorType.sol +0 -0
  505. /package/contracts/{types → type}/Key32.sol +0 -0
  506. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,1583 @@
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": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6159b680620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635dcb3bae1161010f57806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f14610476578063caf4e3d41461047e578063cc9fc59a14610486578063f7c34ee01461048e57600080fd5b806392e5fab61461042c578063ada9652e1461043f578063b68d180914610454578063b6b412ba1461046357600080fd5b8063893d20e8116100de578063893d20e8146103dd5780638dd2b781146103e55780638e32e979146103f85780638fb360371461040b57600080fd5b80635dcb3bae14610386578063644c45e014610399578063675393bf146103b75780637a9e5e4b146103ca57600080fd5b806327bb7a331161018757806340be23761161015657806340be2376146103105780634420e4861461033b57806349bb9e4b1461034e5780635ab1bd531461036157600080fd5b806327bb7a33146102c25780632b5198b1146102d5578063329d6e74146102f557806336fc697e1461030857600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c57806325d07384146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f83660046143d3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102346104a1565b60405162ffffff9091168152602001610223565b61025061052b565b604051610223919061444d565b61026561064c565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa3660046143d3565b610658565b6102176102bd36600461450e565b610685565b6102656102d03660046146f9565b6109b8565b6102e86102e33660046147a3565b610a5d565b604051610223919061486f565b610265610303366004614884565b610f8e565b6102656110db565b61032361031e3660046148b8565b611121565b6040516001600160601b039091168152602001610223565b6103236103493660046148b8565b61116f565b61026561035c3660046148d5565b61166c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b610323610394366004614924565b61176b565b600080516020615921833981519152546001600160601b0316610323565b6102656103c53660046148b8565b6119ef565b6102656103d83660046148b8565b611afc565b61036e611b7f565b6102e86103f3366004614998565b611cb6565b610265610406366004614a32565b612522565b61041361275b565b6040516001600160e01b03199091168152602001610223565b61026561043a366004614a7d565b612793565b61028e60008051602061592183398151915281565b60405160788152602001610223565b610265610471366004614bc1565b612f4e565b61036e613236565b61036e613252565b61036e61325e565b61026561049c366004614bed565b61326a565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190614c1b565b905090565b610533614395565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016105a8611b7f565b6001600160a01b031681526020018260010180546105c590614c40565b80601f01602080910402602001604051908101604052809291908181526020018280546105f190614c40565b801561063e5780601f106106135761010080835404028352916020019161063e565b820191906000526020600020905b81548152906001019060200180831161062157829003601f168201915b505050505081525091505090565b610655306132e1565b50565b6106606134e2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000806106918461351b565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f79190614c7a565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b8152600401610722919061486f565b600060405180830381865afa15801561073f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107679190810190614cfd565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156107c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e99190614de6565b156107f9576000925050506109b2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610855573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108799190614de6565b8061098b575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156108db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ff9190614de6565b801561098b575061098b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610952573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109769190614e03565b8260a0015164ffffffffff9081169116111590565b92508280156109ad5750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6109c06134e2565b6109ca828761326a565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610a538382614e66565b5050505050505050565b60008080610a6b6078613644565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190614c7a565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015610b24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b489190614f60565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__9063771602f790604401602060405180830381865af4158015610bac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd09190615001565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__9063b67d77c590604401602060405180830381865af4158015610c34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c589190615001565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$bf7bc340cbb9229ef1de2c568356e67902$__906321e5749b90604401602060405180830381865af4158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190614de6565b15610dea57604051632255341b60e11b8152600481018e905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015610d2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4f9190615001565b604051632255341b60e11b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015610d9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc39190615001565b60405163e2ed03dd60e01b8152600481019290925260248201526044015b60405180910390fd5b50505073__$1919c6d2c69d787ccb2653a371d7e5737d$__63578c3039838e6040518363ffffffff1660e01b8152600401610e2692919061501a565b602060405180830381865af4158015610e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e67919061503c565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1f9190614c7a565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b8152600401610f4c929190615059565b600060405180830381600087803b158015610f6657600080fd5b505af1158015610f7a573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610fb06104a1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190615131565b6000805160206159618339815191528054600160401b900460ff1680611047575080546001600160401b03808416911610155b156110655760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561108f836137e7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110e36134e2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600061112b611b7f565b6001600160a01b0316336001600160a01b03161461115e5760405163086391f760e31b8152336004820152602401610de1565b611167826132e1565b90505b919050565b6000808080806111888660786111836137ef565b613867565b9350935093509350600061119a613252565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156111ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112149190810190615159565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561125657600080fd5b505af115801561126a573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d79190614c7a565b6001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611325573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113499190614f60565b6040518363ffffffff1660e01b8152600401611366929190615263565b600060405180830381600087803b15801561138057600080fd5b505af1158015611394573d6000803e3d6000fd5b5060009250600291506113a49050565b6040519080825280602002602001820160405280156113d757816020015b60608152602001906001900390816113c25790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061140b5761140b615281565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061144a5761144a615281565b602002602001018190525063b6b412ba60e01b8160008151811061147057611470615281565b602002602001015160008151811061148a5761148a615281565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106114c1576114c1615281565b60200260200101516000815181106114db576114db615281565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905061151f6137ef565b8160008151811061153257611532615281565b60200260200101906001600160401b031690816001600160401b03168152505061155a613be9565b8160018151811061156d5761156d615281565b60200260200101906001600160401b031690816001600160401b03168152505061159561325e565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156115e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261160b9190810190615297565b86866040518663ffffffff1660e01b815260040161162d95949392919061530f565b600060405180830381600087803b15801561164757600080fd5b505af115801561165b573d6000803e3d6000fd5b505050505050505050505050919050565b6000805160206159618339815191528054600160401b810460ff1615906001600160401b031660008115801561169f5750825b90506000826001600160401b031660011480156116bb5750303b155b9050811580156116c9575080155b156116e75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561171157845460ff60401b1916600160401b1785555b61171b8787613c25565b831561176257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080806117796078613644565b9250509150611786613252565b6001600160a01b03166357a8fba76040518060e001604052806117a7600090565b6001600160601b03168152602001856001600160601b031681526020016117cc607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161182b919061444d565b6020604051808303816000875af115801561184a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186e91906153e3565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190991906153e3565b6001600160601b03168152602001600063ffffffff168152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611962573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119869190614c7a565b6001600160a01b0316637cca112485836040518363ffffffff1660e01b81526004016119b3929190615466565b600060405180830381600087803b1580156119cd57600080fd5b505af11580156119e1573d6000803e3d6000fd5b505050505050509392505050565b6119f76134e2565b806001600160a01b03163b600003611a2d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610de1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611aa7575060408051601f3d908101601f19168201909252611aa491810190614de6565b60015b611acf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610de1565b80611af85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610de1565b5050565b33611b05613236565b6001600160a01b0316816001600160a01b031614611b405760405162d1953b60e31b81526001600160a01b0382166004820152602401610de1565b816001600160a01b03163b600003611b76576040516361798f2f60e11b81526001600160a01b0383166004820152602401610de1565b611af882613d45565b60008060008051602061592183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c139190614de6565b15611ca0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9a9190614c7a565b91505090565b54600160601b90046001600160a01b0316919050565b60008080611cc46078613644565b92505091508751600003611ced5787604051634fad6a5360e11b8152600401610de19190615488565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611d43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d679190614de6565b15611d8e5760405163df85467b60e01b815264ffffffffff86166004820152602401610de1565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df29190614c7a565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e6d919081019061549b565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c690611ea090859060040161486f565b600060405180830381865afa158015611ebd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ee5919081019061555a565b90508863ffffffff16816080015163ffffffff161015611f26576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610de1565b60208101518a1015612042576020810151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611f88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fac9190615001565b604051632255341b60e11b8152600481018c905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611ffc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120209190615001565b6040516338a25a8b60e21b815260048101929092526024820152604401610de1565b60408101518a111561215e576040818101519051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af41580156120a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c89190615001565b604051632255341b60e11b8152600481018c905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213c9190615001565b604051631e1ea4f360e31b815260048101929092526024820152604401610de1565b8060a0015163ffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156121b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d69190614e03565b604051633682752160e21b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af415801561222d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122519190615001565b604051633682752160e21b815264ffffffffff8b16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af41580156122a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cb9190615001565b6122d59190615667565b11156123815760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235a9190615001565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610de1565b604051631f849e6b60e11b815273__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906123ba9088908f9060040161501a565b602060405180830381865af41580156123d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fb919061503c565b955060006040518060e001604052808e6001600160601b031681526020018d81526020018c81526020018b63ffffffff168152602001600063ffffffff1681526020018a64ffffffffff168152602001898152509050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561248f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b39190614c7a565b6001600160a01b031663ca0e7f0888836040518363ffffffff1660e01b81526004016124e09291906156f6565b600060405180830381600087803b1580156124fa57600080fd5b505af115801561250e573d6000803e3d6000fd5b505050505050505050509695505050505050565b61252a6134e2565b6125aa83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561256c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061259091906153e3565b603c600085604051806020016040528060008152506109b8565b6001600160a01b038216156125c7576125c282613da6565b612736565b60006125db6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561263b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061265f919061571b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156126a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c89190614c7a565b9050612734816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561270b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061272f9190614c7a565b613da6565b505b612746634a531f3360e01b610658565b61275663b68d180960e01b610658565b505050565b600080516020615941833981519152805460009190600160a01b900460ff16612785576000611c9a565b638fb3603760e01b91505090565b61279f33600036613db7565b604051637bc32ecf60e01b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf906127e3906001600160c01b031988169060040161486f565b602060405180830381865af4158015612800573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128249190614de6565b15905060006128338686610685565b9050818015612840575080155b1561287957604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610de1565b60006128848761351b565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ea9190614c7a565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561292c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129509190614c7a565b90506000826001600160a01b0316631d3be4778a6040518263ffffffff1660e01b8152600401612980919061486f565b600060405180830381865afa15801561299d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129c59190810190614cfd565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038516906327b1d79290602401600060405180830381865afa158015612a1b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a43919081019061549b565b604051639ad69c6760e01b81526001600160601b038d1660048201529091506000906001600160a01b03861690639ad69c679060240161010060405180830381865afa158015612a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612abb9190614f60565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968c61018001518d6101600151612aef9190615738565b6040518263ffffffff1660e01b8152600401612b0d91815260200190565b602060405180830381865af4158015612b2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4e91906153e3565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968d6101a001516040518263ffffffff1660e01b8152600401612b9091815260200190565b602060405180830381865af4158015612bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd191906153e3565b9050612be68b612be18484613ebd565b613f4b565b612c24578a612bf58383613ebd565b60405160016282bae560e01b031981526001600160601b03928316600482015291166024820152604401610de1565b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015612c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca09190614de6565b15612d995760405163046e44af60e11b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015612cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d219190615001565b8360a001818151612d329190615738565b9052506001600160a01b03861663f7b442d18f8560ff6040518463ffffffff1660e01b8152600401612d669392919061574b565b600060405180830381600087803b158015612d8057600080fd5b505af1158015612d94573d6000803e3d6000fd5b505050505b8915612f3e57600185608001818151612db2919061577b565b63ffffffff169052506001600160a01b0386166361105e0e8e8760ff6040518463ffffffff1660e01b8152600401612dec9392919061579f565b600060405180830381600087803b158015612e0657600080fd5b505af1158015612e1a573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$3bac17678db7ae928afa209f2f44deec9c$__92506330b8415f9150602401602060405180830381865af4158015612e76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9a9190614de6565b15612f3e57612ead846060015182613ebd565b6001600160601b0316606085015260808401805160019190612ed090839061577b565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03881691631e40b36391612f0b9190889060ff906004016157d7565b600060405180830381600087803b158015612f2557600080fd5b505af1158015612f39573d6000803e3d6000fd5b505050505b5050505050505050505050505050565b815181511015613068578151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612fab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fcf9190615001565b8151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015613022573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130469190615001565b604051631a9c6b0960e01b815260048101929092526024820152604401610de1565b6000806130756078613644565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130de9190614c7a565b604051639ad69c6760e01b81526001600160601b03851660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613132573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131569190614f60565b9050858160400181905250848160600181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131cc9190614c7a565b6001600160a01b031663f7b442d1858360ff6040518463ffffffff1660e01b81526004016131fc9392919061574b565b600060405180830381600087803b15801561321657600080fd5b505af115801561322a573d6000803e3d6000fd5b50505050505050505050565b600080516020615941833981519152546001600160a01b031690565b60006105266028613fd2565b60006105266046613fd2565b6132726134e2565b61327b816119ef565b6132836110db565b6001600160a01b0382166132aa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061592183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008060008051602061592183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613351573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133759190614de6565b156133a15780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610de1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156133f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134199190614de6565b6134415760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610de1565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015613495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134b991906153e3565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60008051602061596183398151915254600160401b900460ff1661351957604051631afcd79f60e31b815260040160405180910390fd5b565b6000806135306001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561357f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135a79190810190615159565b60200151905060006135c16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613610573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136389190810190615159565b60800151949350505050565b600061364e614395565b60006136626001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156136a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136cc91906153e3565b92506136d883856140df565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561371e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137429190614c7a565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa15801561378d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137b19190614de6565b156137e057608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401610de1565b9193909250565b6101e56134e2565b6040516368aebf7b60e01b81526002600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015613843573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190615131565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156138bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138df9190614de6565b613907576040516359bff0e360e11b81526001600160a01b0388166004820152602401610de1565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613947573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261396f9190810190615159565b905061398681604001518860ff9081169116141590565b156139c6576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401610de1565b60a08101516001600160a01b0385811690821614613a185760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401610de1565b81602001519250613a28836141e3565b93506000846001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a8e9190614c7a565b604051631517388760e21b81526001600160401b038a1660048201526001600160a01b03919091169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015613af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b1d9190615131565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03891660248201526044016040805180830381865afa158015613b6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b9391906157f9565b50905080613bdd57604051636af540d960e01b81526001600160601b03851660048201526001600160401b03891660248201526001600160a01b0387166044820152606401610de1565b50505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401613826565b6000805160206159618339815191528054600160401b810460ff1615906001600160401b0316600081158015613c585750825b90506000826001600160401b03166001148015613c745750303b155b905081158015613c82575080155b15613ca05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613cca57845460ff60401b1916600160401b1785555b60008087806020019051810190613ce19190615828565b9250509150613cf182828b612522565b613d01637d64c78b60e11b610658565b5050831561176257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611759565b60008051602061594183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613dae6134e2565b61065581614278565b600080516020615941833981519152600080613df2613dd4613236565b8730613de4600460008a8c61586a565b613ded91615894565b614289565b9150915081613eb55763ffffffff811615613e9257825460ff60a01b1916600160a01b178355613e20613236565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401613e4f939291906158c4565b600060405180830381600087803b158015613e6957600080fd5b505af1158015613e7d573d6000803e3d6000fd5b5050845460ff60a01b1916855550613eb59050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610de1565b505050505050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015613f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f4491906153e3565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015613fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f449190614de6565b6000613fe66001546001600160a01b031690565b6001600160a01b031663d39e604383613ffd6104a1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015614052573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614076919061571b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156140bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111679190614c7a565b6140e7614395565b60006140fb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561414a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526141729190810190615159565b915061418982604001518460ff9081169116141590565b156141cd57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401610de1565b6141da82602001516141e3565b90509250929050565b60006141f76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614246573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261426e9190810190615159565b6080015192915050565b6142806134e2565b61065581613d45565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516142f89190615904565b600060405180830381855afa9150503d8060008114614333576040519150601f19603f3d011682016040523d82523d6000602084013e614338565b606091505b5091509150811561438a57604081511061436a578080602001905181019061436091906157f9565b909450925061438a565b602081511061438a57808060200190518101906143879190614de6565b93505b505094509492505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156143e557600080fd5b81356001600160e01b031981168114613f4457600080fd5b60005b83811015614418578181015183820152602001614400565b50506000910152565b600081518084526144398160208601602086016143fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516144b660c08401826001600160a01b03169052565b5060c083015160e0808401526144d0610100840182614421565b949350505050565b6001600160601b038116811461065557600080fd5b803561116a816144d8565b6001600160c01b03198116811461065557600080fd5b6000806040838503121561452157600080fd5b823561452c816144d8565b9150602083013561453c816144f8565b809150509250929050565b6001600160a01b038116811461065557600080fd5b60ff8116811461065557600080fd5b801515811461065557600080fd5b803561116a8161456b565b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b03811182821017156145bd576145bd614584565b60405290565b604080519081016001600160401b03811182821017156145bd576145bd614584565b60405160e081016001600160401b03811182821017156145bd576145bd614584565b60405160a081016001600160401b03811182821017156145bd576145bd614584565b60405161012081016001600160401b03811182821017156145bd576145bd614584565b604051601f8201601f191681016001600160401b038111828210171561467457614674614584565b604052919050565b60006001600160401b0382111561469557614695614584565b50601f01601f191660200190565b600082601f8301126146b457600080fd5b81356146c76146c28261467c565b61464c565b8181528460208386010111156146dc57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561471257600080fd5b863561471d81614547565b9550602087013561472d816144d8565b9450604087013561473d8161455c565b9350606087013561474d8161456b565b9250608087013561475d81614547565b915060a08701356001600160401b0381111561477857600080fd5b61478489828a016146a3565b9150509295509295509295565b63ffffffff8116811461065557600080fd5b60008060008060008060008060006101208a8c0312156147c257600080fd5b89356001600160401b03808211156147d957600080fd5b6147e58d838e016146a3565b9a5060208c0135995060408c0135985060608c0135975060808c0135915061480c82614791565b90955060a08b01359061481e82614791565b81955061482d60c08d01614579565b945061483b60e08d01614579565b93506101008c013591508082111561485257600080fd5b5061485f8c828d016146a3565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561489657600080fd5b81356001600160401b038111156148ac57600080fd5b6144d0848285016146a3565b6000602082840312156148ca57600080fd5b8135613f4481614547565b600080604083850312156148e857600080fd5b82356148f381614547565b915060208301356001600160401b0381111561490e57600080fd5b61491a858286016146a3565b9150509250929050565b60008060006060848603121561493957600080fd5b833561494481614547565b92506020840135614954816144f8565b915060408401356001600160401b0381111561496f57600080fd5b61497b868287016146a3565b9150509250925092565b64ffffffffff8116811461065557600080fd5b60008060008060008060c087890312156149b157600080fd5b86356149bc816144d8565b955060208701356001600160401b03808211156149d857600080fd5b6149e48a838b016146a3565b965060408901359550606089013591506149fd82614791565b909350608088013590614a0f82614985565b90925060a08801359080821115614a2557600080fd5b5061478489828a016146a3565b600080600060608486031215614a4757600080fd5b8335614a5281614547565b92506020840135614a6281614547565b91506040840135614a7281614547565b809150509250925092565b600080600080848603610240811215614a9557600080fd5b8535614aa0816144d8565b94506020860135614ab0816144f8565b93506101e0603f198201811315614ac657600080fd5b614ace61459a565b915060408701358252606087013560208301526080870135604083015260a0870135606083015260c0870135608083015260e087013560a08301526101008088013560c08401526101208089013560e0850152610140808a0135838601526101609250828a0135828601526101809150818a013581860152506101a0808a0135838601526101c09250828a013582860152838a013581860152505061020088013581840152505080925050614b8661022086016144ed565b905092959194509250565b600060408284031215614ba357600080fd5b614bab6145c3565b9050813581526020820135602082015292915050565b60008060808385031215614bd457600080fd5b614bde8484614b91565b91506141da8460408501614b91565b60008060408385031215614c0057600080fd5b8235614c0b81614547565b9150602083013561453c81614547565b600060208284031215614c2d57600080fd5b815162ffffff81168114613f4457600080fd5b600181811c90821680614c5457607f821691505b602082108103614c7457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614c8c57600080fd5b8151613f4481614547565b805161116a816144d8565b600082601f830112614cb357600080fd5b8151614cc16146c28261467c565b818152846020838601011115614cd657600080fd5b6144d08260208301602087016143fd565b805161116a81614791565b805161116a81614985565b600060208284031215614d0f57600080fd5b81516001600160401b0380821115614d2657600080fd5b9083019060e08286031215614d3a57600080fd5b614d426145e5565b614d4b83614c97565b8152602083015182811115614d5f57600080fd5b614d6b87828601614ca2565b60208301525060408301516040820152614d8760608401614ce7565b6060820152614d9860808401614ce7565b6080820152614da960a08401614cf2565b60a082015260c083015182811115614dc057600080fd5b614dcc87828601614ca2565b60c08301525095945050505050565b805161116a8161456b565b600060208284031215614df857600080fd5b8151613f448161456b565b600060208284031215614e1557600080fd5b8151613f4481614985565b601f82111561275657600081815260208120601f850160051c81016020861015614e475750805b601f850160051c820191505b81811015613eb557828155600101614e53565b81516001600160401b03811115614e7f57614e7f614584565b614e9381614e8d8454614c40565b84614e20565b602080601f831160018114614ec85760008415614eb05750858301515b600019600386901b1c1916600185901b178555613eb5565b600085815260208120601f198616915b82811015614ef757888601518255948401946001909101908401614ed8565b5085821015614f155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060408284031215614f3757600080fd5b614f3f6145c3565b9050815181526020820151602082015292915050565b805161116a81614547565b60006101008284031215614f7357600080fd5b60405160c081018181106001600160401b0382111715614f9557614f95614584565b6040528251614fa3816144d8565b81526020830151614fb381614547565b6020820152614fc58460408501614f25565b6040820152614fd78460808501614f25565b606082015260c0830151614fea81614547565b608082015260e0929092015160a083015250919050565b60006020828403121561501357600080fd5b5051919050565b6001600160601b03831681526040602082015260006144d06040830184614421565b60006020828403121561504e57600080fd5b8151613f44816144f8565b6001600160401b0360c01b83168152604060208201526000825161012080604085015261508a610160850183614421565b91506020850151606085015260408501516080850152606085015160a085015260808501516150c160c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006150e98187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526151128282614421565b9695505050505050565b6001600160401b038116811461065557600080fd5b60006020828403121561514357600080fd5b8151613f448161511c565b805161116a8161455c565b60006020828403121561516b57600080fd5b81516001600160401b038082111561518257600080fd5b9083019060e0828603121561519657600080fd5b61519e6145e5565b6151a783614c97565b81526151b560208401614c97565b60208201526151c66040840161514e565b60408201526151d760608401614ddb565b60608201526151e860808401614f55565b6080820152614da960a08401614f55565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b03831681526101208101613f4460208301846151f9565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156152a957600080fd5b81516001600160401b038111156152bf57600080fd5b6144d084828501614ca2565b600081518084526020808501945080840160005b838110156153045781516001600160401b0316875295820195908201906001016152df565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015261534060a0840187614421565b8381036060850152855180825282820190600581901b830184018489016000805b848110156153be57868403601f19018652825180518086529089019089860190845b818110156153a95783516001600160e01b0319168352928b0192918b0191600101615383565b50509689019694505091870191600101615361565b50505086810360808801526153d381896152cb565b9c9b505050505050505050505050565b6000602082840312156153f557600080fd5b8151613f44816144d8565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261543760a0850182614421565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b03831681526040602082015260006144d06040830184615400565b602081526000613f446020830184614421565b6000602082840312156154ad57600080fd5b81516001600160401b03808211156154c457600080fd5b9083019060a082860312156154d857600080fd5b6154e0614607565b82516154eb816144f8565b815260208301516154fb8161456b565b602082015260408301518281111561551257600080fd5b61551e87828601614ca2565b60408301525060608301519150615534826144d8565b8160608201526080830151925061554a83614791565b6080810192909252509392505050565b60006020828403121561556c57600080fd5b81516001600160401b038082111561558357600080fd5b90830190610120828603121561559857600080fd5b6155a0614629565b8251828111156155af57600080fd5b6155bb87828601614ca2565b8252506020830151602082015260408301516040820152606083015160608201526155e860808401614ce7565b60808201526155f960a08401614ce7565b60a082015261560a60c08401614ddb565b60c082015261561b60e08401614ddb565b60e0820152610100808401518381111561563457600080fd5b61564088828701614ca2565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156109b2576109b2615651565b6001600160601b0381511682526000602082015160e060208501526156a260e0850182614421565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526109ad8282614421565b6001600160401b0360c01b831681526040602082015260006144d0604083018461567a565b60006020828403121561572d57600080fd5b8151613f448161455c565b808201808211156109b2576109b2615651565b6001600160601b0384168152610140810161576960208301856151f9565b60ff8316610120830152949350505050565b63ffffffff81811683821601908082111561579857615798615651565b5092915050565b6001600160401b0360c01b841681526060602082015260006157c4606083018561567a565b905060ff83166040830152949350505050565b6001600160601b03841681526060602082015260006157c46060830185615400565b6000806040838503121561580c57600080fd5b82516158178161456b565b602084015190925061453c81614791565b60008060006060848603121561583d57600080fd5b835161584881614547565b602085015190935061585981614547565b6040850151909250614a7281614547565b6000808585111561587a57600080fd5b8386111561588757600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156158bc5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516159168184602087016143fd565b919091019291505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209a6e32614e6d88fa94a17e9a958d83a4c1951d2553e40f29c703b3b24a871fcb64736f6c63430008140033",
1190
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635dcb3bae1161010f57806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f14610476578063caf4e3d41461047e578063cc9fc59a14610486578063f7c34ee01461048e57600080fd5b806392e5fab61461042c578063ada9652e1461043f578063b68d180914610454578063b6b412ba1461046357600080fd5b8063893d20e8116100de578063893d20e8146103dd5780638dd2b781146103e55780638e32e979146103f85780638fb360371461040b57600080fd5b80635dcb3bae14610386578063644c45e014610399578063675393bf146103b75780637a9e5e4b146103ca57600080fd5b806327bb7a331161018757806340be23761161015657806340be2376146103105780634420e4861461033b57806349bb9e4b1461034e5780635ab1bd531461036157600080fd5b806327bb7a33146102c25780632b5198b1146102d5578063329d6e74146102f557806336fc697e1461030857600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c57806325d07384146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f83660046143d3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102346104a1565b60405162ffffff9091168152602001610223565b61025061052b565b604051610223919061444d565b61026561064c565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa3660046143d3565b610658565b6102176102bd36600461450e565b610685565b6102656102d03660046146f9565b6109b8565b6102e86102e33660046147a3565b610a5d565b604051610223919061486f565b610265610303366004614884565b610f8e565b6102656110db565b61032361031e3660046148b8565b611121565b6040516001600160601b039091168152602001610223565b6103236103493660046148b8565b61116f565b61026561035c3660046148d5565b61166c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b610323610394366004614924565b61176b565b600080516020615921833981519152546001600160601b0316610323565b6102656103c53660046148b8565b6119ef565b6102656103d83660046148b8565b611afc565b61036e611b7f565b6102e86103f3366004614998565b611cb6565b610265610406366004614a32565b612522565b61041361275b565b6040516001600160e01b03199091168152602001610223565b61026561043a366004614a7d565b612793565b61028e60008051602061592183398151915281565b60405160788152602001610223565b610265610471366004614bc1565b612f4e565b61036e613236565b61036e613252565b61036e61325e565b61026561049c366004614bed565b61326a565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190614c1b565b905090565b610533614395565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016105a8611b7f565b6001600160a01b031681526020018260010180546105c590614c40565b80601f01602080910402602001604051908101604052809291908181526020018280546105f190614c40565b801561063e5780601f106106135761010080835404028352916020019161063e565b820191906000526020600020905b81548152906001019060200180831161062157829003601f168201915b505050505081525091505090565b610655306132e1565b50565b6106606134e2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000806106918461351b565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f79190614c7a565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b8152600401610722919061486f565b600060405180830381865afa15801561073f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107679190810190614cfd565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156107c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e99190614de6565b156107f9576000925050506109b2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610855573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108799190614de6565b8061098b575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156108db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ff9190614de6565b801561098b575061098b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610952573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109769190614e03565b8260a0015164ffffffffff9081169116111590565b92508280156109ad5750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6109c06134e2565b6109ca828761326a565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610a538382614e66565b5050505050505050565b60008080610a6b6078613644565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190614c7a565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015610b24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b489190614f60565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__9063771602f790604401602060405180830381865af4158015610bac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd09190615001565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__9063b67d77c590604401602060405180830381865af4158015610c34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c589190615001565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$bf7bc340cbb9229ef1de2c568356e67902$__906321e5749b90604401602060405180830381865af4158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190614de6565b15610dea57604051632255341b60e11b8152600481018e905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015610d2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4f9190615001565b604051632255341b60e11b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015610d9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc39190615001565b60405163e2ed03dd60e01b8152600481019290925260248201526044015b60405180910390fd5b50505073__$1919c6d2c69d787ccb2653a371d7e5737d$__63578c3039838e6040518363ffffffff1660e01b8152600401610e2692919061501a565b602060405180830381865af4158015610e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e67919061503c565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1f9190614c7a565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b8152600401610f4c929190615059565b600060405180830381600087803b158015610f6657600080fd5b505af1158015610f7a573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610fb06104a1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190615131565b6000805160206159618339815191528054600160401b900460ff1680611047575080546001600160401b03808416911610155b156110655760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561108f836137e7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110e36134e2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600061112b611b7f565b6001600160a01b0316336001600160a01b03161461115e5760405163086391f760e31b8152336004820152602401610de1565b611167826132e1565b90505b919050565b6000808080806111888660786111836137ef565b613867565b9350935093509350600061119a613252565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156111ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112149190810190615159565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561125657600080fd5b505af115801561126a573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d79190614c7a565b6001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611325573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113499190614f60565b6040518363ffffffff1660e01b8152600401611366929190615263565b600060405180830381600087803b15801561138057600080fd5b505af1158015611394573d6000803e3d6000fd5b5060009250600291506113a49050565b6040519080825280602002602001820160405280156113d757816020015b60608152602001906001900390816113c25790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061140b5761140b615281565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061144a5761144a615281565b602002602001018190525063b6b412ba60e01b8160008151811061147057611470615281565b602002602001015160008151811061148a5761148a615281565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106114c1576114c1615281565b60200260200101516000815181106114db576114db615281565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905061151f6137ef565b8160008151811061153257611532615281565b60200260200101906001600160401b031690816001600160401b03168152505061155a613be9565b8160018151811061156d5761156d615281565b60200260200101906001600160401b031690816001600160401b03168152505061159561325e565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156115e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261160b9190810190615297565b86866040518663ffffffff1660e01b815260040161162d95949392919061530f565b600060405180830381600087803b15801561164757600080fd5b505af115801561165b573d6000803e3d6000fd5b505050505050505050505050919050565b6000805160206159618339815191528054600160401b810460ff1615906001600160401b031660008115801561169f5750825b90506000826001600160401b031660011480156116bb5750303b155b9050811580156116c9575080155b156116e75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561171157845460ff60401b1916600160401b1785555b61171b8787613c25565b831561176257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080806117796078613644565b9250509150611786613252565b6001600160a01b03166357a8fba76040518060e001604052806117a7600090565b6001600160601b03168152602001856001600160601b031681526020016117cc607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161182b919061444d565b6020604051808303816000875af115801561184a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186e91906153e3565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190991906153e3565b6001600160601b03168152602001600063ffffffff168152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611962573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119869190614c7a565b6001600160a01b0316637cca112485836040518363ffffffff1660e01b81526004016119b3929190615466565b600060405180830381600087803b1580156119cd57600080fd5b505af11580156119e1573d6000803e3d6000fd5b505050505050509392505050565b6119f76134e2565b806001600160a01b03163b600003611a2d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610de1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611aa7575060408051601f3d908101601f19168201909252611aa491810190614de6565b60015b611acf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610de1565b80611af85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610de1565b5050565b33611b05613236565b6001600160a01b0316816001600160a01b031614611b405760405162d1953b60e31b81526001600160a01b0382166004820152602401610de1565b816001600160a01b03163b600003611b76576040516361798f2f60e11b81526001600160a01b0383166004820152602401610de1565b611af882613d45565b60008060008051602061592183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c139190614de6565b15611ca0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9a9190614c7a565b91505090565b54600160601b90046001600160a01b0316919050565b60008080611cc46078613644565b92505091508751600003611ced5787604051634fad6a5360e11b8152600401610de19190615488565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611d43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d679190614de6565b15611d8e5760405163df85467b60e01b815264ffffffffff86166004820152602401610de1565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df29190614c7a565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e6d919081019061549b565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c690611ea090859060040161486f565b600060405180830381865afa158015611ebd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ee5919081019061555a565b90508863ffffffff16816080015163ffffffff161015611f26576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610de1565b60208101518a1015612042576020810151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611f88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fac9190615001565b604051632255341b60e11b8152600481018c905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611ffc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120209190615001565b6040516338a25a8b60e21b815260048101929092526024820152604401610de1565b60408101518a111561215e576040818101519051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af41580156120a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c89190615001565b604051632255341b60e11b8152600481018c905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213c9190615001565b604051631e1ea4f360e31b815260048101929092526024820152604401610de1565b8060a0015163ffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156121b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d69190614e03565b604051633682752160e21b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af415801561222d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122519190615001565b604051633682752160e21b815264ffffffffff8b16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af41580156122a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cb9190615001565b6122d59190615667565b11156123815760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235a9190615001565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610de1565b604051631f849e6b60e11b815273__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906123ba9088908f9060040161501a565b602060405180830381865af41580156123d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fb919061503c565b955060006040518060e001604052808e6001600160601b031681526020018d81526020018c81526020018b63ffffffff168152602001600063ffffffff1681526020018a64ffffffffff168152602001898152509050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561248f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b39190614c7a565b6001600160a01b031663ca0e7f0888836040518363ffffffff1660e01b81526004016124e09291906156f6565b600060405180830381600087803b1580156124fa57600080fd5b505af115801561250e573d6000803e3d6000fd5b505050505050505050509695505050505050565b61252a6134e2565b6125aa83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561256c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061259091906153e3565b603c600085604051806020016040528060008152506109b8565b6001600160a01b038216156125c7576125c282613da6565b612736565b60006125db6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561263b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061265f919061571b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156126a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c89190614c7a565b9050612734816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561270b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061272f9190614c7a565b613da6565b505b612746634a531f3360e01b610658565b61275663b68d180960e01b610658565b505050565b600080516020615941833981519152805460009190600160a01b900460ff16612785576000611c9a565b638fb3603760e01b91505090565b61279f33600036613db7565b604051637bc32ecf60e01b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf906127e3906001600160c01b031988169060040161486f565b602060405180830381865af4158015612800573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128249190614de6565b15905060006128338686610685565b9050818015612840575080155b1561287957604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610de1565b60006128848761351b565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ea9190614c7a565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561292c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129509190614c7a565b90506000826001600160a01b0316631d3be4778a6040518263ffffffff1660e01b8152600401612980919061486f565b600060405180830381865afa15801561299d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129c59190810190614cfd565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038516906327b1d79290602401600060405180830381865afa158015612a1b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a43919081019061549b565b604051639ad69c6760e01b81526001600160601b038d1660048201529091506000906001600160a01b03861690639ad69c679060240161010060405180830381865afa158015612a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612abb9190614f60565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968c61018001518d6101600151612aef9190615738565b6040518263ffffffff1660e01b8152600401612b0d91815260200190565b602060405180830381865af4158015612b2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4e91906153e3565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968d6101a001516040518263ffffffff1660e01b8152600401612b9091815260200190565b602060405180830381865af4158015612bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd191906153e3565b9050612be68b612be18484613ebd565b613f4b565b612c24578a612bf58383613ebd565b60405160016282bae560e01b031981526001600160601b03928316600482015291166024820152604401610de1565b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015612c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca09190614de6565b15612d995760405163046e44af60e11b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015612cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d219190615001565b8360a001818151612d329190615738565b9052506001600160a01b03861663f7b442d18f8560ff6040518463ffffffff1660e01b8152600401612d669392919061574b565b600060405180830381600087803b158015612d8057600080fd5b505af1158015612d94573d6000803e3d6000fd5b505050505b8915612f3e57600185608001818151612db2919061577b565b63ffffffff169052506001600160a01b0386166361105e0e8e8760ff6040518463ffffffff1660e01b8152600401612dec9392919061579f565b600060405180830381600087803b158015612e0657600080fd5b505af1158015612e1a573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$3bac17678db7ae928afa209f2f44deec9c$__92506330b8415f9150602401602060405180830381865af4158015612e76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9a9190614de6565b15612f3e57612ead846060015182613ebd565b6001600160601b0316606085015260808401805160019190612ed090839061577b565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03881691631e40b36391612f0b9190889060ff906004016157d7565b600060405180830381600087803b158015612f2557600080fd5b505af1158015612f39573d6000803e3d6000fd5b505050505b5050505050505050505050505050565b815181511015613068578151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612fab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fcf9190615001565b8151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015613022573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130469190615001565b604051631a9c6b0960e01b815260048101929092526024820152604401610de1565b6000806130756078613644565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130de9190614c7a565b604051639ad69c6760e01b81526001600160601b03851660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613132573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131569190614f60565b9050858160400181905250848160600181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131cc9190614c7a565b6001600160a01b031663f7b442d1858360ff6040518463ffffffff1660e01b81526004016131fc9392919061574b565b600060405180830381600087803b15801561321657600080fd5b505af115801561322a573d6000803e3d6000fd5b50505050505050505050565b600080516020615941833981519152546001600160a01b031690565b60006105266028613fd2565b60006105266046613fd2565b6132726134e2565b61327b816119ef565b6132836110db565b6001600160a01b0382166132aa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061592183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008060008051602061592183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613351573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133759190614de6565b156133a15780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610de1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156133f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134199190614de6565b6134415760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610de1565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015613495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134b991906153e3565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60008051602061596183398151915254600160401b900460ff1661351957604051631afcd79f60e31b815260040160405180910390fd5b565b6000806135306001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561357f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135a79190810190615159565b60200151905060006135c16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613610573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136389190810190615159565b60800151949350505050565b600061364e614395565b60006136626001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156136a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136cc91906153e3565b92506136d883856140df565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561371e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137429190614c7a565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa15801561378d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137b19190614de6565b156137e057608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401610de1565b9193909250565b6101e56134e2565b6040516368aebf7b60e01b81526002600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015613843573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190615131565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156138bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138df9190614de6565b613907576040516359bff0e360e11b81526001600160a01b0388166004820152602401610de1565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613947573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261396f9190810190615159565b905061398681604001518860ff9081169116141590565b156139c6576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401610de1565b60a08101516001600160a01b0385811690821614613a185760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401610de1565b81602001519250613a28836141e3565b93506000846001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a8e9190614c7a565b604051631517388760e21b81526001600160401b038a1660048201526001600160a01b03919091169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015613af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b1d9190615131565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03891660248201526044016040805180830381865afa158015613b6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b9391906157f9565b50905080613bdd57604051636af540d960e01b81526001600160601b03851660048201526001600160401b03891660248201526001600160a01b0387166044820152606401610de1565b50505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401613826565b6000805160206159618339815191528054600160401b810460ff1615906001600160401b0316600081158015613c585750825b90506000826001600160401b03166001148015613c745750303b155b905081158015613c82575080155b15613ca05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613cca57845460ff60401b1916600160401b1785555b60008087806020019051810190613ce19190615828565b9250509150613cf182828b612522565b613d01637d64c78b60e11b610658565b5050831561176257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611759565b60008051602061594183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613dae6134e2565b61065581614278565b600080516020615941833981519152600080613df2613dd4613236565b8730613de4600460008a8c61586a565b613ded91615894565b614289565b9150915081613eb55763ffffffff811615613e9257825460ff60a01b1916600160a01b178355613e20613236565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401613e4f939291906158c4565b600060405180830381600087803b158015613e6957600080fd5b505af1158015613e7d573d6000803e3d6000fd5b5050845460ff60a01b1916855550613eb59050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610de1565b505050505050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015613f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f4491906153e3565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015613fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f449190614de6565b6000613fe66001546001600160a01b031690565b6001600160a01b031663d39e604383613ffd6104a1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015614052573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614076919061571b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156140bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111679190614c7a565b6140e7614395565b60006140fb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561414a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526141729190810190615159565b915061418982604001518460ff9081169116141590565b156141cd57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401610de1565b6141da82602001516141e3565b90509250929050565b60006141f76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614246573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261426e9190810190615159565b6080015192915050565b6142806134e2565b61065581613d45565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516142f89190615904565b600060405180830381855afa9150503d8060008114614333576040519150601f19603f3d011682016040523d82523d6000602084013e614338565b606091505b5091509150811561438a57604081511061436a578080602001905181019061436091906157f9565b909450925061438a565b602081511061438a57808060200190518101906143879190614de6565b93505b505094509492505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156143e557600080fd5b81356001600160e01b031981168114613f4457600080fd5b60005b83811015614418578181015183820152602001614400565b50506000910152565b600081518084526144398160208601602086016143fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516144b660c08401826001600160a01b03169052565b5060c083015160e0808401526144d0610100840182614421565b949350505050565b6001600160601b038116811461065557600080fd5b803561116a816144d8565b6001600160c01b03198116811461065557600080fd5b6000806040838503121561452157600080fd5b823561452c816144d8565b9150602083013561453c816144f8565b809150509250929050565b6001600160a01b038116811461065557600080fd5b60ff8116811461065557600080fd5b801515811461065557600080fd5b803561116a8161456b565b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b03811182821017156145bd576145bd614584565b60405290565b604080519081016001600160401b03811182821017156145bd576145bd614584565b60405160e081016001600160401b03811182821017156145bd576145bd614584565b60405160a081016001600160401b03811182821017156145bd576145bd614584565b60405161012081016001600160401b03811182821017156145bd576145bd614584565b604051601f8201601f191681016001600160401b038111828210171561467457614674614584565b604052919050565b60006001600160401b0382111561469557614695614584565b50601f01601f191660200190565b600082601f8301126146b457600080fd5b81356146c76146c28261467c565b61464c565b8181528460208386010111156146dc57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561471257600080fd5b863561471d81614547565b9550602087013561472d816144d8565b9450604087013561473d8161455c565b9350606087013561474d8161456b565b9250608087013561475d81614547565b915060a08701356001600160401b0381111561477857600080fd5b61478489828a016146a3565b9150509295509295509295565b63ffffffff8116811461065557600080fd5b60008060008060008060008060006101208a8c0312156147c257600080fd5b89356001600160401b03808211156147d957600080fd5b6147e58d838e016146a3565b9a5060208c0135995060408c0135985060608c0135975060808c0135915061480c82614791565b90955060a08b01359061481e82614791565b81955061482d60c08d01614579565b945061483b60e08d01614579565b93506101008c013591508082111561485257600080fd5b5061485f8c828d016146a3565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561489657600080fd5b81356001600160401b038111156148ac57600080fd5b6144d0848285016146a3565b6000602082840312156148ca57600080fd5b8135613f4481614547565b600080604083850312156148e857600080fd5b82356148f381614547565b915060208301356001600160401b0381111561490e57600080fd5b61491a858286016146a3565b9150509250929050565b60008060006060848603121561493957600080fd5b833561494481614547565b92506020840135614954816144f8565b915060408401356001600160401b0381111561496f57600080fd5b61497b868287016146a3565b9150509250925092565b64ffffffffff8116811461065557600080fd5b60008060008060008060c087890312156149b157600080fd5b86356149bc816144d8565b955060208701356001600160401b03808211156149d857600080fd5b6149e48a838b016146a3565b965060408901359550606089013591506149fd82614791565b909350608088013590614a0f82614985565b90925060a08801359080821115614a2557600080fd5b5061478489828a016146a3565b600080600060608486031215614a4757600080fd5b8335614a5281614547565b92506020840135614a6281614547565b91506040840135614a7281614547565b809150509250925092565b600080600080848603610240811215614a9557600080fd5b8535614aa0816144d8565b94506020860135614ab0816144f8565b93506101e0603f198201811315614ac657600080fd5b614ace61459a565b915060408701358252606087013560208301526080870135604083015260a0870135606083015260c0870135608083015260e087013560a08301526101008088013560c08401526101208089013560e0850152610140808a0135838601526101609250828a0135828601526101809150818a013581860152506101a0808a0135838601526101c09250828a013582860152838a013581860152505061020088013581840152505080925050614b8661022086016144ed565b905092959194509250565b600060408284031215614ba357600080fd5b614bab6145c3565b9050813581526020820135602082015292915050565b60008060808385031215614bd457600080fd5b614bde8484614b91565b91506141da8460408501614b91565b60008060408385031215614c0057600080fd5b8235614c0b81614547565b9150602083013561453c81614547565b600060208284031215614c2d57600080fd5b815162ffffff81168114613f4457600080fd5b600181811c90821680614c5457607f821691505b602082108103614c7457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614c8c57600080fd5b8151613f4481614547565b805161116a816144d8565b600082601f830112614cb357600080fd5b8151614cc16146c28261467c565b818152846020838601011115614cd657600080fd5b6144d08260208301602087016143fd565b805161116a81614791565b805161116a81614985565b600060208284031215614d0f57600080fd5b81516001600160401b0380821115614d2657600080fd5b9083019060e08286031215614d3a57600080fd5b614d426145e5565b614d4b83614c97565b8152602083015182811115614d5f57600080fd5b614d6b87828601614ca2565b60208301525060408301516040820152614d8760608401614ce7565b6060820152614d9860808401614ce7565b6080820152614da960a08401614cf2565b60a082015260c083015182811115614dc057600080fd5b614dcc87828601614ca2565b60c08301525095945050505050565b805161116a8161456b565b600060208284031215614df857600080fd5b8151613f448161456b565b600060208284031215614e1557600080fd5b8151613f4481614985565b601f82111561275657600081815260208120601f850160051c81016020861015614e475750805b601f850160051c820191505b81811015613eb557828155600101614e53565b81516001600160401b03811115614e7f57614e7f614584565b614e9381614e8d8454614c40565b84614e20565b602080601f831160018114614ec85760008415614eb05750858301515b600019600386901b1c1916600185901b178555613eb5565b600085815260208120601f198616915b82811015614ef757888601518255948401946001909101908401614ed8565b5085821015614f155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060408284031215614f3757600080fd5b614f3f6145c3565b9050815181526020820151602082015292915050565b805161116a81614547565b60006101008284031215614f7357600080fd5b60405160c081018181106001600160401b0382111715614f9557614f95614584565b6040528251614fa3816144d8565b81526020830151614fb381614547565b6020820152614fc58460408501614f25565b6040820152614fd78460808501614f25565b606082015260c0830151614fea81614547565b608082015260e0929092015160a083015250919050565b60006020828403121561501357600080fd5b5051919050565b6001600160601b03831681526040602082015260006144d06040830184614421565b60006020828403121561504e57600080fd5b8151613f44816144f8565b6001600160401b0360c01b83168152604060208201526000825161012080604085015261508a610160850183614421565b91506020850151606085015260408501516080850152606085015160a085015260808501516150c160c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006150e98187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526151128282614421565b9695505050505050565b6001600160401b038116811461065557600080fd5b60006020828403121561514357600080fd5b8151613f448161511c565b805161116a8161455c565b60006020828403121561516b57600080fd5b81516001600160401b038082111561518257600080fd5b9083019060e0828603121561519657600080fd5b61519e6145e5565b6151a783614c97565b81526151b560208401614c97565b60208201526151c66040840161514e565b60408201526151d760608401614ddb565b60608201526151e860808401614f55565b6080820152614da960a08401614f55565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b03831681526101208101613f4460208301846151f9565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156152a957600080fd5b81516001600160401b038111156152bf57600080fd5b6144d084828501614ca2565b600081518084526020808501945080840160005b838110156153045781516001600160401b0316875295820195908201906001016152df565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015261534060a0840187614421565b8381036060850152855180825282820190600581901b830184018489016000805b848110156153be57868403601f19018652825180518086529089019089860190845b818110156153a95783516001600160e01b0319168352928b0192918b0191600101615383565b50509689019694505091870191600101615361565b50505086810360808801526153d381896152cb565b9c9b505050505050505050505050565b6000602082840312156153f557600080fd5b8151613f44816144d8565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261543760a0850182614421565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b03831681526040602082015260006144d06040830184615400565b602081526000613f446020830184614421565b6000602082840312156154ad57600080fd5b81516001600160401b03808211156154c457600080fd5b9083019060a082860312156154d857600080fd5b6154e0614607565b82516154eb816144f8565b815260208301516154fb8161456b565b602082015260408301518281111561551257600080fd5b61551e87828601614ca2565b60408301525060608301519150615534826144d8565b8160608201526080830151925061554a83614791565b6080810192909252509392505050565b60006020828403121561556c57600080fd5b81516001600160401b038082111561558357600080fd5b90830190610120828603121561559857600080fd5b6155a0614629565b8251828111156155af57600080fd5b6155bb87828601614ca2565b8252506020830151602082015260408301516040820152606083015160608201526155e860808401614ce7565b60808201526155f960a08401614ce7565b60a082015261560a60c08401614ddb565b60c082015261561b60e08401614ddb565b60e0820152610100808401518381111561563457600080fd5b61564088828701614ca2565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156109b2576109b2615651565b6001600160601b0381511682526000602082015160e060208501526156a260e0850182614421565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526109ad8282614421565b6001600160401b0360c01b831681526040602082015260006144d0604083018461567a565b60006020828403121561572d57600080fd5b8151613f448161455c565b808201808211156109b2576109b2615651565b6001600160601b0384168152610140810161576960208301856151f9565b60ff8316610120830152949350505050565b63ffffffff81811683821601908082111561579857615798615651565b5092915050565b6001600160401b0360c01b841681526060602082015260006157c4606083018561567a565b905060ff83166040830152949350505050565b6001600160601b03841681526060602082015260006157c46060830185615400565b6000806040838503121561580c57600080fd5b82516158178161456b565b602084015190925061453c81614791565b60008060006060848603121561583d57600080fd5b835161584881614547565b602085015190935061585981614547565b6040850151909250614a7281614547565b6000808585111561587a57600080fd5b8386111561588757600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156158bc5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516159168184602087016143fd565b919091019291505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209a6e32614e6d88fa94a17e9a958d83a4c1951d2553e40f29c703b3b24a871fcb64736f6c63430008140033",
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": 16332
1221
+ },
1222
+ {
1223
+ "length": 20,
1224
+ "start": 16474
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": 14574
1269
+ },
1270
+ {
1271
+ "length": 20,
1272
+ "start": 15269
1273
+ },
1274
+ {
1275
+ "length": 20,
1276
+ "start": 15593
1277
+ }
1278
+ ]
1279
+ },
1280
+ "contracts/type/Timestamp.sol": {
1281
+ "TimestampLib": [
1282
+ {
1283
+ "length": 20,
1284
+ "start": 2305
1285
+ },
1286
+ {
1287
+ "length": 20,
1288
+ "start": 2439
1289
+ },
1290
+ {
1291
+ "length": 20,
1292
+ "start": 2545
1293
+ },
1294
+ {
1295
+ "length": 20,
1296
+ "start": 7663
1297
+ },
1298
+ {
1299
+ "length": 20,
1300
+ "start": 8785
1301
+ },
1302
+ {
1303
+ "length": 20,
1304
+ "start": 8921
1305
+ },
1306
+ {
1307
+ "length": 20,
1308
+ "start": 9043
1309
+ },
1310
+ {
1311
+ "length": 20,
1312
+ "start": 9186
1313
+ }
1314
+ ]
1315
+ },
1316
+ "contracts/type/UFixed.sol": {
1317
+ "UFixedLib": [
1318
+ {
1319
+ "length": 20,
1320
+ "start": 3160
1321
+ },
1322
+ {
1323
+ "length": 20,
1324
+ "start": 3296
1325
+ },
1326
+ {
1327
+ "length": 20,
1328
+ "start": 3422
1329
+ },
1330
+ {
1331
+ "length": 20,
1332
+ "start": 3543
1333
+ },
1334
+ {
1335
+ "length": 20,
1336
+ "start": 3659
1337
+ },
1338
+ {
1339
+ "length": 20,
1340
+ "start": 8244
1341
+ },
1342
+ {
1343
+ "length": 20,
1344
+ "start": 8360
1345
+ },
1346
+ {
1347
+ "length": 20,
1348
+ "start": 8528
1349
+ },
1350
+ {
1351
+ "length": 20,
1352
+ "start": 8644
1353
+ },
1354
+ {
1355
+ "length": 20,
1356
+ "start": 12375
1357
+ },
1358
+ {
1359
+ "length": 20,
1360
+ "start": 12494
1361
+ }
1362
+ ]
1363
+ },
1364
+ "contracts/type/Version.sol": {
1365
+ "VersionLib": [
1366
+ {
1367
+ "length": 20,
1368
+ "start": 1454
1369
+ },
1370
+ {
1371
+ "length": 20,
1372
+ "start": 4214
1373
+ },
1374
+ {
1375
+ "length": 20,
1376
+ "start": 16638
1377
+ }
1378
+ ],
1379
+ "VersionPartLib": [
1380
+ {
1381
+ "length": 20,
1382
+ "start": 9959
1383
+ }
1384
+ ]
1385
+ }
1386
+ },
1387
+ "deployedLinkReferences": {
1388
+ "contracts/type/Amount.sol": {
1389
+ "AmountLib": [
1390
+ {
1391
+ "length": 20,
1392
+ "start": 6302
1393
+ },
1394
+ {
1395
+ "length": 20,
1396
+ "start": 10945
1397
+ },
1398
+ {
1399
+ "length": 20,
1400
+ "start": 11092
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 11330
1405
+ },
1406
+ {
1407
+ "length": 20,
1408
+ "start": 11459
1409
+ },
1410
+ {
1411
+ "length": 20,
1412
+ "start": 11834
1413
+ },
1414
+ {
1415
+ "length": 20,
1416
+ "start": 16102
1417
+ },
1418
+ {
1419
+ "length": 20,
1420
+ "start": 16244
1421
+ }
1422
+ ]
1423
+ },
1424
+ "contracts/type/DistributorType.sol": {
1425
+ "DistributorTypeLib": [
1426
+ {
1427
+ "length": 20,
1428
+ "start": 3567
1429
+ }
1430
+ ]
1431
+ },
1432
+ "contracts/type/NftId.sol": {
1433
+ "NftIdLib": [
1434
+ {
1435
+ "length": 20,
1436
+ "start": 1931
1437
+ },
1438
+ {
1439
+ "length": 20,
1440
+ "start": 7093
1441
+ },
1442
+ {
1443
+ "length": 20,
1444
+ "start": 13079
1445
+ }
1446
+ ]
1447
+ },
1448
+ "contracts/type/Referral.sol": {
1449
+ "ReferralLib": [
1450
+ {
1451
+ "length": 20,
1452
+ "start": 9104
1453
+ },
1454
+ {
1455
+ "length": 20,
1456
+ "start": 10161
1457
+ }
1458
+ ]
1459
+ },
1460
+ "contracts/type/RoleId.sol": {
1461
+ "RoleIdLib": [
1462
+ {
1463
+ "length": 20,
1464
+ "start": 14344
1465
+ },
1466
+ {
1467
+ "length": 20,
1468
+ "start": 15039
1469
+ },
1470
+ {
1471
+ "length": 20,
1472
+ "start": 15363
1473
+ }
1474
+ ]
1475
+ },
1476
+ "contracts/type/Timestamp.sol": {
1477
+ "TimestampLib": [
1478
+ {
1479
+ "length": 20,
1480
+ "start": 2075
1481
+ },
1482
+ {
1483
+ "length": 20,
1484
+ "start": 2209
1485
+ },
1486
+ {
1487
+ "length": 20,
1488
+ "start": 2315
1489
+ },
1490
+ {
1491
+ "length": 20,
1492
+ "start": 7433
1493
+ },
1494
+ {
1495
+ "length": 20,
1496
+ "start": 8555
1497
+ },
1498
+ {
1499
+ "length": 20,
1500
+ "start": 8691
1501
+ },
1502
+ {
1503
+ "length": 20,
1504
+ "start": 8813
1505
+ },
1506
+ {
1507
+ "length": 20,
1508
+ "start": 8956
1509
+ }
1510
+ ]
1511
+ },
1512
+ "contracts/type/UFixed.sol": {
1513
+ "UFixedLib": [
1514
+ {
1515
+ "length": 20,
1516
+ "start": 2930
1517
+ },
1518
+ {
1519
+ "length": 20,
1520
+ "start": 3066
1521
+ },
1522
+ {
1523
+ "length": 20,
1524
+ "start": 3192
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 3313
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 3429
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 8014
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 8130
1541
+ },
1542
+ {
1543
+ "length": 20,
1544
+ "start": 8298
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 8414
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 12145
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 12264
1557
+ }
1558
+ ]
1559
+ },
1560
+ "contracts/type/Version.sol": {
1561
+ "VersionLib": [
1562
+ {
1563
+ "length": 20,
1564
+ "start": 1224
1565
+ },
1566
+ {
1567
+ "length": 20,
1568
+ "start": 3984
1569
+ },
1570
+ {
1571
+ "length": 20,
1572
+ "start": 16408
1573
+ }
1574
+ ],
1575
+ "VersionPartLib": [
1576
+ {
1577
+ "length": 20,
1578
+ "start": 9729
1579
+ }
1580
+ ]
1581
+ }
1582
+ }
1583
+ }