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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. package/README.md +10 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1395 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1575 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +851 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +278 -1362
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +264 -218
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +459 -2530
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +746 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +188 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +432 -280
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +415 -380
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +362 -95
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +13 -159
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1307 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +291 -276
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +448 -195
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/pool/Pool.sol/Pool.json +1426 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1641 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +779 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +218 -191
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +182 -302
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +241 -230
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +254 -168
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +72 -166
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/product/Product.sol/Product.json +1217 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +883 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +711 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +209 -17
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +225 -230
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +235 -43
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +305 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +341 -254
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +351 -84
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +540 -83
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +148 -62
  123. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  125. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1747 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1765 -0
  133. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  134. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  135. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  136. package/artifacts/contracts/shared/Component.sol/Component.json +892 -0
  137. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  138. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/ComponentService.sol/ComponentService.json} +294 -126
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  141. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  143. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  144. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1594 -0
  145. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  146. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponent.sol/IComponent.json} +173 -212
  147. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  149. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  150. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  151. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  153. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  155. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  157. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  159. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  160. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -47
  161. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  162. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  163. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  164. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +342 -61
  165. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  166. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -53
  167. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  168. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  169. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  170. package/artifacts/contracts/shared/Service.sol/Service.json +189 -150
  171. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  172. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  173. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  174. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  175. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  176. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  177. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  178. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → staking/IStakingService.sol/IStakingService.json} +198 -207
  179. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  180. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  181. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  182. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  183. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  184. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  185. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  187. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  189. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  191. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  192. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  193. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  194. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  195. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  197. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  199. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  201. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  203. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  205. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  206. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  207. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  209. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  211. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  212. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  213. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  215. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  217. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  219. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  220. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  221. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  223. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  224. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  225. package/contracts/distribution/Distribution.sol +285 -0
  226. package/contracts/distribution/DistributionService.sol +351 -0
  227. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  228. package/contracts/distribution/IDistributionComponent.sol +71 -0
  229. package/contracts/distribution/IDistributionService.sol +87 -0
  230. package/contracts/instance/BundleManager.sol +22 -25
  231. package/contracts/instance/IInstance.sol +56 -41
  232. package/contracts/instance/IInstanceService.sol +50 -17
  233. package/contracts/instance/Instance.sol +151 -197
  234. package/contracts/instance/InstanceAdmin.sol +354 -0
  235. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  236. package/contracts/instance/InstanceReader.sol +102 -49
  237. package/contracts/instance/InstanceService.sol +200 -247
  238. package/contracts/instance/InstanceServiceManager.sol +12 -22
  239. package/contracts/instance/InstanceStore.sol +211 -0
  240. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  241. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  242. package/contracts/instance/base/ILifecycle.sol +3 -3
  243. package/contracts/instance/base/KeyValueStore.sol +44 -47
  244. package/contracts/instance/base/Lifecycle.sol +28 -7
  245. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
  246. package/contracts/instance/module/IAccess.sol +17 -21
  247. package/contracts/instance/module/IBundle.sol +11 -8
  248. package/contracts/instance/module/IComponents.sol +41 -0
  249. package/contracts/instance/module/IDistribution.sol +7 -4
  250. package/contracts/instance/module/IPolicy.sol +50 -17
  251. package/contracts/instance/module/IRisk.sol +1 -1
  252. package/contracts/instance/module/ISetup.sol +9 -22
  253. package/contracts/instance/module/ITreasury.sol +2 -2
  254. package/contracts/pool/BundleService.sol +384 -0
  255. package/contracts/pool/BundleServiceManager.sol +42 -0
  256. package/contracts/pool/IBundleService.sol +118 -0
  257. package/contracts/pool/IPoolComponent.sol +114 -0
  258. package/contracts/pool/IPoolService.sol +114 -0
  259. package/contracts/pool/Pool.sol +302 -0
  260. package/contracts/pool/PoolService.sol +404 -0
  261. package/contracts/pool/PoolServiceManager.sol +42 -0
  262. package/contracts/product/ApplicationService.sol +187 -0
  263. package/contracts/product/ApplicationServiceManager.sol +38 -0
  264. package/contracts/product/ClaimService.sol +443 -0
  265. package/contracts/product/ClaimServiceManager.sol +38 -0
  266. package/contracts/product/IApplicationService.sol +62 -0
  267. package/contracts/product/IClaimService.sol +93 -0
  268. package/contracts/product/IPolicyService.sol +80 -0
  269. package/contracts/product/IPricingService.sol +37 -0
  270. package/contracts/product/IProductComponent.sol +41 -0
  271. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  272. package/contracts/product/PolicyService.sol +378 -0
  273. package/contracts/product/PolicyServiceManager.sol +42 -0
  274. package/contracts/product/PricingService.sol +276 -0
  275. package/contracts/product/PricingServiceManager.sol +42 -0
  276. package/contracts/product/Product.sol +379 -0
  277. package/contracts/product/ProductService.sol +212 -0
  278. package/contracts/product/ProductServiceManager.sol +42 -0
  279. package/contracts/registry/ChainNft.sol +8 -0
  280. package/contracts/registry/IRegistry.sol +42 -21
  281. package/contracts/registry/IRegistryService.sol +42 -41
  282. package/contracts/registry/ITransferInterceptor.sol +1 -0
  283. package/contracts/registry/Registry.sol +165 -96
  284. package/contracts/registry/RegistryAdmin.sol +143 -0
  285. package/contracts/registry/RegistryService.sol +84 -171
  286. package/contracts/registry/RegistryServiceManager.sol +22 -24
  287. package/contracts/registry/ReleaseManager.sol +317 -202
  288. package/contracts/registry/TokenRegistry.sol +23 -15
  289. package/contracts/shared/AccessManagerCustom.sol +736 -0
  290. package/contracts/shared/AccessManagerExtended.sol +469 -0
  291. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  292. package/contracts/shared/AccessManagerExtendedWithDisable.sol +125 -0
  293. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  294. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  295. package/contracts/shared/Component.sol +271 -0
  296. package/contracts/shared/ComponentService.sol +141 -0
  297. package/contracts/shared/ERC165.sol +14 -12
  298. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  299. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +17 -0
  300. package/contracts/shared/IComponent.sol +90 -0
  301. package/contracts/shared/INftOwnable.sol +12 -11
  302. package/contracts/shared/IPolicyHolder.sol +40 -0
  303. package/contracts/shared/IRegisterable.sol +4 -6
  304. package/contracts/shared/IRegistryLinked.sol +11 -0
  305. package/contracts/shared/IService.sol +6 -4
  306. package/contracts/shared/IVersionable.sol +5 -48
  307. package/contracts/shared/NftOwnable.sol +68 -85
  308. package/contracts/shared/PolicyHolder.sol +94 -0
  309. package/contracts/shared/ProxyManager.sol +131 -25
  310. package/contracts/shared/Registerable.sol +26 -41
  311. package/contracts/shared/RegistryLinked.sol +43 -0
  312. package/contracts/shared/Service.sol +37 -23
  313. package/contracts/shared/TokenHandler.sol +14 -6
  314. package/contracts/shared/Versionable.sol +4 -92
  315. package/contracts/staking/IStakingService.sol +102 -0
  316. package/contracts/staking/StakingService.sol +169 -0
  317. package/contracts/staking/StakingServiceManager.sol +40 -0
  318. package/contracts/type/Amount.sol +109 -0
  319. package/contracts/{types → type}/Blocknumber.sol +1 -0
  320. package/contracts/type/ClaimId.sol +75 -0
  321. package/contracts/{types → type}/DistributorType.sol +2 -2
  322. package/contracts/{types → type}/Fee.sol +17 -8
  323. package/contracts/{types → type}/NftId.sol +8 -0
  324. package/contracts/{types → type}/NftIdSet.sol +1 -1
  325. package/contracts/{types → type}/ObjectType.sol +17 -7
  326. package/contracts/type/PayoutId.sol +82 -0
  327. package/contracts/{types → type}/Referral.sol +4 -0
  328. package/contracts/type/RoleId.sol +139 -0
  329. package/contracts/type/Seconds.sol +54 -0
  330. package/contracts/{types → type}/StateId.sol +7 -2
  331. package/contracts/{types → type}/Timestamp.sol +18 -13
  332. package/contracts/{types → type}/UFixed.sol +1 -0
  333. package/contracts/{types → type}/Version.sol +1 -0
  334. package/package.json +3 -3
  335. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  336. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  337. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  339. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  340. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  341. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  342. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  343. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  344. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  345. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  346. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  349. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  351. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  353. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  355. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  357. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  359. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  361. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  363. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  365. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  370. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  372. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  374. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  376. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  378. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  379. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  380. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  381. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  382. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  383. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  384. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  385. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  386. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  387. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  388. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  389. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  390. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  391. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  392. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  393. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  394. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  395. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  396. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  397. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  398. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  399. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  400. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  402. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  404. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  405. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  406. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  407. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  408. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  409. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  410. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  412. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  414. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  415. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  416. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  417. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  418. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  419. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  420. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  421. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  422. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  423. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  424. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  425. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  426. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  427. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  428. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  429. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  430. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  431. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  432. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  433. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  434. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  435. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  436. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  437. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  438. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  439. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  440. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  441. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  442. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  443. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  444. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  445. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  446. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  447. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  448. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  449. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  450. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  451. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  452. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  453. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  455. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  456. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  457. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  458. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  459. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  460. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  461. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  462. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  463. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  464. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  465. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  467. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  469. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  470. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  471. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  472. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  474. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  475. package/contracts/components/BaseComponent.sol +0 -159
  476. package/contracts/components/Distribution.sol +0 -164
  477. package/contracts/components/IBaseComponent.sol +0 -34
  478. package/contracts/components/IDistributionComponent.sol +0 -44
  479. package/contracts/components/IPoolComponent.sol +0 -66
  480. package/contracts/components/IProductComponent.sol +0 -35
  481. package/contracts/components/Pool.sol +0 -272
  482. package/contracts/components/Product.sol +0 -301
  483. package/contracts/experiment/cloning/Cloner.sol +0 -47
  484. package/contracts/experiment/errors/Require.sol +0 -38
  485. package/contracts/experiment/errors/Revert.sol +0 -44
  486. package/contracts/experiment/inheritance/A.sol +0 -53
  487. package/contracts/experiment/inheritance/B.sol +0 -28
  488. package/contracts/experiment/inheritance/C.sol +0 -34
  489. package/contracts/experiment/inheritance/IA.sol +0 -13
  490. package/contracts/experiment/inheritance/IB.sol +0 -10
  491. package/contracts/experiment/inheritance/IC.sol +0 -12
  492. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  493. package/contracts/experiment/statemachine/ISM.sol +0 -25
  494. package/contracts/experiment/statemachine/SM.sol +0 -57
  495. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  496. package/contracts/experiment/types/TypeA.sol +0 -47
  497. package/contracts/experiment/types/TypeB.sol +0 -29
  498. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  499. package/contracts/instance/IInstanceBase.sol +0 -26
  500. package/contracts/instance/InstanceAccessManager.sol +0 -303
  501. package/contracts/instance/InstanceBase.sol +0 -41
  502. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  503. package/contracts/instance/base/IInstanceBase.sol +0 -23
  504. package/contracts/instance/service/BundleService.sol +0 -294
  505. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  506. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  507. package/contracts/instance/service/DistributionService.sol +0 -120
  508. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  509. package/contracts/instance/service/IBundleService.sol +0 -44
  510. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  511. package/contracts/instance/service/IDistributionService.sol +0 -12
  512. package/contracts/instance/service/IPolicyService.sol +0 -94
  513. package/contracts/instance/service/IPoolService.sol +0 -20
  514. package/contracts/instance/service/PolicyService.sol +0 -539
  515. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  516. package/contracts/instance/service/PoolService.sol +0 -145
  517. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  518. package/contracts/instance/service/ProductService.sol +0 -213
  519. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  520. package/contracts/registry/RegistryAccessManager.sol +0 -210
  521. package/contracts/shared/ContractDeployerLib.sol +0 -72
  522. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  523. package/contracts/test/TestFee.sol +0 -25
  524. package/contracts/test/TestRegisterable.sol +0 -18
  525. package/contracts/test/TestRoleId.sol +0 -14
  526. package/contracts/test/TestService.sol +0 -25
  527. package/contracts/test/TestToken.sol +0 -26
  528. package/contracts/test/TestVersion.sol +0 -44
  529. package/contracts/test/TestVersionable.sol +0 -17
  530. package/contracts/test/Usdc.sol +0 -26
  531. package/contracts/types/ChainId.sol +0 -38
  532. package/contracts/types/NumberId.sol +0 -52
  533. package/contracts/types/RoleId.sol +0 -90
  534. /package/contracts/{types → type}/AddressSet.sol +0 -0
  535. /package/contracts/{types → type}/Key32.sol +0 -0
  536. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,2847 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceStore",
4
+ "sourceName": "contracts/instance/InstanceStore.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": "ObjectType",
48
+ "name": "objectType",
49
+ "type": "uint8"
50
+ },
51
+ {
52
+ "internalType": "StateId",
53
+ "name": "fromStateId",
54
+ "type": "uint8"
55
+ },
56
+ {
57
+ "internalType": "StateId",
58
+ "name": "toStateId",
59
+ "type": "uint8"
60
+ }
61
+ ],
62
+ "name": "ErrorInvalidStateTransition",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "Key32",
69
+ "name": "key",
70
+ "type": "bytes32"
71
+ },
72
+ {
73
+ "internalType": "ObjectType",
74
+ "name": "objectType",
75
+ "type": "uint8"
76
+ }
77
+ ],
78
+ "name": "ErrorKeyValueStoreAlreadyCreated",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "Key32",
85
+ "name": "key",
86
+ "type": "bytes32"
87
+ }
88
+ ],
89
+ "name": "ErrorKeyValueStoreNotExisting",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "Key32",
96
+ "name": "key",
97
+ "type": "bytes32"
98
+ }
99
+ ],
100
+ "name": "ErrorKeyValueStoreStateZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "ObjectType",
107
+ "name": "objectType",
108
+ "type": "uint8"
109
+ }
110
+ ],
111
+ "name": "ErrorKeyValueStoreTypeUndefined",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "NftId",
118
+ "name": "nftId",
119
+ "type": "uint96"
120
+ },
121
+ {
122
+ "internalType": "ObjectType",
123
+ "name": "objectType",
124
+ "type": "uint8"
125
+ }
126
+ ],
127
+ "name": "ErrorNoLifecycle",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "InvalidInitialization",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "NotInitializing",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": false,
145
+ "internalType": "address",
146
+ "name": "authority",
147
+ "type": "address"
148
+ }
149
+ ],
150
+ "name": "AuthorityUpdated",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "anonymous": false,
155
+ "inputs": [
156
+ {
157
+ "indexed": false,
158
+ "internalType": "uint64",
159
+ "name": "version",
160
+ "type": "uint64"
161
+ }
162
+ ],
163
+ "name": "Initialized",
164
+ "type": "event"
165
+ },
166
+ {
167
+ "anonymous": false,
168
+ "inputs": [
169
+ {
170
+ "indexed": false,
171
+ "internalType": "ObjectType",
172
+ "name": "objectType",
173
+ "type": "uint8"
174
+ },
175
+ {
176
+ "indexed": false,
177
+ "internalType": "KeyId",
178
+ "name": "keyId",
179
+ "type": "bytes31"
180
+ },
181
+ {
182
+ "indexed": false,
183
+ "internalType": "StateId",
184
+ "name": "state",
185
+ "type": "uint8"
186
+ },
187
+ {
188
+ "indexed": false,
189
+ "internalType": "address",
190
+ "name": "createdBy",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "indexed": false,
195
+ "internalType": "address",
196
+ "name": "txOrigin",
197
+ "type": "address"
198
+ }
199
+ ],
200
+ "name": "LogInfoCreated",
201
+ "type": "event"
202
+ },
203
+ {
204
+ "anonymous": false,
205
+ "inputs": [
206
+ {
207
+ "indexed": false,
208
+ "internalType": "ObjectType",
209
+ "name": "objectType",
210
+ "type": "uint8"
211
+ },
212
+ {
213
+ "indexed": false,
214
+ "internalType": "KeyId",
215
+ "name": "keyId",
216
+ "type": "bytes31"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "internalType": "StateId",
221
+ "name": "state",
222
+ "type": "uint8"
223
+ },
224
+ {
225
+ "indexed": false,
226
+ "internalType": "address",
227
+ "name": "updatedBy",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "address",
233
+ "name": "txOrigin",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "Blocknumber",
239
+ "name": "lastUpdatedIn",
240
+ "type": "uint32"
241
+ }
242
+ ],
243
+ "name": "LogInfoUpdated",
244
+ "type": "event"
245
+ },
246
+ {
247
+ "anonymous": false,
248
+ "inputs": [
249
+ {
250
+ "indexed": false,
251
+ "internalType": "ObjectType",
252
+ "name": "objectType",
253
+ "type": "uint8"
254
+ },
255
+ {
256
+ "indexed": false,
257
+ "internalType": "KeyId",
258
+ "name": "keyId",
259
+ "type": "bytes31"
260
+ },
261
+ {
262
+ "indexed": false,
263
+ "internalType": "StateId",
264
+ "name": "stateOld",
265
+ "type": "uint8"
266
+ },
267
+ {
268
+ "indexed": false,
269
+ "internalType": "StateId",
270
+ "name": "stateNew",
271
+ "type": "uint8"
272
+ },
273
+ {
274
+ "indexed": false,
275
+ "internalType": "address",
276
+ "name": "updatedBy",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "indexed": false,
281
+ "internalType": "address",
282
+ "name": "txOrigin",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "Blocknumber",
288
+ "name": "lastUpdatedIn",
289
+ "type": "uint32"
290
+ }
291
+ ],
292
+ "name": "LogStateUpdated",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "authority",
298
+ "outputs": [
299
+ {
300
+ "internalType": "address",
301
+ "name": "",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "stateMutability": "view",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "inputs": [
310
+ {
311
+ "internalType": "ObjectType",
312
+ "name": "objectType",
313
+ "type": "uint8"
314
+ },
315
+ {
316
+ "internalType": "StateId",
317
+ "name": "fromId",
318
+ "type": "uint8"
319
+ },
320
+ {
321
+ "internalType": "StateId",
322
+ "name": "toId",
323
+ "type": "uint8"
324
+ }
325
+ ],
326
+ "name": "checkTransition",
327
+ "outputs": [],
328
+ "stateMutability": "view",
329
+ "type": "function"
330
+ },
331
+ {
332
+ "inputs": [
333
+ {
334
+ "internalType": "NftId",
335
+ "name": "applicationNftId",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "components": [
340
+ {
341
+ "internalType": "NftId",
342
+ "name": "productNftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "internalType": "NftId",
347
+ "name": "bundleNftId",
348
+ "type": "uint96"
349
+ },
350
+ {
351
+ "internalType": "ReferralId",
352
+ "name": "referralId",
353
+ "type": "bytes8"
354
+ },
355
+ {
356
+ "internalType": "RiskId",
357
+ "name": "riskId",
358
+ "type": "bytes8"
359
+ },
360
+ {
361
+ "internalType": "Amount",
362
+ "name": "sumInsuredAmount",
363
+ "type": "uint96"
364
+ },
365
+ {
366
+ "internalType": "Amount",
367
+ "name": "premiumAmount",
368
+ "type": "uint96"
369
+ },
370
+ {
371
+ "internalType": "Amount",
372
+ "name": "premiumPaidAmount",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "internalType": "Seconds",
377
+ "name": "lifetime",
378
+ "type": "uint40"
379
+ },
380
+ {
381
+ "internalType": "bytes",
382
+ "name": "applicationData",
383
+ "type": "bytes"
384
+ },
385
+ {
386
+ "internalType": "bytes",
387
+ "name": "processData",
388
+ "type": "bytes"
389
+ },
390
+ {
391
+ "internalType": "uint16",
392
+ "name": "claimsCount",
393
+ "type": "uint16"
394
+ },
395
+ {
396
+ "internalType": "uint16",
397
+ "name": "openClaimsCount",
398
+ "type": "uint16"
399
+ },
400
+ {
401
+ "internalType": "Amount",
402
+ "name": "claimAmount",
403
+ "type": "uint96"
404
+ },
405
+ {
406
+ "internalType": "Amount",
407
+ "name": "payoutAmount",
408
+ "type": "uint96"
409
+ },
410
+ {
411
+ "internalType": "Timestamp",
412
+ "name": "activatedAt",
413
+ "type": "uint40"
414
+ },
415
+ {
416
+ "internalType": "Timestamp",
417
+ "name": "expiredAt",
418
+ "type": "uint40"
419
+ },
420
+ {
421
+ "internalType": "Timestamp",
422
+ "name": "closedAt",
423
+ "type": "uint40"
424
+ }
425
+ ],
426
+ "internalType": "struct IPolicy.PolicyInfo",
427
+ "name": "policy",
428
+ "type": "tuple"
429
+ }
430
+ ],
431
+ "name": "createApplication",
432
+ "outputs": [],
433
+ "stateMutability": "nonpayable",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "NftId",
440
+ "name": "bundleNftId",
441
+ "type": "uint96"
442
+ },
443
+ {
444
+ "components": [
445
+ {
446
+ "internalType": "NftId",
447
+ "name": "poolNftId",
448
+ "type": "uint96"
449
+ },
450
+ {
451
+ "components": [
452
+ {
453
+ "internalType": "UFixed",
454
+ "name": "fractionalFee",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "internalType": "uint256",
459
+ "name": "fixedFee",
460
+ "type": "uint256"
461
+ }
462
+ ],
463
+ "internalType": "struct Fee",
464
+ "name": "fee",
465
+ "type": "tuple"
466
+ },
467
+ {
468
+ "internalType": "bytes",
469
+ "name": "filter",
470
+ "type": "bytes"
471
+ },
472
+ {
473
+ "internalType": "Amount",
474
+ "name": "capitalAmount",
475
+ "type": "uint96"
476
+ },
477
+ {
478
+ "internalType": "Amount",
479
+ "name": "lockedAmount",
480
+ "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "Amount",
484
+ "name": "feeAmount",
485
+ "type": "uint96"
486
+ },
487
+ {
488
+ "internalType": "Seconds",
489
+ "name": "lifetime",
490
+ "type": "uint40"
491
+ },
492
+ {
493
+ "internalType": "Timestamp",
494
+ "name": "expiredAt",
495
+ "type": "uint40"
496
+ },
497
+ {
498
+ "internalType": "Timestamp",
499
+ "name": "closedAt",
500
+ "type": "uint40"
501
+ }
502
+ ],
503
+ "internalType": "struct IBundle.BundleInfo",
504
+ "name": "bundle",
505
+ "type": "tuple"
506
+ }
507
+ ],
508
+ "name": "createBundle",
509
+ "outputs": [],
510
+ "stateMutability": "nonpayable",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "NftId",
517
+ "name": "policyNftId",
518
+ "type": "uint96"
519
+ },
520
+ {
521
+ "internalType": "ClaimId",
522
+ "name": "claimId",
523
+ "type": "uint16"
524
+ },
525
+ {
526
+ "components": [
527
+ {
528
+ "internalType": "Amount",
529
+ "name": "claimAmount",
530
+ "type": "uint96"
531
+ },
532
+ {
533
+ "internalType": "Amount",
534
+ "name": "paidAmount",
535
+ "type": "uint96"
536
+ },
537
+ {
538
+ "internalType": "uint8",
539
+ "name": "payoutsCount",
540
+ "type": "uint8"
541
+ },
542
+ {
543
+ "internalType": "uint8",
544
+ "name": "openPayoutsCount",
545
+ "type": "uint8"
546
+ },
547
+ {
548
+ "internalType": "bytes",
549
+ "name": "submissionData",
550
+ "type": "bytes"
551
+ },
552
+ {
553
+ "internalType": "bytes",
554
+ "name": "processData",
555
+ "type": "bytes"
556
+ },
557
+ {
558
+ "internalType": "Timestamp",
559
+ "name": "closedAt",
560
+ "type": "uint40"
561
+ }
562
+ ],
563
+ "internalType": "struct IPolicy.ClaimInfo",
564
+ "name": "claim",
565
+ "type": "tuple"
566
+ }
567
+ ],
568
+ "name": "createClaim",
569
+ "outputs": [],
570
+ "stateMutability": "nonpayable",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [
575
+ {
576
+ "internalType": "NftId",
577
+ "name": "distributionNftId",
578
+ "type": "uint96"
579
+ },
580
+ {
581
+ "components": [
582
+ {
583
+ "internalType": "NftId",
584
+ "name": "productNftId",
585
+ "type": "uint96"
586
+ },
587
+ {
588
+ "internalType": "contract TokenHandler",
589
+ "name": "tokenHandler",
590
+ "type": "address"
591
+ },
592
+ {
593
+ "components": [
594
+ {
595
+ "internalType": "UFixed",
596
+ "name": "fractionalFee",
597
+ "type": "uint256"
598
+ },
599
+ {
600
+ "internalType": "uint256",
601
+ "name": "fixedFee",
602
+ "type": "uint256"
603
+ }
604
+ ],
605
+ "internalType": "struct Fee",
606
+ "name": "minDistributionOwnerFee",
607
+ "type": "tuple"
608
+ },
609
+ {
610
+ "components": [
611
+ {
612
+ "internalType": "UFixed",
613
+ "name": "fractionalFee",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "fixedFee",
619
+ "type": "uint256"
620
+ }
621
+ ],
622
+ "internalType": "struct Fee",
623
+ "name": "distributionFee",
624
+ "type": "tuple"
625
+ },
626
+ {
627
+ "internalType": "address",
628
+ "name": "wallet",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "sumDistributionOwnerFees",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "internalType": "struct ISetup.DistributionSetupInfo",
638
+ "name": "setup",
639
+ "type": "tuple"
640
+ }
641
+ ],
642
+ "name": "createDistributionSetup",
643
+ "outputs": [],
644
+ "stateMutability": "nonpayable",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [
649
+ {
650
+ "internalType": "NftId",
651
+ "name": "distributorNftId",
652
+ "type": "uint96"
653
+ },
654
+ {
655
+ "components": [
656
+ {
657
+ "internalType": "DistributorType",
658
+ "name": "distributorType",
659
+ "type": "bytes8"
660
+ },
661
+ {
662
+ "internalType": "bool",
663
+ "name": "active",
664
+ "type": "bool"
665
+ },
666
+ {
667
+ "internalType": "bytes",
668
+ "name": "data",
669
+ "type": "bytes"
670
+ },
671
+ {
672
+ "internalType": "Amount",
673
+ "name": "commissionAmount",
674
+ "type": "uint96"
675
+ },
676
+ {
677
+ "internalType": "uint32",
678
+ "name": "numPoliciesSold",
679
+ "type": "uint32"
680
+ }
681
+ ],
682
+ "internalType": "struct IDistribution.DistributorInfo",
683
+ "name": "info",
684
+ "type": "tuple"
685
+ }
686
+ ],
687
+ "name": "createDistributor",
688
+ "outputs": [],
689
+ "stateMutability": "nonpayable",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [
694
+ {
695
+ "internalType": "DistributorType",
696
+ "name": "distributorType",
697
+ "type": "bytes8"
698
+ },
699
+ {
700
+ "components": [
701
+ {
702
+ "internalType": "string",
703
+ "name": "name",
704
+ "type": "string"
705
+ },
706
+ {
707
+ "internalType": "UFixed",
708
+ "name": "minDiscountPercentage",
709
+ "type": "uint256"
710
+ },
711
+ {
712
+ "internalType": "UFixed",
713
+ "name": "maxDiscountPercentage",
714
+ "type": "uint256"
715
+ },
716
+ {
717
+ "internalType": "UFixed",
718
+ "name": "commissionPercentage",
719
+ "type": "uint256"
720
+ },
721
+ {
722
+ "internalType": "uint32",
723
+ "name": "maxReferralCount",
724
+ "type": "uint32"
725
+ },
726
+ {
727
+ "internalType": "uint32",
728
+ "name": "maxReferralLifetime",
729
+ "type": "uint32"
730
+ },
731
+ {
732
+ "internalType": "bool",
733
+ "name": "allowSelfReferrals",
734
+ "type": "bool"
735
+ },
736
+ {
737
+ "internalType": "bool",
738
+ "name": "allowRenewals",
739
+ "type": "bool"
740
+ },
741
+ {
742
+ "internalType": "bytes",
743
+ "name": "data",
744
+ "type": "bytes"
745
+ }
746
+ ],
747
+ "internalType": "struct IDistribution.DistributorTypeInfo",
748
+ "name": "info",
749
+ "type": "tuple"
750
+ }
751
+ ],
752
+ "name": "createDistributorType",
753
+ "outputs": [],
754
+ "stateMutability": "nonpayable",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [
759
+ {
760
+ "internalType": "NftId",
761
+ "name": "policyNftId",
762
+ "type": "uint96"
763
+ },
764
+ {
765
+ "internalType": "PayoutId",
766
+ "name": "payoutId",
767
+ "type": "uint24"
768
+ },
769
+ {
770
+ "components": [
771
+ {
772
+ "internalType": "ClaimId",
773
+ "name": "claimId",
774
+ "type": "uint16"
775
+ },
776
+ {
777
+ "internalType": "Amount",
778
+ "name": "amount",
779
+ "type": "uint96"
780
+ },
781
+ {
782
+ "internalType": "bytes",
783
+ "name": "data",
784
+ "type": "bytes"
785
+ },
786
+ {
787
+ "internalType": "Timestamp",
788
+ "name": "paidAt",
789
+ "type": "uint40"
790
+ }
791
+ ],
792
+ "internalType": "struct IPolicy.PayoutInfo",
793
+ "name": "payout",
794
+ "type": "tuple"
795
+ }
796
+ ],
797
+ "name": "createPayout",
798
+ "outputs": [],
799
+ "stateMutability": "nonpayable",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [
804
+ {
805
+ "internalType": "NftId",
806
+ "name": "poolNftId",
807
+ "type": "uint96"
808
+ },
809
+ {
810
+ "components": [
811
+ {
812
+ "internalType": "string",
813
+ "name": "name",
814
+ "type": "string"
815
+ },
816
+ {
817
+ "internalType": "contract IERC20Metadata",
818
+ "name": "token",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "contract TokenHandler",
823
+ "name": "tokenHandler",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "address",
828
+ "name": "wallet",
829
+ "type": "address"
830
+ },
831
+ {
832
+ "internalType": "Amount",
833
+ "name": "balanceAmount",
834
+ "type": "uint96"
835
+ },
836
+ {
837
+ "internalType": "Amount",
838
+ "name": "feeAmount",
839
+ "type": "uint96"
840
+ },
841
+ {
842
+ "internalType": "bytes",
843
+ "name": "data",
844
+ "type": "bytes"
845
+ }
846
+ ],
847
+ "internalType": "struct IComponents.ComponentInfo",
848
+ "name": "info",
849
+ "type": "tuple"
850
+ }
851
+ ],
852
+ "name": "createPoolSetup",
853
+ "outputs": [],
854
+ "stateMutability": "nonpayable",
855
+ "type": "function"
856
+ },
857
+ {
858
+ "inputs": [
859
+ {
860
+ "internalType": "NftId",
861
+ "name": "productNftId",
862
+ "type": "uint96"
863
+ },
864
+ {
865
+ "components": [
866
+ {
867
+ "internalType": "contract IERC20Metadata",
868
+ "name": "token",
869
+ "type": "address"
870
+ },
871
+ {
872
+ "internalType": "contract TokenHandler",
873
+ "name": "tokenHandler",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "internalType": "NftId",
878
+ "name": "distributionNftId",
879
+ "type": "uint96"
880
+ },
881
+ {
882
+ "internalType": "NftId",
883
+ "name": "poolNftId",
884
+ "type": "uint96"
885
+ },
886
+ {
887
+ "components": [
888
+ {
889
+ "internalType": "UFixed",
890
+ "name": "fractionalFee",
891
+ "type": "uint256"
892
+ },
893
+ {
894
+ "internalType": "uint256",
895
+ "name": "fixedFee",
896
+ "type": "uint256"
897
+ }
898
+ ],
899
+ "internalType": "struct Fee",
900
+ "name": "productFee",
901
+ "type": "tuple"
902
+ },
903
+ {
904
+ "components": [
905
+ {
906
+ "internalType": "UFixed",
907
+ "name": "fractionalFee",
908
+ "type": "uint256"
909
+ },
910
+ {
911
+ "internalType": "uint256",
912
+ "name": "fixedFee",
913
+ "type": "uint256"
914
+ }
915
+ ],
916
+ "internalType": "struct Fee",
917
+ "name": "processingFee",
918
+ "type": "tuple"
919
+ },
920
+ {
921
+ "internalType": "bool",
922
+ "name": "isIntercepting",
923
+ "type": "bool"
924
+ },
925
+ {
926
+ "internalType": "address",
927
+ "name": "wallet",
928
+ "type": "address"
929
+ }
930
+ ],
931
+ "internalType": "struct ISetup.ProductSetupInfo",
932
+ "name": "setup",
933
+ "type": "tuple"
934
+ }
935
+ ],
936
+ "name": "createProductSetup",
937
+ "outputs": [],
938
+ "stateMutability": "nonpayable",
939
+ "type": "function"
940
+ },
941
+ {
942
+ "inputs": [
943
+ {
944
+ "internalType": "ReferralId",
945
+ "name": "referralId",
946
+ "type": "bytes8"
947
+ },
948
+ {
949
+ "components": [
950
+ {
951
+ "internalType": "NftId",
952
+ "name": "distributorNftId",
953
+ "type": "uint96"
954
+ },
955
+ {
956
+ "internalType": "string",
957
+ "name": "referralCode",
958
+ "type": "string"
959
+ },
960
+ {
961
+ "internalType": "UFixed",
962
+ "name": "discountPercentage",
963
+ "type": "uint256"
964
+ },
965
+ {
966
+ "internalType": "uint32",
967
+ "name": "maxReferrals",
968
+ "type": "uint32"
969
+ },
970
+ {
971
+ "internalType": "uint32",
972
+ "name": "usedReferrals",
973
+ "type": "uint32"
974
+ },
975
+ {
976
+ "internalType": "Timestamp",
977
+ "name": "expiryAt",
978
+ "type": "uint40"
979
+ },
980
+ {
981
+ "internalType": "bytes",
982
+ "name": "data",
983
+ "type": "bytes"
984
+ }
985
+ ],
986
+ "internalType": "struct IDistribution.ReferralInfo",
987
+ "name": "referralInfo",
988
+ "type": "tuple"
989
+ }
990
+ ],
991
+ "name": "createReferral",
992
+ "outputs": [],
993
+ "stateMutability": "nonpayable",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "inputs": [
998
+ {
999
+ "internalType": "RiskId",
1000
+ "name": "riskId",
1001
+ "type": "bytes8"
1002
+ },
1003
+ {
1004
+ "components": [
1005
+ {
1006
+ "internalType": "NftId",
1007
+ "name": "productNftId",
1008
+ "type": "uint96"
1009
+ },
1010
+ {
1011
+ "internalType": "bytes",
1012
+ "name": "data",
1013
+ "type": "bytes"
1014
+ }
1015
+ ],
1016
+ "internalType": "struct IRisk.RiskInfo",
1017
+ "name": "risk",
1018
+ "type": "tuple"
1019
+ }
1020
+ ],
1021
+ "name": "createRisk",
1022
+ "outputs": [],
1023
+ "stateMutability": "nonpayable",
1024
+ "type": "function"
1025
+ },
1026
+ {
1027
+ "inputs": [
1028
+ {
1029
+ "internalType": "Key32",
1030
+ "name": "key32",
1031
+ "type": "bytes32"
1032
+ }
1033
+ ],
1034
+ "name": "exists",
1035
+ "outputs": [
1036
+ {
1037
+ "internalType": "bool",
1038
+ "name": "",
1039
+ "type": "bool"
1040
+ }
1041
+ ],
1042
+ "stateMutability": "view",
1043
+ "type": "function"
1044
+ },
1045
+ {
1046
+ "inputs": [
1047
+ {
1048
+ "internalType": "Key32",
1049
+ "name": "key32",
1050
+ "type": "bytes32"
1051
+ }
1052
+ ],
1053
+ "name": "get",
1054
+ "outputs": [
1055
+ {
1056
+ "components": [
1057
+ {
1058
+ "components": [
1059
+ {
1060
+ "internalType": "ObjectType",
1061
+ "name": "objectType",
1062
+ "type": "uint8"
1063
+ },
1064
+ {
1065
+ "internalType": "StateId",
1066
+ "name": "state",
1067
+ "type": "uint8"
1068
+ },
1069
+ {
1070
+ "internalType": "address",
1071
+ "name": "updatedBy",
1072
+ "type": "address"
1073
+ },
1074
+ {
1075
+ "internalType": "Blocknumber",
1076
+ "name": "updatedIn",
1077
+ "type": "uint32"
1078
+ },
1079
+ {
1080
+ "internalType": "Blocknumber",
1081
+ "name": "createdIn",
1082
+ "type": "uint32"
1083
+ }
1084
+ ],
1085
+ "internalType": "struct IKeyValueStore.Metadata",
1086
+ "name": "metadata",
1087
+ "type": "tuple"
1088
+ },
1089
+ {
1090
+ "internalType": "bytes",
1091
+ "name": "data",
1092
+ "type": "bytes"
1093
+ }
1094
+ ],
1095
+ "internalType": "struct IKeyValueStore.Value",
1096
+ "name": "value",
1097
+ "type": "tuple"
1098
+ }
1099
+ ],
1100
+ "stateMutability": "view",
1101
+ "type": "function"
1102
+ },
1103
+ {
1104
+ "inputs": [
1105
+ {
1106
+ "internalType": "Key32",
1107
+ "name": "key32",
1108
+ "type": "bytes32"
1109
+ }
1110
+ ],
1111
+ "name": "getData",
1112
+ "outputs": [
1113
+ {
1114
+ "internalType": "bytes",
1115
+ "name": "data",
1116
+ "type": "bytes"
1117
+ }
1118
+ ],
1119
+ "stateMutability": "view",
1120
+ "type": "function"
1121
+ },
1122
+ {
1123
+ "inputs": [
1124
+ {
1125
+ "internalType": "ObjectType",
1126
+ "name": "objectType",
1127
+ "type": "uint8"
1128
+ }
1129
+ ],
1130
+ "name": "getInitialState",
1131
+ "outputs": [
1132
+ {
1133
+ "internalType": "StateId",
1134
+ "name": "",
1135
+ "type": "uint8"
1136
+ }
1137
+ ],
1138
+ "stateMutability": "view",
1139
+ "type": "function"
1140
+ },
1141
+ {
1142
+ "inputs": [
1143
+ {
1144
+ "internalType": "Key32",
1145
+ "name": "key32",
1146
+ "type": "bytes32"
1147
+ }
1148
+ ],
1149
+ "name": "getMetadata",
1150
+ "outputs": [
1151
+ {
1152
+ "components": [
1153
+ {
1154
+ "internalType": "ObjectType",
1155
+ "name": "objectType",
1156
+ "type": "uint8"
1157
+ },
1158
+ {
1159
+ "internalType": "StateId",
1160
+ "name": "state",
1161
+ "type": "uint8"
1162
+ },
1163
+ {
1164
+ "internalType": "address",
1165
+ "name": "updatedBy",
1166
+ "type": "address"
1167
+ },
1168
+ {
1169
+ "internalType": "Blocknumber",
1170
+ "name": "updatedIn",
1171
+ "type": "uint32"
1172
+ },
1173
+ {
1174
+ "internalType": "Blocknumber",
1175
+ "name": "createdIn",
1176
+ "type": "uint32"
1177
+ }
1178
+ ],
1179
+ "internalType": "struct IKeyValueStore.Metadata",
1180
+ "name": "metadata",
1181
+ "type": "tuple"
1182
+ }
1183
+ ],
1184
+ "stateMutability": "view",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [
1189
+ {
1190
+ "internalType": "Key32",
1191
+ "name": "key32",
1192
+ "type": "bytes32"
1193
+ }
1194
+ ],
1195
+ "name": "getState",
1196
+ "outputs": [
1197
+ {
1198
+ "internalType": "StateId",
1199
+ "name": "state",
1200
+ "type": "uint8"
1201
+ }
1202
+ ],
1203
+ "stateMutability": "view",
1204
+ "type": "function"
1205
+ },
1206
+ {
1207
+ "inputs": [
1208
+ {
1209
+ "internalType": "ObjectType",
1210
+ "name": "objectType",
1211
+ "type": "uint8"
1212
+ }
1213
+ ],
1214
+ "name": "hasLifecycle",
1215
+ "outputs": [
1216
+ {
1217
+ "internalType": "bool",
1218
+ "name": "",
1219
+ "type": "bool"
1220
+ }
1221
+ ],
1222
+ "stateMutability": "view",
1223
+ "type": "function"
1224
+ },
1225
+ {
1226
+ "inputs": [
1227
+ {
1228
+ "internalType": "address",
1229
+ "name": "instance",
1230
+ "type": "address"
1231
+ }
1232
+ ],
1233
+ "name": "initialize",
1234
+ "outputs": [],
1235
+ "stateMutability": "nonpayable",
1236
+ "type": "function"
1237
+ },
1238
+ {
1239
+ "inputs": [],
1240
+ "name": "initializeLifecycle",
1241
+ "outputs": [],
1242
+ "stateMutability": "nonpayable",
1243
+ "type": "function"
1244
+ },
1245
+ {
1246
+ "inputs": [],
1247
+ "name": "isConsumingScheduledOp",
1248
+ "outputs": [
1249
+ {
1250
+ "internalType": "bytes4",
1251
+ "name": "",
1252
+ "type": "bytes4"
1253
+ }
1254
+ ],
1255
+ "stateMutability": "view",
1256
+ "type": "function"
1257
+ },
1258
+ {
1259
+ "inputs": [
1260
+ {
1261
+ "internalType": "ObjectType",
1262
+ "name": "objectType",
1263
+ "type": "uint8"
1264
+ },
1265
+ {
1266
+ "internalType": "StateId",
1267
+ "name": "fromId",
1268
+ "type": "uint8"
1269
+ },
1270
+ {
1271
+ "internalType": "StateId",
1272
+ "name": "toId",
1273
+ "type": "uint8"
1274
+ }
1275
+ ],
1276
+ "name": "isValidTransition",
1277
+ "outputs": [
1278
+ {
1279
+ "internalType": "bool",
1280
+ "name": "",
1281
+ "type": "bool"
1282
+ }
1283
+ ],
1284
+ "stateMutability": "view",
1285
+ "type": "function"
1286
+ },
1287
+ {
1288
+ "inputs": [
1289
+ {
1290
+ "internalType": "address",
1291
+ "name": "newAuthority",
1292
+ "type": "address"
1293
+ }
1294
+ ],
1295
+ "name": "setAuthority",
1296
+ "outputs": [],
1297
+ "stateMutability": "nonpayable",
1298
+ "type": "function"
1299
+ },
1300
+ {
1301
+ "inputs": [
1302
+ {
1303
+ "internalType": "ObjectType",
1304
+ "name": "objectType",
1305
+ "type": "uint8"
1306
+ },
1307
+ {
1308
+ "internalType": "KeyId",
1309
+ "name": "id",
1310
+ "type": "bytes31"
1311
+ }
1312
+ ],
1313
+ "name": "toKey32",
1314
+ "outputs": [
1315
+ {
1316
+ "internalType": "Key32",
1317
+ "name": "",
1318
+ "type": "bytes32"
1319
+ }
1320
+ ],
1321
+ "stateMutability": "pure",
1322
+ "type": "function"
1323
+ },
1324
+ {
1325
+ "inputs": [
1326
+ {
1327
+ "internalType": "NftId",
1328
+ "name": "applicationNftId",
1329
+ "type": "uint96"
1330
+ },
1331
+ {
1332
+ "components": [
1333
+ {
1334
+ "internalType": "NftId",
1335
+ "name": "productNftId",
1336
+ "type": "uint96"
1337
+ },
1338
+ {
1339
+ "internalType": "NftId",
1340
+ "name": "bundleNftId",
1341
+ "type": "uint96"
1342
+ },
1343
+ {
1344
+ "internalType": "ReferralId",
1345
+ "name": "referralId",
1346
+ "type": "bytes8"
1347
+ },
1348
+ {
1349
+ "internalType": "RiskId",
1350
+ "name": "riskId",
1351
+ "type": "bytes8"
1352
+ },
1353
+ {
1354
+ "internalType": "Amount",
1355
+ "name": "sumInsuredAmount",
1356
+ "type": "uint96"
1357
+ },
1358
+ {
1359
+ "internalType": "Amount",
1360
+ "name": "premiumAmount",
1361
+ "type": "uint96"
1362
+ },
1363
+ {
1364
+ "internalType": "Amount",
1365
+ "name": "premiumPaidAmount",
1366
+ "type": "uint96"
1367
+ },
1368
+ {
1369
+ "internalType": "Seconds",
1370
+ "name": "lifetime",
1371
+ "type": "uint40"
1372
+ },
1373
+ {
1374
+ "internalType": "bytes",
1375
+ "name": "applicationData",
1376
+ "type": "bytes"
1377
+ },
1378
+ {
1379
+ "internalType": "bytes",
1380
+ "name": "processData",
1381
+ "type": "bytes"
1382
+ },
1383
+ {
1384
+ "internalType": "uint16",
1385
+ "name": "claimsCount",
1386
+ "type": "uint16"
1387
+ },
1388
+ {
1389
+ "internalType": "uint16",
1390
+ "name": "openClaimsCount",
1391
+ "type": "uint16"
1392
+ },
1393
+ {
1394
+ "internalType": "Amount",
1395
+ "name": "claimAmount",
1396
+ "type": "uint96"
1397
+ },
1398
+ {
1399
+ "internalType": "Amount",
1400
+ "name": "payoutAmount",
1401
+ "type": "uint96"
1402
+ },
1403
+ {
1404
+ "internalType": "Timestamp",
1405
+ "name": "activatedAt",
1406
+ "type": "uint40"
1407
+ },
1408
+ {
1409
+ "internalType": "Timestamp",
1410
+ "name": "expiredAt",
1411
+ "type": "uint40"
1412
+ },
1413
+ {
1414
+ "internalType": "Timestamp",
1415
+ "name": "closedAt",
1416
+ "type": "uint40"
1417
+ }
1418
+ ],
1419
+ "internalType": "struct IPolicy.PolicyInfo",
1420
+ "name": "policy",
1421
+ "type": "tuple"
1422
+ },
1423
+ {
1424
+ "internalType": "StateId",
1425
+ "name": "newState",
1426
+ "type": "uint8"
1427
+ }
1428
+ ],
1429
+ "name": "updateApplication",
1430
+ "outputs": [],
1431
+ "stateMutability": "nonpayable",
1432
+ "type": "function"
1433
+ },
1434
+ {
1435
+ "inputs": [
1436
+ {
1437
+ "internalType": "NftId",
1438
+ "name": "applicationNftId",
1439
+ "type": "uint96"
1440
+ },
1441
+ {
1442
+ "internalType": "StateId",
1443
+ "name": "newState",
1444
+ "type": "uint8"
1445
+ }
1446
+ ],
1447
+ "name": "updateApplicationState",
1448
+ "outputs": [],
1449
+ "stateMutability": "nonpayable",
1450
+ "type": "function"
1451
+ },
1452
+ {
1453
+ "inputs": [
1454
+ {
1455
+ "internalType": "NftId",
1456
+ "name": "bundleNftId",
1457
+ "type": "uint96"
1458
+ },
1459
+ {
1460
+ "components": [
1461
+ {
1462
+ "internalType": "NftId",
1463
+ "name": "poolNftId",
1464
+ "type": "uint96"
1465
+ },
1466
+ {
1467
+ "components": [
1468
+ {
1469
+ "internalType": "UFixed",
1470
+ "name": "fractionalFee",
1471
+ "type": "uint256"
1472
+ },
1473
+ {
1474
+ "internalType": "uint256",
1475
+ "name": "fixedFee",
1476
+ "type": "uint256"
1477
+ }
1478
+ ],
1479
+ "internalType": "struct Fee",
1480
+ "name": "fee",
1481
+ "type": "tuple"
1482
+ },
1483
+ {
1484
+ "internalType": "bytes",
1485
+ "name": "filter",
1486
+ "type": "bytes"
1487
+ },
1488
+ {
1489
+ "internalType": "Amount",
1490
+ "name": "capitalAmount",
1491
+ "type": "uint96"
1492
+ },
1493
+ {
1494
+ "internalType": "Amount",
1495
+ "name": "lockedAmount",
1496
+ "type": "uint96"
1497
+ },
1498
+ {
1499
+ "internalType": "Amount",
1500
+ "name": "feeAmount",
1501
+ "type": "uint96"
1502
+ },
1503
+ {
1504
+ "internalType": "Seconds",
1505
+ "name": "lifetime",
1506
+ "type": "uint40"
1507
+ },
1508
+ {
1509
+ "internalType": "Timestamp",
1510
+ "name": "expiredAt",
1511
+ "type": "uint40"
1512
+ },
1513
+ {
1514
+ "internalType": "Timestamp",
1515
+ "name": "closedAt",
1516
+ "type": "uint40"
1517
+ }
1518
+ ],
1519
+ "internalType": "struct IBundle.BundleInfo",
1520
+ "name": "bundle",
1521
+ "type": "tuple"
1522
+ },
1523
+ {
1524
+ "internalType": "StateId",
1525
+ "name": "newState",
1526
+ "type": "uint8"
1527
+ }
1528
+ ],
1529
+ "name": "updateBundle",
1530
+ "outputs": [],
1531
+ "stateMutability": "nonpayable",
1532
+ "type": "function"
1533
+ },
1534
+ {
1535
+ "inputs": [
1536
+ {
1537
+ "internalType": "NftId",
1538
+ "name": "bundleNftId",
1539
+ "type": "uint96"
1540
+ },
1541
+ {
1542
+ "internalType": "StateId",
1543
+ "name": "newState",
1544
+ "type": "uint8"
1545
+ }
1546
+ ],
1547
+ "name": "updateBundleState",
1548
+ "outputs": [],
1549
+ "stateMutability": "nonpayable",
1550
+ "type": "function"
1551
+ },
1552
+ {
1553
+ "inputs": [
1554
+ {
1555
+ "internalType": "NftId",
1556
+ "name": "policyNftId",
1557
+ "type": "uint96"
1558
+ },
1559
+ {
1560
+ "internalType": "ClaimId",
1561
+ "name": "claimId",
1562
+ "type": "uint16"
1563
+ },
1564
+ {
1565
+ "components": [
1566
+ {
1567
+ "internalType": "Amount",
1568
+ "name": "claimAmount",
1569
+ "type": "uint96"
1570
+ },
1571
+ {
1572
+ "internalType": "Amount",
1573
+ "name": "paidAmount",
1574
+ "type": "uint96"
1575
+ },
1576
+ {
1577
+ "internalType": "uint8",
1578
+ "name": "payoutsCount",
1579
+ "type": "uint8"
1580
+ },
1581
+ {
1582
+ "internalType": "uint8",
1583
+ "name": "openPayoutsCount",
1584
+ "type": "uint8"
1585
+ },
1586
+ {
1587
+ "internalType": "bytes",
1588
+ "name": "submissionData",
1589
+ "type": "bytes"
1590
+ },
1591
+ {
1592
+ "internalType": "bytes",
1593
+ "name": "processData",
1594
+ "type": "bytes"
1595
+ },
1596
+ {
1597
+ "internalType": "Timestamp",
1598
+ "name": "closedAt",
1599
+ "type": "uint40"
1600
+ }
1601
+ ],
1602
+ "internalType": "struct IPolicy.ClaimInfo",
1603
+ "name": "claim",
1604
+ "type": "tuple"
1605
+ },
1606
+ {
1607
+ "internalType": "StateId",
1608
+ "name": "newState",
1609
+ "type": "uint8"
1610
+ }
1611
+ ],
1612
+ "name": "updateClaim",
1613
+ "outputs": [],
1614
+ "stateMutability": "nonpayable",
1615
+ "type": "function"
1616
+ },
1617
+ {
1618
+ "inputs": [
1619
+ {
1620
+ "internalType": "NftId",
1621
+ "name": "policyNftId",
1622
+ "type": "uint96"
1623
+ },
1624
+ {
1625
+ "internalType": "ClaimId",
1626
+ "name": "claimId",
1627
+ "type": "uint16"
1628
+ },
1629
+ {
1630
+ "internalType": "StateId",
1631
+ "name": "newState",
1632
+ "type": "uint8"
1633
+ }
1634
+ ],
1635
+ "name": "updateClaimState",
1636
+ "outputs": [],
1637
+ "stateMutability": "nonpayable",
1638
+ "type": "function"
1639
+ },
1640
+ {
1641
+ "inputs": [
1642
+ {
1643
+ "internalType": "NftId",
1644
+ "name": "distributionNftId",
1645
+ "type": "uint96"
1646
+ },
1647
+ {
1648
+ "components": [
1649
+ {
1650
+ "internalType": "NftId",
1651
+ "name": "productNftId",
1652
+ "type": "uint96"
1653
+ },
1654
+ {
1655
+ "internalType": "contract TokenHandler",
1656
+ "name": "tokenHandler",
1657
+ "type": "address"
1658
+ },
1659
+ {
1660
+ "components": [
1661
+ {
1662
+ "internalType": "UFixed",
1663
+ "name": "fractionalFee",
1664
+ "type": "uint256"
1665
+ },
1666
+ {
1667
+ "internalType": "uint256",
1668
+ "name": "fixedFee",
1669
+ "type": "uint256"
1670
+ }
1671
+ ],
1672
+ "internalType": "struct Fee",
1673
+ "name": "minDistributionOwnerFee",
1674
+ "type": "tuple"
1675
+ },
1676
+ {
1677
+ "components": [
1678
+ {
1679
+ "internalType": "UFixed",
1680
+ "name": "fractionalFee",
1681
+ "type": "uint256"
1682
+ },
1683
+ {
1684
+ "internalType": "uint256",
1685
+ "name": "fixedFee",
1686
+ "type": "uint256"
1687
+ }
1688
+ ],
1689
+ "internalType": "struct Fee",
1690
+ "name": "distributionFee",
1691
+ "type": "tuple"
1692
+ },
1693
+ {
1694
+ "internalType": "address",
1695
+ "name": "wallet",
1696
+ "type": "address"
1697
+ },
1698
+ {
1699
+ "internalType": "uint256",
1700
+ "name": "sumDistributionOwnerFees",
1701
+ "type": "uint256"
1702
+ }
1703
+ ],
1704
+ "internalType": "struct ISetup.DistributionSetupInfo",
1705
+ "name": "setup",
1706
+ "type": "tuple"
1707
+ },
1708
+ {
1709
+ "internalType": "StateId",
1710
+ "name": "newState",
1711
+ "type": "uint8"
1712
+ }
1713
+ ],
1714
+ "name": "updateDistributionSetup",
1715
+ "outputs": [],
1716
+ "stateMutability": "nonpayable",
1717
+ "type": "function"
1718
+ },
1719
+ {
1720
+ "inputs": [
1721
+ {
1722
+ "internalType": "NftId",
1723
+ "name": "distributionNftId",
1724
+ "type": "uint96"
1725
+ },
1726
+ {
1727
+ "internalType": "StateId",
1728
+ "name": "newState",
1729
+ "type": "uint8"
1730
+ }
1731
+ ],
1732
+ "name": "updateDistributionSetupState",
1733
+ "outputs": [],
1734
+ "stateMutability": "nonpayable",
1735
+ "type": "function"
1736
+ },
1737
+ {
1738
+ "inputs": [
1739
+ {
1740
+ "internalType": "NftId",
1741
+ "name": "distributorNftId",
1742
+ "type": "uint96"
1743
+ },
1744
+ {
1745
+ "components": [
1746
+ {
1747
+ "internalType": "DistributorType",
1748
+ "name": "distributorType",
1749
+ "type": "bytes8"
1750
+ },
1751
+ {
1752
+ "internalType": "bool",
1753
+ "name": "active",
1754
+ "type": "bool"
1755
+ },
1756
+ {
1757
+ "internalType": "bytes",
1758
+ "name": "data",
1759
+ "type": "bytes"
1760
+ },
1761
+ {
1762
+ "internalType": "Amount",
1763
+ "name": "commissionAmount",
1764
+ "type": "uint96"
1765
+ },
1766
+ {
1767
+ "internalType": "uint32",
1768
+ "name": "numPoliciesSold",
1769
+ "type": "uint32"
1770
+ }
1771
+ ],
1772
+ "internalType": "struct IDistribution.DistributorInfo",
1773
+ "name": "info",
1774
+ "type": "tuple"
1775
+ },
1776
+ {
1777
+ "internalType": "StateId",
1778
+ "name": "newState",
1779
+ "type": "uint8"
1780
+ }
1781
+ ],
1782
+ "name": "updateDistributor",
1783
+ "outputs": [],
1784
+ "stateMutability": "nonpayable",
1785
+ "type": "function"
1786
+ },
1787
+ {
1788
+ "inputs": [
1789
+ {
1790
+ "internalType": "NftId",
1791
+ "name": "distributorNftId",
1792
+ "type": "uint96"
1793
+ },
1794
+ {
1795
+ "internalType": "StateId",
1796
+ "name": "newState",
1797
+ "type": "uint8"
1798
+ }
1799
+ ],
1800
+ "name": "updateDistributorState",
1801
+ "outputs": [],
1802
+ "stateMutability": "nonpayable",
1803
+ "type": "function"
1804
+ },
1805
+ {
1806
+ "inputs": [
1807
+ {
1808
+ "internalType": "DistributorType",
1809
+ "name": "distributorType",
1810
+ "type": "bytes8"
1811
+ },
1812
+ {
1813
+ "components": [
1814
+ {
1815
+ "internalType": "string",
1816
+ "name": "name",
1817
+ "type": "string"
1818
+ },
1819
+ {
1820
+ "internalType": "UFixed",
1821
+ "name": "minDiscountPercentage",
1822
+ "type": "uint256"
1823
+ },
1824
+ {
1825
+ "internalType": "UFixed",
1826
+ "name": "maxDiscountPercentage",
1827
+ "type": "uint256"
1828
+ },
1829
+ {
1830
+ "internalType": "UFixed",
1831
+ "name": "commissionPercentage",
1832
+ "type": "uint256"
1833
+ },
1834
+ {
1835
+ "internalType": "uint32",
1836
+ "name": "maxReferralCount",
1837
+ "type": "uint32"
1838
+ },
1839
+ {
1840
+ "internalType": "uint32",
1841
+ "name": "maxReferralLifetime",
1842
+ "type": "uint32"
1843
+ },
1844
+ {
1845
+ "internalType": "bool",
1846
+ "name": "allowSelfReferrals",
1847
+ "type": "bool"
1848
+ },
1849
+ {
1850
+ "internalType": "bool",
1851
+ "name": "allowRenewals",
1852
+ "type": "bool"
1853
+ },
1854
+ {
1855
+ "internalType": "bytes",
1856
+ "name": "data",
1857
+ "type": "bytes"
1858
+ }
1859
+ ],
1860
+ "internalType": "struct IDistribution.DistributorTypeInfo",
1861
+ "name": "info",
1862
+ "type": "tuple"
1863
+ },
1864
+ {
1865
+ "internalType": "StateId",
1866
+ "name": "newState",
1867
+ "type": "uint8"
1868
+ }
1869
+ ],
1870
+ "name": "updateDistributorType",
1871
+ "outputs": [],
1872
+ "stateMutability": "nonpayable",
1873
+ "type": "function"
1874
+ },
1875
+ {
1876
+ "inputs": [
1877
+ {
1878
+ "internalType": "DistributorType",
1879
+ "name": "distributorType",
1880
+ "type": "bytes8"
1881
+ },
1882
+ {
1883
+ "internalType": "StateId",
1884
+ "name": "newState",
1885
+ "type": "uint8"
1886
+ }
1887
+ ],
1888
+ "name": "updateDistributorTypeState",
1889
+ "outputs": [],
1890
+ "stateMutability": "nonpayable",
1891
+ "type": "function"
1892
+ },
1893
+ {
1894
+ "inputs": [
1895
+ {
1896
+ "internalType": "NftId",
1897
+ "name": "policyNftId",
1898
+ "type": "uint96"
1899
+ },
1900
+ {
1901
+ "internalType": "PayoutId",
1902
+ "name": "payoutId",
1903
+ "type": "uint24"
1904
+ },
1905
+ {
1906
+ "components": [
1907
+ {
1908
+ "internalType": "ClaimId",
1909
+ "name": "claimId",
1910
+ "type": "uint16"
1911
+ },
1912
+ {
1913
+ "internalType": "Amount",
1914
+ "name": "amount",
1915
+ "type": "uint96"
1916
+ },
1917
+ {
1918
+ "internalType": "bytes",
1919
+ "name": "data",
1920
+ "type": "bytes"
1921
+ },
1922
+ {
1923
+ "internalType": "Timestamp",
1924
+ "name": "paidAt",
1925
+ "type": "uint40"
1926
+ }
1927
+ ],
1928
+ "internalType": "struct IPolicy.PayoutInfo",
1929
+ "name": "payout",
1930
+ "type": "tuple"
1931
+ },
1932
+ {
1933
+ "internalType": "StateId",
1934
+ "name": "newState",
1935
+ "type": "uint8"
1936
+ }
1937
+ ],
1938
+ "name": "updatePayout",
1939
+ "outputs": [],
1940
+ "stateMutability": "nonpayable",
1941
+ "type": "function"
1942
+ },
1943
+ {
1944
+ "inputs": [
1945
+ {
1946
+ "internalType": "NftId",
1947
+ "name": "policyNftId",
1948
+ "type": "uint96"
1949
+ },
1950
+ {
1951
+ "internalType": "PayoutId",
1952
+ "name": "payoutId",
1953
+ "type": "uint24"
1954
+ },
1955
+ {
1956
+ "internalType": "StateId",
1957
+ "name": "newState",
1958
+ "type": "uint8"
1959
+ }
1960
+ ],
1961
+ "name": "updatePayoutState",
1962
+ "outputs": [],
1963
+ "stateMutability": "nonpayable",
1964
+ "type": "function"
1965
+ },
1966
+ {
1967
+ "inputs": [
1968
+ {
1969
+ "internalType": "NftId",
1970
+ "name": "policyNftId",
1971
+ "type": "uint96"
1972
+ },
1973
+ {
1974
+ "components": [
1975
+ {
1976
+ "internalType": "NftId",
1977
+ "name": "productNftId",
1978
+ "type": "uint96"
1979
+ },
1980
+ {
1981
+ "internalType": "NftId",
1982
+ "name": "bundleNftId",
1983
+ "type": "uint96"
1984
+ },
1985
+ {
1986
+ "internalType": "ReferralId",
1987
+ "name": "referralId",
1988
+ "type": "bytes8"
1989
+ },
1990
+ {
1991
+ "internalType": "RiskId",
1992
+ "name": "riskId",
1993
+ "type": "bytes8"
1994
+ },
1995
+ {
1996
+ "internalType": "Amount",
1997
+ "name": "sumInsuredAmount",
1998
+ "type": "uint96"
1999
+ },
2000
+ {
2001
+ "internalType": "Amount",
2002
+ "name": "premiumAmount",
2003
+ "type": "uint96"
2004
+ },
2005
+ {
2006
+ "internalType": "Amount",
2007
+ "name": "premiumPaidAmount",
2008
+ "type": "uint96"
2009
+ },
2010
+ {
2011
+ "internalType": "Seconds",
2012
+ "name": "lifetime",
2013
+ "type": "uint40"
2014
+ },
2015
+ {
2016
+ "internalType": "bytes",
2017
+ "name": "applicationData",
2018
+ "type": "bytes"
2019
+ },
2020
+ {
2021
+ "internalType": "bytes",
2022
+ "name": "processData",
2023
+ "type": "bytes"
2024
+ },
2025
+ {
2026
+ "internalType": "uint16",
2027
+ "name": "claimsCount",
2028
+ "type": "uint16"
2029
+ },
2030
+ {
2031
+ "internalType": "uint16",
2032
+ "name": "openClaimsCount",
2033
+ "type": "uint16"
2034
+ },
2035
+ {
2036
+ "internalType": "Amount",
2037
+ "name": "claimAmount",
2038
+ "type": "uint96"
2039
+ },
2040
+ {
2041
+ "internalType": "Amount",
2042
+ "name": "payoutAmount",
2043
+ "type": "uint96"
2044
+ },
2045
+ {
2046
+ "internalType": "Timestamp",
2047
+ "name": "activatedAt",
2048
+ "type": "uint40"
2049
+ },
2050
+ {
2051
+ "internalType": "Timestamp",
2052
+ "name": "expiredAt",
2053
+ "type": "uint40"
2054
+ },
2055
+ {
2056
+ "internalType": "Timestamp",
2057
+ "name": "closedAt",
2058
+ "type": "uint40"
2059
+ }
2060
+ ],
2061
+ "internalType": "struct IPolicy.PolicyInfo",
2062
+ "name": "policy",
2063
+ "type": "tuple"
2064
+ },
2065
+ {
2066
+ "internalType": "StateId",
2067
+ "name": "newState",
2068
+ "type": "uint8"
2069
+ }
2070
+ ],
2071
+ "name": "updatePolicy",
2072
+ "outputs": [],
2073
+ "stateMutability": "nonpayable",
2074
+ "type": "function"
2075
+ },
2076
+ {
2077
+ "inputs": [
2078
+ {
2079
+ "internalType": "NftId",
2080
+ "name": "policyNftId",
2081
+ "type": "uint96"
2082
+ },
2083
+ {
2084
+ "components": [
2085
+ {
2086
+ "internalType": "NftId",
2087
+ "name": "productNftId",
2088
+ "type": "uint96"
2089
+ },
2090
+ {
2091
+ "internalType": "NftId",
2092
+ "name": "bundleNftId",
2093
+ "type": "uint96"
2094
+ },
2095
+ {
2096
+ "internalType": "ReferralId",
2097
+ "name": "referralId",
2098
+ "type": "bytes8"
2099
+ },
2100
+ {
2101
+ "internalType": "RiskId",
2102
+ "name": "riskId",
2103
+ "type": "bytes8"
2104
+ },
2105
+ {
2106
+ "internalType": "Amount",
2107
+ "name": "sumInsuredAmount",
2108
+ "type": "uint96"
2109
+ },
2110
+ {
2111
+ "internalType": "Amount",
2112
+ "name": "premiumAmount",
2113
+ "type": "uint96"
2114
+ },
2115
+ {
2116
+ "internalType": "Amount",
2117
+ "name": "premiumPaidAmount",
2118
+ "type": "uint96"
2119
+ },
2120
+ {
2121
+ "internalType": "Seconds",
2122
+ "name": "lifetime",
2123
+ "type": "uint40"
2124
+ },
2125
+ {
2126
+ "internalType": "bytes",
2127
+ "name": "applicationData",
2128
+ "type": "bytes"
2129
+ },
2130
+ {
2131
+ "internalType": "bytes",
2132
+ "name": "processData",
2133
+ "type": "bytes"
2134
+ },
2135
+ {
2136
+ "internalType": "uint16",
2137
+ "name": "claimsCount",
2138
+ "type": "uint16"
2139
+ },
2140
+ {
2141
+ "internalType": "uint16",
2142
+ "name": "openClaimsCount",
2143
+ "type": "uint16"
2144
+ },
2145
+ {
2146
+ "internalType": "Amount",
2147
+ "name": "claimAmount",
2148
+ "type": "uint96"
2149
+ },
2150
+ {
2151
+ "internalType": "Amount",
2152
+ "name": "payoutAmount",
2153
+ "type": "uint96"
2154
+ },
2155
+ {
2156
+ "internalType": "Timestamp",
2157
+ "name": "activatedAt",
2158
+ "type": "uint40"
2159
+ },
2160
+ {
2161
+ "internalType": "Timestamp",
2162
+ "name": "expiredAt",
2163
+ "type": "uint40"
2164
+ },
2165
+ {
2166
+ "internalType": "Timestamp",
2167
+ "name": "closedAt",
2168
+ "type": "uint40"
2169
+ }
2170
+ ],
2171
+ "internalType": "struct IPolicy.PolicyInfo",
2172
+ "name": "policy",
2173
+ "type": "tuple"
2174
+ },
2175
+ {
2176
+ "internalType": "StateId",
2177
+ "name": "newState",
2178
+ "type": "uint8"
2179
+ }
2180
+ ],
2181
+ "name": "updatePolicyClaims",
2182
+ "outputs": [],
2183
+ "stateMutability": "nonpayable",
2184
+ "type": "function"
2185
+ },
2186
+ {
2187
+ "inputs": [
2188
+ {
2189
+ "internalType": "NftId",
2190
+ "name": "policyNftId",
2191
+ "type": "uint96"
2192
+ },
2193
+ {
2194
+ "internalType": "StateId",
2195
+ "name": "newState",
2196
+ "type": "uint8"
2197
+ }
2198
+ ],
2199
+ "name": "updatePolicyState",
2200
+ "outputs": [],
2201
+ "stateMutability": "nonpayable",
2202
+ "type": "function"
2203
+ },
2204
+ {
2205
+ "inputs": [
2206
+ {
2207
+ "internalType": "NftId",
2208
+ "name": "poolNftId",
2209
+ "type": "uint96"
2210
+ },
2211
+ {
2212
+ "components": [
2213
+ {
2214
+ "internalType": "string",
2215
+ "name": "name",
2216
+ "type": "string"
2217
+ },
2218
+ {
2219
+ "internalType": "contract IERC20Metadata",
2220
+ "name": "token",
2221
+ "type": "address"
2222
+ },
2223
+ {
2224
+ "internalType": "contract TokenHandler",
2225
+ "name": "tokenHandler",
2226
+ "type": "address"
2227
+ },
2228
+ {
2229
+ "internalType": "address",
2230
+ "name": "wallet",
2231
+ "type": "address"
2232
+ },
2233
+ {
2234
+ "internalType": "Amount",
2235
+ "name": "balanceAmount",
2236
+ "type": "uint96"
2237
+ },
2238
+ {
2239
+ "internalType": "Amount",
2240
+ "name": "feeAmount",
2241
+ "type": "uint96"
2242
+ },
2243
+ {
2244
+ "internalType": "bytes",
2245
+ "name": "data",
2246
+ "type": "bytes"
2247
+ }
2248
+ ],
2249
+ "internalType": "struct IComponents.ComponentInfo",
2250
+ "name": "info",
2251
+ "type": "tuple"
2252
+ },
2253
+ {
2254
+ "internalType": "StateId",
2255
+ "name": "newState",
2256
+ "type": "uint8"
2257
+ }
2258
+ ],
2259
+ "name": "updatePoolSetup",
2260
+ "outputs": [],
2261
+ "stateMutability": "nonpayable",
2262
+ "type": "function"
2263
+ },
2264
+ {
2265
+ "inputs": [
2266
+ {
2267
+ "internalType": "NftId",
2268
+ "name": "poolNftId",
2269
+ "type": "uint96"
2270
+ },
2271
+ {
2272
+ "internalType": "StateId",
2273
+ "name": "newState",
2274
+ "type": "uint8"
2275
+ }
2276
+ ],
2277
+ "name": "updatePoolSetupState",
2278
+ "outputs": [],
2279
+ "stateMutability": "nonpayable",
2280
+ "type": "function"
2281
+ },
2282
+ {
2283
+ "inputs": [
2284
+ {
2285
+ "internalType": "NftId",
2286
+ "name": "productNftId",
2287
+ "type": "uint96"
2288
+ },
2289
+ {
2290
+ "components": [
2291
+ {
2292
+ "internalType": "contract IERC20Metadata",
2293
+ "name": "token",
2294
+ "type": "address"
2295
+ },
2296
+ {
2297
+ "internalType": "contract TokenHandler",
2298
+ "name": "tokenHandler",
2299
+ "type": "address"
2300
+ },
2301
+ {
2302
+ "internalType": "NftId",
2303
+ "name": "distributionNftId",
2304
+ "type": "uint96"
2305
+ },
2306
+ {
2307
+ "internalType": "NftId",
2308
+ "name": "poolNftId",
2309
+ "type": "uint96"
2310
+ },
2311
+ {
2312
+ "components": [
2313
+ {
2314
+ "internalType": "UFixed",
2315
+ "name": "fractionalFee",
2316
+ "type": "uint256"
2317
+ },
2318
+ {
2319
+ "internalType": "uint256",
2320
+ "name": "fixedFee",
2321
+ "type": "uint256"
2322
+ }
2323
+ ],
2324
+ "internalType": "struct Fee",
2325
+ "name": "productFee",
2326
+ "type": "tuple"
2327
+ },
2328
+ {
2329
+ "components": [
2330
+ {
2331
+ "internalType": "UFixed",
2332
+ "name": "fractionalFee",
2333
+ "type": "uint256"
2334
+ },
2335
+ {
2336
+ "internalType": "uint256",
2337
+ "name": "fixedFee",
2338
+ "type": "uint256"
2339
+ }
2340
+ ],
2341
+ "internalType": "struct Fee",
2342
+ "name": "processingFee",
2343
+ "type": "tuple"
2344
+ },
2345
+ {
2346
+ "internalType": "bool",
2347
+ "name": "isIntercepting",
2348
+ "type": "bool"
2349
+ },
2350
+ {
2351
+ "internalType": "address",
2352
+ "name": "wallet",
2353
+ "type": "address"
2354
+ }
2355
+ ],
2356
+ "internalType": "struct ISetup.ProductSetupInfo",
2357
+ "name": "setup",
2358
+ "type": "tuple"
2359
+ },
2360
+ {
2361
+ "internalType": "StateId",
2362
+ "name": "newState",
2363
+ "type": "uint8"
2364
+ }
2365
+ ],
2366
+ "name": "updateProductSetup",
2367
+ "outputs": [],
2368
+ "stateMutability": "nonpayable",
2369
+ "type": "function"
2370
+ },
2371
+ {
2372
+ "inputs": [
2373
+ {
2374
+ "internalType": "NftId",
2375
+ "name": "productNftId",
2376
+ "type": "uint96"
2377
+ },
2378
+ {
2379
+ "internalType": "StateId",
2380
+ "name": "newState",
2381
+ "type": "uint8"
2382
+ }
2383
+ ],
2384
+ "name": "updateProductSetupState",
2385
+ "outputs": [],
2386
+ "stateMutability": "nonpayable",
2387
+ "type": "function"
2388
+ },
2389
+ {
2390
+ "inputs": [
2391
+ {
2392
+ "internalType": "ReferralId",
2393
+ "name": "referralId",
2394
+ "type": "bytes8"
2395
+ },
2396
+ {
2397
+ "components": [
2398
+ {
2399
+ "internalType": "NftId",
2400
+ "name": "distributorNftId",
2401
+ "type": "uint96"
2402
+ },
2403
+ {
2404
+ "internalType": "string",
2405
+ "name": "referralCode",
2406
+ "type": "string"
2407
+ },
2408
+ {
2409
+ "internalType": "UFixed",
2410
+ "name": "discountPercentage",
2411
+ "type": "uint256"
2412
+ },
2413
+ {
2414
+ "internalType": "uint32",
2415
+ "name": "maxReferrals",
2416
+ "type": "uint32"
2417
+ },
2418
+ {
2419
+ "internalType": "uint32",
2420
+ "name": "usedReferrals",
2421
+ "type": "uint32"
2422
+ },
2423
+ {
2424
+ "internalType": "Timestamp",
2425
+ "name": "expiryAt",
2426
+ "type": "uint40"
2427
+ },
2428
+ {
2429
+ "internalType": "bytes",
2430
+ "name": "data",
2431
+ "type": "bytes"
2432
+ }
2433
+ ],
2434
+ "internalType": "struct IDistribution.ReferralInfo",
2435
+ "name": "referralInfo",
2436
+ "type": "tuple"
2437
+ },
2438
+ {
2439
+ "internalType": "StateId",
2440
+ "name": "newState",
2441
+ "type": "uint8"
2442
+ }
2443
+ ],
2444
+ "name": "updateReferral",
2445
+ "outputs": [],
2446
+ "stateMutability": "nonpayable",
2447
+ "type": "function"
2448
+ },
2449
+ {
2450
+ "inputs": [
2451
+ {
2452
+ "internalType": "ReferralId",
2453
+ "name": "referralId",
2454
+ "type": "bytes8"
2455
+ },
2456
+ {
2457
+ "internalType": "StateId",
2458
+ "name": "newState",
2459
+ "type": "uint8"
2460
+ }
2461
+ ],
2462
+ "name": "updateReferralState",
2463
+ "outputs": [],
2464
+ "stateMutability": "nonpayable",
2465
+ "type": "function"
2466
+ },
2467
+ {
2468
+ "inputs": [
2469
+ {
2470
+ "internalType": "RiskId",
2471
+ "name": "riskId",
2472
+ "type": "bytes8"
2473
+ },
2474
+ {
2475
+ "components": [
2476
+ {
2477
+ "internalType": "NftId",
2478
+ "name": "productNftId",
2479
+ "type": "uint96"
2480
+ },
2481
+ {
2482
+ "internalType": "bytes",
2483
+ "name": "data",
2484
+ "type": "bytes"
2485
+ }
2486
+ ],
2487
+ "internalType": "struct IRisk.RiskInfo",
2488
+ "name": "risk",
2489
+ "type": "tuple"
2490
+ },
2491
+ {
2492
+ "internalType": "StateId",
2493
+ "name": "newState",
2494
+ "type": "uint8"
2495
+ }
2496
+ ],
2497
+ "name": "updateRisk",
2498
+ "outputs": [],
2499
+ "stateMutability": "nonpayable",
2500
+ "type": "function"
2501
+ },
2502
+ {
2503
+ "inputs": [
2504
+ {
2505
+ "internalType": "RiskId",
2506
+ "name": "riskId",
2507
+ "type": "bytes8"
2508
+ },
2509
+ {
2510
+ "internalType": "StateId",
2511
+ "name": "newState",
2512
+ "type": "uint8"
2513
+ }
2514
+ ],
2515
+ "name": "updateRiskState",
2516
+ "outputs": [],
2517
+ "stateMutability": "nonpayable",
2518
+ "type": "function"
2519
+ }
2520
+ ],
2521
+ "bytecode": "0x608060405234801561001057600080fd5b50614900806100206000396000f3fe608060405234801561001057600080fd5b50600436106102f15760003560e01c80638fb360371161019d578063bf7e214f116100e9578063e9e96c70116100a2578063f7b442d11161007c578063f7b442d11461078c578063fae5df9b1461079f578063fbc1a3a0146107b2578063fe1f18d6146107c557600080fd5b8063e9e96c701461072d578063f48016ce1461076b578063f5884fc51461055257600080fd5b8063bf7e214f146106ae578063c4d66de8146106ce578063ca0e7f08146106e1578063d2f21a29146106f4578063d5c9d77d14610707578063dee326231461071a57600080fd5b8063a4eeee5911610156578063a898967511610130578063a898967514610662578063af90250014610675578063b6d7cd6214610688578063bf1db3f91461069b57600080fd5b8063a4eeee591461058b578063a5961b4c1461059e578063a76ee0181461064f57600080fd5b80638fb360371461051e57806397affbf51461053f578063985aeba7146105525780639e90178c14610565578063a1fc100414610552578063a28422291461057857600080fd5b806338a699a41161025c5780635d4345cc116102155780637cca1124116101ef5780637cca1124146104c55780637cef4842146104d857806381c2b282146104eb5780638eaa6ac0146104fe57600080fd5b80635d4345cc146103a957806361105e0e1461049f5780637a9e5e4b146104b257600080fd5b806338a699a41461041b57806340529b0f1461043e578063468bce061461045157806354f6127f1461045957806359852426146104795780635a8416b01461048c57600080fd5b80630fad0eb1116102ae5780630fad0eb1146103a95780631e40b363146103bc5780632a8ea7ac146103cf5780632f61088a146103e257806330a130ba146103f55780633870a7701461040857600080fd5b806309648a9d146102f65780630cbc6b89146103355780630cfc3ba31461034a5780630d3581811461035d5780630f526f7d146103835780630f6c29ef14610396575b600080fd5b61031e610304366004612b0a565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b610348610343366004612d3d565b6107d8565b005b610348610358366004612f11565b61081e565b61031e61036b366004612f72565b60ff9081166000908152602081905260409020541690565b610348610391366004612f8f565b610859565b6103486103a436600461307e565b61087a565b6103486103b7366004612f8f565b6108a7565b6103486103ca3660046131e4565b6108be565b6103486103dd3660046133b6565b6108e6565b6103486103f036600461345f565b61090e565b610348610403366004613577565b6109ae565b6103486104163660046135bc565b610a4e565b61042e610429366004612b0a565b610a64565b604051901515815260200161032c565b61034861044c366004612f8f565b610af5565b610348610b0c565b61046c610467366004612b0a565b610b3e565b60405161032c919061364a565b610348610487366004613726565b610be3565b61034861049a36600461376d565b610c0b565b6103486104ad366004613870565b610cab565b6103486104c03660046138b7565b610d4b565b6103486104d33660046138d4565b610dd3565b6103486104e6366004613919565b610dfb565b6103486104f9366004613937565b610e8a565b61051161050c366004612b0a565b610eb1565b60405161032c91906139d6565b610526610ff2565b6040516001600160e01b0319909116815260200161032c565b61034861054d366004613a0a565b61102b565b610348610560366004613a4f565b611053565b610348610573366004613b3b565b61107b565b610348610586366004613919565b6110a3565b610348610599366004613c03565b6110f1565b6106426105ac366004612b0a565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161032c9190613c4a565b61034861065d366004613c58565b611119565b610348610670366004613c9f565b6111b9565b610348610683366004613919565b6112aa565b610348610696366004613ccf565b6112f8565b61042e6106a9366004612f72565b61130e565b6106b661135b565b6040516001600160a01b03909116815260200161032c565b6103486106dc3660046138b7565b611377565b6103486106ef366004613cff565b6114f5565b610348610702366004612f8f565b611595565b610348610715366004613d44565b6115ac565b610348610728366004612f8f565b6115d4565b61042e61073b366004613c9f565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61077e610779366004613d99565b6115eb565b60405190815260200161032c565b61034861079a366004613dc7565b611676565b6103486107ad366004613e08565b61169e565b6103486107c0366004613e60565b6116c5565b6103486107d3366004612f8f565b6116ed565b6107e5335b600036611704565b6108196107f384606e611802565b836040516020016108049190613e8e565b6040516020818303038152906040528361184e565b505050565b610827336107dd565b6108196108348484611cb9565b826040516020016108459190613f3d565b604051602081830303815290604052611d06565b610862336107dd565b61087661087083608c611802565b826120d0565b5050565b610883336107dd565b6108a161089085856123ae565b836040516020016108049190613fdd565b50505050565b6108b0336107dd565b6108766108708360d3611802565b6108c7336107dd565b6108196108d584607a611802565b836040516020016108049190614037565b6108ef336107dd565b6108766108fd8360d3611802565b8260405160200161084591906140a4565b610917336107dd565b6040516355ee627560e01b81526108769073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061095c906001600160c01b0319871690600401614255565b602060405180830381865af4158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d919061426a565b826040516020016108459190614283565b6109b7336107dd565b6040516355ee627560e01b81526108769073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906109fc906001600160c01b0319871690600401614255565b602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d919061426a565b8260405160200161084591906142b1565b610a57336107dd565b61081961087084846123ae565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190614361565b92915050565b610afe336107dd565b61087661087083607a611802565b610b146123fc565b610b1c612445565b610b24612568565b610b2c61265a565b610b34612791565b610b3c6128bd565b565b6000818152600260205260409020600101805460609190610b5e9061437e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8a9061437e565b8015610bd75780601f10610bac57610100808354040283529160200191610bd7565b820191906000526020600020905b815481529060010190602001808311610bba57829003601f168201915b50505050509050919050565b610bec336107dd565b610819610bfa8460dc611802565b8360405160200161080491906143b8565b610c14336107dd565b6040516355ee627560e01b81526108199073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c59906001600160c01b0319881690600401614255565b602060405180830381865af4158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a919061426a565b8360405160200161080491906142b1565b610cb4336107dd565b6040516355ee627560e01b81526108199073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610cf9906001600160c01b0319881690600401614255565b602060405180830381865af4158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a919061426a565b836040516020016108049190614488565b33610d5461135b565b6001600160a01b0316816001600160a01b031614610d945760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610dca576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d8b565b61087682612978565b610ddc336107dd565b610876610dea83607a611802565b826040516020016108459190614037565b610e04336107dd565b6040516355ee627560e01b81526108769073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e49906001600160c01b0319871690600401614255565b602060405180830381865af4158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610870919061426a565b610e93336107dd565b610819610ea084846123ae565b826040516020016108459190613fdd565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191610f699061437e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f959061437e565b8015610fe25780601f10610fb757610100808354040283529160200191610fe2565b820191906000526020600020905b815481529060010190602001808311610fc557829003601f168201915b5050505050815250509050919050565b6000805160206148ab833981519152805460009190600160a01b900460ff1661101c576000611025565b638fb3603760e01b5b91505090565b611034336107dd565b6108766110428360dc611802565b8260405160200161084591906143b8565b61105c336107dd565b61081961106a8460d3611802565b8360405160200161080491906140a4565b611084336107dd565b610876611092836078611802565b826040516020016108459190614524565b6110ac336107dd565b6040516355ee627560e01b81526108769073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e49906001600160c01b0319871690600401614255565b6110fa336107dd565b61081961110884608c611802565b836040516020016108049190614598565b611122336107dd565b6040516355ee627560e01b81526108199073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611167906001600160c01b0319881690600401614255565b602060405180830381865af4158015611184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a8919061426a565b836040516020016108049190614283565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561121e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112429190614361565b1561124c57505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661081957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d8b565b6112b3336107dd565b6040516355ee627560e01b81526108769073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e49906001600160c01b0319871690600401614255565b611301336107dd565b6108196108708484611cb9565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610aae565b6000805160206148ab833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156113bc5750825b90506000826001600160401b031660011480156113d85750303b155b9050811580156113e6575080155b156114045760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561142e57845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114929190614619565b905061149d816129d9565b6114a5610b0c565b5083156114ed57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6114fe336107dd565b6040516355ee627560e01b81526108769073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611543906001600160c01b0319871690600401614255565b602060405180830381865af4158015611560573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611584919061426a565b826040516020016108459190614488565b61159e336107dd565b610876610870836078611802565b6115b5336107dd565b6108766115c383608c611802565b826040516020016108459190614598565b6115dd336107dd565b61087661087083606e611802565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af415801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f919061426a565b9392505050565b61167f336107dd565b61081961168d846078611802565b836040516020016108049190614524565b6116a7336107dd565b6108a16116b48585611cb9565b836040516020016108049190613f3d565b6116ce336107dd565b6108766116dc83606e611802565b826040516020016108459190613e8e565b6116f6336107dd565b6108766108708360dc611802565b6000805160206148ab83398151915260008061173f61172161135b565b8730611731600460008a8c614636565b61173a91614660565b6129ed565b91509150816114ed5763ffffffff8116156117df57825460ff60a01b1916600160a01b17835561176d61135b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161179c93929190614690565b600060405180830381600087803b1580156117b657600080fd5b505af11580156117ca573d6000803e3d6000fd5b5050845460ff60a01b19168555506114ed9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d8b565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c89060440161162e565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156118a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c49190614361565b156118e55760405163093b89e160e11b815260048101849052602401610d8b565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611951573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119759190614361565b156119965760405163566ebf7960e01b815260048101869052602401610d8b565b60008581526002602052604090206001016119b18582614716565b5060ff808416146119df5781546119cc9060ff1682856111b9565b815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416611a0f4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611aa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac591906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611b15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3991906147f2565b8588863287604051611b51979695949392919061480f565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bef91906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6391906147f2565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161162e565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7d91906147d5565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611dd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df69190614361565b15611e19576040516307014a8d60e51b815260ff82166004820152602401610d8b565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea69190614361565b15611ed057604051633f92eac960e21b81526004810185905260ff83166024820152604401610d8b565b33436000611edd8561130e565b611ee8576064611efe565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101611f888782614716565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201f91906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561206f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209391906147f2565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001611ca8565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612122573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121469190614361565b156121675760405163093b89e160e11b815260048101839052602401610d8b565b600082815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156121d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f79190614361565b156122185760405163566ebf7960e01b815260048101859052602401610d8b565b81546122289060ff1682856111b9565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661226c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061232291906147d5565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612372573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239691906147f2565b85888632876040516114e4979695949392919061480f565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__9063592734119060440161162e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b3c57604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061254460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff168152602001908152602001600020600061263c606e90565b60ff1660ff168152602001908152602001600020600061254460d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557ff9240d619fae1c941eaa4888cff36b0b9489ef130bdb7c814fd3a0e301d8ad1f80548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064612526565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc612544565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c861261e565b6000805160206148ab83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6129e16123fc565b6129ea81612af9565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a5c919061485f565b600060405180830381855afa9150503d8060008114612a97576040519150601f19603f3d011682016040523d82523d6000602084013e612a9c565b606091505b50915091508115612aee576040815110612ace5780806020019051810190612ac4919061487b565b9094509250612aee565b6020815110612aee5780806020019051810190612aeb9190614361565b93505b505094509492505050565b612b016123fc565b6129ea81612978565b600060208284031215612b1c57600080fd5b5035919050565b6001600160601b03811681146129ea57600080fd5b8035612b4381612b23565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612b8057612b80612b48565b60405290565b60405161010081016001600160401b0381118282101715612b8057612b80612b48565b60405160e081016001600160401b0381118282101715612b8057612b80612b48565b60405161022081016001600160401b0381118282101715612b8057612b80612b48565b60405161012081016001600160401b0381118282101715612b8057612b80612b48565b6001600160a01b03811681146129ea57600080fd5b8035612b4381612c11565b600060408284031215612c4357600080fd5b612c4b612b5e565b9050813581526020820135602082015292915050565b80151581146129ea57600080fd5b8035612b4381612c61565b60006101408284031215612c8d57600080fd5b612c95612b86565b9050612ca082612c26565b8152612cae60208301612c26565b6020820152612cbf60408301612b38565b6040820152612cd060608301612b38565b6060820152612ce28360808401612c31565b6080820152612cf48360c08401612c31565b60a0820152612d066101008301612c6f565b60c0820152612d186101208301612c26565b60e082015292915050565b60ff811681146129ea57600080fd5b8035612b4381612d23565b60008060006101808486031215612d5357600080fd5b8335612d5e81612b23565b9250612d6d8560208601612c7a565b9150610160840135612d7e81612d23565b809150509250925092565b61ffff811681146129ea57600080fd5b8035612b4381612d89565b600082601f830112612db557600080fd5b81356001600160401b0380821115612dcf57612dcf612b48565b604051601f8301601f19908116603f01168101908282118183101715612df757612df7612b48565b81604052838152866020858801011115612e1057600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff811681146129ea57600080fd5b8035612b4381612e30565b600060e08284031215612e6057600080fd5b612e68612ba9565b9050612e7382612b38565b8152612e8160208301612b38565b6020820152612e9260408301612d32565b6040820152612ea360608301612d32565b606082015260808201356001600160401b0380821115612ec257600080fd5b612ece85838601612da4565b608084015260a0840135915080821115612ee757600080fd5b50612ef484828501612da4565b60a083015250612f0660c08301612e43565b60c082015292915050565b600080600060608486031215612f2657600080fd5b8335612f3181612b23565b92506020840135612f4181612d89565b915060408401356001600160401b03811115612f5c57600080fd5b612f6886828701612e4e565b9150509250925092565b600060208284031215612f8457600080fd5b813561166f81612d23565b60008060408385031215612fa257600080fd5b8235612fad81612b23565b91506020830135612fbd81612d23565b809150509250929050565b803562ffffff81168114612b4357600080fd5b600060808284031215612fed57600080fd5b604051608081016001600160401b03828210818311171561301057613010612b48565b816040528293508435915061302482612d89565b90825260208401359061303682612b23565b816020840152604085013591508082111561305057600080fd5b5061305d85828601612da4565b604083015250606083013561307181612e30565b6060919091015292915050565b6000806000806080858703121561309457600080fd5b843561309f81612b23565b93506130ad60208601612fc8565b925060408501356001600160401b038111156130c857600080fd5b6130d487828801612fdb565b92505060608501356130e581612d23565b939692955090935050565b6001600160c01b0319811681146129ea57600080fd5b8035612b43816130f0565b63ffffffff811681146129ea57600080fd5b8035612b4381613111565b600060a0828403121561314057600080fd5b60405160a081016001600160401b03828210818311171561316357613163612b48565b8160405282935084359150613177826130f0565b90825260208401359061318982612c61565b81602084015260408501359150808211156131a357600080fd5b506131b085828601612da4565b60408301525060608301356131c481612b23565b606082015260808301356131d781613111565b6080919091015292915050565b6000806000606084860312156131f957600080fd5b833561320481612b23565b925060208401356001600160401b0381111561321f57600080fd5b61322b8682870161312e565b9250506040840135612d7e81612d23565b6000610220828403121561324f57600080fd5b613257612bcb565b905061326282612b38565b815261327060208301612b38565b602082015261328160408301613106565b604082015261329260608301613106565b60608201526132a360808301612b38565b60808201526132b460a08301612b38565b60a08201526132c560c08301612b38565b60c08201526132d660e08301612e43565b60e0820152610100808301356001600160401b03808211156132f757600080fd5b61330386838701612da4565b8385015261012092508285013591508082111561331f57600080fd5b5061332c85828601612da4565b828401525050610140613340818401612d99565b90820152610160613352838201612d99565b90820152610180613364838201612b38565b908201526101a0613376838201612b38565b908201526101c0613388838201612e43565b908201526101e061339a838201612e43565b908201526102006133ac838201612e43565b9082015292915050565b600080604083850312156133c957600080fd5b82356133d481612b23565b915060208301356001600160401b038111156133ef57600080fd5b6133fb8582860161323c565b9150509250929050565b60006040828403121561341757600080fd5b61341f612b5e565b9050813561342c81612b23565b815260208201356001600160401b0381111561344757600080fd5b61345384828501612da4565b60208301525092915050565b6000806040838503121561347257600080fd5b823561347d816130f0565b915060208301356001600160401b0381111561349857600080fd5b6133fb85828601613405565b600061012082840312156134b757600080fd5b6134bf612bee565b905081356001600160401b03808211156134d857600080fd5b6134e485838601612da4565b835260208401356020840152604084013560408401526060840135606084015261351060808501613123565b608084015261352160a08501613123565b60a084015261353260c08501612c6f565b60c084015261354360e08501612c6f565b60e08401526101009150818401358181111561355e57600080fd5b61356a86828701612da4565b8385015250505092915050565b6000806040838503121561358a57600080fd5b8235613595816130f0565b915060208301356001600160401b038111156135b057600080fd5b6133fb858286016134a4565b6000806000606084860312156135d157600080fd5b83356135dc81612b23565b92506135ea60208501612fc8565b91506040840135612d7e81612d23565b60005b838110156136155781810151838201526020016135fd565b50506000910152565b600081518084526136368160208601602086016135fa565b601f01601f19169290920160200192915050565b60208152600061166f602083018461361e565b6000610140828403121561367057600080fd5b613678612bee565b905061368382612b38565b81526136928360208401612c31565b602082015260608201356001600160401b038111156136b057600080fd5b6136bc84828501612da4565b6040830152506136ce60808301612b38565b60608201526136df60a08301612b38565b60808201526136f060c08301612b38565b60a082015261370160e08301612e43565b60c0820152610100613714818401612e43565b60e08301526133ac6101208401612e43565b60008060006060848603121561373b57600080fd5b833561374681612b23565b925060208401356001600160401b0381111561376157600080fd5b61322b8682870161365d565b60008060006060848603121561378257600080fd5b833561378d816130f0565b925060208401356001600160401b038111156137a857600080fd5b61322b868287016134a4565b600060e082840312156137c657600080fd5b6137ce612ba9565b90506137d982612b38565b815260208201356001600160401b03808211156137f557600080fd5b61380185838601612da4565b60208401526040840135604084015261381c60608501613123565b606084015261382d60808501613123565b608084015261383e60a08501612e43565b60a084015260c084013591508082111561385757600080fd5b5061386484828501612da4565b60c08301525092915050565b60008060006060848603121561388557600080fd5b8335613890816130f0565b925060208401356001600160401b038111156138ab57600080fd5b61322b868287016137b4565b6000602082840312156138c957600080fd5b813561166f81612c11565b600080604083850312156138e757600080fd5b82356138f281612b23565b915060208301356001600160401b0381111561390d57600080fd5b6133fb8582860161312e565b6000806040838503121561392c57600080fd5b8235612fad816130f0565b60008060006060848603121561394c57600080fd5b833561395781612b23565b925061396560208501612fc8565b915060408401356001600160401b0381111561398057600080fd5b612f6886828701612fdb565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526139e860208201835161398c565b6000602083015160c080840152613a0260e084018261361e565b949350505050565b60008060408385031215613a1d57600080fd5b8235613a2881612b23565b915060208301356001600160401b03811115613a4357600080fd5b6133fb8582860161365d565b600080600060608486031215613a6457600080fd5b8335613a6f81612b23565b925060208401356001600160401b03811115613a8a57600080fd5b61322b8682870161323c565b60006101008284031215613aa957600080fd5b60405160c081018181106001600160401b0382111715613acb57613acb612b48565b6040529050808235613adc81612b23565b81526020830135613aec81612c11565b6020820152613afe8460408501612c31565b6040820152613b108460808501612c31565b606082015260c0830135613b2381612c11565b8060808301525060e083013560a08201525092915050565b6000806101208385031215613b4f57600080fd5b8235613b5a81612b23565b9150613b698460208501613a96565b90509250929050565b600060e08284031215613b8457600080fd5b613b8c612ba9565b905081356001600160401b0380821115613ba557600080fd5b613bb185838601612da4565b8352613bbf60208501612c26565b6020840152613bd060408501612c26565b6040840152613be160608501612c26565b6060840152613bf260808501612b38565b608084015261383e60a08501612b38565b600080600060608486031215613c1857600080fd5b8335613c2381612b23565b925060208401356001600160401b03811115613c3e57600080fd5b61322b86828701613b72565b60a08101610aef828461398c565b600080600060608486031215613c6d57600080fd5b8335613c78816130f0565b925060208401356001600160401b03811115613c9357600080fd5b61322b86828701613405565b600080600060608486031215613cb457600080fd5b8335613cbf81612d23565b925060208401356135ea81612d23565b600080600060608486031215613ce457600080fd5b8335613cef81612b23565b925060208401356135ea81612d89565b60008060408385031215613d1257600080fd5b8235613d1d816130f0565b915060208301356001600160401b03811115613d3857600080fd5b6133fb858286016137b4565b60008060408385031215613d5757600080fd5b8235613d6281612b23565b915060208301356001600160401b03811115613d7d57600080fd5b6133fb85828601613b72565b60ff19811681146129ea57600080fd5b60008060408385031215613dac57600080fd5b8235613db781612d23565b91506020830135612fbd81613d89565b60008060006101408486031215613ddd57600080fd5b8335613de881612b23565b9250613df78560208601613a96565b9150610120840135612d7e81612d23565b60008060008060808587031215613e1e57600080fd5b8435613e2981612b23565b93506020850135613e3981612d89565b925060408501356001600160401b03811115613e5457600080fd5b6130d487828801612e4e565b6000806101608385031215613e7457600080fd5b8235613e7f81612b23565b9150613b698460208501612c7a565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613edd908401826001600160601b03169052565b506080830151613efa608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151613f82608084018260ff169052565b50608083015160e060a0840152613f9d61010084018261361e565b905060a0840151601f198483030160c0850152613fba828261361e565b91505060c0840151613fd560e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261401a60a084018261361e565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261407560c084018261361e565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b602081526140be6020820183516001600160601b03169052565b600060208301516140da60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006141608185018364ffffffffff169052565b80850151915050610220610120818186015261418061024086018461361e565b9250808601519050610140601f1986850301818701526141a0848361361e565b9350808701519150506101606141bb8187018361ffff169052565b86015190506101806141d28682018361ffff169052565b86015190506101a06141ee868201836001600160601b03169052565b86015190506101c061420a868201836001600160601b03169052565b86015190506101e06142248682018364ffffffffff169052565b860151905061020061423e8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b60006020828403121561427c57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613a02606084018261361e565b60208152600082516101208060208501526142d061014085018361361e565b9150602085015160408501526040850151606085015260608501516080850152608085015161430760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061433d8187018315159052565b860151858403601f1901838701529050614357838261361e565b9695505050505050565b60006020828403121561437357600080fd5b815161166f81612c61565b600181811c9082168061439257607f821691505b6020821081036143b257634e487b7160e01b600052602260045260246000fd5b50919050565b602081526143d26020820183516001600160601b03169052565b600060208301516143f0604084018280518252602090810151910152565b50604083015161014080608085015261440d61016085018361361e565b9150606085015161442960a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c085015161010061446e8187018364ffffffffff169052565b60e087015164ffffffffff8116610120880152915061423e565b602081526001600160601b0382511660208201526000602083015160e060408401526144b861010084018261361e565b90506040840151606084015263ffffffff606085015116608084015260808401516144eb60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e085015261451b828261361e565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e060208401526145b561010084018261361e565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516145ff60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526144ff565b60006020828403121561462b57600080fd5b815161166f81612c11565b6000808585111561464657600080fd5b8386111561465357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156146885780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561081957600081815260208120601f850160051c810160208610156146f75750805b601f850160051c820191505b818110156114ed57828155600101614703565b81516001600160401b0381111561472f5761472f612b48565b6147438161473d845461437e565b846146d0565b602080601f83116001811461477857600084156147605750858301515b600019600386901b1c1916600185901b1785556114ed565b600085815260208120601f198616915b828110156147a757888601518255948401946001909101908401614788565b50858210156147c55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156147e757600080fd5b815161166f81612d23565b60006020828403121561480457600080fd5b815161166f81613d89565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600082516148718184602087016135fa565b9190910192915050565b6000806040838503121561488e57600080fd5b825161489981612c61565b6020840151909250612fbd8161311156fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220901fe675c3d3268f631145460beacfaaec347ff84cf8b4fe311da75a9c201d4864736f6c63430008140033",
2522
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102f15760003560e01c80638fb360371161019d578063bf7e214f116100e9578063e9e96c70116100a2578063f7b442d11161007c578063f7b442d11461078c578063fae5df9b1461079f578063fbc1a3a0146107b2578063fe1f18d6146107c557600080fd5b8063e9e96c701461072d578063f48016ce1461076b578063f5884fc51461055257600080fd5b8063bf7e214f146106ae578063c4d66de8146106ce578063ca0e7f08146106e1578063d2f21a29146106f4578063d5c9d77d14610707578063dee326231461071a57600080fd5b8063a4eeee5911610156578063a898967511610130578063a898967514610662578063af90250014610675578063b6d7cd6214610688578063bf1db3f91461069b57600080fd5b8063a4eeee591461058b578063a5961b4c1461059e578063a76ee0181461064f57600080fd5b80638fb360371461051e57806397affbf51461053f578063985aeba7146105525780639e90178c14610565578063a1fc100414610552578063a28422291461057857600080fd5b806338a699a41161025c5780635d4345cc116102155780637cca1124116101ef5780637cca1124146104c55780637cef4842146104d857806381c2b282146104eb5780638eaa6ac0146104fe57600080fd5b80635d4345cc146103a957806361105e0e1461049f5780637a9e5e4b146104b257600080fd5b806338a699a41461041b57806340529b0f1461043e578063468bce061461045157806354f6127f1461045957806359852426146104795780635a8416b01461048c57600080fd5b80630fad0eb1116102ae5780630fad0eb1146103a95780631e40b363146103bc5780632a8ea7ac146103cf5780632f61088a146103e257806330a130ba146103f55780633870a7701461040857600080fd5b806309648a9d146102f65780630cbc6b89146103355780630cfc3ba31461034a5780630d3581811461035d5780630f526f7d146103835780630f6c29ef14610396575b600080fd5b61031e610304366004612b0a565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b610348610343366004612d3d565b6107d8565b005b610348610358366004612f11565b61081e565b61031e61036b366004612f72565b60ff9081166000908152602081905260409020541690565b610348610391366004612f8f565b610859565b6103486103a436600461307e565b61087a565b6103486103b7366004612f8f565b6108a7565b6103486103ca3660046131e4565b6108be565b6103486103dd3660046133b6565b6108e6565b6103486103f036600461345f565b61090e565b610348610403366004613577565b6109ae565b6103486104163660046135bc565b610a4e565b61042e610429366004612b0a565b610a64565b604051901515815260200161032c565b61034861044c366004612f8f565b610af5565b610348610b0c565b61046c610467366004612b0a565b610b3e565b60405161032c919061364a565b610348610487366004613726565b610be3565b61034861049a36600461376d565b610c0b565b6103486104ad366004613870565b610cab565b6103486104c03660046138b7565b610d4b565b6103486104d33660046138d4565b610dd3565b6103486104e6366004613919565b610dfb565b6103486104f9366004613937565b610e8a565b61051161050c366004612b0a565b610eb1565b60405161032c91906139d6565b610526610ff2565b6040516001600160e01b0319909116815260200161032c565b61034861054d366004613a0a565b61102b565b610348610560366004613a4f565b611053565b610348610573366004613b3b565b61107b565b610348610586366004613919565b6110a3565b610348610599366004613c03565b6110f1565b6106426105ac366004612b0a565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161032c9190613c4a565b61034861065d366004613c58565b611119565b610348610670366004613c9f565b6111b9565b610348610683366004613919565b6112aa565b610348610696366004613ccf565b6112f8565b61042e6106a9366004612f72565b61130e565b6106b661135b565b6040516001600160a01b03909116815260200161032c565b6103486106dc3660046138b7565b611377565b6103486106ef366004613cff565b6114f5565b610348610702366004612f8f565b611595565b610348610715366004613d44565b6115ac565b610348610728366004612f8f565b6115d4565b61042e61073b366004613c9f565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61077e610779366004613d99565b6115eb565b60405190815260200161032c565b61034861079a366004613dc7565b611676565b6103486107ad366004613e08565b61169e565b6103486107c0366004613e60565b6116c5565b6103486107d3366004612f8f565b6116ed565b6107e5335b600036611704565b6108196107f384606e611802565b836040516020016108049190613e8e565b6040516020818303038152906040528361184e565b505050565b610827336107dd565b6108196108348484611cb9565b826040516020016108459190613f3d565b604051602081830303815290604052611d06565b610862336107dd565b61087661087083608c611802565b826120d0565b5050565b610883336107dd565b6108a161089085856123ae565b836040516020016108049190613fdd565b50505050565b6108b0336107dd565b6108766108708360d3611802565b6108c7336107dd565b6108196108d584607a611802565b836040516020016108049190614037565b6108ef336107dd565b6108766108fd8360d3611802565b8260405160200161084591906140a4565b610917336107dd565b6040516355ee627560e01b81526108769073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061095c906001600160c01b0319871690600401614255565b602060405180830381865af4158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d919061426a565b826040516020016108459190614283565b6109b7336107dd565b6040516355ee627560e01b81526108769073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906109fc906001600160c01b0319871690600401614255565b602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d919061426a565b8260405160200161084591906142b1565b610a57336107dd565b61081961087084846123ae565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190614361565b92915050565b610afe336107dd565b61087661087083607a611802565b610b146123fc565b610b1c612445565b610b24612568565b610b2c61265a565b610b34612791565b610b3c6128bd565b565b6000818152600260205260409020600101805460609190610b5e9061437e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8a9061437e565b8015610bd75780601f10610bac57610100808354040283529160200191610bd7565b820191906000526020600020905b815481529060010190602001808311610bba57829003601f168201915b50505050509050919050565b610bec336107dd565b610819610bfa8460dc611802565b8360405160200161080491906143b8565b610c14336107dd565b6040516355ee627560e01b81526108199073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c59906001600160c01b0319881690600401614255565b602060405180830381865af4158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a919061426a565b8360405160200161080491906142b1565b610cb4336107dd565b6040516355ee627560e01b81526108199073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610cf9906001600160c01b0319881690600401614255565b602060405180830381865af4158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a919061426a565b836040516020016108049190614488565b33610d5461135b565b6001600160a01b0316816001600160a01b031614610d945760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610dca576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d8b565b61087682612978565b610ddc336107dd565b610876610dea83607a611802565b826040516020016108459190614037565b610e04336107dd565b6040516355ee627560e01b81526108769073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e49906001600160c01b0319871690600401614255565b602060405180830381865af4158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610870919061426a565b610e93336107dd565b610819610ea084846123ae565b826040516020016108459190613fdd565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191610f699061437e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f959061437e565b8015610fe25780601f10610fb757610100808354040283529160200191610fe2565b820191906000526020600020905b815481529060010190602001808311610fc557829003601f168201915b5050505050815250509050919050565b6000805160206148ab833981519152805460009190600160a01b900460ff1661101c576000611025565b638fb3603760e01b5b91505090565b611034336107dd565b6108766110428360dc611802565b8260405160200161084591906143b8565b61105c336107dd565b61081961106a8460d3611802565b8360405160200161080491906140a4565b611084336107dd565b610876611092836078611802565b826040516020016108459190614524565b6110ac336107dd565b6040516355ee627560e01b81526108769073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e49906001600160c01b0319871690600401614255565b6110fa336107dd565b61081961110884608c611802565b836040516020016108049190614598565b611122336107dd565b6040516355ee627560e01b81526108199073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611167906001600160c01b0319881690600401614255565b602060405180830381865af4158015611184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a8919061426a565b836040516020016108049190614283565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561121e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112429190614361565b1561124c57505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661081957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d8b565b6112b3336107dd565b6040516355ee627560e01b81526108769073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e49906001600160c01b0319871690600401614255565b611301336107dd565b6108196108708484611cb9565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610aae565b6000805160206148ab833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156113bc5750825b90506000826001600160401b031660011480156113d85750303b155b9050811580156113e6575080155b156114045760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561142e57845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114929190614619565b905061149d816129d9565b6114a5610b0c565b5083156114ed57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6114fe336107dd565b6040516355ee627560e01b81526108769073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611543906001600160c01b0319871690600401614255565b602060405180830381865af4158015611560573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611584919061426a565b826040516020016108459190614488565b61159e336107dd565b610876610870836078611802565b6115b5336107dd565b6108766115c383608c611802565b826040516020016108459190614598565b6115dd336107dd565b61087661087083606e611802565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af415801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f919061426a565b9392505050565b61167f336107dd565b61081961168d846078611802565b836040516020016108049190614524565b6116a7336107dd565b6108a16116b48585611cb9565b836040516020016108049190613f3d565b6116ce336107dd565b6108766116dc83606e611802565b826040516020016108459190613e8e565b6116f6336107dd565b6108766108708360dc611802565b6000805160206148ab83398151915260008061173f61172161135b565b8730611731600460008a8c614636565b61173a91614660565b6129ed565b91509150816114ed5763ffffffff8116156117df57825460ff60a01b1916600160a01b17835561176d61135b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161179c93929190614690565b600060405180830381600087803b1580156117b657600080fd5b505af11580156117ca573d6000803e3d6000fd5b5050845460ff60a01b19168555506114ed9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d8b565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c89060440161162e565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156118a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c49190614361565b156118e55760405163093b89e160e11b815260048101849052602401610d8b565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611951573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119759190614361565b156119965760405163566ebf7960e01b815260048101869052602401610d8b565b60008581526002602052604090206001016119b18582614716565b5060ff808416146119df5781546119cc9060ff1682856111b9565b815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416611a0f4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611aa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac591906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611b15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3991906147f2565b8588863287604051611b51979695949392919061480f565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bef91906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6391906147f2565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161162e565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7d91906147d5565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611dd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df69190614361565b15611e19576040516307014a8d60e51b815260ff82166004820152602401610d8b565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea69190614361565b15611ed057604051633f92eac960e21b81526004810185905260ff83166024820152604401610d8b565b33436000611edd8561130e565b611ee8576064611efe565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101611f888782614716565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201f91906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561206f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209391906147f2565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001611ca8565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612122573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121469190614361565b156121675760405163093b89e160e11b815260048101839052602401610d8b565b600082815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156121d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f79190614361565b156122185760405163566ebf7960e01b815260048101859052602401610d8b565b81546122289060ff1682856111b9565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661226c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061232291906147d5565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612372573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239691906147f2565b85888632876040516114e4979695949392919061480f565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__9063592734119060440161162e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b3c57604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061254460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff168152602001908152602001600020600061263c606e90565b60ff1660ff168152602001908152602001600020600061254460d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557ff9240d619fae1c941eaa4888cff36b0b9489ef130bdb7c814fd3a0e301d8ad1f80548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064612526565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc612544565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c861261e565b6000805160206148ab83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6129e16123fc565b6129ea81612af9565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a5c919061485f565b600060405180830381855afa9150503d8060008114612a97576040519150601f19603f3d011682016040523d82523d6000602084013e612a9c565b606091505b50915091508115612aee576040815110612ace5780806020019051810190612ac4919061487b565b9094509250612aee565b6020815110612aee5780806020019051810190612aeb9190614361565b93505b505094509492505050565b612b016123fc565b6129ea81612978565b600060208284031215612b1c57600080fd5b5035919050565b6001600160601b03811681146129ea57600080fd5b8035612b4381612b23565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612b8057612b80612b48565b60405290565b60405161010081016001600160401b0381118282101715612b8057612b80612b48565b60405160e081016001600160401b0381118282101715612b8057612b80612b48565b60405161022081016001600160401b0381118282101715612b8057612b80612b48565b60405161012081016001600160401b0381118282101715612b8057612b80612b48565b6001600160a01b03811681146129ea57600080fd5b8035612b4381612c11565b600060408284031215612c4357600080fd5b612c4b612b5e565b9050813581526020820135602082015292915050565b80151581146129ea57600080fd5b8035612b4381612c61565b60006101408284031215612c8d57600080fd5b612c95612b86565b9050612ca082612c26565b8152612cae60208301612c26565b6020820152612cbf60408301612b38565b6040820152612cd060608301612b38565b6060820152612ce28360808401612c31565b6080820152612cf48360c08401612c31565b60a0820152612d066101008301612c6f565b60c0820152612d186101208301612c26565b60e082015292915050565b60ff811681146129ea57600080fd5b8035612b4381612d23565b60008060006101808486031215612d5357600080fd5b8335612d5e81612b23565b9250612d6d8560208601612c7a565b9150610160840135612d7e81612d23565b809150509250925092565b61ffff811681146129ea57600080fd5b8035612b4381612d89565b600082601f830112612db557600080fd5b81356001600160401b0380821115612dcf57612dcf612b48565b604051601f8301601f19908116603f01168101908282118183101715612df757612df7612b48565b81604052838152866020858801011115612e1057600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff811681146129ea57600080fd5b8035612b4381612e30565b600060e08284031215612e6057600080fd5b612e68612ba9565b9050612e7382612b38565b8152612e8160208301612b38565b6020820152612e9260408301612d32565b6040820152612ea360608301612d32565b606082015260808201356001600160401b0380821115612ec257600080fd5b612ece85838601612da4565b608084015260a0840135915080821115612ee757600080fd5b50612ef484828501612da4565b60a083015250612f0660c08301612e43565b60c082015292915050565b600080600060608486031215612f2657600080fd5b8335612f3181612b23565b92506020840135612f4181612d89565b915060408401356001600160401b03811115612f5c57600080fd5b612f6886828701612e4e565b9150509250925092565b600060208284031215612f8457600080fd5b813561166f81612d23565b60008060408385031215612fa257600080fd5b8235612fad81612b23565b91506020830135612fbd81612d23565b809150509250929050565b803562ffffff81168114612b4357600080fd5b600060808284031215612fed57600080fd5b604051608081016001600160401b03828210818311171561301057613010612b48565b816040528293508435915061302482612d89565b90825260208401359061303682612b23565b816020840152604085013591508082111561305057600080fd5b5061305d85828601612da4565b604083015250606083013561307181612e30565b6060919091015292915050565b6000806000806080858703121561309457600080fd5b843561309f81612b23565b93506130ad60208601612fc8565b925060408501356001600160401b038111156130c857600080fd5b6130d487828801612fdb565b92505060608501356130e581612d23565b939692955090935050565b6001600160c01b0319811681146129ea57600080fd5b8035612b43816130f0565b63ffffffff811681146129ea57600080fd5b8035612b4381613111565b600060a0828403121561314057600080fd5b60405160a081016001600160401b03828210818311171561316357613163612b48565b8160405282935084359150613177826130f0565b90825260208401359061318982612c61565b81602084015260408501359150808211156131a357600080fd5b506131b085828601612da4565b60408301525060608301356131c481612b23565b606082015260808301356131d781613111565b6080919091015292915050565b6000806000606084860312156131f957600080fd5b833561320481612b23565b925060208401356001600160401b0381111561321f57600080fd5b61322b8682870161312e565b9250506040840135612d7e81612d23565b6000610220828403121561324f57600080fd5b613257612bcb565b905061326282612b38565b815261327060208301612b38565b602082015261328160408301613106565b604082015261329260608301613106565b60608201526132a360808301612b38565b60808201526132b460a08301612b38565b60a08201526132c560c08301612b38565b60c08201526132d660e08301612e43565b60e0820152610100808301356001600160401b03808211156132f757600080fd5b61330386838701612da4565b8385015261012092508285013591508082111561331f57600080fd5b5061332c85828601612da4565b828401525050610140613340818401612d99565b90820152610160613352838201612d99565b90820152610180613364838201612b38565b908201526101a0613376838201612b38565b908201526101c0613388838201612e43565b908201526101e061339a838201612e43565b908201526102006133ac838201612e43565b9082015292915050565b600080604083850312156133c957600080fd5b82356133d481612b23565b915060208301356001600160401b038111156133ef57600080fd5b6133fb8582860161323c565b9150509250929050565b60006040828403121561341757600080fd5b61341f612b5e565b9050813561342c81612b23565b815260208201356001600160401b0381111561344757600080fd5b61345384828501612da4565b60208301525092915050565b6000806040838503121561347257600080fd5b823561347d816130f0565b915060208301356001600160401b0381111561349857600080fd5b6133fb85828601613405565b600061012082840312156134b757600080fd5b6134bf612bee565b905081356001600160401b03808211156134d857600080fd5b6134e485838601612da4565b835260208401356020840152604084013560408401526060840135606084015261351060808501613123565b608084015261352160a08501613123565b60a084015261353260c08501612c6f565b60c084015261354360e08501612c6f565b60e08401526101009150818401358181111561355e57600080fd5b61356a86828701612da4565b8385015250505092915050565b6000806040838503121561358a57600080fd5b8235613595816130f0565b915060208301356001600160401b038111156135b057600080fd5b6133fb858286016134a4565b6000806000606084860312156135d157600080fd5b83356135dc81612b23565b92506135ea60208501612fc8565b91506040840135612d7e81612d23565b60005b838110156136155781810151838201526020016135fd565b50506000910152565b600081518084526136368160208601602086016135fa565b601f01601f19169290920160200192915050565b60208152600061166f602083018461361e565b6000610140828403121561367057600080fd5b613678612bee565b905061368382612b38565b81526136928360208401612c31565b602082015260608201356001600160401b038111156136b057600080fd5b6136bc84828501612da4565b6040830152506136ce60808301612b38565b60608201526136df60a08301612b38565b60808201526136f060c08301612b38565b60a082015261370160e08301612e43565b60c0820152610100613714818401612e43565b60e08301526133ac6101208401612e43565b60008060006060848603121561373b57600080fd5b833561374681612b23565b925060208401356001600160401b0381111561376157600080fd5b61322b8682870161365d565b60008060006060848603121561378257600080fd5b833561378d816130f0565b925060208401356001600160401b038111156137a857600080fd5b61322b868287016134a4565b600060e082840312156137c657600080fd5b6137ce612ba9565b90506137d982612b38565b815260208201356001600160401b03808211156137f557600080fd5b61380185838601612da4565b60208401526040840135604084015261381c60608501613123565b606084015261382d60808501613123565b608084015261383e60a08501612e43565b60a084015260c084013591508082111561385757600080fd5b5061386484828501612da4565b60c08301525092915050565b60008060006060848603121561388557600080fd5b8335613890816130f0565b925060208401356001600160401b038111156138ab57600080fd5b61322b868287016137b4565b6000602082840312156138c957600080fd5b813561166f81612c11565b600080604083850312156138e757600080fd5b82356138f281612b23565b915060208301356001600160401b0381111561390d57600080fd5b6133fb8582860161312e565b6000806040838503121561392c57600080fd5b8235612fad816130f0565b60008060006060848603121561394c57600080fd5b833561395781612b23565b925061396560208501612fc8565b915060408401356001600160401b0381111561398057600080fd5b612f6886828701612fdb565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526139e860208201835161398c565b6000602083015160c080840152613a0260e084018261361e565b949350505050565b60008060408385031215613a1d57600080fd5b8235613a2881612b23565b915060208301356001600160401b03811115613a4357600080fd5b6133fb8582860161365d565b600080600060608486031215613a6457600080fd5b8335613a6f81612b23565b925060208401356001600160401b03811115613a8a57600080fd5b61322b8682870161323c565b60006101008284031215613aa957600080fd5b60405160c081018181106001600160401b0382111715613acb57613acb612b48565b6040529050808235613adc81612b23565b81526020830135613aec81612c11565b6020820152613afe8460408501612c31565b6040820152613b108460808501612c31565b606082015260c0830135613b2381612c11565b8060808301525060e083013560a08201525092915050565b6000806101208385031215613b4f57600080fd5b8235613b5a81612b23565b9150613b698460208501613a96565b90509250929050565b600060e08284031215613b8457600080fd5b613b8c612ba9565b905081356001600160401b0380821115613ba557600080fd5b613bb185838601612da4565b8352613bbf60208501612c26565b6020840152613bd060408501612c26565b6040840152613be160608501612c26565b6060840152613bf260808501612b38565b608084015261383e60a08501612b38565b600080600060608486031215613c1857600080fd5b8335613c2381612b23565b925060208401356001600160401b03811115613c3e57600080fd5b61322b86828701613b72565b60a08101610aef828461398c565b600080600060608486031215613c6d57600080fd5b8335613c78816130f0565b925060208401356001600160401b03811115613c9357600080fd5b61322b86828701613405565b600080600060608486031215613cb457600080fd5b8335613cbf81612d23565b925060208401356135ea81612d23565b600080600060608486031215613ce457600080fd5b8335613cef81612b23565b925060208401356135ea81612d89565b60008060408385031215613d1257600080fd5b8235613d1d816130f0565b915060208301356001600160401b03811115613d3857600080fd5b6133fb858286016137b4565b60008060408385031215613d5757600080fd5b8235613d6281612b23565b915060208301356001600160401b03811115613d7d57600080fd5b6133fb85828601613b72565b60ff19811681146129ea57600080fd5b60008060408385031215613dac57600080fd5b8235613db781612d23565b91506020830135612fbd81613d89565b60008060006101408486031215613ddd57600080fd5b8335613de881612b23565b9250613df78560208601613a96565b9150610120840135612d7e81612d23565b60008060008060808587031215613e1e57600080fd5b8435613e2981612b23565b93506020850135613e3981612d89565b925060408501356001600160401b03811115613e5457600080fd5b6130d487828801612e4e565b6000806101608385031215613e7457600080fd5b8235613e7f81612b23565b9150613b698460208501612c7a565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613edd908401826001600160601b03169052565b506080830151613efa608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151613f82608084018260ff169052565b50608083015160e060a0840152613f9d61010084018261361e565b905060a0840151601f198483030160c0850152613fba828261361e565b91505060c0840151613fd560e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261401a60a084018261361e565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261407560c084018261361e565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b602081526140be6020820183516001600160601b03169052565b600060208301516140da60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006141608185018364ffffffffff169052565b80850151915050610220610120818186015261418061024086018461361e565b9250808601519050610140601f1986850301818701526141a0848361361e565b9350808701519150506101606141bb8187018361ffff169052565b86015190506101806141d28682018361ffff169052565b86015190506101a06141ee868201836001600160601b03169052565b86015190506101c061420a868201836001600160601b03169052565b86015190506101e06142248682018364ffffffffff169052565b860151905061020061423e8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b60006020828403121561427c57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613a02606084018261361e565b60208152600082516101208060208501526142d061014085018361361e565b9150602085015160408501526040850151606085015260608501516080850152608085015161430760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061433d8187018315159052565b860151858403601f1901838701529050614357838261361e565b9695505050505050565b60006020828403121561437357600080fd5b815161166f81612c61565b600181811c9082168061439257607f821691505b6020821081036143b257634e487b7160e01b600052602260045260246000fd5b50919050565b602081526143d26020820183516001600160601b03169052565b600060208301516143f0604084018280518252602090810151910152565b50604083015161014080608085015261440d61016085018361361e565b9150606085015161442960a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c085015161010061446e8187018364ffffffffff169052565b60e087015164ffffffffff8116610120880152915061423e565b602081526001600160601b0382511660208201526000602083015160e060408401526144b861010084018261361e565b90506040840151606084015263ffffffff606085015116608084015260808401516144eb60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e085015261451b828261361e565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e060208401526145b561010084018261361e565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516145ff60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526144ff565b60006020828403121561462b57600080fd5b815161166f81612c11565b6000808585111561464657600080fd5b8386111561465357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156146885780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561081957600081815260208120601f850160051c810160208610156146f75750805b601f850160051c820191505b818110156114ed57828155600101614703565b81516001600160401b0381111561472f5761472f612b48565b6147438161473d845461437e565b846146d0565b602080601f83116001811461477857600084156147605750858301515b600019600386901b1c1916600185901b1785556114ed565b600085815260208120601f198616915b828110156147a757888601518255948401946001909101908401614788565b50858210156147c55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156147e757600080fd5b815161166f81612d23565b60006020828403121561480457600080fd5b815161166f81613d89565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600082516148718184602087016135fa565b9190910192915050565b6000806040838503121561488e57600080fd5b825161489981612c61565b6020840151909250612fbd8161311156fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220901fe675c3d3268f631145460beacfaaec347ff84cf8b4fe311da75a9c201d4864736f6c63430008140033",
2523
+ "linkReferences": {
2524
+ "contracts/type/ClaimId.sol": {
2525
+ "ClaimIdLib": [
2526
+ {
2527
+ "length": 20,
2528
+ "start": 7428
2529
+ }
2530
+ ]
2531
+ },
2532
+ "contracts/type/DistributorType.sol": {
2533
+ "DistributorTypeLib": [
2534
+ {
2535
+ "length": 20,
2536
+ "start": 2538
2537
+ },
2538
+ {
2539
+ "length": 20,
2540
+ "start": 3143
2541
+ },
2542
+ {
2543
+ "length": 20,
2544
+ "start": 4319
2545
+ }
2546
+ ]
2547
+ },
2548
+ "contracts/type/Key32.sol": {
2549
+ "Key32Lib": [
2550
+ {
2551
+ "length": 20,
2552
+ "start": 5680
2553
+ },
2554
+ {
2555
+ "length": 20,
2556
+ "start": 6791
2557
+ },
2558
+ {
2559
+ "length": 20,
2560
+ "start": 6907
2561
+ },
2562
+ {
2563
+ "length": 20,
2564
+ "start": 7089
2565
+ },
2566
+ {
2567
+ "length": 20,
2568
+ "start": 7205
2569
+ },
2570
+ {
2571
+ "length": 20,
2572
+ "start": 7487
2573
+ },
2574
+ {
2575
+ "length": 20,
2576
+ "start": 8161
2577
+ },
2578
+ {
2579
+ "length": 20,
2580
+ "start": 8277
2581
+ },
2582
+ {
2583
+ "length": 20,
2584
+ "start": 8932
2585
+ },
2586
+ {
2587
+ "length": 20,
2588
+ "start": 9048
2589
+ }
2590
+ ]
2591
+ },
2592
+ "contracts/type/NftId.sol": {
2593
+ "NftIdLib": [
2594
+ {
2595
+ "length": 20,
2596
+ "start": 6220
2597
+ }
2598
+ ]
2599
+ },
2600
+ "contracts/type/ObjectType.sol": {
2601
+ "ObjectTypeLib": [
2602
+ {
2603
+ "length": 20,
2604
+ "start": 7608
2605
+ }
2606
+ ]
2607
+ },
2608
+ "contracts/type/PayoutId.sol": {
2609
+ "PayoutIdLib": [
2610
+ {
2611
+ "length": 20,
2612
+ "start": 9210
2613
+ }
2614
+ ]
2615
+ },
2616
+ "contracts/type/Referral.sol": {
2617
+ "ReferralLib": [
2618
+ {
2619
+ "length": 20,
2620
+ "start": 3303
2621
+ },
2622
+ {
2623
+ "length": 20,
2624
+ "start": 4838
2625
+ },
2626
+ {
2627
+ "length": 20,
2628
+ "start": 5425
2629
+ }
2630
+ ]
2631
+ },
2632
+ "contracts/type/RiskId.sol": {
2633
+ "RiskIdLib": [
2634
+ {
2635
+ "length": 20,
2636
+ "start": 2378
2637
+ },
2638
+ {
2639
+ "length": 20,
2640
+ "start": 3639
2641
+ },
2642
+ {
2643
+ "length": 20,
2644
+ "start": 4437
2645
+ }
2646
+ ]
2647
+ },
2648
+ "contracts/type/StateId.sol": {
2649
+ "StateIdLib": [
2650
+ {
2651
+ "length": 20,
2652
+ "start": 2736
2653
+ },
2654
+ {
2655
+ "length": 20,
2656
+ "start": 4612
2657
+ },
2658
+ {
2659
+ "length": 20,
2660
+ "start": 4953
2661
+ },
2662
+ {
2663
+ "length": 20,
2664
+ "start": 6278
2665
+ },
2666
+ {
2667
+ "length": 20,
2668
+ "start": 6455
2669
+ },
2670
+ {
2671
+ "length": 20,
2672
+ "start": 7784
2673
+ },
2674
+ {
2675
+ "length": 20,
2676
+ "start": 8456
2677
+ },
2678
+ {
2679
+ "length": 20,
2680
+ "start": 8633
2681
+ }
2682
+ ]
2683
+ }
2684
+ },
2685
+ "deployedLinkReferences": {
2686
+ "contracts/type/ClaimId.sol": {
2687
+ "ClaimIdLib": [
2688
+ {
2689
+ "length": 20,
2690
+ "start": 7396
2691
+ }
2692
+ ]
2693
+ },
2694
+ "contracts/type/DistributorType.sol": {
2695
+ "DistributorTypeLib": [
2696
+ {
2697
+ "length": 20,
2698
+ "start": 2506
2699
+ },
2700
+ {
2701
+ "length": 20,
2702
+ "start": 3111
2703
+ },
2704
+ {
2705
+ "length": 20,
2706
+ "start": 4287
2707
+ }
2708
+ ]
2709
+ },
2710
+ "contracts/type/Key32.sol": {
2711
+ "Key32Lib": [
2712
+ {
2713
+ "length": 20,
2714
+ "start": 5648
2715
+ },
2716
+ {
2717
+ "length": 20,
2718
+ "start": 6759
2719
+ },
2720
+ {
2721
+ "length": 20,
2722
+ "start": 6875
2723
+ },
2724
+ {
2725
+ "length": 20,
2726
+ "start": 7057
2727
+ },
2728
+ {
2729
+ "length": 20,
2730
+ "start": 7173
2731
+ },
2732
+ {
2733
+ "length": 20,
2734
+ "start": 7455
2735
+ },
2736
+ {
2737
+ "length": 20,
2738
+ "start": 8129
2739
+ },
2740
+ {
2741
+ "length": 20,
2742
+ "start": 8245
2743
+ },
2744
+ {
2745
+ "length": 20,
2746
+ "start": 8900
2747
+ },
2748
+ {
2749
+ "length": 20,
2750
+ "start": 9016
2751
+ }
2752
+ ]
2753
+ },
2754
+ "contracts/type/NftId.sol": {
2755
+ "NftIdLib": [
2756
+ {
2757
+ "length": 20,
2758
+ "start": 6188
2759
+ }
2760
+ ]
2761
+ },
2762
+ "contracts/type/ObjectType.sol": {
2763
+ "ObjectTypeLib": [
2764
+ {
2765
+ "length": 20,
2766
+ "start": 7576
2767
+ }
2768
+ ]
2769
+ },
2770
+ "contracts/type/PayoutId.sol": {
2771
+ "PayoutIdLib": [
2772
+ {
2773
+ "length": 20,
2774
+ "start": 9178
2775
+ }
2776
+ ]
2777
+ },
2778
+ "contracts/type/Referral.sol": {
2779
+ "ReferralLib": [
2780
+ {
2781
+ "length": 20,
2782
+ "start": 3271
2783
+ },
2784
+ {
2785
+ "length": 20,
2786
+ "start": 4806
2787
+ },
2788
+ {
2789
+ "length": 20,
2790
+ "start": 5393
2791
+ }
2792
+ ]
2793
+ },
2794
+ "contracts/type/RiskId.sol": {
2795
+ "RiskIdLib": [
2796
+ {
2797
+ "length": 20,
2798
+ "start": 2346
2799
+ },
2800
+ {
2801
+ "length": 20,
2802
+ "start": 3607
2803
+ },
2804
+ {
2805
+ "length": 20,
2806
+ "start": 4405
2807
+ }
2808
+ ]
2809
+ },
2810
+ "contracts/type/StateId.sol": {
2811
+ "StateIdLib": [
2812
+ {
2813
+ "length": 20,
2814
+ "start": 2704
2815
+ },
2816
+ {
2817
+ "length": 20,
2818
+ "start": 4580
2819
+ },
2820
+ {
2821
+ "length": 20,
2822
+ "start": 4921
2823
+ },
2824
+ {
2825
+ "length": 20,
2826
+ "start": 6246
2827
+ },
2828
+ {
2829
+ "length": 20,
2830
+ "start": 6423
2831
+ },
2832
+ {
2833
+ "length": 20,
2834
+ "start": 7752
2835
+ },
2836
+ {
2837
+ "length": 20,
2838
+ "start": 8424
2839
+ },
2840
+ {
2841
+ "length": 20,
2842
+ "start": 8601
2843
+ }
2844
+ ]
2845
+ }
2846
+ }
2847
+ }