@etherisc/gif-next 0.0.2-c34d8ab-035 → 0.0.2-c37bcc5-708

Sign up to get free protection for your applications and to get access to all the features.
Files changed (582) hide show
  1. package/README.md +76 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1416 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1349 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +975 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +814 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +567 -246
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +343 -173
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +532 -3076
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +228 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +726 -308
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +566 -268
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +380 -78
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3642 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +79 -3
  36. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  38. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  42. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  44. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  45. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  47. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  48. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  49. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  50. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  51. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → oracle/IOracle.sol/IOracle.json} +2 -2
  52. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  53. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
  54. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  55. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +662 -0
  56. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  57. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
  58. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  59. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  60. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +718 -0
  62. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
  64. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
  66. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  67. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +297 -358
  68. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  69. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1154 -0
  70. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  71. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1065 -0
  72. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  73. package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
  74. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  75. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
  76. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
  78. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
  80. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  82. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
  84. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
  86. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  87. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +233 -200
  88. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  89. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +759 -0
  90. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +707 -0
  92. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  93. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +259 -284
  94. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  95. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -0
  96. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  97. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → product/IProductService.sol/IProductService.json} +111 -166
  98. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  99. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
  100. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
  102. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  103. package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
  104. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
  106. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  107. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  108. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  109. package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
  110. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +521 -59
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  117. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +438 -200
  118. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +828 -311
  122. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  124. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +506 -352
  126. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +339 -134
  128. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  129. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1292 -0
  130. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  131. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  132. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  134. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → shared/AccessManagerCustom.sol/AccessManagerCustom.json} +122 -11
  136. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  137. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  138. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  139. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  140. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  142. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  144. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  145. package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
  146. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  147. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1490 -0
  148. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +792 -0
  150. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +225 -180
  152. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  153. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  154. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  155. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  156. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  157. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  158. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  159. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
  160. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +867 -0
  162. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  164. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  166. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  168. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  170. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  171. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  172. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  173. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  174. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  175. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  176. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  177. package/artifacts/contracts/shared/IService.sol/IService.json +88 -176
  178. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  180. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  181. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  182. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  183. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  184. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  185. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  186. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  187. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  188. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  189. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  190. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  191. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
  192. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  193. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  194. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  195. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +330 -62
  196. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
  198. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  199. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  200. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  201. package/artifacts/contracts/shared/Service.sol/Service.json +191 -165
  202. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  203. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  204. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  205. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  206. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  207. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  208. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  209. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  210. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  211. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
  212. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  213. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  214. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  215. package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
  216. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  217. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
  218. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  219. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  220. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  221. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
  222. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  223. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
  224. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  225. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  226. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  227. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  228. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  230. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  231. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  232. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  234. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  236. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  238. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  239. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  240. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  242. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  243. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  244. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  245. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  246. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +105 -0
  248. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  249. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  250. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  252. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  254. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  255. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  256. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  257. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  258. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  260. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  262. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
  264. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  265. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  266. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  267. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  268. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  270. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  272. package/contracts/distribution/Distribution.sol +261 -0
  273. package/contracts/distribution/DistributionService.sol +298 -0
  274. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  275. package/contracts/distribution/IDistributionComponent.sol +66 -0
  276. package/contracts/distribution/IDistributionService.sol +81 -0
  277. package/contracts/instance/BundleManager.sol +126 -0
  278. package/contracts/instance/IInstance.sol +70 -16
  279. package/contracts/instance/IInstanceService.sol +64 -13
  280. package/contracts/instance/Instance.sol +157 -363
  281. package/contracts/instance/InstanceAdmin.sol +331 -0
  282. package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
  283. package/contracts/instance/InstanceReader.sol +172 -72
  284. package/contracts/instance/InstanceService.sol +309 -85
  285. package/contracts/instance/InstanceServiceManager.sol +12 -24
  286. package/contracts/instance/InstanceStore.sol +281 -0
  287. package/contracts/instance/base/BalanceStore.sol +118 -0
  288. package/contracts/instance/base/Cloneable.sol +51 -0
  289. package/contracts/instance/base/ObjectCounter.sol +21 -0
  290. package/contracts/instance/base/ObjectManager.sol +82 -0
  291. package/contracts/instance/module/IAccess.sol +29 -21
  292. package/contracts/instance/module/IBundle.sol +8 -7
  293. package/contracts/instance/module/IComponents.sol +52 -0
  294. package/contracts/instance/module/IDistribution.sol +7 -4
  295. package/contracts/instance/module/IPolicy.sol +56 -17
  296. package/contracts/instance/module/IRisk.sol +1 -1
  297. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  298. package/contracts/oracle/IOracle.sol +20 -0
  299. package/contracts/oracle/IOracleComponent.sol +32 -0
  300. package/contracts/oracle/IOracleService.sol +65 -0
  301. package/contracts/oracle/Oracle.sol +145 -0
  302. package/contracts/oracle/OracleService.sol +277 -0
  303. package/contracts/oracle/OracleServiceManager.sol +42 -0
  304. package/contracts/pool/BundleService.sol +296 -0
  305. package/contracts/pool/BundleServiceManager.sol +42 -0
  306. package/contracts/pool/IBundleService.sol +106 -0
  307. package/contracts/pool/IPoolComponent.sol +112 -0
  308. package/contracts/pool/IPoolService.sol +150 -0
  309. package/contracts/pool/Pool.sol +299 -0
  310. package/contracts/pool/PoolService.sol +453 -0
  311. package/contracts/pool/PoolServiceManager.sol +42 -0
  312. package/contracts/product/ApplicationService.sol +254 -0
  313. package/contracts/product/ApplicationServiceManager.sol +38 -0
  314. package/contracts/product/ClaimService.sol +442 -0
  315. package/contracts/product/ClaimServiceManager.sol +38 -0
  316. package/contracts/product/IApplicationService.sol +62 -0
  317. package/contracts/product/IClaimService.sol +99 -0
  318. package/contracts/product/IPolicyService.sol +78 -0
  319. package/contracts/product/IPricingService.sol +39 -0
  320. package/contracts/product/IProductComponent.sol +42 -0
  321. package/contracts/product/IProductService.sol +33 -0
  322. package/contracts/product/PolicyService.sol +475 -0
  323. package/contracts/product/PolicyServiceManager.sol +42 -0
  324. package/contracts/product/PricingService.sol +301 -0
  325. package/contracts/product/PricingServiceManager.sol +42 -0
  326. package/contracts/product/Product.sol +377 -0
  327. package/contracts/product/ProductService.sol +124 -0
  328. package/contracts/product/ProductServiceManager.sol +42 -0
  329. package/contracts/registry/ChainNft.sol +15 -0
  330. package/contracts/registry/IRegistry.sol +79 -13
  331. package/contracts/registry/IRegistryService.sol +51 -17
  332. package/contracts/registry/ITransferInterceptor.sol +1 -0
  333. package/contracts/registry/Registry.sol +397 -244
  334. package/contracts/registry/RegistryAdmin.sol +237 -0
  335. package/contracts/registry/RegistryService.sol +122 -300
  336. package/contracts/registry/RegistryServiceManager.sol +26 -32
  337. package/contracts/registry/ReleaseManager.sol +600 -0
  338. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  339. package/contracts/registry/TokenRegistry.sol +315 -0
  340. package/contracts/{instance/AccessManagerSimple.sol → shared/AccessManagerCustom.sol} +276 -232
  341. package/contracts/shared/AccessManagerExtended.sol +470 -0
  342. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  343. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  344. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  345. package/contracts/shared/Component.sol +281 -0
  346. package/contracts/shared/ComponentService.sol +618 -0
  347. package/contracts/shared/ComponentServiceManager.sol +35 -0
  348. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  349. package/contracts/shared/ERC165.sol +15 -9
  350. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  351. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  352. package/contracts/shared/IComponent.sol +70 -0
  353. package/contracts/shared/IComponentService.sol +102 -0
  354. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  355. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  356. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  357. package/contracts/shared/INftOwnable.sol +13 -12
  358. package/contracts/shared/IPolicyHolder.sol +45 -0
  359. package/contracts/shared/IRegisterable.sol +4 -6
  360. package/contracts/shared/IRegistryLinked.sol +11 -0
  361. package/contracts/shared/IService.sol +8 -5
  362. package/contracts/shared/IVersionable.sol +5 -48
  363. package/contracts/shared/InitializableCustom.sol +177 -0
  364. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  365. package/contracts/shared/KeyValueStore.sol +127 -0
  366. package/contracts/{instance/base → shared}/Lifecycle.sol +37 -7
  367. package/contracts/shared/NftIdSetManager.sol +65 -0
  368. package/contracts/shared/NftOwnable.sol +60 -89
  369. package/contracts/shared/PolicyHolder.sol +102 -0
  370. package/contracts/shared/ProxyManager.sol +131 -26
  371. package/contracts/shared/Registerable.sol +26 -40
  372. package/contracts/shared/RegistryLinked.sol +43 -0
  373. package/contracts/shared/Service.sol +47 -24
  374. package/contracts/shared/TokenHandler.sol +37 -6
  375. package/contracts/shared/Versionable.sol +4 -92
  376. package/contracts/staking/IStaking.sol +168 -0
  377. package/contracts/staking/IStakingService.sol +149 -0
  378. package/contracts/staking/StakeManagerLib.sol +179 -0
  379. package/contracts/staking/Staking.sol +551 -0
  380. package/contracts/staking/StakingManager.sol +54 -0
  381. package/contracts/staking/StakingReader.sol +187 -0
  382. package/contracts/staking/StakingService.sol +406 -0
  383. package/contracts/staking/StakingServiceManager.sol +45 -0
  384. package/contracts/staking/StakingStore.sol +572 -0
  385. package/contracts/staking/TargetManagerLib.sol +207 -0
  386. package/contracts/{types → type}/AddressSet.sol +1 -1
  387. package/contracts/type/Amount.sol +128 -0
  388. package/contracts/{types → type}/Blocknumber.sol +21 -3
  389. package/contracts/type/ClaimId.sol +75 -0
  390. package/contracts/{types → type}/DistributorType.sol +2 -2
  391. package/contracts/{types → type}/Fee.sol +33 -23
  392. package/contracts/{types → type}/NftId.sol +21 -15
  393. package/contracts/type/NftIdSet.sol +62 -0
  394. package/contracts/{types → type}/ObjectType.sol +32 -16
  395. package/contracts/type/PayoutId.sol +82 -0
  396. package/contracts/{types → type}/Referral.sol +5 -1
  397. package/contracts/type/RequestId.sol +75 -0
  398. package/contracts/{types → type}/RiskId.sol +1 -1
  399. package/contracts/type/RoleId.sol +146 -0
  400. package/contracts/type/Seconds.sol +81 -0
  401. package/contracts/{types → type}/StateId.sol +38 -4
  402. package/contracts/{types → type}/Timestamp.sol +23 -14
  403. package/contracts/{types → type}/UFixed.sol +1 -0
  404. package/contracts/{types → type}/Version.sol +6 -2
  405. package/package.json +6 -5
  406. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  407. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  408. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  409. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -610
  410. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  411. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  412. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  413. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  414. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  415. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  416. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  417. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  418. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  419. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -774
  420. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  421. package/artifacts/contracts/components/Product.sol/Product.json +0 -754
  422. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  423. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  424. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  425. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  426. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  427. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  428. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  429. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  430. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  431. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  432. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  433. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  434. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  435. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  436. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  437. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  438. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  439. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  440. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  441. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  442. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  443. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  444. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  445. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  446. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  447. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  448. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  449. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  450. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  451. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  452. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  453. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  454. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  455. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  456. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  457. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  458. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  459. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  460. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  461. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  462. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  463. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  464. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  465. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  466. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -930
  467. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  468. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  469. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  470. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  471. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  472. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  473. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  474. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  475. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  476. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  477. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  478. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  479. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  480. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  481. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  483. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  484. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  485. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  486. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  487. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  488. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  489. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  490. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  491. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  492. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  493. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  494. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  495. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  496. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  497. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  498. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  499. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  500. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  501. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  502. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  503. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  504. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  505. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  507. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  509. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  510. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  511. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  512. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  513. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  514. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  515. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  516. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  517. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  518. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  519. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  520. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  521. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  522. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  523. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  524. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  525. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  526. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  527. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  528. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  529. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  530. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  531. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  532. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  533. package/contracts/components/BaseComponent.sol +0 -86
  534. package/contracts/components/Distribution.sol +0 -166
  535. package/contracts/components/IBaseComponent.sol +0 -24
  536. package/contracts/components/IDistributionComponent.sol +0 -43
  537. package/contracts/components/IPoolComponent.sol +0 -62
  538. package/contracts/components/IProductComponent.sol +0 -35
  539. package/contracts/components/Pool.sol +0 -259
  540. package/contracts/components/Product.sol +0 -297
  541. package/contracts/experiment/cloning/Cloner.sol +0 -47
  542. package/contracts/experiment/errors/Require.sol +0 -38
  543. package/contracts/experiment/errors/Revert.sol +0 -44
  544. package/contracts/experiment/inheritance/A.sol +0 -53
  545. package/contracts/experiment/inheritance/B.sol +0 -28
  546. package/contracts/experiment/inheritance/C.sol +0 -34
  547. package/contracts/experiment/inheritance/IA.sol +0 -13
  548. package/contracts/experiment/inheritance/IB.sol +0 -10
  549. package/contracts/experiment/inheritance/IC.sol +0 -12
  550. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  551. package/contracts/experiment/statemachine/ISM.sol +0 -25
  552. package/contracts/experiment/statemachine/SM.sol +0 -57
  553. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  554. package/contracts/experiment/types/TypeA.sol +0 -47
  555. package/contracts/experiment/types/TypeB.sol +0 -29
  556. package/contracts/instance/AccessManagedSimple.sol +0 -122
  557. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  558. package/contracts/instance/InstanceAccessManager.sol +0 -288
  559. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  560. package/contracts/instance/base/IInstanceBase.sol +0 -23
  561. package/contracts/instance/base/KeyValueStore.sol +0 -172
  562. package/contracts/instance/module/ISetup.sol +0 -43
  563. package/contracts/instance/module/ITreasury.sol +0 -23
  564. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  565. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  566. package/contracts/instance/service/IDistributionService.sol +0 -12
  567. package/contracts/instance/service/IPoolService.sol +0 -37
  568. package/contracts/instance/service/IProductService.sol +0 -107
  569. package/contracts/shared/ContractDeployerLib.sol +0 -72
  570. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  571. package/contracts/test/TestFee.sol +0 -25
  572. package/contracts/test/TestRegisterable.sol +0 -18
  573. package/contracts/test/TestRoleId.sol +0 -14
  574. package/contracts/test/TestService.sol +0 -24
  575. package/contracts/test/TestToken.sol +0 -26
  576. package/contracts/test/TestVersion.sol +0 -44
  577. package/contracts/test/TestVersionable.sol +0 -17
  578. package/contracts/types/ChainId.sol +0 -38
  579. package/contracts/types/NftIdSet.sol +0 -60
  580. package/contracts/types/NumberId.sol +0 -52
  581. package/contracts/types/RoleId.sol +0 -82
  582. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,3642 @@
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": "NftId",
48
+ "name": "targetNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBalanceStoreTargetAlreadyRegistered",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "targetNftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorBalanceStoreTargetNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "ObjectType",
70
+ "name": "objectType",
71
+ "type": "uint8"
72
+ },
73
+ {
74
+ "internalType": "StateId",
75
+ "name": "fromStateId",
76
+ "type": "uint8"
77
+ },
78
+ {
79
+ "internalType": "StateId",
80
+ "name": "toStateId",
81
+ "type": "uint8"
82
+ }
83
+ ],
84
+ "name": "ErrorInvalidStateTransition",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "Key32",
91
+ "name": "key",
92
+ "type": "bytes32"
93
+ },
94
+ {
95
+ "internalType": "ObjectType",
96
+ "name": "objectType",
97
+ "type": "uint8"
98
+ }
99
+ ],
100
+ "name": "ErrorKeyValueStoreAlreadyCreated",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "Key32",
107
+ "name": "key",
108
+ "type": "bytes32"
109
+ }
110
+ ],
111
+ "name": "ErrorKeyValueStoreNotExisting",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "Key32",
118
+ "name": "key",
119
+ "type": "bytes32"
120
+ }
121
+ ],
122
+ "name": "ErrorKeyValueStoreStateZero",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "ObjectType",
129
+ "name": "objectType",
130
+ "type": "uint8"
131
+ }
132
+ ],
133
+ "name": "ErrorKeyValueStoreTypeUndefined",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "NftId",
140
+ "name": "nftId",
141
+ "type": "uint96"
142
+ },
143
+ {
144
+ "internalType": "ObjectType",
145
+ "name": "objectType",
146
+ "type": "uint8"
147
+ }
148
+ ],
149
+ "name": "ErrorNoLifecycle",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "InvalidInitialization",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "NotInitializing",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "anonymous": false,
164
+ "inputs": [
165
+ {
166
+ "indexed": false,
167
+ "internalType": "address",
168
+ "name": "authority",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "name": "AuthorityUpdated",
173
+ "type": "event"
174
+ },
175
+ {
176
+ "anonymous": false,
177
+ "inputs": [
178
+ {
179
+ "indexed": false,
180
+ "internalType": "uint64",
181
+ "name": "version",
182
+ "type": "uint64"
183
+ }
184
+ ],
185
+ "name": "Initialized",
186
+ "type": "event"
187
+ },
188
+ {
189
+ "anonymous": false,
190
+ "inputs": [
191
+ {
192
+ "indexed": false,
193
+ "internalType": "NftId",
194
+ "name": "targetNftId",
195
+ "type": "uint96"
196
+ },
197
+ {
198
+ "indexed": false,
199
+ "internalType": "Amount",
200
+ "name": "addedAmount",
201
+ "type": "uint96"
202
+ },
203
+ {
204
+ "indexed": false,
205
+ "internalType": "Amount",
206
+ "name": "newBalance",
207
+ "type": "uint96"
208
+ },
209
+ {
210
+ "indexed": false,
211
+ "internalType": "Blocknumber",
212
+ "name": "lastUpdatedIn",
213
+ "type": "uint32"
214
+ }
215
+ ],
216
+ "name": "LogBalanceStoreBalanceDecreased",
217
+ "type": "event"
218
+ },
219
+ {
220
+ "anonymous": false,
221
+ "inputs": [
222
+ {
223
+ "indexed": false,
224
+ "internalType": "NftId",
225
+ "name": "targetNftId",
226
+ "type": "uint96"
227
+ },
228
+ {
229
+ "indexed": false,
230
+ "internalType": "Amount",
231
+ "name": "addedAmount",
232
+ "type": "uint96"
233
+ },
234
+ {
235
+ "indexed": false,
236
+ "internalType": "Amount",
237
+ "name": "newBalance",
238
+ "type": "uint96"
239
+ },
240
+ {
241
+ "indexed": false,
242
+ "internalType": "Blocknumber",
243
+ "name": "lastUpdatedIn",
244
+ "type": "uint32"
245
+ }
246
+ ],
247
+ "name": "LogBalanceStoreBalanceIncreased",
248
+ "type": "event"
249
+ },
250
+ {
251
+ "anonymous": false,
252
+ "inputs": [
253
+ {
254
+ "indexed": false,
255
+ "internalType": "NftId",
256
+ "name": "targetNftId",
257
+ "type": "uint96"
258
+ },
259
+ {
260
+ "indexed": false,
261
+ "internalType": "Amount",
262
+ "name": "addedAmount",
263
+ "type": "uint96"
264
+ },
265
+ {
266
+ "indexed": false,
267
+ "internalType": "Amount",
268
+ "name": "newBalance",
269
+ "type": "uint96"
270
+ },
271
+ {
272
+ "indexed": false,
273
+ "internalType": "Blocknumber",
274
+ "name": "lastUpdatedIn",
275
+ "type": "uint32"
276
+ }
277
+ ],
278
+ "name": "LogBalanceStoreFeesDecreased",
279
+ "type": "event"
280
+ },
281
+ {
282
+ "anonymous": false,
283
+ "inputs": [
284
+ {
285
+ "indexed": false,
286
+ "internalType": "NftId",
287
+ "name": "targetNftId",
288
+ "type": "uint96"
289
+ },
290
+ {
291
+ "indexed": false,
292
+ "internalType": "Amount",
293
+ "name": "addedAmount",
294
+ "type": "uint96"
295
+ },
296
+ {
297
+ "indexed": false,
298
+ "internalType": "Amount",
299
+ "name": "newBalance",
300
+ "type": "uint96"
301
+ },
302
+ {
303
+ "indexed": false,
304
+ "internalType": "Blocknumber",
305
+ "name": "lastUpdatedIn",
306
+ "type": "uint32"
307
+ }
308
+ ],
309
+ "name": "LogBalanceStoreFeesIncreased",
310
+ "type": "event"
311
+ },
312
+ {
313
+ "anonymous": false,
314
+ "inputs": [
315
+ {
316
+ "indexed": false,
317
+ "internalType": "NftId",
318
+ "name": "targetNftId",
319
+ "type": "uint96"
320
+ },
321
+ {
322
+ "indexed": false,
323
+ "internalType": "Amount",
324
+ "name": "addedAmount",
325
+ "type": "uint96"
326
+ },
327
+ {
328
+ "indexed": false,
329
+ "internalType": "Amount",
330
+ "name": "newBalance",
331
+ "type": "uint96"
332
+ },
333
+ {
334
+ "indexed": false,
335
+ "internalType": "Blocknumber",
336
+ "name": "lastUpdatedIn",
337
+ "type": "uint32"
338
+ }
339
+ ],
340
+ "name": "LogBalanceStoreLockedDecreased",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "anonymous": false,
345
+ "inputs": [
346
+ {
347
+ "indexed": false,
348
+ "internalType": "NftId",
349
+ "name": "targetNftId",
350
+ "type": "uint96"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "Amount",
355
+ "name": "addedAmount",
356
+ "type": "uint96"
357
+ },
358
+ {
359
+ "indexed": false,
360
+ "internalType": "Amount",
361
+ "name": "newBalance",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "Blocknumber",
367
+ "name": "lastUpdatedIn",
368
+ "type": "uint32"
369
+ }
370
+ ],
371
+ "name": "LogBalanceStoreLockedIncreased",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": false,
379
+ "internalType": "NftId",
380
+ "name": "targetNftId",
381
+ "type": "uint96"
382
+ }
383
+ ],
384
+ "name": "LogBalanceStoreTargetRegistered",
385
+ "type": "event"
386
+ },
387
+ {
388
+ "anonymous": false,
389
+ "inputs": [
390
+ {
391
+ "indexed": false,
392
+ "internalType": "ObjectType",
393
+ "name": "objectType",
394
+ "type": "uint8"
395
+ },
396
+ {
397
+ "indexed": false,
398
+ "internalType": "KeyId",
399
+ "name": "keyId",
400
+ "type": "bytes31"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "StateId",
405
+ "name": "state",
406
+ "type": "uint8"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "address",
411
+ "name": "createdBy",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "indexed": false,
416
+ "internalType": "address",
417
+ "name": "txOrigin",
418
+ "type": "address"
419
+ }
420
+ ],
421
+ "name": "LogInfoCreated",
422
+ "type": "event"
423
+ },
424
+ {
425
+ "anonymous": false,
426
+ "inputs": [
427
+ {
428
+ "indexed": false,
429
+ "internalType": "ObjectType",
430
+ "name": "objectType",
431
+ "type": "uint8"
432
+ },
433
+ {
434
+ "indexed": false,
435
+ "internalType": "KeyId",
436
+ "name": "keyId",
437
+ "type": "bytes31"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "StateId",
442
+ "name": "state",
443
+ "type": "uint8"
444
+ },
445
+ {
446
+ "indexed": false,
447
+ "internalType": "address",
448
+ "name": "updatedBy",
449
+ "type": "address"
450
+ },
451
+ {
452
+ "indexed": false,
453
+ "internalType": "address",
454
+ "name": "txOrigin",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "Blocknumber",
460
+ "name": "lastUpdatedIn",
461
+ "type": "uint32"
462
+ }
463
+ ],
464
+ "name": "LogInfoUpdated",
465
+ "type": "event"
466
+ },
467
+ {
468
+ "anonymous": false,
469
+ "inputs": [
470
+ {
471
+ "indexed": false,
472
+ "internalType": "ObjectType",
473
+ "name": "objectType",
474
+ "type": "uint8"
475
+ },
476
+ {
477
+ "indexed": false,
478
+ "internalType": "KeyId",
479
+ "name": "keyId",
480
+ "type": "bytes31"
481
+ },
482
+ {
483
+ "indexed": false,
484
+ "internalType": "StateId",
485
+ "name": "stateOld",
486
+ "type": "uint8"
487
+ },
488
+ {
489
+ "indexed": false,
490
+ "internalType": "StateId",
491
+ "name": "stateNew",
492
+ "type": "uint8"
493
+ },
494
+ {
495
+ "indexed": false,
496
+ "internalType": "address",
497
+ "name": "updatedBy",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "indexed": false,
502
+ "internalType": "address",
503
+ "name": "txOrigin",
504
+ "type": "address"
505
+ },
506
+ {
507
+ "indexed": false,
508
+ "internalType": "Blocknumber",
509
+ "name": "lastUpdatedIn",
510
+ "type": "uint32"
511
+ }
512
+ ],
513
+ "name": "LogStateUpdated",
514
+ "type": "event"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "authority",
519
+ "outputs": [
520
+ {
521
+ "internalType": "address",
522
+ "name": "",
523
+ "type": "address"
524
+ }
525
+ ],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [
531
+ {
532
+ "internalType": "ObjectType",
533
+ "name": "objectType",
534
+ "type": "uint8"
535
+ },
536
+ {
537
+ "internalType": "StateId",
538
+ "name": "fromId",
539
+ "type": "uint8"
540
+ },
541
+ {
542
+ "internalType": "StateId",
543
+ "name": "toId",
544
+ "type": "uint8"
545
+ }
546
+ ],
547
+ "name": "checkTransition",
548
+ "outputs": [],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [
554
+ {
555
+ "internalType": "NftId",
556
+ "name": "applicationNftId",
557
+ "type": "uint96"
558
+ },
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "productNftId",
564
+ "type": "uint96"
565
+ },
566
+ {
567
+ "internalType": "NftId",
568
+ "name": "bundleNftId",
569
+ "type": "uint96"
570
+ },
571
+ {
572
+ "internalType": "ReferralId",
573
+ "name": "referralId",
574
+ "type": "bytes8"
575
+ },
576
+ {
577
+ "internalType": "RiskId",
578
+ "name": "riskId",
579
+ "type": "bytes8"
580
+ },
581
+ {
582
+ "internalType": "Amount",
583
+ "name": "sumInsuredAmount",
584
+ "type": "uint96"
585
+ },
586
+ {
587
+ "internalType": "Amount",
588
+ "name": "premiumAmount",
589
+ "type": "uint96"
590
+ },
591
+ {
592
+ "internalType": "Amount",
593
+ "name": "premiumPaidAmount",
594
+ "type": "uint96"
595
+ },
596
+ {
597
+ "internalType": "Seconds",
598
+ "name": "lifetime",
599
+ "type": "uint40"
600
+ },
601
+ {
602
+ "internalType": "bytes",
603
+ "name": "applicationData",
604
+ "type": "bytes"
605
+ },
606
+ {
607
+ "internalType": "bytes",
608
+ "name": "processData",
609
+ "type": "bytes"
610
+ },
611
+ {
612
+ "internalType": "uint16",
613
+ "name": "claimsCount",
614
+ "type": "uint16"
615
+ },
616
+ {
617
+ "internalType": "uint16",
618
+ "name": "openClaimsCount",
619
+ "type": "uint16"
620
+ },
621
+ {
622
+ "internalType": "Amount",
623
+ "name": "claimAmount",
624
+ "type": "uint96"
625
+ },
626
+ {
627
+ "internalType": "Amount",
628
+ "name": "payoutAmount",
629
+ "type": "uint96"
630
+ },
631
+ {
632
+ "internalType": "Timestamp",
633
+ "name": "activatedAt",
634
+ "type": "uint40"
635
+ },
636
+ {
637
+ "internalType": "Timestamp",
638
+ "name": "expiredAt",
639
+ "type": "uint40"
640
+ },
641
+ {
642
+ "internalType": "Timestamp",
643
+ "name": "closedAt",
644
+ "type": "uint40"
645
+ }
646
+ ],
647
+ "internalType": "struct IPolicy.PolicyInfo",
648
+ "name": "policy",
649
+ "type": "tuple"
650
+ }
651
+ ],
652
+ "name": "createApplication",
653
+ "outputs": [],
654
+ "stateMutability": "nonpayable",
655
+ "type": "function"
656
+ },
657
+ {
658
+ "inputs": [
659
+ {
660
+ "internalType": "NftId",
661
+ "name": "bundleNftId",
662
+ "type": "uint96"
663
+ },
664
+ {
665
+ "components": [
666
+ {
667
+ "internalType": "NftId",
668
+ "name": "poolNftId",
669
+ "type": "uint96"
670
+ },
671
+ {
672
+ "components": [
673
+ {
674
+ "internalType": "UFixed",
675
+ "name": "fractionalFee",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "internalType": "uint256",
680
+ "name": "fixedFee",
681
+ "type": "uint256"
682
+ }
683
+ ],
684
+ "internalType": "struct Fee",
685
+ "name": "fee",
686
+ "type": "tuple"
687
+ },
688
+ {
689
+ "internalType": "bytes",
690
+ "name": "filter",
691
+ "type": "bytes"
692
+ },
693
+ {
694
+ "internalType": "Seconds",
695
+ "name": "lifetime",
696
+ "type": "uint40"
697
+ },
698
+ {
699
+ "internalType": "Timestamp",
700
+ "name": "expiredAt",
701
+ "type": "uint40"
702
+ },
703
+ {
704
+ "internalType": "Timestamp",
705
+ "name": "closedAt",
706
+ "type": "uint40"
707
+ }
708
+ ],
709
+ "internalType": "struct IBundle.BundleInfo",
710
+ "name": "bundle",
711
+ "type": "tuple"
712
+ }
713
+ ],
714
+ "name": "createBundle",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "NftId",
723
+ "name": "policyNftId",
724
+ "type": "uint96"
725
+ },
726
+ {
727
+ "internalType": "ClaimId",
728
+ "name": "claimId",
729
+ "type": "uint16"
730
+ },
731
+ {
732
+ "components": [
733
+ {
734
+ "internalType": "Amount",
735
+ "name": "claimAmount",
736
+ "type": "uint96"
737
+ },
738
+ {
739
+ "internalType": "Amount",
740
+ "name": "paidAmount",
741
+ "type": "uint96"
742
+ },
743
+ {
744
+ "internalType": "uint8",
745
+ "name": "payoutsCount",
746
+ "type": "uint8"
747
+ },
748
+ {
749
+ "internalType": "uint8",
750
+ "name": "openPayoutsCount",
751
+ "type": "uint8"
752
+ },
753
+ {
754
+ "internalType": "bytes",
755
+ "name": "submissionData",
756
+ "type": "bytes"
757
+ },
758
+ {
759
+ "internalType": "bytes",
760
+ "name": "processData",
761
+ "type": "bytes"
762
+ },
763
+ {
764
+ "internalType": "Timestamp",
765
+ "name": "closedAt",
766
+ "type": "uint40"
767
+ }
768
+ ],
769
+ "internalType": "struct IPolicy.ClaimInfo",
770
+ "name": "claim",
771
+ "type": "tuple"
772
+ }
773
+ ],
774
+ "name": "createClaim",
775
+ "outputs": [],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [
781
+ {
782
+ "internalType": "NftId",
783
+ "name": "componentNftId",
784
+ "type": "uint96"
785
+ },
786
+ {
787
+ "components": [
788
+ {
789
+ "internalType": "string",
790
+ "name": "name",
791
+ "type": "string"
792
+ },
793
+ {
794
+ "internalType": "NftId",
795
+ "name": "productNftId",
796
+ "type": "uint96"
797
+ },
798
+ {
799
+ "internalType": "contract IERC20Metadata",
800
+ "name": "token",
801
+ "type": "address"
802
+ },
803
+ {
804
+ "internalType": "contract TokenHandler",
805
+ "name": "tokenHandler",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "internalType": "address",
810
+ "name": "wallet",
811
+ "type": "address"
812
+ },
813
+ {
814
+ "internalType": "bytes",
815
+ "name": "data",
816
+ "type": "bytes"
817
+ }
818
+ ],
819
+ "internalType": "struct IComponents.ComponentInfo",
820
+ "name": "componentInfo",
821
+ "type": "tuple"
822
+ }
823
+ ],
824
+ "name": "createComponent",
825
+ "outputs": [],
826
+ "stateMutability": "nonpayable",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [
831
+ {
832
+ "internalType": "NftId",
833
+ "name": "distributorNftId",
834
+ "type": "uint96"
835
+ },
836
+ {
837
+ "components": [
838
+ {
839
+ "internalType": "DistributorType",
840
+ "name": "distributorType",
841
+ "type": "bytes8"
842
+ },
843
+ {
844
+ "internalType": "bool",
845
+ "name": "active",
846
+ "type": "bool"
847
+ },
848
+ {
849
+ "internalType": "bytes",
850
+ "name": "data",
851
+ "type": "bytes"
852
+ },
853
+ {
854
+ "internalType": "Amount",
855
+ "name": "commissionAmount",
856
+ "type": "uint96"
857
+ },
858
+ {
859
+ "internalType": "uint32",
860
+ "name": "numPoliciesSold",
861
+ "type": "uint32"
862
+ }
863
+ ],
864
+ "internalType": "struct IDistribution.DistributorInfo",
865
+ "name": "info",
866
+ "type": "tuple"
867
+ }
868
+ ],
869
+ "name": "createDistributor",
870
+ "outputs": [],
871
+ "stateMutability": "nonpayable",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "DistributorType",
878
+ "name": "distributorType",
879
+ "type": "bytes8"
880
+ },
881
+ {
882
+ "components": [
883
+ {
884
+ "internalType": "string",
885
+ "name": "name",
886
+ "type": "string"
887
+ },
888
+ {
889
+ "internalType": "UFixed",
890
+ "name": "minDiscountPercentage",
891
+ "type": "uint256"
892
+ },
893
+ {
894
+ "internalType": "UFixed",
895
+ "name": "maxDiscountPercentage",
896
+ "type": "uint256"
897
+ },
898
+ {
899
+ "internalType": "UFixed",
900
+ "name": "commissionPercentage",
901
+ "type": "uint256"
902
+ },
903
+ {
904
+ "internalType": "uint32",
905
+ "name": "maxReferralCount",
906
+ "type": "uint32"
907
+ },
908
+ {
909
+ "internalType": "uint32",
910
+ "name": "maxReferralLifetime",
911
+ "type": "uint32"
912
+ },
913
+ {
914
+ "internalType": "bool",
915
+ "name": "allowSelfReferrals",
916
+ "type": "bool"
917
+ },
918
+ {
919
+ "internalType": "bool",
920
+ "name": "allowRenewals",
921
+ "type": "bool"
922
+ },
923
+ {
924
+ "internalType": "bytes",
925
+ "name": "data",
926
+ "type": "bytes"
927
+ }
928
+ ],
929
+ "internalType": "struct IDistribution.DistributorTypeInfo",
930
+ "name": "info",
931
+ "type": "tuple"
932
+ }
933
+ ],
934
+ "name": "createDistributorType",
935
+ "outputs": [],
936
+ "stateMutability": "nonpayable",
937
+ "type": "function"
938
+ },
939
+ {
940
+ "inputs": [
941
+ {
942
+ "internalType": "NftId",
943
+ "name": "policyNftId",
944
+ "type": "uint96"
945
+ },
946
+ {
947
+ "internalType": "PayoutId",
948
+ "name": "payoutId",
949
+ "type": "uint24"
950
+ },
951
+ {
952
+ "components": [
953
+ {
954
+ "internalType": "ClaimId",
955
+ "name": "claimId",
956
+ "type": "uint16"
957
+ },
958
+ {
959
+ "internalType": "Amount",
960
+ "name": "amount",
961
+ "type": "uint96"
962
+ },
963
+ {
964
+ "internalType": "bytes",
965
+ "name": "data",
966
+ "type": "bytes"
967
+ },
968
+ {
969
+ "internalType": "Timestamp",
970
+ "name": "paidAt",
971
+ "type": "uint40"
972
+ }
973
+ ],
974
+ "internalType": "struct IPolicy.PayoutInfo",
975
+ "name": "payout",
976
+ "type": "tuple"
977
+ }
978
+ ],
979
+ "name": "createPayout",
980
+ "outputs": [],
981
+ "stateMutability": "nonpayable",
982
+ "type": "function"
983
+ },
984
+ {
985
+ "inputs": [
986
+ {
987
+ "internalType": "NftId",
988
+ "name": "poolNftId",
989
+ "type": "uint96"
990
+ },
991
+ {
992
+ "components": [
993
+ {
994
+ "internalType": "NftId",
995
+ "name": "productNftId",
996
+ "type": "uint96"
997
+ },
998
+ {
999
+ "internalType": "RoleId",
1000
+ "name": "bundleOwnerRole",
1001
+ "type": "uint64"
1002
+ },
1003
+ {
1004
+ "internalType": "Amount",
1005
+ "name": "maxCapitalAmount",
1006
+ "type": "uint96"
1007
+ },
1008
+ {
1009
+ "internalType": "bool",
1010
+ "name": "isInterceptingBundleTransfers",
1011
+ "type": "bool"
1012
+ },
1013
+ {
1014
+ "internalType": "bool",
1015
+ "name": "isExternallyManaged",
1016
+ "type": "bool"
1017
+ },
1018
+ {
1019
+ "internalType": "bool",
1020
+ "name": "isVerifyingApplications",
1021
+ "type": "bool"
1022
+ },
1023
+ {
1024
+ "internalType": "UFixed",
1025
+ "name": "collateralizationLevel",
1026
+ "type": "uint256"
1027
+ },
1028
+ {
1029
+ "internalType": "UFixed",
1030
+ "name": "retentionLevel",
1031
+ "type": "uint256"
1032
+ },
1033
+ {
1034
+ "components": [
1035
+ {
1036
+ "internalType": "UFixed",
1037
+ "name": "fractionalFee",
1038
+ "type": "uint256"
1039
+ },
1040
+ {
1041
+ "internalType": "uint256",
1042
+ "name": "fixedFee",
1043
+ "type": "uint256"
1044
+ }
1045
+ ],
1046
+ "internalType": "struct Fee",
1047
+ "name": "poolFee",
1048
+ "type": "tuple"
1049
+ },
1050
+ {
1051
+ "components": [
1052
+ {
1053
+ "internalType": "UFixed",
1054
+ "name": "fractionalFee",
1055
+ "type": "uint256"
1056
+ },
1057
+ {
1058
+ "internalType": "uint256",
1059
+ "name": "fixedFee",
1060
+ "type": "uint256"
1061
+ }
1062
+ ],
1063
+ "internalType": "struct Fee",
1064
+ "name": "stakingFee",
1065
+ "type": "tuple"
1066
+ },
1067
+ {
1068
+ "components": [
1069
+ {
1070
+ "internalType": "UFixed",
1071
+ "name": "fractionalFee",
1072
+ "type": "uint256"
1073
+ },
1074
+ {
1075
+ "internalType": "uint256",
1076
+ "name": "fixedFee",
1077
+ "type": "uint256"
1078
+ }
1079
+ ],
1080
+ "internalType": "struct Fee",
1081
+ "name": "performanceFee",
1082
+ "type": "tuple"
1083
+ }
1084
+ ],
1085
+ "internalType": "struct IComponents.PoolInfo",
1086
+ "name": "info",
1087
+ "type": "tuple"
1088
+ }
1089
+ ],
1090
+ "name": "createPool",
1091
+ "outputs": [],
1092
+ "stateMutability": "nonpayable",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "internalType": "NftId",
1099
+ "name": "productNftId",
1100
+ "type": "uint96"
1101
+ },
1102
+ {
1103
+ "components": [
1104
+ {
1105
+ "internalType": "NftId",
1106
+ "name": "distributionNftId",
1107
+ "type": "uint96"
1108
+ },
1109
+ {
1110
+ "internalType": "NftId",
1111
+ "name": "poolNftId",
1112
+ "type": "uint96"
1113
+ },
1114
+ {
1115
+ "components": [
1116
+ {
1117
+ "internalType": "UFixed",
1118
+ "name": "fractionalFee",
1119
+ "type": "uint256"
1120
+ },
1121
+ {
1122
+ "internalType": "uint256",
1123
+ "name": "fixedFee",
1124
+ "type": "uint256"
1125
+ }
1126
+ ],
1127
+ "internalType": "struct Fee",
1128
+ "name": "productFee",
1129
+ "type": "tuple"
1130
+ },
1131
+ {
1132
+ "components": [
1133
+ {
1134
+ "internalType": "UFixed",
1135
+ "name": "fractionalFee",
1136
+ "type": "uint256"
1137
+ },
1138
+ {
1139
+ "internalType": "uint256",
1140
+ "name": "fixedFee",
1141
+ "type": "uint256"
1142
+ }
1143
+ ],
1144
+ "internalType": "struct Fee",
1145
+ "name": "processingFee",
1146
+ "type": "tuple"
1147
+ },
1148
+ {
1149
+ "components": [
1150
+ {
1151
+ "internalType": "UFixed",
1152
+ "name": "fractionalFee",
1153
+ "type": "uint256"
1154
+ },
1155
+ {
1156
+ "internalType": "uint256",
1157
+ "name": "fixedFee",
1158
+ "type": "uint256"
1159
+ }
1160
+ ],
1161
+ "internalType": "struct Fee",
1162
+ "name": "distributionFee",
1163
+ "type": "tuple"
1164
+ },
1165
+ {
1166
+ "components": [
1167
+ {
1168
+ "internalType": "UFixed",
1169
+ "name": "fractionalFee",
1170
+ "type": "uint256"
1171
+ },
1172
+ {
1173
+ "internalType": "uint256",
1174
+ "name": "fixedFee",
1175
+ "type": "uint256"
1176
+ }
1177
+ ],
1178
+ "internalType": "struct Fee",
1179
+ "name": "minDistributionOwnerFee",
1180
+ "type": "tuple"
1181
+ },
1182
+ {
1183
+ "components": [
1184
+ {
1185
+ "internalType": "UFixed",
1186
+ "name": "fractionalFee",
1187
+ "type": "uint256"
1188
+ },
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "fixedFee",
1192
+ "type": "uint256"
1193
+ }
1194
+ ],
1195
+ "internalType": "struct Fee",
1196
+ "name": "poolFee",
1197
+ "type": "tuple"
1198
+ },
1199
+ {
1200
+ "components": [
1201
+ {
1202
+ "internalType": "UFixed",
1203
+ "name": "fractionalFee",
1204
+ "type": "uint256"
1205
+ },
1206
+ {
1207
+ "internalType": "uint256",
1208
+ "name": "fixedFee",
1209
+ "type": "uint256"
1210
+ }
1211
+ ],
1212
+ "internalType": "struct Fee",
1213
+ "name": "stakingFee",
1214
+ "type": "tuple"
1215
+ },
1216
+ {
1217
+ "components": [
1218
+ {
1219
+ "internalType": "UFixed",
1220
+ "name": "fractionalFee",
1221
+ "type": "uint256"
1222
+ },
1223
+ {
1224
+ "internalType": "uint256",
1225
+ "name": "fixedFee",
1226
+ "type": "uint256"
1227
+ }
1228
+ ],
1229
+ "internalType": "struct Fee",
1230
+ "name": "performanceFee",
1231
+ "type": "tuple"
1232
+ }
1233
+ ],
1234
+ "internalType": "struct IComponents.ProductInfo",
1235
+ "name": "info",
1236
+ "type": "tuple"
1237
+ }
1238
+ ],
1239
+ "name": "createProduct",
1240
+ "outputs": [],
1241
+ "stateMutability": "nonpayable",
1242
+ "type": "function"
1243
+ },
1244
+ {
1245
+ "inputs": [
1246
+ {
1247
+ "internalType": "ReferralId",
1248
+ "name": "referralId",
1249
+ "type": "bytes8"
1250
+ },
1251
+ {
1252
+ "components": [
1253
+ {
1254
+ "internalType": "NftId",
1255
+ "name": "distributorNftId",
1256
+ "type": "uint96"
1257
+ },
1258
+ {
1259
+ "internalType": "string",
1260
+ "name": "referralCode",
1261
+ "type": "string"
1262
+ },
1263
+ {
1264
+ "internalType": "UFixed",
1265
+ "name": "discountPercentage",
1266
+ "type": "uint256"
1267
+ },
1268
+ {
1269
+ "internalType": "uint32",
1270
+ "name": "maxReferrals",
1271
+ "type": "uint32"
1272
+ },
1273
+ {
1274
+ "internalType": "uint32",
1275
+ "name": "usedReferrals",
1276
+ "type": "uint32"
1277
+ },
1278
+ {
1279
+ "internalType": "Timestamp",
1280
+ "name": "expiryAt",
1281
+ "type": "uint40"
1282
+ },
1283
+ {
1284
+ "internalType": "bytes",
1285
+ "name": "data",
1286
+ "type": "bytes"
1287
+ }
1288
+ ],
1289
+ "internalType": "struct IDistribution.ReferralInfo",
1290
+ "name": "referralInfo",
1291
+ "type": "tuple"
1292
+ }
1293
+ ],
1294
+ "name": "createReferral",
1295
+ "outputs": [],
1296
+ "stateMutability": "nonpayable",
1297
+ "type": "function"
1298
+ },
1299
+ {
1300
+ "inputs": [
1301
+ {
1302
+ "components": [
1303
+ {
1304
+ "internalType": "NftId",
1305
+ "name": "requesterNftId",
1306
+ "type": "uint96"
1307
+ },
1308
+ {
1309
+ "internalType": "string",
1310
+ "name": "callbackMethodName",
1311
+ "type": "string"
1312
+ },
1313
+ {
1314
+ "internalType": "NftId",
1315
+ "name": "oracleNftId",
1316
+ "type": "uint96"
1317
+ },
1318
+ {
1319
+ "internalType": "bytes",
1320
+ "name": "requestData",
1321
+ "type": "bytes"
1322
+ },
1323
+ {
1324
+ "internalType": "bytes",
1325
+ "name": "responseData",
1326
+ "type": "bytes"
1327
+ },
1328
+ {
1329
+ "internalType": "Timestamp",
1330
+ "name": "respondedAt",
1331
+ "type": "uint40"
1332
+ },
1333
+ {
1334
+ "internalType": "Timestamp",
1335
+ "name": "expiredAt",
1336
+ "type": "uint40"
1337
+ },
1338
+ {
1339
+ "internalType": "bool",
1340
+ "name": "isCancelled",
1341
+ "type": "bool"
1342
+ }
1343
+ ],
1344
+ "internalType": "struct IOracle.RequestInfo",
1345
+ "name": "request",
1346
+ "type": "tuple"
1347
+ }
1348
+ ],
1349
+ "name": "createRequest",
1350
+ "outputs": [
1351
+ {
1352
+ "internalType": "RequestId",
1353
+ "name": "requestId",
1354
+ "type": "uint64"
1355
+ }
1356
+ ],
1357
+ "stateMutability": "nonpayable",
1358
+ "type": "function"
1359
+ },
1360
+ {
1361
+ "inputs": [
1362
+ {
1363
+ "internalType": "RiskId",
1364
+ "name": "riskId",
1365
+ "type": "bytes8"
1366
+ },
1367
+ {
1368
+ "components": [
1369
+ {
1370
+ "internalType": "NftId",
1371
+ "name": "productNftId",
1372
+ "type": "uint96"
1373
+ },
1374
+ {
1375
+ "internalType": "bytes",
1376
+ "name": "data",
1377
+ "type": "bytes"
1378
+ }
1379
+ ],
1380
+ "internalType": "struct IRisk.RiskInfo",
1381
+ "name": "risk",
1382
+ "type": "tuple"
1383
+ }
1384
+ ],
1385
+ "name": "createRisk",
1386
+ "outputs": [],
1387
+ "stateMutability": "nonpayable",
1388
+ "type": "function"
1389
+ },
1390
+ {
1391
+ "inputs": [
1392
+ {
1393
+ "internalType": "NftId",
1394
+ "name": "targetNftId",
1395
+ "type": "uint96"
1396
+ },
1397
+ {
1398
+ "internalType": "Amount",
1399
+ "name": "amount",
1400
+ "type": "uint96"
1401
+ }
1402
+ ],
1403
+ "name": "decreaseBalance",
1404
+ "outputs": [
1405
+ {
1406
+ "internalType": "Amount",
1407
+ "name": "newBalance",
1408
+ "type": "uint96"
1409
+ }
1410
+ ],
1411
+ "stateMutability": "nonpayable",
1412
+ "type": "function"
1413
+ },
1414
+ {
1415
+ "inputs": [
1416
+ {
1417
+ "internalType": "NftId",
1418
+ "name": "targetNftId",
1419
+ "type": "uint96"
1420
+ },
1421
+ {
1422
+ "internalType": "Amount",
1423
+ "name": "amount",
1424
+ "type": "uint96"
1425
+ }
1426
+ ],
1427
+ "name": "decreaseFees",
1428
+ "outputs": [
1429
+ {
1430
+ "internalType": "Amount",
1431
+ "name": "newFeeBalance",
1432
+ "type": "uint96"
1433
+ }
1434
+ ],
1435
+ "stateMutability": "nonpayable",
1436
+ "type": "function"
1437
+ },
1438
+ {
1439
+ "inputs": [
1440
+ {
1441
+ "internalType": "NftId",
1442
+ "name": "targetNftId",
1443
+ "type": "uint96"
1444
+ },
1445
+ {
1446
+ "internalType": "Amount",
1447
+ "name": "amount",
1448
+ "type": "uint96"
1449
+ }
1450
+ ],
1451
+ "name": "decreaseLocked",
1452
+ "outputs": [
1453
+ {
1454
+ "internalType": "Amount",
1455
+ "name": "newBalance",
1456
+ "type": "uint96"
1457
+ }
1458
+ ],
1459
+ "stateMutability": "nonpayable",
1460
+ "type": "function"
1461
+ },
1462
+ {
1463
+ "inputs": [
1464
+ {
1465
+ "internalType": "Key32",
1466
+ "name": "key32",
1467
+ "type": "bytes32"
1468
+ }
1469
+ ],
1470
+ "name": "exists",
1471
+ "outputs": [
1472
+ {
1473
+ "internalType": "bool",
1474
+ "name": "",
1475
+ "type": "bool"
1476
+ }
1477
+ ],
1478
+ "stateMutability": "view",
1479
+ "type": "function"
1480
+ },
1481
+ {
1482
+ "inputs": [
1483
+ {
1484
+ "internalType": "Key32",
1485
+ "name": "key32",
1486
+ "type": "bytes32"
1487
+ }
1488
+ ],
1489
+ "name": "get",
1490
+ "outputs": [
1491
+ {
1492
+ "components": [
1493
+ {
1494
+ "components": [
1495
+ {
1496
+ "internalType": "ObjectType",
1497
+ "name": "objectType",
1498
+ "type": "uint8"
1499
+ },
1500
+ {
1501
+ "internalType": "StateId",
1502
+ "name": "state",
1503
+ "type": "uint8"
1504
+ },
1505
+ {
1506
+ "internalType": "Blocknumber",
1507
+ "name": "updatedIn",
1508
+ "type": "uint32"
1509
+ },
1510
+ {
1511
+ "internalType": "Blocknumber",
1512
+ "name": "createdIn",
1513
+ "type": "uint32"
1514
+ }
1515
+ ],
1516
+ "internalType": "struct IKeyValueStore.Metadata",
1517
+ "name": "metadata",
1518
+ "type": "tuple"
1519
+ },
1520
+ {
1521
+ "internalType": "bytes",
1522
+ "name": "data",
1523
+ "type": "bytes"
1524
+ }
1525
+ ],
1526
+ "internalType": "struct IKeyValueStore.Value",
1527
+ "name": "value",
1528
+ "type": "tuple"
1529
+ }
1530
+ ],
1531
+ "stateMutability": "view",
1532
+ "type": "function"
1533
+ },
1534
+ {
1535
+ "inputs": [
1536
+ {
1537
+ "internalType": "NftId",
1538
+ "name": "targetNftId",
1539
+ "type": "uint96"
1540
+ }
1541
+ ],
1542
+ "name": "getAmounts",
1543
+ "outputs": [
1544
+ {
1545
+ "internalType": "Amount",
1546
+ "name": "balanceAmount",
1547
+ "type": "uint96"
1548
+ },
1549
+ {
1550
+ "internalType": "Amount",
1551
+ "name": "lockedAmount",
1552
+ "type": "uint96"
1553
+ },
1554
+ {
1555
+ "internalType": "Amount",
1556
+ "name": "feeAmount",
1557
+ "type": "uint96"
1558
+ }
1559
+ ],
1560
+ "stateMutability": "view",
1561
+ "type": "function"
1562
+ },
1563
+ {
1564
+ "inputs": [
1565
+ {
1566
+ "internalType": "NftId",
1567
+ "name": "targetNftId",
1568
+ "type": "uint96"
1569
+ }
1570
+ ],
1571
+ "name": "getBalanceAmount",
1572
+ "outputs": [
1573
+ {
1574
+ "internalType": "Amount",
1575
+ "name": "balanceAmount",
1576
+ "type": "uint96"
1577
+ }
1578
+ ],
1579
+ "stateMutability": "view",
1580
+ "type": "function"
1581
+ },
1582
+ {
1583
+ "inputs": [
1584
+ {
1585
+ "internalType": "Key32",
1586
+ "name": "key32",
1587
+ "type": "bytes32"
1588
+ }
1589
+ ],
1590
+ "name": "getData",
1591
+ "outputs": [
1592
+ {
1593
+ "internalType": "bytes",
1594
+ "name": "data",
1595
+ "type": "bytes"
1596
+ }
1597
+ ],
1598
+ "stateMutability": "view",
1599
+ "type": "function"
1600
+ },
1601
+ {
1602
+ "inputs": [
1603
+ {
1604
+ "internalType": "NftId",
1605
+ "name": "targetNftId",
1606
+ "type": "uint96"
1607
+ }
1608
+ ],
1609
+ "name": "getFeeAmount",
1610
+ "outputs": [
1611
+ {
1612
+ "internalType": "Amount",
1613
+ "name": "feeAmount",
1614
+ "type": "uint96"
1615
+ }
1616
+ ],
1617
+ "stateMutability": "view",
1618
+ "type": "function"
1619
+ },
1620
+ {
1621
+ "inputs": [
1622
+ {
1623
+ "internalType": "ObjectType",
1624
+ "name": "objectType",
1625
+ "type": "uint8"
1626
+ }
1627
+ ],
1628
+ "name": "getInitialState",
1629
+ "outputs": [
1630
+ {
1631
+ "internalType": "StateId",
1632
+ "name": "",
1633
+ "type": "uint8"
1634
+ }
1635
+ ],
1636
+ "stateMutability": "view",
1637
+ "type": "function"
1638
+ },
1639
+ {
1640
+ "inputs": [
1641
+ {
1642
+ "internalType": "NftId",
1643
+ "name": "targetNftId",
1644
+ "type": "uint96"
1645
+ }
1646
+ ],
1647
+ "name": "getLockedAmount",
1648
+ "outputs": [
1649
+ {
1650
+ "internalType": "Amount",
1651
+ "name": "lockedAmount",
1652
+ "type": "uint96"
1653
+ }
1654
+ ],
1655
+ "stateMutability": "view",
1656
+ "type": "function"
1657
+ },
1658
+ {
1659
+ "inputs": [
1660
+ {
1661
+ "internalType": "Key32",
1662
+ "name": "key32",
1663
+ "type": "bytes32"
1664
+ }
1665
+ ],
1666
+ "name": "getMetadata",
1667
+ "outputs": [
1668
+ {
1669
+ "components": [
1670
+ {
1671
+ "internalType": "ObjectType",
1672
+ "name": "objectType",
1673
+ "type": "uint8"
1674
+ },
1675
+ {
1676
+ "internalType": "StateId",
1677
+ "name": "state",
1678
+ "type": "uint8"
1679
+ },
1680
+ {
1681
+ "internalType": "Blocknumber",
1682
+ "name": "updatedIn",
1683
+ "type": "uint32"
1684
+ },
1685
+ {
1686
+ "internalType": "Blocknumber",
1687
+ "name": "createdIn",
1688
+ "type": "uint32"
1689
+ }
1690
+ ],
1691
+ "internalType": "struct IKeyValueStore.Metadata",
1692
+ "name": "metadata",
1693
+ "type": "tuple"
1694
+ }
1695
+ ],
1696
+ "stateMutability": "view",
1697
+ "type": "function"
1698
+ },
1699
+ {
1700
+ "inputs": [
1701
+ {
1702
+ "internalType": "Key32",
1703
+ "name": "key32",
1704
+ "type": "bytes32"
1705
+ }
1706
+ ],
1707
+ "name": "getState",
1708
+ "outputs": [
1709
+ {
1710
+ "internalType": "StateId",
1711
+ "name": "state",
1712
+ "type": "uint8"
1713
+ }
1714
+ ],
1715
+ "stateMutability": "view",
1716
+ "type": "function"
1717
+ },
1718
+ {
1719
+ "inputs": [
1720
+ {
1721
+ "internalType": "ObjectType",
1722
+ "name": "objectType",
1723
+ "type": "uint8"
1724
+ }
1725
+ ],
1726
+ "name": "hasLifecycle",
1727
+ "outputs": [
1728
+ {
1729
+ "internalType": "bool",
1730
+ "name": "",
1731
+ "type": "bool"
1732
+ }
1733
+ ],
1734
+ "stateMutability": "view",
1735
+ "type": "function"
1736
+ },
1737
+ {
1738
+ "inputs": [
1739
+ {
1740
+ "internalType": "NftId",
1741
+ "name": "targetNftId",
1742
+ "type": "uint96"
1743
+ },
1744
+ {
1745
+ "internalType": "Amount",
1746
+ "name": "amount",
1747
+ "type": "uint96"
1748
+ }
1749
+ ],
1750
+ "name": "increaseBalance",
1751
+ "outputs": [
1752
+ {
1753
+ "internalType": "Amount",
1754
+ "name": "newBalance",
1755
+ "type": "uint96"
1756
+ }
1757
+ ],
1758
+ "stateMutability": "nonpayable",
1759
+ "type": "function"
1760
+ },
1761
+ {
1762
+ "inputs": [
1763
+ {
1764
+ "internalType": "NftId",
1765
+ "name": "targetNftId",
1766
+ "type": "uint96"
1767
+ },
1768
+ {
1769
+ "internalType": "Amount",
1770
+ "name": "amount",
1771
+ "type": "uint96"
1772
+ }
1773
+ ],
1774
+ "name": "increaseFees",
1775
+ "outputs": [
1776
+ {
1777
+ "internalType": "Amount",
1778
+ "name": "newFeeBalance",
1779
+ "type": "uint96"
1780
+ }
1781
+ ],
1782
+ "stateMutability": "nonpayable",
1783
+ "type": "function"
1784
+ },
1785
+ {
1786
+ "inputs": [
1787
+ {
1788
+ "internalType": "NftId",
1789
+ "name": "targetNftId",
1790
+ "type": "uint96"
1791
+ },
1792
+ {
1793
+ "internalType": "Amount",
1794
+ "name": "amount",
1795
+ "type": "uint96"
1796
+ }
1797
+ ],
1798
+ "name": "increaseLocked",
1799
+ "outputs": [
1800
+ {
1801
+ "internalType": "Amount",
1802
+ "name": "newBalance",
1803
+ "type": "uint96"
1804
+ }
1805
+ ],
1806
+ "stateMutability": "nonpayable",
1807
+ "type": "function"
1808
+ },
1809
+ {
1810
+ "inputs": [
1811
+ {
1812
+ "internalType": "address",
1813
+ "name": "instance",
1814
+ "type": "address"
1815
+ }
1816
+ ],
1817
+ "name": "initialize",
1818
+ "outputs": [],
1819
+ "stateMutability": "nonpayable",
1820
+ "type": "function"
1821
+ },
1822
+ {
1823
+ "inputs": [],
1824
+ "name": "initializeLifecycle",
1825
+ "outputs": [],
1826
+ "stateMutability": "nonpayable",
1827
+ "type": "function"
1828
+ },
1829
+ {
1830
+ "inputs": [],
1831
+ "name": "isConsumingScheduledOp",
1832
+ "outputs": [
1833
+ {
1834
+ "internalType": "bytes4",
1835
+ "name": "",
1836
+ "type": "bytes4"
1837
+ }
1838
+ ],
1839
+ "stateMutability": "view",
1840
+ "type": "function"
1841
+ },
1842
+ {
1843
+ "inputs": [
1844
+ {
1845
+ "internalType": "ObjectType",
1846
+ "name": "objectType",
1847
+ "type": "uint8"
1848
+ },
1849
+ {
1850
+ "internalType": "StateId",
1851
+ "name": "fromId",
1852
+ "type": "uint8"
1853
+ },
1854
+ {
1855
+ "internalType": "StateId",
1856
+ "name": "toId",
1857
+ "type": "uint8"
1858
+ }
1859
+ ],
1860
+ "name": "isValidTransition",
1861
+ "outputs": [
1862
+ {
1863
+ "internalType": "bool",
1864
+ "name": "",
1865
+ "type": "bool"
1866
+ }
1867
+ ],
1868
+ "stateMutability": "view",
1869
+ "type": "function"
1870
+ },
1871
+ {
1872
+ "inputs": [
1873
+ {
1874
+ "internalType": "address",
1875
+ "name": "newAuthority",
1876
+ "type": "address"
1877
+ }
1878
+ ],
1879
+ "name": "setAuthority",
1880
+ "outputs": [],
1881
+ "stateMutability": "nonpayable",
1882
+ "type": "function"
1883
+ },
1884
+ {
1885
+ "inputs": [
1886
+ {
1887
+ "internalType": "ObjectType",
1888
+ "name": "objectType",
1889
+ "type": "uint8"
1890
+ },
1891
+ {
1892
+ "internalType": "KeyId",
1893
+ "name": "id",
1894
+ "type": "bytes31"
1895
+ }
1896
+ ],
1897
+ "name": "toKey32",
1898
+ "outputs": [
1899
+ {
1900
+ "internalType": "Key32",
1901
+ "name": "",
1902
+ "type": "bytes32"
1903
+ }
1904
+ ],
1905
+ "stateMutability": "pure",
1906
+ "type": "function"
1907
+ },
1908
+ {
1909
+ "inputs": [
1910
+ {
1911
+ "internalType": "NftId",
1912
+ "name": "applicationNftId",
1913
+ "type": "uint96"
1914
+ },
1915
+ {
1916
+ "components": [
1917
+ {
1918
+ "internalType": "NftId",
1919
+ "name": "productNftId",
1920
+ "type": "uint96"
1921
+ },
1922
+ {
1923
+ "internalType": "NftId",
1924
+ "name": "bundleNftId",
1925
+ "type": "uint96"
1926
+ },
1927
+ {
1928
+ "internalType": "ReferralId",
1929
+ "name": "referralId",
1930
+ "type": "bytes8"
1931
+ },
1932
+ {
1933
+ "internalType": "RiskId",
1934
+ "name": "riskId",
1935
+ "type": "bytes8"
1936
+ },
1937
+ {
1938
+ "internalType": "Amount",
1939
+ "name": "sumInsuredAmount",
1940
+ "type": "uint96"
1941
+ },
1942
+ {
1943
+ "internalType": "Amount",
1944
+ "name": "premiumAmount",
1945
+ "type": "uint96"
1946
+ },
1947
+ {
1948
+ "internalType": "Amount",
1949
+ "name": "premiumPaidAmount",
1950
+ "type": "uint96"
1951
+ },
1952
+ {
1953
+ "internalType": "Seconds",
1954
+ "name": "lifetime",
1955
+ "type": "uint40"
1956
+ },
1957
+ {
1958
+ "internalType": "bytes",
1959
+ "name": "applicationData",
1960
+ "type": "bytes"
1961
+ },
1962
+ {
1963
+ "internalType": "bytes",
1964
+ "name": "processData",
1965
+ "type": "bytes"
1966
+ },
1967
+ {
1968
+ "internalType": "uint16",
1969
+ "name": "claimsCount",
1970
+ "type": "uint16"
1971
+ },
1972
+ {
1973
+ "internalType": "uint16",
1974
+ "name": "openClaimsCount",
1975
+ "type": "uint16"
1976
+ },
1977
+ {
1978
+ "internalType": "Amount",
1979
+ "name": "claimAmount",
1980
+ "type": "uint96"
1981
+ },
1982
+ {
1983
+ "internalType": "Amount",
1984
+ "name": "payoutAmount",
1985
+ "type": "uint96"
1986
+ },
1987
+ {
1988
+ "internalType": "Timestamp",
1989
+ "name": "activatedAt",
1990
+ "type": "uint40"
1991
+ },
1992
+ {
1993
+ "internalType": "Timestamp",
1994
+ "name": "expiredAt",
1995
+ "type": "uint40"
1996
+ },
1997
+ {
1998
+ "internalType": "Timestamp",
1999
+ "name": "closedAt",
2000
+ "type": "uint40"
2001
+ }
2002
+ ],
2003
+ "internalType": "struct IPolicy.PolicyInfo",
2004
+ "name": "policy",
2005
+ "type": "tuple"
2006
+ },
2007
+ {
2008
+ "internalType": "StateId",
2009
+ "name": "newState",
2010
+ "type": "uint8"
2011
+ }
2012
+ ],
2013
+ "name": "updateApplication",
2014
+ "outputs": [],
2015
+ "stateMutability": "nonpayable",
2016
+ "type": "function"
2017
+ },
2018
+ {
2019
+ "inputs": [
2020
+ {
2021
+ "internalType": "NftId",
2022
+ "name": "applicationNftId",
2023
+ "type": "uint96"
2024
+ },
2025
+ {
2026
+ "internalType": "StateId",
2027
+ "name": "newState",
2028
+ "type": "uint8"
2029
+ }
2030
+ ],
2031
+ "name": "updateApplicationState",
2032
+ "outputs": [],
2033
+ "stateMutability": "nonpayable",
2034
+ "type": "function"
2035
+ },
2036
+ {
2037
+ "inputs": [
2038
+ {
2039
+ "internalType": "NftId",
2040
+ "name": "bundleNftId",
2041
+ "type": "uint96"
2042
+ },
2043
+ {
2044
+ "components": [
2045
+ {
2046
+ "internalType": "NftId",
2047
+ "name": "poolNftId",
2048
+ "type": "uint96"
2049
+ },
2050
+ {
2051
+ "components": [
2052
+ {
2053
+ "internalType": "UFixed",
2054
+ "name": "fractionalFee",
2055
+ "type": "uint256"
2056
+ },
2057
+ {
2058
+ "internalType": "uint256",
2059
+ "name": "fixedFee",
2060
+ "type": "uint256"
2061
+ }
2062
+ ],
2063
+ "internalType": "struct Fee",
2064
+ "name": "fee",
2065
+ "type": "tuple"
2066
+ },
2067
+ {
2068
+ "internalType": "bytes",
2069
+ "name": "filter",
2070
+ "type": "bytes"
2071
+ },
2072
+ {
2073
+ "internalType": "Seconds",
2074
+ "name": "lifetime",
2075
+ "type": "uint40"
2076
+ },
2077
+ {
2078
+ "internalType": "Timestamp",
2079
+ "name": "expiredAt",
2080
+ "type": "uint40"
2081
+ },
2082
+ {
2083
+ "internalType": "Timestamp",
2084
+ "name": "closedAt",
2085
+ "type": "uint40"
2086
+ }
2087
+ ],
2088
+ "internalType": "struct IBundle.BundleInfo",
2089
+ "name": "bundle",
2090
+ "type": "tuple"
2091
+ },
2092
+ {
2093
+ "internalType": "StateId",
2094
+ "name": "newState",
2095
+ "type": "uint8"
2096
+ }
2097
+ ],
2098
+ "name": "updateBundle",
2099
+ "outputs": [],
2100
+ "stateMutability": "nonpayable",
2101
+ "type": "function"
2102
+ },
2103
+ {
2104
+ "inputs": [
2105
+ {
2106
+ "internalType": "NftId",
2107
+ "name": "bundleNftId",
2108
+ "type": "uint96"
2109
+ },
2110
+ {
2111
+ "internalType": "StateId",
2112
+ "name": "newState",
2113
+ "type": "uint8"
2114
+ }
2115
+ ],
2116
+ "name": "updateBundleState",
2117
+ "outputs": [],
2118
+ "stateMutability": "nonpayable",
2119
+ "type": "function"
2120
+ },
2121
+ {
2122
+ "inputs": [
2123
+ {
2124
+ "internalType": "NftId",
2125
+ "name": "policyNftId",
2126
+ "type": "uint96"
2127
+ },
2128
+ {
2129
+ "internalType": "ClaimId",
2130
+ "name": "claimId",
2131
+ "type": "uint16"
2132
+ },
2133
+ {
2134
+ "components": [
2135
+ {
2136
+ "internalType": "Amount",
2137
+ "name": "claimAmount",
2138
+ "type": "uint96"
2139
+ },
2140
+ {
2141
+ "internalType": "Amount",
2142
+ "name": "paidAmount",
2143
+ "type": "uint96"
2144
+ },
2145
+ {
2146
+ "internalType": "uint8",
2147
+ "name": "payoutsCount",
2148
+ "type": "uint8"
2149
+ },
2150
+ {
2151
+ "internalType": "uint8",
2152
+ "name": "openPayoutsCount",
2153
+ "type": "uint8"
2154
+ },
2155
+ {
2156
+ "internalType": "bytes",
2157
+ "name": "submissionData",
2158
+ "type": "bytes"
2159
+ },
2160
+ {
2161
+ "internalType": "bytes",
2162
+ "name": "processData",
2163
+ "type": "bytes"
2164
+ },
2165
+ {
2166
+ "internalType": "Timestamp",
2167
+ "name": "closedAt",
2168
+ "type": "uint40"
2169
+ }
2170
+ ],
2171
+ "internalType": "struct IPolicy.ClaimInfo",
2172
+ "name": "claim",
2173
+ "type": "tuple"
2174
+ },
2175
+ {
2176
+ "internalType": "StateId",
2177
+ "name": "newState",
2178
+ "type": "uint8"
2179
+ }
2180
+ ],
2181
+ "name": "updateClaim",
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": "ClaimId",
2195
+ "name": "claimId",
2196
+ "type": "uint16"
2197
+ },
2198
+ {
2199
+ "internalType": "StateId",
2200
+ "name": "newState",
2201
+ "type": "uint8"
2202
+ }
2203
+ ],
2204
+ "name": "updateClaimState",
2205
+ "outputs": [],
2206
+ "stateMutability": "nonpayable",
2207
+ "type": "function"
2208
+ },
2209
+ {
2210
+ "inputs": [
2211
+ {
2212
+ "internalType": "NftId",
2213
+ "name": "componentNftId",
2214
+ "type": "uint96"
2215
+ },
2216
+ {
2217
+ "components": [
2218
+ {
2219
+ "internalType": "string",
2220
+ "name": "name",
2221
+ "type": "string"
2222
+ },
2223
+ {
2224
+ "internalType": "NftId",
2225
+ "name": "productNftId",
2226
+ "type": "uint96"
2227
+ },
2228
+ {
2229
+ "internalType": "contract IERC20Metadata",
2230
+ "name": "token",
2231
+ "type": "address"
2232
+ },
2233
+ {
2234
+ "internalType": "contract TokenHandler",
2235
+ "name": "tokenHandler",
2236
+ "type": "address"
2237
+ },
2238
+ {
2239
+ "internalType": "address",
2240
+ "name": "wallet",
2241
+ "type": "address"
2242
+ },
2243
+ {
2244
+ "internalType": "bytes",
2245
+ "name": "data",
2246
+ "type": "bytes"
2247
+ }
2248
+ ],
2249
+ "internalType": "struct IComponents.ComponentInfo",
2250
+ "name": "componentInfo",
2251
+ "type": "tuple"
2252
+ },
2253
+ {
2254
+ "internalType": "StateId",
2255
+ "name": "newState",
2256
+ "type": "uint8"
2257
+ }
2258
+ ],
2259
+ "name": "updateComponent",
2260
+ "outputs": [],
2261
+ "stateMutability": "nonpayable",
2262
+ "type": "function"
2263
+ },
2264
+ {
2265
+ "inputs": [
2266
+ {
2267
+ "internalType": "NftId",
2268
+ "name": "distributorNftId",
2269
+ "type": "uint96"
2270
+ },
2271
+ {
2272
+ "components": [
2273
+ {
2274
+ "internalType": "DistributorType",
2275
+ "name": "distributorType",
2276
+ "type": "bytes8"
2277
+ },
2278
+ {
2279
+ "internalType": "bool",
2280
+ "name": "active",
2281
+ "type": "bool"
2282
+ },
2283
+ {
2284
+ "internalType": "bytes",
2285
+ "name": "data",
2286
+ "type": "bytes"
2287
+ },
2288
+ {
2289
+ "internalType": "Amount",
2290
+ "name": "commissionAmount",
2291
+ "type": "uint96"
2292
+ },
2293
+ {
2294
+ "internalType": "uint32",
2295
+ "name": "numPoliciesSold",
2296
+ "type": "uint32"
2297
+ }
2298
+ ],
2299
+ "internalType": "struct IDistribution.DistributorInfo",
2300
+ "name": "info",
2301
+ "type": "tuple"
2302
+ },
2303
+ {
2304
+ "internalType": "StateId",
2305
+ "name": "newState",
2306
+ "type": "uint8"
2307
+ }
2308
+ ],
2309
+ "name": "updateDistributor",
2310
+ "outputs": [],
2311
+ "stateMutability": "nonpayable",
2312
+ "type": "function"
2313
+ },
2314
+ {
2315
+ "inputs": [
2316
+ {
2317
+ "internalType": "NftId",
2318
+ "name": "distributorNftId",
2319
+ "type": "uint96"
2320
+ },
2321
+ {
2322
+ "internalType": "StateId",
2323
+ "name": "newState",
2324
+ "type": "uint8"
2325
+ }
2326
+ ],
2327
+ "name": "updateDistributorState",
2328
+ "outputs": [],
2329
+ "stateMutability": "nonpayable",
2330
+ "type": "function"
2331
+ },
2332
+ {
2333
+ "inputs": [
2334
+ {
2335
+ "internalType": "DistributorType",
2336
+ "name": "distributorType",
2337
+ "type": "bytes8"
2338
+ },
2339
+ {
2340
+ "components": [
2341
+ {
2342
+ "internalType": "string",
2343
+ "name": "name",
2344
+ "type": "string"
2345
+ },
2346
+ {
2347
+ "internalType": "UFixed",
2348
+ "name": "minDiscountPercentage",
2349
+ "type": "uint256"
2350
+ },
2351
+ {
2352
+ "internalType": "UFixed",
2353
+ "name": "maxDiscountPercentage",
2354
+ "type": "uint256"
2355
+ },
2356
+ {
2357
+ "internalType": "UFixed",
2358
+ "name": "commissionPercentage",
2359
+ "type": "uint256"
2360
+ },
2361
+ {
2362
+ "internalType": "uint32",
2363
+ "name": "maxReferralCount",
2364
+ "type": "uint32"
2365
+ },
2366
+ {
2367
+ "internalType": "uint32",
2368
+ "name": "maxReferralLifetime",
2369
+ "type": "uint32"
2370
+ },
2371
+ {
2372
+ "internalType": "bool",
2373
+ "name": "allowSelfReferrals",
2374
+ "type": "bool"
2375
+ },
2376
+ {
2377
+ "internalType": "bool",
2378
+ "name": "allowRenewals",
2379
+ "type": "bool"
2380
+ },
2381
+ {
2382
+ "internalType": "bytes",
2383
+ "name": "data",
2384
+ "type": "bytes"
2385
+ }
2386
+ ],
2387
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2388
+ "name": "info",
2389
+ "type": "tuple"
2390
+ },
2391
+ {
2392
+ "internalType": "StateId",
2393
+ "name": "newState",
2394
+ "type": "uint8"
2395
+ }
2396
+ ],
2397
+ "name": "updateDistributorType",
2398
+ "outputs": [],
2399
+ "stateMutability": "nonpayable",
2400
+ "type": "function"
2401
+ },
2402
+ {
2403
+ "inputs": [
2404
+ {
2405
+ "internalType": "DistributorType",
2406
+ "name": "distributorType",
2407
+ "type": "bytes8"
2408
+ },
2409
+ {
2410
+ "internalType": "StateId",
2411
+ "name": "newState",
2412
+ "type": "uint8"
2413
+ }
2414
+ ],
2415
+ "name": "updateDistributorTypeState",
2416
+ "outputs": [],
2417
+ "stateMutability": "nonpayable",
2418
+ "type": "function"
2419
+ },
2420
+ {
2421
+ "inputs": [
2422
+ {
2423
+ "internalType": "NftId",
2424
+ "name": "policyNftId",
2425
+ "type": "uint96"
2426
+ },
2427
+ {
2428
+ "internalType": "PayoutId",
2429
+ "name": "payoutId",
2430
+ "type": "uint24"
2431
+ },
2432
+ {
2433
+ "components": [
2434
+ {
2435
+ "internalType": "ClaimId",
2436
+ "name": "claimId",
2437
+ "type": "uint16"
2438
+ },
2439
+ {
2440
+ "internalType": "Amount",
2441
+ "name": "amount",
2442
+ "type": "uint96"
2443
+ },
2444
+ {
2445
+ "internalType": "bytes",
2446
+ "name": "data",
2447
+ "type": "bytes"
2448
+ },
2449
+ {
2450
+ "internalType": "Timestamp",
2451
+ "name": "paidAt",
2452
+ "type": "uint40"
2453
+ }
2454
+ ],
2455
+ "internalType": "struct IPolicy.PayoutInfo",
2456
+ "name": "payout",
2457
+ "type": "tuple"
2458
+ },
2459
+ {
2460
+ "internalType": "StateId",
2461
+ "name": "newState",
2462
+ "type": "uint8"
2463
+ }
2464
+ ],
2465
+ "name": "updatePayout",
2466
+ "outputs": [],
2467
+ "stateMutability": "nonpayable",
2468
+ "type": "function"
2469
+ },
2470
+ {
2471
+ "inputs": [
2472
+ {
2473
+ "internalType": "NftId",
2474
+ "name": "policyNftId",
2475
+ "type": "uint96"
2476
+ },
2477
+ {
2478
+ "internalType": "PayoutId",
2479
+ "name": "payoutId",
2480
+ "type": "uint24"
2481
+ },
2482
+ {
2483
+ "internalType": "StateId",
2484
+ "name": "newState",
2485
+ "type": "uint8"
2486
+ }
2487
+ ],
2488
+ "name": "updatePayoutState",
2489
+ "outputs": [],
2490
+ "stateMutability": "nonpayable",
2491
+ "type": "function"
2492
+ },
2493
+ {
2494
+ "inputs": [
2495
+ {
2496
+ "internalType": "NftId",
2497
+ "name": "policyNftId",
2498
+ "type": "uint96"
2499
+ },
2500
+ {
2501
+ "components": [
2502
+ {
2503
+ "internalType": "NftId",
2504
+ "name": "productNftId",
2505
+ "type": "uint96"
2506
+ },
2507
+ {
2508
+ "internalType": "NftId",
2509
+ "name": "bundleNftId",
2510
+ "type": "uint96"
2511
+ },
2512
+ {
2513
+ "internalType": "ReferralId",
2514
+ "name": "referralId",
2515
+ "type": "bytes8"
2516
+ },
2517
+ {
2518
+ "internalType": "RiskId",
2519
+ "name": "riskId",
2520
+ "type": "bytes8"
2521
+ },
2522
+ {
2523
+ "internalType": "Amount",
2524
+ "name": "sumInsuredAmount",
2525
+ "type": "uint96"
2526
+ },
2527
+ {
2528
+ "internalType": "Amount",
2529
+ "name": "premiumAmount",
2530
+ "type": "uint96"
2531
+ },
2532
+ {
2533
+ "internalType": "Amount",
2534
+ "name": "premiumPaidAmount",
2535
+ "type": "uint96"
2536
+ },
2537
+ {
2538
+ "internalType": "Seconds",
2539
+ "name": "lifetime",
2540
+ "type": "uint40"
2541
+ },
2542
+ {
2543
+ "internalType": "bytes",
2544
+ "name": "applicationData",
2545
+ "type": "bytes"
2546
+ },
2547
+ {
2548
+ "internalType": "bytes",
2549
+ "name": "processData",
2550
+ "type": "bytes"
2551
+ },
2552
+ {
2553
+ "internalType": "uint16",
2554
+ "name": "claimsCount",
2555
+ "type": "uint16"
2556
+ },
2557
+ {
2558
+ "internalType": "uint16",
2559
+ "name": "openClaimsCount",
2560
+ "type": "uint16"
2561
+ },
2562
+ {
2563
+ "internalType": "Amount",
2564
+ "name": "claimAmount",
2565
+ "type": "uint96"
2566
+ },
2567
+ {
2568
+ "internalType": "Amount",
2569
+ "name": "payoutAmount",
2570
+ "type": "uint96"
2571
+ },
2572
+ {
2573
+ "internalType": "Timestamp",
2574
+ "name": "activatedAt",
2575
+ "type": "uint40"
2576
+ },
2577
+ {
2578
+ "internalType": "Timestamp",
2579
+ "name": "expiredAt",
2580
+ "type": "uint40"
2581
+ },
2582
+ {
2583
+ "internalType": "Timestamp",
2584
+ "name": "closedAt",
2585
+ "type": "uint40"
2586
+ }
2587
+ ],
2588
+ "internalType": "struct IPolicy.PolicyInfo",
2589
+ "name": "policy",
2590
+ "type": "tuple"
2591
+ },
2592
+ {
2593
+ "internalType": "StateId",
2594
+ "name": "newState",
2595
+ "type": "uint8"
2596
+ }
2597
+ ],
2598
+ "name": "updatePolicy",
2599
+ "outputs": [],
2600
+ "stateMutability": "nonpayable",
2601
+ "type": "function"
2602
+ },
2603
+ {
2604
+ "inputs": [
2605
+ {
2606
+ "internalType": "NftId",
2607
+ "name": "policyNftId",
2608
+ "type": "uint96"
2609
+ },
2610
+ {
2611
+ "components": [
2612
+ {
2613
+ "internalType": "NftId",
2614
+ "name": "productNftId",
2615
+ "type": "uint96"
2616
+ },
2617
+ {
2618
+ "internalType": "NftId",
2619
+ "name": "bundleNftId",
2620
+ "type": "uint96"
2621
+ },
2622
+ {
2623
+ "internalType": "ReferralId",
2624
+ "name": "referralId",
2625
+ "type": "bytes8"
2626
+ },
2627
+ {
2628
+ "internalType": "RiskId",
2629
+ "name": "riskId",
2630
+ "type": "bytes8"
2631
+ },
2632
+ {
2633
+ "internalType": "Amount",
2634
+ "name": "sumInsuredAmount",
2635
+ "type": "uint96"
2636
+ },
2637
+ {
2638
+ "internalType": "Amount",
2639
+ "name": "premiumAmount",
2640
+ "type": "uint96"
2641
+ },
2642
+ {
2643
+ "internalType": "Amount",
2644
+ "name": "premiumPaidAmount",
2645
+ "type": "uint96"
2646
+ },
2647
+ {
2648
+ "internalType": "Seconds",
2649
+ "name": "lifetime",
2650
+ "type": "uint40"
2651
+ },
2652
+ {
2653
+ "internalType": "bytes",
2654
+ "name": "applicationData",
2655
+ "type": "bytes"
2656
+ },
2657
+ {
2658
+ "internalType": "bytes",
2659
+ "name": "processData",
2660
+ "type": "bytes"
2661
+ },
2662
+ {
2663
+ "internalType": "uint16",
2664
+ "name": "claimsCount",
2665
+ "type": "uint16"
2666
+ },
2667
+ {
2668
+ "internalType": "uint16",
2669
+ "name": "openClaimsCount",
2670
+ "type": "uint16"
2671
+ },
2672
+ {
2673
+ "internalType": "Amount",
2674
+ "name": "claimAmount",
2675
+ "type": "uint96"
2676
+ },
2677
+ {
2678
+ "internalType": "Amount",
2679
+ "name": "payoutAmount",
2680
+ "type": "uint96"
2681
+ },
2682
+ {
2683
+ "internalType": "Timestamp",
2684
+ "name": "activatedAt",
2685
+ "type": "uint40"
2686
+ },
2687
+ {
2688
+ "internalType": "Timestamp",
2689
+ "name": "expiredAt",
2690
+ "type": "uint40"
2691
+ },
2692
+ {
2693
+ "internalType": "Timestamp",
2694
+ "name": "closedAt",
2695
+ "type": "uint40"
2696
+ }
2697
+ ],
2698
+ "internalType": "struct IPolicy.PolicyInfo",
2699
+ "name": "policy",
2700
+ "type": "tuple"
2701
+ },
2702
+ {
2703
+ "internalType": "StateId",
2704
+ "name": "newState",
2705
+ "type": "uint8"
2706
+ }
2707
+ ],
2708
+ "name": "updatePolicyClaims",
2709
+ "outputs": [],
2710
+ "stateMutability": "nonpayable",
2711
+ "type": "function"
2712
+ },
2713
+ {
2714
+ "inputs": [
2715
+ {
2716
+ "internalType": "NftId",
2717
+ "name": "policyNftId",
2718
+ "type": "uint96"
2719
+ },
2720
+ {
2721
+ "internalType": "StateId",
2722
+ "name": "newState",
2723
+ "type": "uint8"
2724
+ }
2725
+ ],
2726
+ "name": "updatePolicyState",
2727
+ "outputs": [],
2728
+ "stateMutability": "nonpayable",
2729
+ "type": "function"
2730
+ },
2731
+ {
2732
+ "inputs": [
2733
+ {
2734
+ "internalType": "NftId",
2735
+ "name": "poolNftId",
2736
+ "type": "uint96"
2737
+ },
2738
+ {
2739
+ "components": [
2740
+ {
2741
+ "internalType": "NftId",
2742
+ "name": "productNftId",
2743
+ "type": "uint96"
2744
+ },
2745
+ {
2746
+ "internalType": "RoleId",
2747
+ "name": "bundleOwnerRole",
2748
+ "type": "uint64"
2749
+ },
2750
+ {
2751
+ "internalType": "Amount",
2752
+ "name": "maxCapitalAmount",
2753
+ "type": "uint96"
2754
+ },
2755
+ {
2756
+ "internalType": "bool",
2757
+ "name": "isInterceptingBundleTransfers",
2758
+ "type": "bool"
2759
+ },
2760
+ {
2761
+ "internalType": "bool",
2762
+ "name": "isExternallyManaged",
2763
+ "type": "bool"
2764
+ },
2765
+ {
2766
+ "internalType": "bool",
2767
+ "name": "isVerifyingApplications",
2768
+ "type": "bool"
2769
+ },
2770
+ {
2771
+ "internalType": "UFixed",
2772
+ "name": "collateralizationLevel",
2773
+ "type": "uint256"
2774
+ },
2775
+ {
2776
+ "internalType": "UFixed",
2777
+ "name": "retentionLevel",
2778
+ "type": "uint256"
2779
+ },
2780
+ {
2781
+ "components": [
2782
+ {
2783
+ "internalType": "UFixed",
2784
+ "name": "fractionalFee",
2785
+ "type": "uint256"
2786
+ },
2787
+ {
2788
+ "internalType": "uint256",
2789
+ "name": "fixedFee",
2790
+ "type": "uint256"
2791
+ }
2792
+ ],
2793
+ "internalType": "struct Fee",
2794
+ "name": "poolFee",
2795
+ "type": "tuple"
2796
+ },
2797
+ {
2798
+ "components": [
2799
+ {
2800
+ "internalType": "UFixed",
2801
+ "name": "fractionalFee",
2802
+ "type": "uint256"
2803
+ },
2804
+ {
2805
+ "internalType": "uint256",
2806
+ "name": "fixedFee",
2807
+ "type": "uint256"
2808
+ }
2809
+ ],
2810
+ "internalType": "struct Fee",
2811
+ "name": "stakingFee",
2812
+ "type": "tuple"
2813
+ },
2814
+ {
2815
+ "components": [
2816
+ {
2817
+ "internalType": "UFixed",
2818
+ "name": "fractionalFee",
2819
+ "type": "uint256"
2820
+ },
2821
+ {
2822
+ "internalType": "uint256",
2823
+ "name": "fixedFee",
2824
+ "type": "uint256"
2825
+ }
2826
+ ],
2827
+ "internalType": "struct Fee",
2828
+ "name": "performanceFee",
2829
+ "type": "tuple"
2830
+ }
2831
+ ],
2832
+ "internalType": "struct IComponents.PoolInfo",
2833
+ "name": "info",
2834
+ "type": "tuple"
2835
+ },
2836
+ {
2837
+ "internalType": "StateId",
2838
+ "name": "newState",
2839
+ "type": "uint8"
2840
+ }
2841
+ ],
2842
+ "name": "updatePool",
2843
+ "outputs": [],
2844
+ "stateMutability": "nonpayable",
2845
+ "type": "function"
2846
+ },
2847
+ {
2848
+ "inputs": [
2849
+ {
2850
+ "internalType": "NftId",
2851
+ "name": "poolNftId",
2852
+ "type": "uint96"
2853
+ },
2854
+ {
2855
+ "internalType": "StateId",
2856
+ "name": "newState",
2857
+ "type": "uint8"
2858
+ }
2859
+ ],
2860
+ "name": "updatePoolState",
2861
+ "outputs": [],
2862
+ "stateMutability": "nonpayable",
2863
+ "type": "function"
2864
+ },
2865
+ {
2866
+ "inputs": [
2867
+ {
2868
+ "internalType": "NftId",
2869
+ "name": "productNftId",
2870
+ "type": "uint96"
2871
+ },
2872
+ {
2873
+ "components": [
2874
+ {
2875
+ "internalType": "NftId",
2876
+ "name": "distributionNftId",
2877
+ "type": "uint96"
2878
+ },
2879
+ {
2880
+ "internalType": "NftId",
2881
+ "name": "poolNftId",
2882
+ "type": "uint96"
2883
+ },
2884
+ {
2885
+ "components": [
2886
+ {
2887
+ "internalType": "UFixed",
2888
+ "name": "fractionalFee",
2889
+ "type": "uint256"
2890
+ },
2891
+ {
2892
+ "internalType": "uint256",
2893
+ "name": "fixedFee",
2894
+ "type": "uint256"
2895
+ }
2896
+ ],
2897
+ "internalType": "struct Fee",
2898
+ "name": "productFee",
2899
+ "type": "tuple"
2900
+ },
2901
+ {
2902
+ "components": [
2903
+ {
2904
+ "internalType": "UFixed",
2905
+ "name": "fractionalFee",
2906
+ "type": "uint256"
2907
+ },
2908
+ {
2909
+ "internalType": "uint256",
2910
+ "name": "fixedFee",
2911
+ "type": "uint256"
2912
+ }
2913
+ ],
2914
+ "internalType": "struct Fee",
2915
+ "name": "processingFee",
2916
+ "type": "tuple"
2917
+ },
2918
+ {
2919
+ "components": [
2920
+ {
2921
+ "internalType": "UFixed",
2922
+ "name": "fractionalFee",
2923
+ "type": "uint256"
2924
+ },
2925
+ {
2926
+ "internalType": "uint256",
2927
+ "name": "fixedFee",
2928
+ "type": "uint256"
2929
+ }
2930
+ ],
2931
+ "internalType": "struct Fee",
2932
+ "name": "distributionFee",
2933
+ "type": "tuple"
2934
+ },
2935
+ {
2936
+ "components": [
2937
+ {
2938
+ "internalType": "UFixed",
2939
+ "name": "fractionalFee",
2940
+ "type": "uint256"
2941
+ },
2942
+ {
2943
+ "internalType": "uint256",
2944
+ "name": "fixedFee",
2945
+ "type": "uint256"
2946
+ }
2947
+ ],
2948
+ "internalType": "struct Fee",
2949
+ "name": "minDistributionOwnerFee",
2950
+ "type": "tuple"
2951
+ },
2952
+ {
2953
+ "components": [
2954
+ {
2955
+ "internalType": "UFixed",
2956
+ "name": "fractionalFee",
2957
+ "type": "uint256"
2958
+ },
2959
+ {
2960
+ "internalType": "uint256",
2961
+ "name": "fixedFee",
2962
+ "type": "uint256"
2963
+ }
2964
+ ],
2965
+ "internalType": "struct Fee",
2966
+ "name": "poolFee",
2967
+ "type": "tuple"
2968
+ },
2969
+ {
2970
+ "components": [
2971
+ {
2972
+ "internalType": "UFixed",
2973
+ "name": "fractionalFee",
2974
+ "type": "uint256"
2975
+ },
2976
+ {
2977
+ "internalType": "uint256",
2978
+ "name": "fixedFee",
2979
+ "type": "uint256"
2980
+ }
2981
+ ],
2982
+ "internalType": "struct Fee",
2983
+ "name": "stakingFee",
2984
+ "type": "tuple"
2985
+ },
2986
+ {
2987
+ "components": [
2988
+ {
2989
+ "internalType": "UFixed",
2990
+ "name": "fractionalFee",
2991
+ "type": "uint256"
2992
+ },
2993
+ {
2994
+ "internalType": "uint256",
2995
+ "name": "fixedFee",
2996
+ "type": "uint256"
2997
+ }
2998
+ ],
2999
+ "internalType": "struct Fee",
3000
+ "name": "performanceFee",
3001
+ "type": "tuple"
3002
+ }
3003
+ ],
3004
+ "internalType": "struct IComponents.ProductInfo",
3005
+ "name": "info",
3006
+ "type": "tuple"
3007
+ },
3008
+ {
3009
+ "internalType": "StateId",
3010
+ "name": "newState",
3011
+ "type": "uint8"
3012
+ }
3013
+ ],
3014
+ "name": "updateProduct",
3015
+ "outputs": [],
3016
+ "stateMutability": "nonpayable",
3017
+ "type": "function"
3018
+ },
3019
+ {
3020
+ "inputs": [
3021
+ {
3022
+ "internalType": "NftId",
3023
+ "name": "productNftId",
3024
+ "type": "uint96"
3025
+ },
3026
+ {
3027
+ "internalType": "StateId",
3028
+ "name": "newState",
3029
+ "type": "uint8"
3030
+ }
3031
+ ],
3032
+ "name": "updateProductSetupState",
3033
+ "outputs": [],
3034
+ "stateMutability": "nonpayable",
3035
+ "type": "function"
3036
+ },
3037
+ {
3038
+ "inputs": [
3039
+ {
3040
+ "internalType": "ReferralId",
3041
+ "name": "referralId",
3042
+ "type": "bytes8"
3043
+ },
3044
+ {
3045
+ "components": [
3046
+ {
3047
+ "internalType": "NftId",
3048
+ "name": "distributorNftId",
3049
+ "type": "uint96"
3050
+ },
3051
+ {
3052
+ "internalType": "string",
3053
+ "name": "referralCode",
3054
+ "type": "string"
3055
+ },
3056
+ {
3057
+ "internalType": "UFixed",
3058
+ "name": "discountPercentage",
3059
+ "type": "uint256"
3060
+ },
3061
+ {
3062
+ "internalType": "uint32",
3063
+ "name": "maxReferrals",
3064
+ "type": "uint32"
3065
+ },
3066
+ {
3067
+ "internalType": "uint32",
3068
+ "name": "usedReferrals",
3069
+ "type": "uint32"
3070
+ },
3071
+ {
3072
+ "internalType": "Timestamp",
3073
+ "name": "expiryAt",
3074
+ "type": "uint40"
3075
+ },
3076
+ {
3077
+ "internalType": "bytes",
3078
+ "name": "data",
3079
+ "type": "bytes"
3080
+ }
3081
+ ],
3082
+ "internalType": "struct IDistribution.ReferralInfo",
3083
+ "name": "referralInfo",
3084
+ "type": "tuple"
3085
+ },
3086
+ {
3087
+ "internalType": "StateId",
3088
+ "name": "newState",
3089
+ "type": "uint8"
3090
+ }
3091
+ ],
3092
+ "name": "updateReferral",
3093
+ "outputs": [],
3094
+ "stateMutability": "nonpayable",
3095
+ "type": "function"
3096
+ },
3097
+ {
3098
+ "inputs": [
3099
+ {
3100
+ "internalType": "ReferralId",
3101
+ "name": "referralId",
3102
+ "type": "bytes8"
3103
+ },
3104
+ {
3105
+ "internalType": "StateId",
3106
+ "name": "newState",
3107
+ "type": "uint8"
3108
+ }
3109
+ ],
3110
+ "name": "updateReferralState",
3111
+ "outputs": [],
3112
+ "stateMutability": "nonpayable",
3113
+ "type": "function"
3114
+ },
3115
+ {
3116
+ "inputs": [
3117
+ {
3118
+ "internalType": "RequestId",
3119
+ "name": "requestId",
3120
+ "type": "uint64"
3121
+ },
3122
+ {
3123
+ "components": [
3124
+ {
3125
+ "internalType": "NftId",
3126
+ "name": "requesterNftId",
3127
+ "type": "uint96"
3128
+ },
3129
+ {
3130
+ "internalType": "string",
3131
+ "name": "callbackMethodName",
3132
+ "type": "string"
3133
+ },
3134
+ {
3135
+ "internalType": "NftId",
3136
+ "name": "oracleNftId",
3137
+ "type": "uint96"
3138
+ },
3139
+ {
3140
+ "internalType": "bytes",
3141
+ "name": "requestData",
3142
+ "type": "bytes"
3143
+ },
3144
+ {
3145
+ "internalType": "bytes",
3146
+ "name": "responseData",
3147
+ "type": "bytes"
3148
+ },
3149
+ {
3150
+ "internalType": "Timestamp",
3151
+ "name": "respondedAt",
3152
+ "type": "uint40"
3153
+ },
3154
+ {
3155
+ "internalType": "Timestamp",
3156
+ "name": "expiredAt",
3157
+ "type": "uint40"
3158
+ },
3159
+ {
3160
+ "internalType": "bool",
3161
+ "name": "isCancelled",
3162
+ "type": "bool"
3163
+ }
3164
+ ],
3165
+ "internalType": "struct IOracle.RequestInfo",
3166
+ "name": "request",
3167
+ "type": "tuple"
3168
+ },
3169
+ {
3170
+ "internalType": "StateId",
3171
+ "name": "newState",
3172
+ "type": "uint8"
3173
+ }
3174
+ ],
3175
+ "name": "updateRequest",
3176
+ "outputs": [],
3177
+ "stateMutability": "nonpayable",
3178
+ "type": "function"
3179
+ },
3180
+ {
3181
+ "inputs": [
3182
+ {
3183
+ "internalType": "RequestId",
3184
+ "name": "requestId",
3185
+ "type": "uint64"
3186
+ },
3187
+ {
3188
+ "internalType": "StateId",
3189
+ "name": "newState",
3190
+ "type": "uint8"
3191
+ }
3192
+ ],
3193
+ "name": "updateRequestState",
3194
+ "outputs": [],
3195
+ "stateMutability": "nonpayable",
3196
+ "type": "function"
3197
+ },
3198
+ {
3199
+ "inputs": [
3200
+ {
3201
+ "internalType": "RiskId",
3202
+ "name": "riskId",
3203
+ "type": "bytes8"
3204
+ },
3205
+ {
3206
+ "components": [
3207
+ {
3208
+ "internalType": "NftId",
3209
+ "name": "productNftId",
3210
+ "type": "uint96"
3211
+ },
3212
+ {
3213
+ "internalType": "bytes",
3214
+ "name": "data",
3215
+ "type": "bytes"
3216
+ }
3217
+ ],
3218
+ "internalType": "struct IRisk.RiskInfo",
3219
+ "name": "risk",
3220
+ "type": "tuple"
3221
+ },
3222
+ {
3223
+ "internalType": "StateId",
3224
+ "name": "newState",
3225
+ "type": "uint8"
3226
+ }
3227
+ ],
3228
+ "name": "updateRisk",
3229
+ "outputs": [],
3230
+ "stateMutability": "nonpayable",
3231
+ "type": "function"
3232
+ },
3233
+ {
3234
+ "inputs": [
3235
+ {
3236
+ "internalType": "RiskId",
3237
+ "name": "riskId",
3238
+ "type": "bytes8"
3239
+ },
3240
+ {
3241
+ "internalType": "StateId",
3242
+ "name": "newState",
3243
+ "type": "uint8"
3244
+ }
3245
+ ],
3246
+ "name": "updateRiskState",
3247
+ "outputs": [],
3248
+ "stateMutability": "nonpayable",
3249
+ "type": "function"
3250
+ }
3251
+ ],
3252
+ "bytecode": "0x608060405234801561001057600080fd5b506158bd80620000216000396000f3fe608060405234801561001057600080fd5b50600436106103c55760003560e01c80637a9e5e4b116101ff578063af9025001161011a578063ca0e7f08116100ad578063f48016ce1161007c578063f48016ce146109ff578063f5884fc5146107d1578063fae5df9b14610a20578063fe1f18d614610a3357600080fd5b8063ca0e7f0814610988578063dee326231461099b578063e80c61ed146109ae578063e9e96c70146109c157600080fd5b8063b6d7cd62116100e9578063b6d7cd621461092f578063bf1db3f914610942578063bf7e214f14610955578063c4d66de81461097557600080fd5b8063af902500146108e3578063b0628dc3146108f6578063b4d7efe214610909578063b5b3d9f91461091c57600080fd5b80639f8151e511610192578063a5961b4c11610161578063a5961b4c1461081d578063a6a67b1f146108aa578063a76ee018146108bd578063a8989675146108d057600080fd5b80639f8151e5146107e4578063a1fc1004146107d1578063a2842229146107f7578063a46eb8dc1461080a57600080fd5b80638eaa6ac0116101ce5780638eaa6ac0146107645780638eb9000d146107845780638fb36037146107b0578063985aeba7146107d157600080fd5b80637a9e5e4b146107185780637cca11241461072b5780637cef48421461073e57806381c2b2821461075157600080fd5b80633870a770116102ef57806354f6127f1161028257806361105e0e1161025157806361105e0e146106cc57806368456391146106df578063763bb754146106f2578063789298231461070557600080fd5b806354f6127f146106275780635a8416b0146106475780635d4345cc146104d95780635eede1741461065a57600080fd5b80634846003a116102be5780634846003a146105db57806351dd844b146105ee578063533086d41461060157806353ebe1291461061457600080fd5b80633870a7701461058a57806338a699a41461059d57806340529b0f146105c0578063468bce06146105d357600080fd5b80630fad0eb111610367578063275c059511610336578063275c05951461053e5780632a8ea7ac146105515780632f61088a1461056457806330a130ba1461057757600080fd5b80630fad0eb1146104d95780631e40b363146104ec578063228e42ec146104ff578063248a77dd1461052b57600080fd5b806309648a9d116103a357806309648a9d146104535780630cfc3ba31461048d5780630d358181146104a05780630f6c29ef146104c657600080fd5b80630232ca49146103ca57806303c099ac146104135780630632b17d14610428575b600080fd5b6103f66103d83660046136d5565b6001600160601b039081166000908152600260205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61042661042136600461397f565b610a46565b005b61043b610436366004613b02565b610a8c565b6040516001600160401b03909116815260200161040a565b61047b610461366004613b3e565b600090815260076020526040902054610100900460ff1690565b60405160ff909116815260200161040a565b61042661049b366004613c35565b610b4c565b61047b6104ae366004613c96565b60ff9081166000908152600560205260409020541690565b6104266104d4366004613d69565b610b73565b6104266104e7366004613ddb565b610ba0565b6104266104fa366004613f08565b610bbd565b6103f661050d3660046136d5565b6001600160601b039081166000908152602081905260409020541690565b6103f6610539366004613f4f565b610be5565b61042661054c366004613f9d565b610c03565b61042661055f36600461415e565b610c9d565b610426610572366004614207565b610cd2565b61042661058536600461431f565b610d72565b610426610598366004614364565b610e12565b6105b06105ab366004613b3e565b610e28565b604051901515815260200161040a565b6104266105ce366004613ddb565b610eb3565b610426610eca565b6104266105e93660046143a2565b610f04565b6104266105fc3660046144bc565b610f35565b6103f661060f366004613f4f565b610f5d565b6103f6610622366004613f4f565b610f72565b61063a610635366004613b3e565b610f87565b60405161040a9190614553565b610426610655366004614566565b61102c565b6106a26106683660046136d5565b6001600160601b03908116600090815260208181526040808320546001835281842054600290935292205491831693908316929190911690565b604080516001600160601b039485168152928416602084015292169181019190915260600161040a565b6104266106da366004614669565b6110cc565b6104266106ed366004613ddb565b61116c565b610426610700366004614777565b611183565b6104266107133660046147b8565b6111ab565b6104266107263660046147ef565b6111d3565b61042661073936600461480c565b61125b565b61042661074c366004614851565b611283565b61042661075f36600461486f565b611312565b610777610772366004613b3e565b611339565b60405161040a91906148c4565b6103f66107923660046136d5565b6001600160601b039081166000908152600160205260409020541690565b6107b861145e565b6040516001600160e01b0319909116815260200161040a565b6104266107df366004614923565b611497565b6103f66107f2366004613f4f565b6114bf565b610426610805366004614851565b6114d4565b61042661081836600461496a565b611522565b61089d61082b366004613b3e565b604080516080808201835260008083526020808401829052838501829052606093840182905294815260078552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b60405161040a91906149af565b6104266108b8366004614aa7565b611553565b6104266108cb366004614ad5565b61157b565b6104266108de366004614b1c565b61161b565b6104266108f1366004614851565b61170c565b6103f6610904366004613f4f565b61175a565b610426610917366004614b4c565b61176f565b61042661092a366004614b6a565b6117bc565b61042661093d366004614bab565b6117e4565b6105b0610950366004613c96565b6117fa565b61095d611847565b6040516001600160a01b03909116815260200161040a565b6104266109833660046147ef565b611863565b610426610996366004614bdb565b6119e1565b6104266109a9366004613ddb565b611a81565b6103f66109bc366004613f4f565b611a98565b6105b06109cf366004614b1c565b60ff9283166000908152600660209081526040808320948616835293815283822092851682529190915220541690565b610a12610a0d366004614c30565b611aad565b60405190815260200161040a565b610426610a2e366004614c5e565b611b31565b610426610a41366004613ddb565b611b58565b610a53335b600036611b6f565b610a87610a61846064611c72565b83604051602001610a729190614cb6565b60405160208183030381529060405283611cbe565b505050565b6000610a9733610a4b565b610a9f611e3a565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610b479073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b229190614d39565b83604051602001610b339190614d52565b604051602081830303815290604052611ec8565b919050565b610b5533610a4b565b610a87610b62848461227c565b82604051602001610b339190614e27565b610b7c33610a4b565b610b9a610b8985856122c9565b83604051602001610a729190614ec7565b50505050565b610ba933610a4b565b610a87610bb78360d3611c72565b82612317565b610bc633610a4b565b610a87610bd484607a611c72565b83604051602001610a729190614f21565b6000610bf033610a4b565b610bfa838361261c565b90505b92915050565b610c0c33610a4b565b604051630f37f38f60e41b81526001600160401b0384166004820152610a879073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8c9190614d39565b83604051602001610a729190614d52565b610ca633610a4b565b610caf826127ad565b610cce610cbd8360d3611c72565b82604051602001610b339190614f8e565b5050565b610cdb33610a4b565b6040516355ee627560e01b8152610cce9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610d20906001600160c01b031987169060040161513e565b602060405180830381865af4158015610d3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d619190614d39565b82604051602001610b339190615153565b610d7b33610a4b565b6040516355ee627560e01b8152610cce9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610dc0906001600160c01b031987169060040161513e565b602060405180830381865af4158015610ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e019190614d39565b82604051602001610b339190615181565b610e1b33610a4b565b610b9a610bb784846122c9565b60008181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfd9190615231565b610ebc33610a4b565b610a87610bb783607a611c72565b610ed26128ef565b610eda612938565b610ee2612a5b565b610eea612b4f565b610ef2612c86565b610efa612db1565b610f02612e6d565b565b610f0d33610a4b565b610f16826127ad565b610cce610f24836064611c72565b82604051602001610b339190614cb6565b610f3e33610a4b565b610a87610f4c8460dc611c72565b83604051602001610a72919061524e565b6000610f6833610a4b565b610bfa8383612f71565b6000610f7d33610a4b565b610bfa8383613055565b6000818152600760205260409020600101805460609190610fa7906152d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd3906152d4565b80156110205780601f10610ff557610100808354040283529160200191611020565b820191906000526020600020905b81548152906001019060200180831161100357829003601f168201915b50505050509050919050565b61103533610a4b565b6040516355ee627560e01b8152610a879073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061107a906001600160c01b031988169060040161513e565b602060405180830381865af4158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb9190614d39565b83604051602001610a729190615181565b6110d533610a4b565b6040516355ee627560e01b8152610a879073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061111a906001600160c01b031988169060040161513e565b602060405180830381865af4158015611137573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115b9190614d39565b83604051602001610a72919061530e565b61117533610a4b565b610a87610bb783608c611c72565b61118c33610a4b565b610a8761119a84608c611c72565b83604051602001610a7291906153a0565b6111b433610a4b565b610cce6111c283608c611c72565b82604051602001610b3391906153a0565b336111dc611847565b6001600160a01b0316816001600160a01b03161461121c5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003611252576040516361798f2f60e11b81526001600160a01b0383166004820152602401611213565b610cce82613139565b61126433610a4b565b610cce61127283607a611c72565b82604051602001610b339190614f21565b61128c33610a4b565b6040516355ee627560e01b8152610a879073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906112d1906001600160c01b031987169060040161513e565b602060405180830381865af41580156112ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb79190614d39565b61131b33610a4b565b610a8761132884846122c9565b82604051602001610b339190614ec7565b6040805160c081018252600091810182815260608083018490526080830184905260a083019390935281526020810191909152600082815260076020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a082015292835260018101805491928401916113d5906152d4565b80601f0160208091040260200160405190810160405280929190818152602001828054611401906152d4565b801561144e5780601f106114235761010080835404028352916020019161144e565b820191906000526020600020905b81548152906001019060200180831161143157829003601f168201915b5050505050815250509050919050565b600080516020615868833981519152805460009190600160a01b900460ff16611488576000611491565b638fb3603760e01b5b91505090565b6114a033610a4b565b610a876114ae8460d3611c72565b83604051602001610a729190614f8e565b60006114ca33610a4b565b610bfa838361319a565b6114dd33610a4b565b6040516355ee627560e01b8152610a879073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906112d1906001600160c01b031987169060040161513e565b61152b33610a4b565b611534826127ad565b610cce6115428360dc611c72565b82604051602001610b33919061524e565b61155c33610a4b565b610cce61156a83606e611c72565b82604051602001610b339190615496565b61158433610a4b565b6040516355ee627560e01b8152610a879073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906115c9906001600160c01b031988169060040161513e565b602060405180830381865af41580156115e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160a9190614d39565b83604051602001610a729190615153565b60ff8381166000908152600560205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a49190615231565b156116ae57505050565b60ff808416600090815260066020908152604080832086851684528252808320858516845290915290205416610a8757604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401611213565b61171533610a4b565b6040516355ee627560e01b8152610a879073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906112d1906001600160c01b031987169060040161513e565b600061176533610a4b565b610bfa838361327c565b61177833610a4b565b604051630f37f38f60e41b81526001600160401b0383166004820152610a879073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f0906024016112d1565b6117c533610a4b565b610a876117d384606e611c72565b83604051602001610a729190615496565b6117ed33610a4b565b610b9a610bb7848461227c565b60ff81811660009081526005602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610e72565b600080516020615868833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156118a85750825b90506000826001600160401b031660011480156118c45750303b155b9050811580156118d2575080155b156118f05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561191a57845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e9190615579565b90506119898161335e565b611991610eca565b5083156119d957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6119ea33610a4b565b6040516355ee627560e01b8152610cce9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611a2f906001600160c01b031987169060040161513e565b602060405180830381865af4158015611a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a709190614d39565b82604051602001610b33919061530e565b611a8a33610a4b565b610a87610bb783606e611c72565b6000611aa333610a4b565b610bfa8383613372565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa9190614d39565b611b3a33610a4b565b610b9a611b47858561227c565b83604051602001610a729190614e27565b611b6133610a4b565b610a87610bb78360dc611c72565b600080516020615868833981519152600080611baa611b8c611847565b8730611b9c600460008a8c615596565b611ba5916155c0565b613456565b91509150816119d95763ffffffff811615611c4a57825460ff60a01b1916600160a01b178355611bd8611847565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c07939291906155f0565b600060405180830381600087803b158015611c2157600080fd5b505af1158015611c35573d6000803e3d6000fd5b5050845460ff60a01b19168555506119d99050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611213565b905090565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611af0565b6000611cca8483612317565b6000858152600760205260409020909150600101611ce88482615676565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7f9190615735565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df39190615752565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b6008805460009182611e4b8361576f565b9091555050600854604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015611ea4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6d9190615796565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3f9190615735565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611f94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb89190615231565b15611fdb576040516307014a8d60e51b815260ff82166004820152602401611213565b600083815260076020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015612044573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120689190615231565b1561209257604051633f92eac960e21b81526004810185905260ff83166024820152604401611213565b600061209c613562565b905060006120a9846117fa565b6120b45760046120ca565b60ff808516600090815260056020526040902054165b835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b91909102178455600087815260076020526040902090915060010161213d8682615676565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156121b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d49190615735565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122489190615752565b6040805160ff938416815260ff1990921660208301529184169181019190915233606082015232608082015260a0016119d0565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611af0565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611af0565b60405163037c8cb160e51b815260ff8216600482015260009073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561236c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123909190615231565b156123b15760405163093b89e160e11b815260048101849052602401611213565b50600082815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561242a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244e9190615231565b1561246f5760405163566ebf7960e01b815260048101869052602401611213565b60ff808516146125ee5781546124899060ff16828661161b565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af415801561250d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125319190615735565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a59190615752565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b6125f6613562565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b6001600160601b038216600090815260036020526040812054839060ff1661266257604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152600160205260409020546126879116846135d1565b6001600160601b03858116600090815260016020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916127009187918791879163ffffffff909116906157b3565b60405180910390a173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612751573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277591906157e2565b6001600160601b03949094166000908152600460205260409020805463ffffffff191663ffffffff9095169490941790935592915050565b6001600160601b03811660009081526003602052604090205460ff16156127f2576040516314d5804160e01b81526001600160601b0382166004820152602401611213565b6001600160601b038116600090815260036020908152604091829020805460ff19166001179055815163e8b7afe360e01b8152915173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9263e8b7afe39260048083019391928290030181865af4158015612864573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288891906157e2565b6001600160601b038216600081815260046020908152604091829020805463ffffffff191663ffffffff9590951694909417909355519081527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a9910160405180910390a150565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610f0257604051631afcd79f60e31b815260040160405180910390fd5b7f771858454ec4707233aadff300d597e3cedeb6710ca6b101e734b799b12222df8054600460ff19918216179091557fe4de72bd5ed359ca06ad1e23414da8aff3d91ef4b9f60e60ebf947cb621d63cd8054821660019081179091557f441d9c900095a9ba301abc94e2d40c425b635e8212397bd1f1d5e6008545e43280548316821790557f130011a9199877dff3da9612996e857322ed638ffe03386fae7b5422327be1378054909216811790915560dc600090815260066020527f2f58ba6317fa91206cced2579e9a32a7ae969ba43d2681600d57bc2ed2374af490606e5b60ff1660ff1681526020019081526020016000206000612a3760c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7fad66b8e7ab72f450ddfdaf1c5bc10e3a3fabf9f63ad8aa07b8743b93722f0a458054600460ff1991821681179092557f05b233af0385f3754935061541c8604acc656841922b75e2ea5297e0fc764a0380548216600190811790915560009283527fa33cf82463865a0ebd6690a1b95c8a72a666ffbf452bc16c4e7a3ad7ca9827036020527f5670ddc24a48dbbe6c67669d54dd57339101cdf27153f0a3bd158f03c434a254805490921681179091559060069060645b60ff1660ff1681526020019081526020016000206000612b31606e90565b60ff1660ff1681526020019081526020016000206000612a3760d290565b7ffdf048cf45a550014b20d320bb6290f2d7ea067c3d13399f0575dc0baae240798054600a60ff19918216179091557fa04a3c9250f521b421c28e80c87770c01e9bc7b2841d7715dd80bac38ecfa0ae8054821660019081179091557fbc859b2e3f2702ef7f32b8d302b568119ca1950b81e09676057fbf71cf02437880548316821790557f5533430cc9bdc98a75261b0da464377a3d6c53a4dcb245ff218a6d29a6c992b480548316821790557f06003c716b0a4ec58879dc64eb1b0d3ac5cf98ff37ae60ffe053f8452d392e1880548316821790557fd54497a6c298b5a36bbc209f8f809dbdb4295f9f93ba288c832b82cab135fc538054909216811790915560d3600090815260066020527f530b99d3691c9c5da0d1116fd9d26013cb6c7e3129bc2ff30a2e52509eedec80906004612a19565b7ea9fba592adcb288817d4d32482354c56e92b66ecc59dd9ac2659cac502bb71805460ff199081166032179091557f5bceb4b21f7532d347169dd6cfdd22ffa128bc0653a9acfe9155ad9d8ef9926a8054821660019081179091557ffb8cd74b527fb560f4f17fdddd34587f53d6367e5b2da733aefefd8ec1ab068b80548316821790557fa02d1d0509c802f0553d84ab76cfa13155b0c4665c3a8b40b09247cfd6557d9a80548316821790557f7ca5d2de0a6f9ffd2b9b44a0d3f044210aba793581824cce5f21f019fe6a18b08054603c93168317905560009182527fa0a525c3eb3bd23b46aac45510ded2c9e1afb6e4a40d0a60ca0426e75c4678fb602052907f9478842dd6cd9ecb07a5d23d6b742413585319d8cffa2efc1e7533a42a0417359060dc612a37565b7f7a1de661595fed1ebd14726acb09298a08f8300cc62585766e164a3e18fbf85b8054600460ff1991821681179092557fa5220b5c26a90aff7b69a0aff685ced2fcd42471fa2be7e8c7acd149d8e82d7680548216600190811790915560009283527fb39c6613f48e0e809617d60f5e1c14a61ff5aad5f3f83a6dba45b1f191c7a8256020527ffb122e50c6f78e52711e3bb5c6b827b3fee77f5369f07d708c7c6dc5dbe14c2e805490921681179091559060069060c8612b13565b7f6c40122c67bd2f0cbd1c3fa8ee6656e600ea58ee13b4077687b98c5c145bddbe8054600460ff1991821681179092557f97feb0f66fd1ceeb661d08ac7282c8fd883a78b038944efdff7a9ca02700001f8054821660019081179091557febda959ea9c583d61fa7e8054292180014a6646664185164f95c323025893ffa80548316821790557f5d1970d6e6d56c6abe03d702442a74ae808db7e6e2d65ba063e234de20f9c75e8054909216811790915560009182527ffd91b674668e771a29edc7bd49406822c49336f642d316b2b9ba0c0ff145fb18602052907f81f463d4f9fe957efa3d61ee307de58ef6a2946d247d82af924cba14e4f94f8a906048612a37565b6001600160601b038216600090815260036020526040812054839060ff16612fb757604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b03808516600090815260026020526040902054612fdc911684613659565b6001600160601b03858116600090815260026020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916127009187918791879163ffffffff909116906157b3565b6001600160601b038216600090815260036020526040812054839060ff1661309b57604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152600160205260409020546130c0911684613659565b6001600160601b03858116600090815260016020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916127009187918791879163ffffffff909116906157b3565b60008051602061586883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b038216600090815260036020526040812054839060ff166131e057604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152602081905260409020546132059116846135d1565b6001600160601b0385811660009081526020818152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916127009187918791879163ffffffff909116906157b3565b6001600160601b038216600090815260036020526040812054839060ff166132c257604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152602081905260409020546132e7911684613659565b6001600160601b0385811660009081526020818152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916127009187918791879163ffffffff909116906157b3565b6133666128ef565b61336f816136a4565b50565b6001600160601b038216600090815260036020526040812054839060ff166133b857604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152600260205260409020546133dd9116846135d1565b6001600160601b03858116600090815260026020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916127009187918791879163ffffffff909116906157b3565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516134c591906157ff565b600060405180830381855afa9150503d8060008114613500576040519150601f19603f3d011682016040523d82523d6000602084013e613505565b606091505b50915091508115613557576040815110613537578080602001905181019061352d919061581b565b9094509250613557565b602081511061355757808060200190518101906135549190615231565b93505b505094509492505050565b600073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af41580156135ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6d91906157e2565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015613635573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa919061584a565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613618565b6136ac6128ef565b61336f81613139565b6001600160601b038116811461336f57600080fd5b8035610b47816136b5565b6000602082840312156136e757600080fd5b81356136f2816136b5565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715613731576137316136f9565b60405290565b60405161010081016001600160401b0381118282101715613731576137316136f9565b60405160e081016001600160401b0381118282101715613731576137316136f9565b60405161022081016001600160401b0381118282101715613731576137316136f9565b604080519081016001600160401b0381118282101715613731576137316136f9565b60405161012081016001600160401b0381118282101715613731576137316136f9565b60405161016081016001600160401b0381118282101715613731576137316136f9565b600082601f83011261381857600080fd5b81356001600160401b0380821115613832576138326136f9565b604051601f8301601f19908116603f0116810190828211818310171561385a5761385a6136f9565b8160405283815286602085880101111561387357600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160a01b038116811461336f57600080fd5b8035610b4781613893565b600060c082840312156138c557600080fd5b6138cd61370f565b905081356001600160401b03808211156138e657600080fd5b6138f285838601613807565b8352613900602085016136ca565b6020840152613911604085016138a8565b6040840152613922606085016138a8565b6060840152613933608085016138a8565b608084015260a084013591508082111561394c57600080fd5b5061395984828501613807565b60a08301525092915050565b60ff8116811461336f57600080fd5b8035610b4781613965565b60008060006060848603121561399457600080fd5b833561399f816136b5565b925060208401356001600160401b038111156139ba57600080fd5b6139c6868287016138b3565b92505060408401356139d781613965565b809150509250925092565b64ffffffffff8116811461336f57600080fd5b8035610b47816139e2565b801515811461336f57600080fd5b8035610b4781613a00565b60006101008284031215613a2c57600080fd5b613a34613737565b9050613a3f826136ca565b815260208201356001600160401b0380821115613a5b57600080fd5b613a6785838601613807565b6020840152613a78604085016136ca565b60408401526060840135915080821115613a9157600080fd5b613a9d85838601613807565b60608401526080840135915080821115613ab657600080fd5b50613ac384828501613807565b608083015250613ad560a083016139f5565b60a0820152613ae660c083016139f5565b60c0820152613af760e08301613a0e565b60e082015292915050565b600060208284031215613b1457600080fd5b81356001600160401b03811115613b2a57600080fd5b613b3684828501613a19565b949350505050565b600060208284031215613b5057600080fd5b5035919050565b61ffff8116811461336f57600080fd5b8035610b4781613b57565b600060e08284031215613b8457600080fd5b613b8c61375a565b9050613b97826136ca565b8152613ba5602083016136ca565b6020820152613bb660408301613974565b6040820152613bc760608301613974565b606082015260808201356001600160401b0380821115613be657600080fd5b613bf285838601613807565b608084015260a0840135915080821115613c0b57600080fd5b50613c1884828501613807565b60a083015250613c2a60c083016139f5565b60c082015292915050565b600080600060608486031215613c4a57600080fd5b8335613c55816136b5565b92506020840135613c6581613b57565b915060408401356001600160401b03811115613c8057600080fd5b613c8c86828701613b72565b9150509250925092565b600060208284031215613ca857600080fd5b81356136f281613965565b803562ffffff81168114610b4757600080fd5b600060808284031215613cd857600080fd5b604051608081016001600160401b038282108183111715613cfb57613cfb6136f9565b8160405282935084359150613d0f82613b57565b908252602084013590613d21826136b5565b8160208401526040850135915080821115613d3b57600080fd5b50613d4885828601613807565b6040830152506060830135613d5c816139e2565b6060919091015292915050565b60008060008060808587031215613d7f57600080fd5b8435613d8a816136b5565b9350613d9860208601613cb3565b925060408501356001600160401b03811115613db357600080fd5b613dbf87828801613cc6565b9250506060850135613dd081613965565b939692955090935050565b60008060408385031215613dee57600080fd5b8235613df9816136b5565b91506020830135613e0981613965565b809150509250929050565b6001600160c01b03198116811461336f57600080fd5b8035610b4781613e14565b63ffffffff8116811461336f57600080fd5b8035610b4781613e35565b600060a08284031215613e6457600080fd5b60405160a081016001600160401b038282108183111715613e8757613e876136f9565b8160405282935084359150613e9b82613e14565b908252602084013590613ead82613a00565b8160208401526040850135915080821115613ec757600080fd5b50613ed485828601613807565b6040830152506060830135613ee8816136b5565b60608201526080830135613efb81613e35565b6080919091015292915050565b600080600060608486031215613f1d57600080fd5b8335613f28816136b5565b925060208401356001600160401b03811115613f4357600080fd5b6139c686828701613e52565b60008060408385031215613f6257600080fd5b8235613f6d816136b5565b91506020830135613e09816136b5565b6001600160401b038116811461336f57600080fd5b8035610b4781613f7d565b600080600060608486031215613fb257600080fd5b8335613fbd81613f7d565b925060208401356001600160401b03811115613fd857600080fd5b6139c686828701613a19565b60006102208284031215613ff757600080fd5b613fff61377c565b905061400a826136ca565b8152614018602083016136ca565b602082015261402960408301613e2a565b604082015261403a60608301613e2a565b606082015261404b608083016136ca565b608082015261405c60a083016136ca565b60a082015261406d60c083016136ca565b60c082015261407e60e083016139f5565b60e0820152610100808301356001600160401b038082111561409f57600080fd5b6140ab86838701613807565b838501526101209250828501359150808211156140c757600080fd5b506140d485828601613807565b8284015250506101406140e8818401613b67565b908201526101606140fa838201613b67565b9082015261018061410c8382016136ca565b908201526101a061411e8382016136ca565b908201526101c06141308382016139f5565b908201526101e06141428382016139f5565b908201526102006141548382016139f5565b9082015292915050565b6000806040838503121561417157600080fd5b823561417c816136b5565b915060208301356001600160401b0381111561419757600080fd5b6141a385828601613fe4565b9150509250929050565b6000604082840312156141bf57600080fd5b6141c761379f565b905081356141d4816136b5565b815260208201356001600160401b038111156141ef57600080fd5b6141fb84828501613807565b60208301525092915050565b6000806040838503121561421a57600080fd5b823561422581613e14565b915060208301356001600160401b0381111561424057600080fd5b6141a3858286016141ad565b6000610120828403121561425f57600080fd5b6142676137c1565b905081356001600160401b038082111561428057600080fd5b61428c85838601613807565b83526020840135602084015260408401356040840152606084013560608401526142b860808501613e47565b60808401526142c960a08501613e47565b60a08401526142da60c08501613a0e565b60c08401526142eb60e08501613a0e565b60e08401526101009150818401358181111561430657600080fd5b61431286828701613807565b8385015250505092915050565b6000806040838503121561433257600080fd5b823561433d81613e14565b915060208301356001600160401b0381111561435857600080fd5b6141a38582860161424c565b60008060006060848603121561437957600080fd5b8335614384816136b5565b925061439260208501613cb3565b915060408401356139d781613965565b600080604083850312156143b557600080fd5b82356143c0816136b5565b915060208301356001600160401b038111156143db57600080fd5b6141a3858286016138b3565b6000604082840312156143f957600080fd5b61440161379f565b9050813581526020820135602082015292915050565b600060e0828403121561442957600080fd5b61443161370f565b9050813561443e816136b5565b815261444d83602084016143e7565b602082015260608201356001600160401b0381111561446b57600080fd5b61447784828501613807565b604083015250608082013561448b816139e2565b606082015260a082013561449e816139e2565b608082015260c08201356144b1816139e2565b60a082015292915050565b6000806000606084860312156144d157600080fd5b83356144dc816136b5565b925060208401356001600160401b038111156144f757600080fd5b6139c686828701614417565b60005b8381101561451e578181015183820152602001614506565b50506000910152565b6000815180845261453f816020860160208601614503565b601f01601f19169290920160200192915050565b602081526000610bfa6020830184614527565b60008060006060848603121561457b57600080fd5b833561458681613e14565b925060208401356001600160401b038111156145a157600080fd5b6139c68682870161424c565b600060e082840312156145bf57600080fd5b6145c761375a565b90506145d2826136ca565b815260208201356001600160401b03808211156145ee57600080fd5b6145fa85838601613807565b60208401526040840135604084015261461560608501613e47565b606084015261462660808501613e47565b608084015261463760a085016139f5565b60a084015260c084013591508082111561465057600080fd5b5061465d84828501613807565b60c08301525092915050565b60008060006060848603121561467e57600080fd5b833561468981613e14565b925060208401356001600160401b038111156146a457600080fd5b6139c6868287016145ad565b60006101c082840312156146c357600080fd5b6146cb6137e4565b90506146d6826136ca565b81526146e460208301613f92565b60208201526146f5604083016136ca565b604082015261470660608301613a0e565b606082015261471760808301613a0e565b608082015261472860a08301613a0e565b60a082015260c082013560c082015260e082013560e0820152610100614750848285016143e7565b90820152610140614763848483016143e7565b6101208301526141548461018085016143e7565b6000806000610200848603121561478d57600080fd5b8335614798816136b5565b92506147a785602086016146b0565b91506101e08401356139d781613965565b6000806101e083850312156147cc57600080fd5b82356147d7816136b5565b91506147e684602085016146b0565b90509250929050565b60006020828403121561480157600080fd5b81356136f281613893565b6000806040838503121561481f57600080fd5b823561482a816136b5565b915060208301356001600160401b0381111561484557600080fd5b6141a385828601613e52565b6000806040838503121561486457600080fd5b8235613df981613e14565b60008060006060848603121561488457600080fd5b833561488f816136b5565b925061489d60208501613cb3565b915060408401356001600160401b038111156148b857600080fd5b613c8c86828701613cc6565b6020815261490960208201835160ff815116825260ff6020820151166020830152604081015163ffffffff808216604085015280606084015116606085015250505050565b6000602083015160a080840152613b3660c0840182614527565b60008060006060848603121561493857600080fd5b8335614943816136b5565b925060208401356001600160401b0381111561495e57600080fd5b6139c686828701613fe4565b6000806040838503121561497d57600080fd5b8235614988816136b5565b915060208301356001600160401b038111156149a357600080fd5b6141a385828601614417565b60808101610bfd828460ff815116825260ff6020820151166020830152604081015163ffffffff808216604085015280606084015116606085015250505050565b60006102008284031215614a0357600080fd5b614a0b6137c1565b9050614a16826136ca565b8152614a24602083016136ca565b6020820152614a3683604084016143e7565b6040820152614a4883608084016143e7565b6060820152614a5a8360c084016143e7565b6080820152610100614a6e848285016143e7565b60a0830152614a818461014085016143e7565b60c0830152614a948461018085016143e7565b60e0830152614154846101c085016143e7565b6000806102208385031215614abb57600080fd5b8235614ac6816136b5565b91506147e684602085016149f0565b600080600060608486031215614aea57600080fd5b8335614af581613e14565b925060208401356001600160401b03811115614b1057600080fd5b6139c6868287016141ad565b600080600060608486031215614b3157600080fd5b8335614b3c81613965565b9250602084013561439281613965565b60008060408385031215614b5f57600080fd5b8235613df981613f7d565b60008060006102408486031215614b8057600080fd5b8335614b8b816136b5565b9250614b9a85602086016149f0565b91506102208401356139d781613965565b600080600060608486031215614bc057600080fd5b8335614bcb816136b5565b9250602084013561439281613b57565b60008060408385031215614bee57600080fd5b8235614bf981613e14565b915060208301356001600160401b03811115614c1457600080fd5b6141a3858286016145ad565b60ff198116811461336f57600080fd5b60008060408385031215614c4357600080fd5b8235614c4e81613965565b91506020830135613e0981614c20565b60008060008060808587031215614c7457600080fd5b8435614c7f816136b5565b93506020850135614c8f81613b57565b925060408501356001600160401b03811115614caa57600080fd5b613dbf87828801613b72565b602081526000825160c06020840152614cd260e0840182614527565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c0850152614d308282614527565b95945050505050565b600060208284031215614d4b57600080fd5b5051919050565b60208152614d6c6020820183516001600160601b03169052565b60006020830151610100806040850152614d8a610120850183614527565b91506040850151614da660608601826001600160601b03169052565b506060850151601f1980868503016080870152614dc38483614527565b935060808701519150808685030160a087015250614de18382614527565b92505060a0850151614dfc60c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e0850151801515858301525b5090949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151614e6c608084018260ff169052565b50608083015160e060a0840152614e87610100840182614527565b905060a0840151601f198483030160c0850152614ea48282614527565b91505060c0840151614ebf60e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152614f0460a0840182614527565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614f5f60c0840182614527565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b60208152614fa86020820183516001600160601b03169052565b60006020830151614fc460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010061504a8185018364ffffffffff169052565b80850151915050610220610120818186015261506a610240860184614527565b9250808601519050610140601f19868503018187015261508a8483614527565b9350808701519150506101606150a58187018361ffff169052565b86015190506101806150bc8682018361ffff169052565b86015190506101a06150d8868201836001600160601b03169052565b86015190506101c06150f4868201836001600160601b03169052565b86015190506101e061510e8682018364ffffffffff169052565b86015190506102006151288682018364ffffffffff169052565b86015164ffffffffff8116838701529050614e1d565b6001600160c01b031991909116815260200190565b602081526001600160601b03825116602082015260006020830151604080840152613b366060840182614527565b60208152600082516101208060208501526151a0610140850183614527565b915060208501516040850152604085015160608501526060850151608085015260808501516151d760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061520d8187018315159052565b860151858403601f19018387015290506152278382614527565b9695505050505050565b60006020828403121561524357600080fd5b81516136f281613a00565b602081526001600160601b03825116602082015260006020830151615280604084018280518252602090810151910152565b50604083015160e0608084015261529b610100840182614527565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b600181811c908216806152e857607f821691505b60208210810361530857634e487b7160e01b600052602260045260246000fd5b50919050565b602081526001600160601b0382511660208201526000602083015160e0604084015261533e610100840182614527565b90506040840151606084015263ffffffff6060850151166080840152608084015161537160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614d308282614527565b81516001600160601b031681526101c0810160208301516153cc60208401826001600160401b03169052565b5060408301516153e760408401826001600160601b03169052565b5060608301516153fb606084018215159052565b50608083015161540f608084018215159052565b5060a083015161542360a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516154558285018280518252602090810151910152565b50506101208301516101406154768185018380518252602090810151910152565b840151805161018085015260208101516101a085015290505b5092915050565b81516001600160601b031681526020808301516102008301916154c3908401826001600160601b03169052565b5060408301516154e0604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061552d8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e0850152905061548f565b60006020828403121561558b57600080fd5b81516136f281613893565b600080858511156155a657600080fd5b838611156155b357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156155e85780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610a8757600081815260208120601f850160051c810160208610156156575750805b601f850160051c820191505b818110156119d957828155600101615663565b81516001600160401b0381111561568f5761568f6136f9565b6156a38161569d84546152d4565b84615630565b602080601f8311600181146156d857600084156156c05750858301515b600019600386901b1c1916600185901b1785556119d9565b600085815260208120601f198616915b82811015615707578886015182559484019460019091019084016156e8565b50858210156157255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561574757600080fd5b81516136f281613965565b60006020828403121561576457600080fd5b81516136f281614c20565b60006001820161578f57634e487b7160e01b600052601160045260246000fd5b5060010190565b6000602082840312156157a857600080fd5b81516136f281613f7d565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b6000602082840312156157f457600080fd5b81516136f281613e35565b60008251615811818460208701614503565b9190910192915050565b6000806040838503121561582e57600080fd5b825161583981613a00565b6020840151909250613e0981613e35565b60006020828403121561585c57600080fd5b81516136f2816136b556fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d20a956310c9c0228d7642768b73fa0c1c6b9078ce79b8946973152731184efb64736f6c63430008140033",
3253
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106103c55760003560e01c80637a9e5e4b116101ff578063af9025001161011a578063ca0e7f08116100ad578063f48016ce1161007c578063f48016ce146109ff578063f5884fc5146107d1578063fae5df9b14610a20578063fe1f18d614610a3357600080fd5b8063ca0e7f0814610988578063dee326231461099b578063e80c61ed146109ae578063e9e96c70146109c157600080fd5b8063b6d7cd62116100e9578063b6d7cd621461092f578063bf1db3f914610942578063bf7e214f14610955578063c4d66de81461097557600080fd5b8063af902500146108e3578063b0628dc3146108f6578063b4d7efe214610909578063b5b3d9f91461091c57600080fd5b80639f8151e511610192578063a5961b4c11610161578063a5961b4c1461081d578063a6a67b1f146108aa578063a76ee018146108bd578063a8989675146108d057600080fd5b80639f8151e5146107e4578063a1fc1004146107d1578063a2842229146107f7578063a46eb8dc1461080a57600080fd5b80638eaa6ac0116101ce5780638eaa6ac0146107645780638eb9000d146107845780638fb36037146107b0578063985aeba7146107d157600080fd5b80637a9e5e4b146107185780637cca11241461072b5780637cef48421461073e57806381c2b2821461075157600080fd5b80633870a770116102ef57806354f6127f1161028257806361105e0e1161025157806361105e0e146106cc57806368456391146106df578063763bb754146106f2578063789298231461070557600080fd5b806354f6127f146106275780635a8416b0146106475780635d4345cc146104d95780635eede1741461065a57600080fd5b80634846003a116102be5780634846003a146105db57806351dd844b146105ee578063533086d41461060157806353ebe1291461061457600080fd5b80633870a7701461058a57806338a699a41461059d57806340529b0f146105c0578063468bce06146105d357600080fd5b80630fad0eb111610367578063275c059511610336578063275c05951461053e5780632a8ea7ac146105515780632f61088a1461056457806330a130ba1461057757600080fd5b80630fad0eb1146104d95780631e40b363146104ec578063228e42ec146104ff578063248a77dd1461052b57600080fd5b806309648a9d116103a357806309648a9d146104535780630cfc3ba31461048d5780630d358181146104a05780630f6c29ef146104c657600080fd5b80630232ca49146103ca57806303c099ac146104135780630632b17d14610428575b600080fd5b6103f66103d83660046136d5565b6001600160601b039081166000908152600260205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61042661042136600461397f565b610a46565b005b61043b610436366004613b02565b610a8c565b6040516001600160401b03909116815260200161040a565b61047b610461366004613b3e565b600090815260076020526040902054610100900460ff1690565b60405160ff909116815260200161040a565b61042661049b366004613c35565b610b4c565b61047b6104ae366004613c96565b60ff9081166000908152600560205260409020541690565b6104266104d4366004613d69565b610b73565b6104266104e7366004613ddb565b610ba0565b6104266104fa366004613f08565b610bbd565b6103f661050d3660046136d5565b6001600160601b039081166000908152602081905260409020541690565b6103f6610539366004613f4f565b610be5565b61042661054c366004613f9d565b610c03565b61042661055f36600461415e565b610c9d565b610426610572366004614207565b610cd2565b61042661058536600461431f565b610d72565b610426610598366004614364565b610e12565b6105b06105ab366004613b3e565b610e28565b604051901515815260200161040a565b6104266105ce366004613ddb565b610eb3565b610426610eca565b6104266105e93660046143a2565b610f04565b6104266105fc3660046144bc565b610f35565b6103f661060f366004613f4f565b610f5d565b6103f6610622366004613f4f565b610f72565b61063a610635366004613b3e565b610f87565b60405161040a9190614553565b610426610655366004614566565b61102c565b6106a26106683660046136d5565b6001600160601b03908116600090815260208181526040808320546001835281842054600290935292205491831693908316929190911690565b604080516001600160601b039485168152928416602084015292169181019190915260600161040a565b6104266106da366004614669565b6110cc565b6104266106ed366004613ddb565b61116c565b610426610700366004614777565b611183565b6104266107133660046147b8565b6111ab565b6104266107263660046147ef565b6111d3565b61042661073936600461480c565b61125b565b61042661074c366004614851565b611283565b61042661075f36600461486f565b611312565b610777610772366004613b3e565b611339565b60405161040a91906148c4565b6103f66107923660046136d5565b6001600160601b039081166000908152600160205260409020541690565b6107b861145e565b6040516001600160e01b0319909116815260200161040a565b6104266107df366004614923565b611497565b6103f66107f2366004613f4f565b6114bf565b610426610805366004614851565b6114d4565b61042661081836600461496a565b611522565b61089d61082b366004613b3e565b604080516080808201835260008083526020808401829052838501829052606093840182905294815260078552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b60405161040a91906149af565b6104266108b8366004614aa7565b611553565b6104266108cb366004614ad5565b61157b565b6104266108de366004614b1c565b61161b565b6104266108f1366004614851565b61170c565b6103f6610904366004613f4f565b61175a565b610426610917366004614b4c565b61176f565b61042661092a366004614b6a565b6117bc565b61042661093d366004614bab565b6117e4565b6105b0610950366004613c96565b6117fa565b61095d611847565b6040516001600160a01b03909116815260200161040a565b6104266109833660046147ef565b611863565b610426610996366004614bdb565b6119e1565b6104266109a9366004613ddb565b611a81565b6103f66109bc366004613f4f565b611a98565b6105b06109cf366004614b1c565b60ff9283166000908152600660209081526040808320948616835293815283822092851682529190915220541690565b610a12610a0d366004614c30565b611aad565b60405190815260200161040a565b610426610a2e366004614c5e565b611b31565b610426610a41366004613ddb565b611b58565b610a53335b600036611b6f565b610a87610a61846064611c72565b83604051602001610a729190614cb6565b60405160208183030381529060405283611cbe565b505050565b6000610a9733610a4b565b610a9f611e3a565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610b479073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b229190614d39565b83604051602001610b339190614d52565b604051602081830303815290604052611ec8565b919050565b610b5533610a4b565b610a87610b62848461227c565b82604051602001610b339190614e27565b610b7c33610a4b565b610b9a610b8985856122c9565b83604051602001610a729190614ec7565b50505050565b610ba933610a4b565b610a87610bb78360d3611c72565b82612317565b610bc633610a4b565b610a87610bd484607a611c72565b83604051602001610a729190614f21565b6000610bf033610a4b565b610bfa838361261c565b90505b92915050565b610c0c33610a4b565b604051630f37f38f60e41b81526001600160401b0384166004820152610a879073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8c9190614d39565b83604051602001610a729190614d52565b610ca633610a4b565b610caf826127ad565b610cce610cbd8360d3611c72565b82604051602001610b339190614f8e565b5050565b610cdb33610a4b565b6040516355ee627560e01b8152610cce9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610d20906001600160c01b031987169060040161513e565b602060405180830381865af4158015610d3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d619190614d39565b82604051602001610b339190615153565b610d7b33610a4b565b6040516355ee627560e01b8152610cce9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610dc0906001600160c01b031987169060040161513e565b602060405180830381865af4158015610ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e019190614d39565b82604051602001610b339190615181565b610e1b33610a4b565b610b9a610bb784846122c9565b60008181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfd9190615231565b610ebc33610a4b565b610a87610bb783607a611c72565b610ed26128ef565b610eda612938565b610ee2612a5b565b610eea612b4f565b610ef2612c86565b610efa612db1565b610f02612e6d565b565b610f0d33610a4b565b610f16826127ad565b610cce610f24836064611c72565b82604051602001610b339190614cb6565b610f3e33610a4b565b610a87610f4c8460dc611c72565b83604051602001610a72919061524e565b6000610f6833610a4b565b610bfa8383612f71565b6000610f7d33610a4b565b610bfa8383613055565b6000818152600760205260409020600101805460609190610fa7906152d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd3906152d4565b80156110205780601f10610ff557610100808354040283529160200191611020565b820191906000526020600020905b81548152906001019060200180831161100357829003601f168201915b50505050509050919050565b61103533610a4b565b6040516355ee627560e01b8152610a879073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061107a906001600160c01b031988169060040161513e565b602060405180830381865af4158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb9190614d39565b83604051602001610a729190615181565b6110d533610a4b565b6040516355ee627560e01b8152610a879073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061111a906001600160c01b031988169060040161513e565b602060405180830381865af4158015611137573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115b9190614d39565b83604051602001610a72919061530e565b61117533610a4b565b610a87610bb783608c611c72565b61118c33610a4b565b610a8761119a84608c611c72565b83604051602001610a7291906153a0565b6111b433610a4b565b610cce6111c283608c611c72565b82604051602001610b3391906153a0565b336111dc611847565b6001600160a01b0316816001600160a01b03161461121c5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003611252576040516361798f2f60e11b81526001600160a01b0383166004820152602401611213565b610cce82613139565b61126433610a4b565b610cce61127283607a611c72565b82604051602001610b339190614f21565b61128c33610a4b565b6040516355ee627560e01b8152610a879073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906112d1906001600160c01b031987169060040161513e565b602060405180830381865af41580156112ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb79190614d39565b61131b33610a4b565b610a8761132884846122c9565b82604051602001610b339190614ec7565b6040805160c081018252600091810182815260608083018490526080830184905260a083019390935281526020810191909152600082815260076020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a082015292835260018101805491928401916113d5906152d4565b80601f0160208091040260200160405190810160405280929190818152602001828054611401906152d4565b801561144e5780601f106114235761010080835404028352916020019161144e565b820191906000526020600020905b81548152906001019060200180831161143157829003601f168201915b5050505050815250509050919050565b600080516020615868833981519152805460009190600160a01b900460ff16611488576000611491565b638fb3603760e01b5b91505090565b6114a033610a4b565b610a876114ae8460d3611c72565b83604051602001610a729190614f8e565b60006114ca33610a4b565b610bfa838361319a565b6114dd33610a4b565b6040516355ee627560e01b8152610a879073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906112d1906001600160c01b031987169060040161513e565b61152b33610a4b565b611534826127ad565b610cce6115428360dc611c72565b82604051602001610b33919061524e565b61155c33610a4b565b610cce61156a83606e611c72565b82604051602001610b339190615496565b61158433610a4b565b6040516355ee627560e01b8152610a879073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906115c9906001600160c01b031988169060040161513e565b602060405180830381865af41580156115e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160a9190614d39565b83604051602001610a729190615153565b60ff8381166000908152600560205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a49190615231565b156116ae57505050565b60ff808416600090815260066020908152604080832086851684528252808320858516845290915290205416610a8757604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401611213565b61171533610a4b565b6040516355ee627560e01b8152610a879073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906112d1906001600160c01b031987169060040161513e565b600061176533610a4b565b610bfa838361327c565b61177833610a4b565b604051630f37f38f60e41b81526001600160401b0383166004820152610a879073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f0906024016112d1565b6117c533610a4b565b610a876117d384606e611c72565b83604051602001610a729190615496565b6117ed33610a4b565b610b9a610bb7848461227c565b60ff81811660009081526005602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610e72565b600080516020615868833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156118a85750825b90506000826001600160401b031660011480156118c45750303b155b9050811580156118d2575080155b156118f05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561191a57845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e9190615579565b90506119898161335e565b611991610eca565b5083156119d957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6119ea33610a4b565b6040516355ee627560e01b8152610cce9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611a2f906001600160c01b031987169060040161513e565b602060405180830381865af4158015611a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a709190614d39565b82604051602001610b33919061530e565b611a8a33610a4b565b610a87610bb783606e611c72565b6000611aa333610a4b565b610bfa8383613372565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa9190614d39565b611b3a33610a4b565b610b9a611b47858561227c565b83604051602001610a729190614e27565b611b6133610a4b565b610a87610bb78360dc611c72565b600080516020615868833981519152600080611baa611b8c611847565b8730611b9c600460008a8c615596565b611ba5916155c0565b613456565b91509150816119d95763ffffffff811615611c4a57825460ff60a01b1916600160a01b178355611bd8611847565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c07939291906155f0565b600060405180830381600087803b158015611c2157600080fd5b505af1158015611c35573d6000803e3d6000fd5b5050845460ff60a01b19168555506119d99050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611213565b905090565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611af0565b6000611cca8483612317565b6000858152600760205260409020909150600101611ce88482615676565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7f9190615735565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df39190615752565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b6008805460009182611e4b8361576f565b9091555050600854604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015611ea4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6d9190615796565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3f9190615735565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611f94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb89190615231565b15611fdb576040516307014a8d60e51b815260ff82166004820152602401611213565b600083815260076020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015612044573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120689190615231565b1561209257604051633f92eac960e21b81526004810185905260ff83166024820152604401611213565b600061209c613562565b905060006120a9846117fa565b6120b45760046120ca565b60ff808516600090815260056020526040902054165b835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b91909102178455600087815260076020526040902090915060010161213d8682615676565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156121b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d49190615735565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122489190615752565b6040805160ff938416815260ff1990921660208301529184169181019190915233606082015232608082015260a0016119d0565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611af0565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611af0565b60405163037c8cb160e51b815260ff8216600482015260009073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561236c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123909190615231565b156123b15760405163093b89e160e11b815260048101849052602401611213565b50600082815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561242a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244e9190615231565b1561246f5760405163566ebf7960e01b815260048101869052602401611213565b60ff808516146125ee5781546124899060ff16828661161b565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af415801561250d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125319190615735565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a59190615752565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b6125f6613562565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b6001600160601b038216600090815260036020526040812054839060ff1661266257604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152600160205260409020546126879116846135d1565b6001600160601b03858116600090815260016020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916127009187918791879163ffffffff909116906157b3565b60405180910390a173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612751573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277591906157e2565b6001600160601b03949094166000908152600460205260409020805463ffffffff191663ffffffff9095169490941790935592915050565b6001600160601b03811660009081526003602052604090205460ff16156127f2576040516314d5804160e01b81526001600160601b0382166004820152602401611213565b6001600160601b038116600090815260036020908152604091829020805460ff19166001179055815163e8b7afe360e01b8152915173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9263e8b7afe39260048083019391928290030181865af4158015612864573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288891906157e2565b6001600160601b038216600081815260046020908152604091829020805463ffffffff191663ffffffff9590951694909417909355519081527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a9910160405180910390a150565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610f0257604051631afcd79f60e31b815260040160405180910390fd5b7f771858454ec4707233aadff300d597e3cedeb6710ca6b101e734b799b12222df8054600460ff19918216179091557fe4de72bd5ed359ca06ad1e23414da8aff3d91ef4b9f60e60ebf947cb621d63cd8054821660019081179091557f441d9c900095a9ba301abc94e2d40c425b635e8212397bd1f1d5e6008545e43280548316821790557f130011a9199877dff3da9612996e857322ed638ffe03386fae7b5422327be1378054909216811790915560dc600090815260066020527f2f58ba6317fa91206cced2579e9a32a7ae969ba43d2681600d57bc2ed2374af490606e5b60ff1660ff1681526020019081526020016000206000612a3760c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7fad66b8e7ab72f450ddfdaf1c5bc10e3a3fabf9f63ad8aa07b8743b93722f0a458054600460ff1991821681179092557f05b233af0385f3754935061541c8604acc656841922b75e2ea5297e0fc764a0380548216600190811790915560009283527fa33cf82463865a0ebd6690a1b95c8a72a666ffbf452bc16c4e7a3ad7ca9827036020527f5670ddc24a48dbbe6c67669d54dd57339101cdf27153f0a3bd158f03c434a254805490921681179091559060069060645b60ff1660ff1681526020019081526020016000206000612b31606e90565b60ff1660ff1681526020019081526020016000206000612a3760d290565b7ffdf048cf45a550014b20d320bb6290f2d7ea067c3d13399f0575dc0baae240798054600a60ff19918216179091557fa04a3c9250f521b421c28e80c87770c01e9bc7b2841d7715dd80bac38ecfa0ae8054821660019081179091557fbc859b2e3f2702ef7f32b8d302b568119ca1950b81e09676057fbf71cf02437880548316821790557f5533430cc9bdc98a75261b0da464377a3d6c53a4dcb245ff218a6d29a6c992b480548316821790557f06003c716b0a4ec58879dc64eb1b0d3ac5cf98ff37ae60ffe053f8452d392e1880548316821790557fd54497a6c298b5a36bbc209f8f809dbdb4295f9f93ba288c832b82cab135fc538054909216811790915560d3600090815260066020527f530b99d3691c9c5da0d1116fd9d26013cb6c7e3129bc2ff30a2e52509eedec80906004612a19565b7ea9fba592adcb288817d4d32482354c56e92b66ecc59dd9ac2659cac502bb71805460ff199081166032179091557f5bceb4b21f7532d347169dd6cfdd22ffa128bc0653a9acfe9155ad9d8ef9926a8054821660019081179091557ffb8cd74b527fb560f4f17fdddd34587f53d6367e5b2da733aefefd8ec1ab068b80548316821790557fa02d1d0509c802f0553d84ab76cfa13155b0c4665c3a8b40b09247cfd6557d9a80548316821790557f7ca5d2de0a6f9ffd2b9b44a0d3f044210aba793581824cce5f21f019fe6a18b08054603c93168317905560009182527fa0a525c3eb3bd23b46aac45510ded2c9e1afb6e4a40d0a60ca0426e75c4678fb602052907f9478842dd6cd9ecb07a5d23d6b742413585319d8cffa2efc1e7533a42a0417359060dc612a37565b7f7a1de661595fed1ebd14726acb09298a08f8300cc62585766e164a3e18fbf85b8054600460ff1991821681179092557fa5220b5c26a90aff7b69a0aff685ced2fcd42471fa2be7e8c7acd149d8e82d7680548216600190811790915560009283527fb39c6613f48e0e809617d60f5e1c14a61ff5aad5f3f83a6dba45b1f191c7a8256020527ffb122e50c6f78e52711e3bb5c6b827b3fee77f5369f07d708c7c6dc5dbe14c2e805490921681179091559060069060c8612b13565b7f6c40122c67bd2f0cbd1c3fa8ee6656e600ea58ee13b4077687b98c5c145bddbe8054600460ff1991821681179092557f97feb0f66fd1ceeb661d08ac7282c8fd883a78b038944efdff7a9ca02700001f8054821660019081179091557febda959ea9c583d61fa7e8054292180014a6646664185164f95c323025893ffa80548316821790557f5d1970d6e6d56c6abe03d702442a74ae808db7e6e2d65ba063e234de20f9c75e8054909216811790915560009182527ffd91b674668e771a29edc7bd49406822c49336f642d316b2b9ba0c0ff145fb18602052907f81f463d4f9fe957efa3d61ee307de58ef6a2946d247d82af924cba14e4f94f8a906048612a37565b6001600160601b038216600090815260036020526040812054839060ff16612fb757604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b03808516600090815260026020526040902054612fdc911684613659565b6001600160601b03858116600090815260026020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916127009187918791879163ffffffff909116906157b3565b6001600160601b038216600090815260036020526040812054839060ff1661309b57604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152600160205260409020546130c0911684613659565b6001600160601b03858116600090815260016020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916127009187918791879163ffffffff909116906157b3565b60008051602061586883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b038216600090815260036020526040812054839060ff166131e057604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152602081905260409020546132059116846135d1565b6001600160601b0385811660009081526020818152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916127009187918791879163ffffffff909116906157b3565b6001600160601b038216600090815260036020526040812054839060ff166132c257604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152602081905260409020546132e7911684613659565b6001600160601b0385811660009081526020818152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916127009187918791879163ffffffff909116906157b3565b6133666128ef565b61336f816136a4565b50565b6001600160601b038216600090815260036020526040812054839060ff166133b857604051631e94ffd760e11b81526001600160601b0382166004820152602401611213565b6001600160601b038085166000908152600260205260409020546133dd9116846135d1565b6001600160601b03858116600090815260026020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916127009187918791879163ffffffff909116906157b3565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516134c591906157ff565b600060405180830381855afa9150503d8060008114613500576040519150601f19603f3d011682016040523d82523d6000602084013e613505565b606091505b50915091508115613557576040815110613537578080602001905181019061352d919061581b565b9094509250613557565b602081511061355757808060200190518101906135549190615231565b93505b505094509492505050565b600073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af41580156135ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6d91906157e2565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015613635573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa919061584a565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613618565b6136ac6128ef565b61336f81613139565b6001600160601b038116811461336f57600080fd5b8035610b47816136b5565b6000602082840312156136e757600080fd5b81356136f2816136b5565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715613731576137316136f9565b60405290565b60405161010081016001600160401b0381118282101715613731576137316136f9565b60405160e081016001600160401b0381118282101715613731576137316136f9565b60405161022081016001600160401b0381118282101715613731576137316136f9565b604080519081016001600160401b0381118282101715613731576137316136f9565b60405161012081016001600160401b0381118282101715613731576137316136f9565b60405161016081016001600160401b0381118282101715613731576137316136f9565b600082601f83011261381857600080fd5b81356001600160401b0380821115613832576138326136f9565b604051601f8301601f19908116603f0116810190828211818310171561385a5761385a6136f9565b8160405283815286602085880101111561387357600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160a01b038116811461336f57600080fd5b8035610b4781613893565b600060c082840312156138c557600080fd5b6138cd61370f565b905081356001600160401b03808211156138e657600080fd5b6138f285838601613807565b8352613900602085016136ca565b6020840152613911604085016138a8565b6040840152613922606085016138a8565b6060840152613933608085016138a8565b608084015260a084013591508082111561394c57600080fd5b5061395984828501613807565b60a08301525092915050565b60ff8116811461336f57600080fd5b8035610b4781613965565b60008060006060848603121561399457600080fd5b833561399f816136b5565b925060208401356001600160401b038111156139ba57600080fd5b6139c6868287016138b3565b92505060408401356139d781613965565b809150509250925092565b64ffffffffff8116811461336f57600080fd5b8035610b47816139e2565b801515811461336f57600080fd5b8035610b4781613a00565b60006101008284031215613a2c57600080fd5b613a34613737565b9050613a3f826136ca565b815260208201356001600160401b0380821115613a5b57600080fd5b613a6785838601613807565b6020840152613a78604085016136ca565b60408401526060840135915080821115613a9157600080fd5b613a9d85838601613807565b60608401526080840135915080821115613ab657600080fd5b50613ac384828501613807565b608083015250613ad560a083016139f5565b60a0820152613ae660c083016139f5565b60c0820152613af760e08301613a0e565b60e082015292915050565b600060208284031215613b1457600080fd5b81356001600160401b03811115613b2a57600080fd5b613b3684828501613a19565b949350505050565b600060208284031215613b5057600080fd5b5035919050565b61ffff8116811461336f57600080fd5b8035610b4781613b57565b600060e08284031215613b8457600080fd5b613b8c61375a565b9050613b97826136ca565b8152613ba5602083016136ca565b6020820152613bb660408301613974565b6040820152613bc760608301613974565b606082015260808201356001600160401b0380821115613be657600080fd5b613bf285838601613807565b608084015260a0840135915080821115613c0b57600080fd5b50613c1884828501613807565b60a083015250613c2a60c083016139f5565b60c082015292915050565b600080600060608486031215613c4a57600080fd5b8335613c55816136b5565b92506020840135613c6581613b57565b915060408401356001600160401b03811115613c8057600080fd5b613c8c86828701613b72565b9150509250925092565b600060208284031215613ca857600080fd5b81356136f281613965565b803562ffffff81168114610b4757600080fd5b600060808284031215613cd857600080fd5b604051608081016001600160401b038282108183111715613cfb57613cfb6136f9565b8160405282935084359150613d0f82613b57565b908252602084013590613d21826136b5565b8160208401526040850135915080821115613d3b57600080fd5b50613d4885828601613807565b6040830152506060830135613d5c816139e2565b6060919091015292915050565b60008060008060808587031215613d7f57600080fd5b8435613d8a816136b5565b9350613d9860208601613cb3565b925060408501356001600160401b03811115613db357600080fd5b613dbf87828801613cc6565b9250506060850135613dd081613965565b939692955090935050565b60008060408385031215613dee57600080fd5b8235613df9816136b5565b91506020830135613e0981613965565b809150509250929050565b6001600160c01b03198116811461336f57600080fd5b8035610b4781613e14565b63ffffffff8116811461336f57600080fd5b8035610b4781613e35565b600060a08284031215613e6457600080fd5b60405160a081016001600160401b038282108183111715613e8757613e876136f9565b8160405282935084359150613e9b82613e14565b908252602084013590613ead82613a00565b8160208401526040850135915080821115613ec757600080fd5b50613ed485828601613807565b6040830152506060830135613ee8816136b5565b60608201526080830135613efb81613e35565b6080919091015292915050565b600080600060608486031215613f1d57600080fd5b8335613f28816136b5565b925060208401356001600160401b03811115613f4357600080fd5b6139c686828701613e52565b60008060408385031215613f6257600080fd5b8235613f6d816136b5565b91506020830135613e09816136b5565b6001600160401b038116811461336f57600080fd5b8035610b4781613f7d565b600080600060608486031215613fb257600080fd5b8335613fbd81613f7d565b925060208401356001600160401b03811115613fd857600080fd5b6139c686828701613a19565b60006102208284031215613ff757600080fd5b613fff61377c565b905061400a826136ca565b8152614018602083016136ca565b602082015261402960408301613e2a565b604082015261403a60608301613e2a565b606082015261404b608083016136ca565b608082015261405c60a083016136ca565b60a082015261406d60c083016136ca565b60c082015261407e60e083016139f5565b60e0820152610100808301356001600160401b038082111561409f57600080fd5b6140ab86838701613807565b838501526101209250828501359150808211156140c757600080fd5b506140d485828601613807565b8284015250506101406140e8818401613b67565b908201526101606140fa838201613b67565b9082015261018061410c8382016136ca565b908201526101a061411e8382016136ca565b908201526101c06141308382016139f5565b908201526101e06141428382016139f5565b908201526102006141548382016139f5565b9082015292915050565b6000806040838503121561417157600080fd5b823561417c816136b5565b915060208301356001600160401b0381111561419757600080fd5b6141a385828601613fe4565b9150509250929050565b6000604082840312156141bf57600080fd5b6141c761379f565b905081356141d4816136b5565b815260208201356001600160401b038111156141ef57600080fd5b6141fb84828501613807565b60208301525092915050565b6000806040838503121561421a57600080fd5b823561422581613e14565b915060208301356001600160401b0381111561424057600080fd5b6141a3858286016141ad565b6000610120828403121561425f57600080fd5b6142676137c1565b905081356001600160401b038082111561428057600080fd5b61428c85838601613807565b83526020840135602084015260408401356040840152606084013560608401526142b860808501613e47565b60808401526142c960a08501613e47565b60a08401526142da60c08501613a0e565b60c08401526142eb60e08501613a0e565b60e08401526101009150818401358181111561430657600080fd5b61431286828701613807565b8385015250505092915050565b6000806040838503121561433257600080fd5b823561433d81613e14565b915060208301356001600160401b0381111561435857600080fd5b6141a38582860161424c565b60008060006060848603121561437957600080fd5b8335614384816136b5565b925061439260208501613cb3565b915060408401356139d781613965565b600080604083850312156143b557600080fd5b82356143c0816136b5565b915060208301356001600160401b038111156143db57600080fd5b6141a3858286016138b3565b6000604082840312156143f957600080fd5b61440161379f565b9050813581526020820135602082015292915050565b600060e0828403121561442957600080fd5b61443161370f565b9050813561443e816136b5565b815261444d83602084016143e7565b602082015260608201356001600160401b0381111561446b57600080fd5b61447784828501613807565b604083015250608082013561448b816139e2565b606082015260a082013561449e816139e2565b608082015260c08201356144b1816139e2565b60a082015292915050565b6000806000606084860312156144d157600080fd5b83356144dc816136b5565b925060208401356001600160401b038111156144f757600080fd5b6139c686828701614417565b60005b8381101561451e578181015183820152602001614506565b50506000910152565b6000815180845261453f816020860160208601614503565b601f01601f19169290920160200192915050565b602081526000610bfa6020830184614527565b60008060006060848603121561457b57600080fd5b833561458681613e14565b925060208401356001600160401b038111156145a157600080fd5b6139c68682870161424c565b600060e082840312156145bf57600080fd5b6145c761375a565b90506145d2826136ca565b815260208201356001600160401b03808211156145ee57600080fd5b6145fa85838601613807565b60208401526040840135604084015261461560608501613e47565b606084015261462660808501613e47565b608084015261463760a085016139f5565b60a084015260c084013591508082111561465057600080fd5b5061465d84828501613807565b60c08301525092915050565b60008060006060848603121561467e57600080fd5b833561468981613e14565b925060208401356001600160401b038111156146a457600080fd5b6139c6868287016145ad565b60006101c082840312156146c357600080fd5b6146cb6137e4565b90506146d6826136ca565b81526146e460208301613f92565b60208201526146f5604083016136ca565b604082015261470660608301613a0e565b606082015261471760808301613a0e565b608082015261472860a08301613a0e565b60a082015260c082013560c082015260e082013560e0820152610100614750848285016143e7565b90820152610140614763848483016143e7565b6101208301526141548461018085016143e7565b6000806000610200848603121561478d57600080fd5b8335614798816136b5565b92506147a785602086016146b0565b91506101e08401356139d781613965565b6000806101e083850312156147cc57600080fd5b82356147d7816136b5565b91506147e684602085016146b0565b90509250929050565b60006020828403121561480157600080fd5b81356136f281613893565b6000806040838503121561481f57600080fd5b823561482a816136b5565b915060208301356001600160401b0381111561484557600080fd5b6141a385828601613e52565b6000806040838503121561486457600080fd5b8235613df981613e14565b60008060006060848603121561488457600080fd5b833561488f816136b5565b925061489d60208501613cb3565b915060408401356001600160401b038111156148b857600080fd5b613c8c86828701613cc6565b6020815261490960208201835160ff815116825260ff6020820151166020830152604081015163ffffffff808216604085015280606084015116606085015250505050565b6000602083015160a080840152613b3660c0840182614527565b60008060006060848603121561493857600080fd5b8335614943816136b5565b925060208401356001600160401b0381111561495e57600080fd5b6139c686828701613fe4565b6000806040838503121561497d57600080fd5b8235614988816136b5565b915060208301356001600160401b038111156149a357600080fd5b6141a385828601614417565b60808101610bfd828460ff815116825260ff6020820151166020830152604081015163ffffffff808216604085015280606084015116606085015250505050565b60006102008284031215614a0357600080fd5b614a0b6137c1565b9050614a16826136ca565b8152614a24602083016136ca565b6020820152614a3683604084016143e7565b6040820152614a4883608084016143e7565b6060820152614a5a8360c084016143e7565b6080820152610100614a6e848285016143e7565b60a0830152614a818461014085016143e7565b60c0830152614a948461018085016143e7565b60e0830152614154846101c085016143e7565b6000806102208385031215614abb57600080fd5b8235614ac6816136b5565b91506147e684602085016149f0565b600080600060608486031215614aea57600080fd5b8335614af581613e14565b925060208401356001600160401b03811115614b1057600080fd5b6139c6868287016141ad565b600080600060608486031215614b3157600080fd5b8335614b3c81613965565b9250602084013561439281613965565b60008060408385031215614b5f57600080fd5b8235613df981613f7d565b60008060006102408486031215614b8057600080fd5b8335614b8b816136b5565b9250614b9a85602086016149f0565b91506102208401356139d781613965565b600080600060608486031215614bc057600080fd5b8335614bcb816136b5565b9250602084013561439281613b57565b60008060408385031215614bee57600080fd5b8235614bf981613e14565b915060208301356001600160401b03811115614c1457600080fd5b6141a3858286016145ad565b60ff198116811461336f57600080fd5b60008060408385031215614c4357600080fd5b8235614c4e81613965565b91506020830135613e0981614c20565b60008060008060808587031215614c7457600080fd5b8435614c7f816136b5565b93506020850135614c8f81613b57565b925060408501356001600160401b03811115614caa57600080fd5b613dbf87828801613b72565b602081526000825160c06020840152614cd260e0840182614527565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c0850152614d308282614527565b95945050505050565b600060208284031215614d4b57600080fd5b5051919050565b60208152614d6c6020820183516001600160601b03169052565b60006020830151610100806040850152614d8a610120850183614527565b91506040850151614da660608601826001600160601b03169052565b506060850151601f1980868503016080870152614dc38483614527565b935060808701519150808685030160a087015250614de18382614527565b92505060a0850151614dfc60c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e0850151801515858301525b5090949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151614e6c608084018260ff169052565b50608083015160e060a0840152614e87610100840182614527565b905060a0840151601f198483030160c0850152614ea48282614527565b91505060c0840151614ebf60e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152614f0460a0840182614527565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614f5f60c0840182614527565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b60208152614fa86020820183516001600160601b03169052565b60006020830151614fc460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010061504a8185018364ffffffffff169052565b80850151915050610220610120818186015261506a610240860184614527565b9250808601519050610140601f19868503018187015261508a8483614527565b9350808701519150506101606150a58187018361ffff169052565b86015190506101806150bc8682018361ffff169052565b86015190506101a06150d8868201836001600160601b03169052565b86015190506101c06150f4868201836001600160601b03169052565b86015190506101e061510e8682018364ffffffffff169052565b86015190506102006151288682018364ffffffffff169052565b86015164ffffffffff8116838701529050614e1d565b6001600160c01b031991909116815260200190565b602081526001600160601b03825116602082015260006020830151604080840152613b366060840182614527565b60208152600082516101208060208501526151a0610140850183614527565b915060208501516040850152604085015160608501526060850151608085015260808501516151d760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061520d8187018315159052565b860151858403601f19018387015290506152278382614527565b9695505050505050565b60006020828403121561524357600080fd5b81516136f281613a00565b602081526001600160601b03825116602082015260006020830151615280604084018280518252602090810151910152565b50604083015160e0608084015261529b610100840182614527565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b600181811c908216806152e857607f821691505b60208210810361530857634e487b7160e01b600052602260045260246000fd5b50919050565b602081526001600160601b0382511660208201526000602083015160e0604084015261533e610100840182614527565b90506040840151606084015263ffffffff6060850151166080840152608084015161537160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614d308282614527565b81516001600160601b031681526101c0810160208301516153cc60208401826001600160401b03169052565b5060408301516153e760408401826001600160601b03169052565b5060608301516153fb606084018215159052565b50608083015161540f608084018215159052565b5060a083015161542360a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516154558285018280518252602090810151910152565b50506101208301516101406154768185018380518252602090810151910152565b840151805161018085015260208101516101a085015290505b5092915050565b81516001600160601b031681526020808301516102008301916154c3908401826001600160601b03169052565b5060408301516154e0604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061552d8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e0850152905061548f565b60006020828403121561558b57600080fd5b81516136f281613893565b600080858511156155a657600080fd5b838611156155b357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156155e85780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610a8757600081815260208120601f850160051c810160208610156156575750805b601f850160051c820191505b818110156119d957828155600101615663565b81516001600160401b0381111561568f5761568f6136f9565b6156a38161569d84546152d4565b84615630565b602080601f8311600181146156d857600084156156c05750858301515b600019600386901b1c1916600185901b1785556119d9565b600085815260208120601f198616915b82811015615707578886015182559484019460019091019084016156e8565b50858210156157255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561574757600080fd5b81516136f281613965565b60006020828403121561576457600080fd5b81516136f281614c20565b60006001820161578f57634e487b7160e01b600052601160045260246000fd5b5060010190565b6000602082840312156157a857600080fd5b81516136f281613f7d565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b6000602082840312156157f457600080fd5b81516136f281613e35565b60008251615811818460208701614503565b9190910192915050565b6000806040838503121561582e57600080fd5b825161583981613a00565b6020840151909250613e0981613e35565b60006020828403121561585c57600080fd5b81516136f2816136b556fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d20a956310c9c0228d7642768b73fa0c1c6b9078ce79b8946973152731184efb64736f6c63430008140033",
3254
+ "linkReferences": {
3255
+ "contracts/type/Amount.sol": {
3256
+ "AmountLib": [
3257
+ {
3258
+ "length": 20,
3259
+ "start": 13851
3260
+ },
3261
+ {
3262
+ "length": 20,
3263
+ "start": 13987
3264
+ }
3265
+ ]
3266
+ },
3267
+ "contracts/type/Blocknumber.sol": {
3268
+ "BlocknumberLib": [
3269
+ {
3270
+ "length": 20,
3271
+ "start": 10027
3272
+ },
3273
+ {
3274
+ "length": 20,
3275
+ "start": 10314
3276
+ },
3277
+ {
3278
+ "length": 20,
3279
+ "start": 13703
3280
+ }
3281
+ ]
3282
+ },
3283
+ "contracts/type/ClaimId.sol": {
3284
+ "ClaimIdLib": [
3285
+ {
3286
+ "length": 20,
3287
+ "start": 8904
3288
+ }
3289
+ ]
3290
+ },
3291
+ "contracts/type/DistributorType.sol": {
3292
+ "DistributorTypeLib": [
3293
+ {
3294
+ "length": 20,
3295
+ "start": 3503
3296
+ },
3297
+ {
3298
+ "length": 20,
3299
+ "start": 4201
3300
+ },
3301
+ {
3302
+ "length": 20,
3303
+ "start": 5393
3304
+ }
3305
+ ]
3306
+ },
3307
+ "contracts/type/Key32.sol": {
3308
+ "Key32Lib": [
3309
+ {
3310
+ "length": 20,
3311
+ "start": 6899
3312
+ },
3313
+ {
3314
+ "length": 20,
3315
+ "start": 7490
3316
+ },
3317
+ {
3318
+ "length": 20,
3319
+ "start": 7606
3320
+ },
3321
+ {
3322
+ "length": 20,
3323
+ "start": 7938
3324
+ },
3325
+ {
3326
+ "length": 20,
3327
+ "start": 8599
3328
+ },
3329
+ {
3330
+ "length": 20,
3331
+ "start": 8715
3332
+ },
3333
+ {
3334
+ "length": 20,
3335
+ "start": 9460
3336
+ },
3337
+ {
3338
+ "length": 20,
3339
+ "start": 9576
3340
+ }
3341
+ ]
3342
+ },
3343
+ "contracts/type/NftId.sol": {
3344
+ "NftIdLib": [
3345
+ {
3346
+ "length": 20,
3347
+ "start": 7357
3348
+ }
3349
+ ]
3350
+ },
3351
+ "contracts/type/ObjectType.sol": {
3352
+ "ObjectTypeLib": [
3353
+ {
3354
+ "length": 20,
3355
+ "start": 8059
3356
+ }
3357
+ ]
3358
+ },
3359
+ "contracts/type/PayoutId.sol": {
3360
+ "PayoutIdLib": [
3361
+ {
3362
+ "length": 20,
3363
+ "start": 8982
3364
+ }
3365
+ ]
3366
+ },
3367
+ "contracts/type/Referral.sol": {
3368
+ "ReferralLib": [
3369
+ {
3370
+ "length": 20,
3371
+ "start": 4361
3372
+ },
3373
+ {
3374
+ "length": 20,
3375
+ "start": 5961
3376
+ },
3377
+ {
3378
+ "length": 20,
3379
+ "start": 6686
3380
+ }
3381
+ ]
3382
+ },
3383
+ "contracts/type/RequestId.sol": {
3384
+ "RequestIdLib": [
3385
+ {
3386
+ "length": 20,
3387
+ "start": 2789
3388
+ },
3389
+ {
3390
+ "length": 20,
3391
+ "start": 3151
3392
+ },
3393
+ {
3394
+ "length": 20,
3395
+ "start": 6075
3396
+ },
3397
+ {
3398
+ "length": 20,
3399
+ "start": 7819
3400
+ }
3401
+ ]
3402
+ },
3403
+ "contracts/type/RiskId.sol": {
3404
+ "RiskIdLib": [
3405
+ {
3406
+ "length": 20,
3407
+ "start": 3343
3408
+ },
3409
+ {
3410
+ "length": 20,
3411
+ "start": 4800
3412
+ },
3413
+ {
3414
+ "length": 20,
3415
+ "start": 5560
3416
+ }
3417
+ ]
3418
+ },
3419
+ "contracts/type/StateId.sol": {
3420
+ "StateIdLib": [
3421
+ {
3422
+ "length": 20,
3423
+ "start": 3701
3424
+ },
3425
+ {
3426
+ "length": 20,
3427
+ "start": 5735
3428
+ },
3429
+ {
3430
+ "length": 20,
3431
+ "start": 6214
3432
+ },
3433
+ {
3434
+ "length": 20,
3435
+ "start": 8235
3436
+ },
3437
+ {
3438
+ "length": 20,
3439
+ "start": 9043
3440
+ },
3441
+ {
3442
+ "length": 20,
3443
+ "start": 9233
3444
+ }
3445
+ ]
3446
+ }
3447
+ },
3448
+ "deployedLinkReferences": {
3449
+ "contracts/type/Amount.sol": {
3450
+ "AmountLib": [
3451
+ {
3452
+ "length": 20,
3453
+ "start": 13818
3454
+ },
3455
+ {
3456
+ "length": 20,
3457
+ "start": 13954
3458
+ }
3459
+ ]
3460
+ },
3461
+ "contracts/type/Blocknumber.sol": {
3462
+ "BlocknumberLib": [
3463
+ {
3464
+ "length": 20,
3465
+ "start": 9994
3466
+ },
3467
+ {
3468
+ "length": 20,
3469
+ "start": 10281
3470
+ },
3471
+ {
3472
+ "length": 20,
3473
+ "start": 13670
3474
+ }
3475
+ ]
3476
+ },
3477
+ "contracts/type/ClaimId.sol": {
3478
+ "ClaimIdLib": [
3479
+ {
3480
+ "length": 20,
3481
+ "start": 8871
3482
+ }
3483
+ ]
3484
+ },
3485
+ "contracts/type/DistributorType.sol": {
3486
+ "DistributorTypeLib": [
3487
+ {
3488
+ "length": 20,
3489
+ "start": 3470
3490
+ },
3491
+ {
3492
+ "length": 20,
3493
+ "start": 4168
3494
+ },
3495
+ {
3496
+ "length": 20,
3497
+ "start": 5360
3498
+ }
3499
+ ]
3500
+ },
3501
+ "contracts/type/Key32.sol": {
3502
+ "Key32Lib": [
3503
+ {
3504
+ "length": 20,
3505
+ "start": 6866
3506
+ },
3507
+ {
3508
+ "length": 20,
3509
+ "start": 7457
3510
+ },
3511
+ {
3512
+ "length": 20,
3513
+ "start": 7573
3514
+ },
3515
+ {
3516
+ "length": 20,
3517
+ "start": 7905
3518
+ },
3519
+ {
3520
+ "length": 20,
3521
+ "start": 8566
3522
+ },
3523
+ {
3524
+ "length": 20,
3525
+ "start": 8682
3526
+ },
3527
+ {
3528
+ "length": 20,
3529
+ "start": 9427
3530
+ },
3531
+ {
3532
+ "length": 20,
3533
+ "start": 9543
3534
+ }
3535
+ ]
3536
+ },
3537
+ "contracts/type/NftId.sol": {
3538
+ "NftIdLib": [
3539
+ {
3540
+ "length": 20,
3541
+ "start": 7324
3542
+ }
3543
+ ]
3544
+ },
3545
+ "contracts/type/ObjectType.sol": {
3546
+ "ObjectTypeLib": [
3547
+ {
3548
+ "length": 20,
3549
+ "start": 8026
3550
+ }
3551
+ ]
3552
+ },
3553
+ "contracts/type/PayoutId.sol": {
3554
+ "PayoutIdLib": [
3555
+ {
3556
+ "length": 20,
3557
+ "start": 8949
3558
+ }
3559
+ ]
3560
+ },
3561
+ "contracts/type/Referral.sol": {
3562
+ "ReferralLib": [
3563
+ {
3564
+ "length": 20,
3565
+ "start": 4328
3566
+ },
3567
+ {
3568
+ "length": 20,
3569
+ "start": 5928
3570
+ },
3571
+ {
3572
+ "length": 20,
3573
+ "start": 6653
3574
+ }
3575
+ ]
3576
+ },
3577
+ "contracts/type/RequestId.sol": {
3578
+ "RequestIdLib": [
3579
+ {
3580
+ "length": 20,
3581
+ "start": 2756
3582
+ },
3583
+ {
3584
+ "length": 20,
3585
+ "start": 3118
3586
+ },
3587
+ {
3588
+ "length": 20,
3589
+ "start": 6042
3590
+ },
3591
+ {
3592
+ "length": 20,
3593
+ "start": 7786
3594
+ }
3595
+ ]
3596
+ },
3597
+ "contracts/type/RiskId.sol": {
3598
+ "RiskIdLib": [
3599
+ {
3600
+ "length": 20,
3601
+ "start": 3310
3602
+ },
3603
+ {
3604
+ "length": 20,
3605
+ "start": 4767
3606
+ },
3607
+ {
3608
+ "length": 20,
3609
+ "start": 5527
3610
+ }
3611
+ ]
3612
+ },
3613
+ "contracts/type/StateId.sol": {
3614
+ "StateIdLib": [
3615
+ {
3616
+ "length": 20,
3617
+ "start": 3668
3618
+ },
3619
+ {
3620
+ "length": 20,
3621
+ "start": 5702
3622
+ },
3623
+ {
3624
+ "length": 20,
3625
+ "start": 6181
3626
+ },
3627
+ {
3628
+ "length": 20,
3629
+ "start": 8202
3630
+ },
3631
+ {
3632
+ "length": 20,
3633
+ "start": 9010
3634
+ },
3635
+ {
3636
+ "length": 20,
3637
+ "start": 9200
3638
+ }
3639
+ ]
3640
+ }
3641
+ }
3642
+ }