@etherisc/gif-next 0.0.2-eb98db7-932 → 0.0.2-ebc6253-419

Sign up to get free protection for your applications and to get access to all the features.
Files changed (635) hide show
  1. package/README.md +57 -88
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1500 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +269 -445
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1502 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +842 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +302 -285
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +461 -67
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +292 -2124
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +328 -69
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +399 -2883
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +676 -369
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +388 -263
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +115 -74
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3469 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1137 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +776 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  85. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +338 -285
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1029 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  93. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +510 -426
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  95. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  97. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1466 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +818 -0
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  101. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +907 -0
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +413 -380
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1182 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  107. package/artifacts/contracts/pool/Pool.sol/Pool.json +1192 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1589 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +758 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  113. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +852 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  117. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +398 -390
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  119. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  121. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1331 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +144 -89
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  127. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +788 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +800 -0
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  131. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IPricingService.sol/IPricingService.json} +205 -228
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +418 -265
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +90 -63
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1276 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1017 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  144. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  145. package/artifacts/contracts/product/Product.sol/Product.json +1212 -0
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  151. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +191 -18
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -138
  156. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  158. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/Registry.sol/Registry.json +453 -34
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +373 -87
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  166. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  168. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  170. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  171. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  172. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  174. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  175. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +205 -226
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1680 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +804 -0
  180. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +101 -103
  182. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  183. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +219 -127
  184. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +711 -0
  188. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  196. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  198. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  200. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IService.sol/IService.json +106 -18
  202. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  204. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  205. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +951 -0
  208. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  210. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  212. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  213. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  214. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  216. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  217. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  218. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +24 -23
  220. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  221. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  222. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Service.sol/Service.json +114 -21
  224. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  225. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  226. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  228. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  229. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1412 -0
  230. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  231. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  232. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  233. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +387 -0
  234. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  235. package/artifacts/contracts/staking/Staking.sol/Staking.json +1941 -0
  236. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  238. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  240. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  242. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  244. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  246. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  248. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  249. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +576 -0
  250. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  251. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  252. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  254. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  256. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  258. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  260. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  262. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  264. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  266. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  267. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  268. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  270. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  272. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  274. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  276. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  278. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  280. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +222 -0
  282. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  284. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  286. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  287. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  288. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  290. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  292. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  294. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  296. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  298. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  300. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  301. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  302. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  303. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  304. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  305. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  306. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  307. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  308. package/contracts/authorization/AccessAdmin.sol +591 -0
  309. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  310. package/contracts/authorization/Authorization.sol +217 -0
  311. package/contracts/authorization/IAccess.sol +48 -0
  312. package/contracts/authorization/IAccessAdmin.sol +136 -0
  313. package/contracts/authorization/IAuthorization.sol +54 -0
  314. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  315. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  316. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  317. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  318. package/contracts/distribution/BasicDistribution.sol +138 -0
  319. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  320. package/contracts/{components → distribution}/Distribution.sol +178 -170
  321. package/contracts/distribution/DistributionService.sol +322 -0
  322. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  323. package/contracts/distribution/IDistributionComponent.sol +52 -0
  324. package/contracts/distribution/IDistributionService.sol +95 -0
  325. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +33 -32
  326. package/contracts/instance/IInstance.sol +60 -66
  327. package/contracts/instance/IInstanceService.sol +57 -24
  328. package/contracts/instance/Instance.sol +176 -213
  329. package/contracts/instance/InstanceAdmin.sol +285 -0
  330. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  331. package/contracts/instance/InstanceReader.sol +180 -65
  332. package/contracts/instance/InstanceService.sol +333 -342
  333. package/contracts/instance/InstanceServiceManager.sol +12 -26
  334. package/contracts/instance/InstanceStore.sol +277 -0
  335. package/contracts/instance/base/BalanceStore.sol +123 -0
  336. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  337. package/contracts/instance/base/ObjectCounter.sol +21 -0
  338. package/contracts/instance/base/ObjectLifecycle.sol +105 -0
  339. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
  340. package/contracts/instance/module/IAccess.sol +19 -20
  341. package/contracts/instance/module/IBundle.sol +8 -8
  342. package/contracts/instance/module/{ISetup.sol → IComponents.sol} +21 -23
  343. package/contracts/instance/module/IDistribution.sol +6 -5
  344. package/contracts/instance/module/IPolicy.sol +53 -16
  345. package/contracts/instance/module/IRisk.sol +1 -1
  346. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  347. package/contracts/oracle/BasicOracle.sol +48 -0
  348. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  349. package/contracts/oracle/IOracle.sol +36 -0
  350. package/contracts/oracle/IOracleComponent.sol +33 -0
  351. package/contracts/oracle/IOracleService.sol +65 -0
  352. package/contracts/oracle/Oracle.sol +166 -0
  353. package/contracts/oracle/OracleService.sol +278 -0
  354. package/contracts/oracle/OracleServiceManager.sol +39 -0
  355. package/contracts/pool/BasicPool.sol +166 -0
  356. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  357. package/contracts/pool/BundleService.sol +436 -0
  358. package/contracts/pool/BundleServiceManager.sol +39 -0
  359. package/contracts/pool/IBundleService.sol +134 -0
  360. package/contracts/pool/IPoolComponent.sol +58 -0
  361. package/contracts/pool/IPoolService.sol +147 -0
  362. package/contracts/pool/Pool.sol +328 -0
  363. package/contracts/pool/PoolService.sol +518 -0
  364. package/contracts/pool/PoolServiceManager.sol +39 -0
  365. package/contracts/product/ApplicationService.sol +250 -0
  366. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  367. package/contracts/product/BasicProduct.sol +52 -0
  368. package/contracts/product/BasicProductAuthorization.sol +43 -0
  369. package/contracts/product/ClaimService.sol +416 -0
  370. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  371. package/contracts/{instance/service → product}/IApplicationService.sol +17 -36
  372. package/contracts/product/IClaimService.sol +100 -0
  373. package/contracts/product/IPolicyService.sol +84 -0
  374. package/contracts/product/IPricingService.sol +39 -0
  375. package/contracts/product/IProductComponent.sol +40 -0
  376. package/contracts/product/IProductService.sol +34 -0
  377. package/contracts/product/PolicyService.sol +586 -0
  378. package/contracts/product/PolicyServiceManager.sol +39 -0
  379. package/contracts/product/PricingService.sol +304 -0
  380. package/contracts/product/PricingServiceManager.sol +39 -0
  381. package/contracts/product/Product.sol +413 -0
  382. package/contracts/product/ProductService.sol +99 -0
  383. package/contracts/product/ProductServiceManager.sol +39 -0
  384. package/contracts/registry/ChainNft.sol +16 -1
  385. package/contracts/registry/IRegistry.sol +61 -26
  386. package/contracts/registry/IRegistryService.sol +44 -42
  387. package/contracts/registry/ITransferInterceptor.sol +1 -0
  388. package/contracts/registry/Registry.sol +251 -139
  389. package/contracts/registry/RegistryAdmin.sol +374 -0
  390. package/contracts/registry/RegistryService.sol +70 -101
  391. package/contracts/registry/RegistryServiceManager.sol +23 -32
  392. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  393. package/contracts/registry/ReleaseRegistry.sol +485 -0
  394. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  395. package/contracts/registry/TokenRegistry.sol +261 -62
  396. package/contracts/shared/Component.sol +268 -0
  397. package/contracts/shared/ComponentService.sol +641 -0
  398. package/contracts/shared/ComponentServiceManager.sol +35 -0
  399. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  400. package/contracts/shared/IComponent.sol +70 -0
  401. package/contracts/shared/IComponentService.sol +108 -0
  402. package/contracts/shared/IInstanceLinkedComponent.sol +56 -0
  403. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  404. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  405. package/contracts/shared/INftOwnable.sol +2 -2
  406. package/contracts/shared/IPolicyHolder.sol +29 -10
  407. package/contracts/shared/IRegistryLinked.sol +0 -1
  408. package/contracts/shared/IService.sol +15 -6
  409. package/contracts/shared/InitializableCustom.sol +177 -0
  410. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +2 -2
  411. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  412. package/contracts/shared/KeyValueStore.sol +131 -0
  413. package/contracts/shared/Lifecycle.sol +77 -0
  414. package/contracts/shared/NftIdSet.sol +65 -0
  415. package/contracts/shared/NftOwnable.sol +5 -18
  416. package/contracts/shared/PolicyHolder.sol +41 -23
  417. package/contracts/shared/Registerable.sol +15 -14
  418. package/contracts/shared/RegistryLinked.sol +0 -5
  419. package/contracts/shared/Service.sol +47 -23
  420. package/contracts/shared/TokenHandler.sol +122 -10
  421. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  422. package/contracts/staking/IStaking.sol +167 -0
  423. package/contracts/staking/IStakingService.sol +160 -0
  424. package/contracts/staking/StakeManagerLib.sol +206 -0
  425. package/contracts/staking/Staking.sol +497 -0
  426. package/contracts/staking/StakingLifecycle.sol +23 -0
  427. package/contracts/staking/StakingManager.sol +50 -0
  428. package/contracts/staking/StakingReader.sol +183 -0
  429. package/contracts/staking/StakingService.sol +407 -0
  430. package/contracts/staking/StakingServiceManager.sol +44 -0
  431. package/contracts/staking/StakingStore.sol +605 -0
  432. package/contracts/staking/TargetManagerLib.sol +207 -0
  433. package/contracts/{types → type}/AddressSet.sol +1 -1
  434. package/contracts/type/Amount.sol +135 -0
  435. package/contracts/{types → type}/Blocknumber.sol +27 -3
  436. package/contracts/{types → type}/ClaimId.sol +25 -2
  437. package/contracts/{types → type}/Fee.sol +33 -23
  438. package/contracts/{types → type}/NftId.sol +21 -15
  439. package/contracts/{types → type}/NftIdSet.sol +2 -2
  440. package/contracts/type/ObjectType.sol +271 -0
  441. package/contracts/{types → type}/PayoutId.sol +33 -5
  442. package/contracts/{types → type}/Referral.sol +6 -1
  443. package/contracts/type/RequestId.sol +75 -0
  444. package/contracts/{types → type}/RiskId.sol +1 -1
  445. package/contracts/type/RoleId.sol +174 -0
  446. package/contracts/type/Seconds.sol +93 -0
  447. package/contracts/type/Selector.sol +102 -0
  448. package/contracts/{types → type}/StateId.sol +34 -4
  449. package/contracts/type/String.sol +53 -0
  450. package/contracts/{types → type}/Timestamp.sol +34 -15
  451. package/contracts/{types → type}/UFixed.sol +35 -9
  452. package/contracts/{types → type}/Version.sol +5 -2
  453. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  454. package/contracts/{shared → upgradeability}/ProxyManager.sol +36 -7
  455. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  456. package/contracts/{shared → upgradeability}/Versionable.sol +1 -1
  457. package/package.json +8 -5
  458. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  459. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  460. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  461. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  462. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  463. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  464. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  465. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  466. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  467. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
  468. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  469. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  470. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  471. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  472. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  473. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  474. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  475. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  476. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  477. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  478. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  479. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  480. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  481. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  483. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -858
  484. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  485. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -657
  486. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  487. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1085
  488. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  489. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  490. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  491. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -743
  492. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  493. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  494. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  495. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1087
  496. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  497. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -729
  498. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  499. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  501. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -398
  502. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  503. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  505. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -336
  506. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  507. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1109
  509. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  510. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -717
  511. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  512. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -716
  513. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  514. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  515. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  516. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -766
  517. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  518. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  519. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  520. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  521. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  522. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  523. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  524. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  525. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  526. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  527. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  528. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  529. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  530. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  531. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  532. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  533. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  534. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  535. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  536. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  537. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  538. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  539. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  540. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -510
  541. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  542. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  543. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  544. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  545. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  546. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  547. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  548. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  549. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  550. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  551. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  552. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  553. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  555. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  556. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  557. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  559. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  561. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  562. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  563. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  564. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  565. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  566. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  567. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  568. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  569. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  570. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  571. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  572. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  573. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  574. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  575. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  576. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  577. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  578. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  579. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  580. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  581. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  582. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  584. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  586. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  588. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  590. package/contracts/components/Component.sol +0 -241
  591. package/contracts/components/IComponent.sol +0 -54
  592. package/contracts/components/IDistributionComponent.sol +0 -92
  593. package/contracts/components/IPoolComponent.sol +0 -87
  594. package/contracts/components/IProductComponent.sol +0 -39
  595. package/contracts/components/Pool.sol +0 -254
  596. package/contracts/components/Product.sol +0 -285
  597. package/contracts/instance/InstanceAccessManager.sol +0 -297
  598. package/contracts/instance/base/ComponentService.sol +0 -134
  599. package/contracts/instance/base/KeyValueStore.sol +0 -172
  600. package/contracts/instance/base/Lifecycle.sol +0 -100
  601. package/contracts/instance/module/ITreasury.sol +0 -23
  602. package/contracts/instance/service/ApplicationService.sol +0 -268
  603. package/contracts/instance/service/BundleService.sol +0 -298
  604. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  605. package/contracts/instance/service/ClaimService.sol +0 -151
  606. package/contracts/instance/service/DistributionService.sol +0 -346
  607. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  608. package/contracts/instance/service/IBundleService.sol +0 -54
  609. package/contracts/instance/service/IClaimService.sol +0 -61
  610. package/contracts/instance/service/IDistributionService.sol +0 -73
  611. package/contracts/instance/service/IPolicyService.sol +0 -89
  612. package/contracts/instance/service/IPoolService.sol +0 -20
  613. package/contracts/instance/service/IProductService.sol +0 -40
  614. package/contracts/instance/service/PolicyService.sol +0 -476
  615. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  616. package/contracts/instance/service/PoolService.sol +0 -109
  617. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  618. package/contracts/instance/service/ProductService.sol +0 -233
  619. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  620. package/contracts/registry/RegistryAccessManager.sol +0 -216
  621. package/contracts/registry/ReleaseManager.sol +0 -322
  622. package/contracts/shared/ContractDeployerLib.sol +0 -72
  623. package/contracts/test/TestFee.sol +0 -25
  624. package/contracts/test/TestRegisterable.sol +0 -18
  625. package/contracts/test/TestRoleId.sol +0 -14
  626. package/contracts/test/TestService.sol +0 -25
  627. package/contracts/test/TestToken.sol +0 -26
  628. package/contracts/test/TestVersion.sol +0 -44
  629. package/contracts/test/TestVersionable.sol +0 -17
  630. package/contracts/types/ChainId.sol +0 -38
  631. package/contracts/types/NumberId.sol +0 -52
  632. package/contracts/types/ObjectType.sol +0 -156
  633. package/contracts/types/RoleId.sol +0 -90
  634. /package/contracts/{types → type}/DistributorType.sol +0 -0
  635. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,1109 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "PolicyService",
4
- "sourceName": "contracts/instance/service/PolicyService.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "component",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "nftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "name": "ErrorComponentServiceAlreadyRegistered",
20
- "type": "error"
21
- },
22
- {
23
- "inputs": [
24
- {
25
- "internalType": "address",
26
- "name": "component",
27
- "type": "address"
28
- }
29
- ],
30
- "name": "ErrorComponentServiceComponentLocked",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "NftId",
37
- "name": "instanceNftId",
38
- "type": "uint96"
39
- },
40
- {
41
- "internalType": "RoleId",
42
- "name": "requiredRole",
43
- "type": "uint64"
44
- },
45
- {
46
- "internalType": "address",
47
- "name": "sender",
48
- "type": "address"
49
- }
50
- ],
51
- "name": "ErrorComponentServiceExpectedRoleMissing",
52
- "type": "error"
53
- },
54
- {
55
- "inputs": [
56
- {
57
- "internalType": "address",
58
- "name": "component",
59
- "type": "address"
60
- },
61
- {
62
- "internalType": "ObjectType",
63
- "name": "requiredType",
64
- "type": "uint8"
65
- },
66
- {
67
- "internalType": "ObjectType",
68
- "name": "componentType",
69
- "type": "uint8"
70
- }
71
- ],
72
- "name": "ErrorComponentServiceInvalidType",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [
77
- {
78
- "internalType": "address",
79
- "name": "component",
80
- "type": "address"
81
- }
82
- ],
83
- "name": "ErrorComponentServiceNotComponent",
84
- "type": "error"
85
- },
86
- {
87
- "inputs": [
88
- {
89
- "internalType": "address",
90
- "name": "component",
91
- "type": "address"
92
- },
93
- {
94
- "internalType": "address",
95
- "name": "initialOwner",
96
- "type": "address"
97
- },
98
- {
99
- "internalType": "address",
100
- "name": "sender",
101
- "type": "address"
102
- }
103
- ],
104
- "name": "ErrorComponentServiceSenderNotOwner",
105
- "type": "error"
106
- },
107
- {
108
- "inputs": [
109
- {
110
- "internalType": "address",
111
- "name": "target",
112
- "type": "address"
113
- }
114
- ],
115
- "name": "ErrorIAccessTargetLocked",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [
120
- {
121
- "internalType": "address",
122
- "name": "customer",
123
- "type": "address"
124
- },
125
- {
126
- "internalType": "address",
127
- "name": "tokenHandlerAddress",
128
- "type": "address"
129
- },
130
- {
131
- "internalType": "uint256",
132
- "name": "amount",
133
- "type": "uint256"
134
- }
135
- ],
136
- "name": "ErrorIPolicyServiceInsufficientAllowance",
137
- "type": "error"
138
- },
139
- {
140
- "inputs": [
141
- {
142
- "internalType": "NftId",
143
- "name": "policyNftId",
144
- "type": "uint96"
145
- },
146
- {
147
- "internalType": "uint16",
148
- "name": "openClaimsCount",
149
- "type": "uint16"
150
- }
151
- ],
152
- "name": "ErrorIPolicyServiceOpenClaims",
153
- "type": "error"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "internalType": "NftId",
159
- "name": "policyNftId",
160
- "type": "uint96"
161
- }
162
- ],
163
- "name": "ErrorIPolicyServicePolicyAlreadyClosed",
164
- "type": "error"
165
- },
166
- {
167
- "inputs": [
168
- {
169
- "internalType": "NftId",
170
- "name": "policyNftId",
171
- "type": "uint96"
172
- },
173
- {
174
- "internalType": "Timestamp",
175
- "name": "expiredAt",
176
- "type": "uint40"
177
- }
178
- ],
179
- "name": "ErrorIPolicyServicePolicyHasNotExpired",
180
- "type": "error"
181
- },
182
- {
183
- "inputs": [
184
- {
185
- "internalType": "NftId",
186
- "name": "policyNftId",
187
- "type": "uint96"
188
- }
189
- ],
190
- "name": "ErrorIPolicyServicePolicyNotActivated",
191
- "type": "error"
192
- },
193
- {
194
- "inputs": [
195
- {
196
- "internalType": "NftId",
197
- "name": "policyNftId",
198
- "type": "uint96"
199
- },
200
- {
201
- "internalType": "StateId",
202
- "name": "state",
203
- "type": "uint8"
204
- }
205
- ],
206
- "name": "ErrorIPolicyServicePolicyNotActive",
207
- "type": "error"
208
- },
209
- {
210
- "inputs": [
211
- {
212
- "internalType": "NftId",
213
- "name": "policyNftId",
214
- "type": "uint96"
215
- },
216
- {
217
- "internalType": "uint256",
218
- "name": "premiumPaidAmount",
219
- "type": "uint256"
220
- }
221
- ],
222
- "name": "ErrorIPolicyServicePremiumAlreadyPaid",
223
- "type": "error"
224
- },
225
- {
226
- "inputs": [
227
- {
228
- "internalType": "NftId",
229
- "name": "policyNftId",
230
- "type": "uint96"
231
- },
232
- {
233
- "internalType": "uint256",
234
- "name": "premiumAmount",
235
- "type": "uint256"
236
- },
237
- {
238
- "internalType": "uint256",
239
- "name": "premiumPaidAmount",
240
- "type": "uint256"
241
- }
242
- ],
243
- "name": "ErrorIPolicyServicePremiumNotFullyPaid",
244
- "type": "error"
245
- },
246
- {
247
- "inputs": [
248
- {
249
- "internalType": "NftId",
250
- "name": "nftId",
251
- "type": "uint96"
252
- }
253
- ],
254
- "name": "ErrorNftOwnableAlreadyLinked",
255
- "type": "error"
256
- },
257
- {
258
- "inputs": [
259
- {
260
- "internalType": "address",
261
- "name": "contractAddress",
262
- "type": "address"
263
- }
264
- ],
265
- "name": "ErrorNftOwnableContractNotRegistered",
266
- "type": "error"
267
- },
268
- {
269
- "inputs": [],
270
- "name": "ErrorNftOwnableInitialOwnerZero",
271
- "type": "error"
272
- },
273
- {
274
- "inputs": [
275
- {
276
- "internalType": "address",
277
- "name": "account",
278
- "type": "address"
279
- }
280
- ],
281
- "name": "ErrorNftOwnableNotOwner",
282
- "type": "error"
283
- },
284
- {
285
- "inputs": [
286
- {
287
- "internalType": "address",
288
- "name": "registryAddress",
289
- "type": "address"
290
- }
291
- ],
292
- "name": "ErrorNotRegistry",
293
- "type": "error"
294
- },
295
- {
296
- "inputs": [],
297
- "name": "InvalidInitialization",
298
- "type": "error"
299
- },
300
- {
301
- "inputs": [],
302
- "name": "NotInitializing",
303
- "type": "error"
304
- },
305
- {
306
- "anonymous": false,
307
- "inputs": [
308
- {
309
- "indexed": false,
310
- "internalType": "uint64",
311
- "name": "version",
312
- "type": "uint64"
313
- }
314
- ],
315
- "name": "Initialized",
316
- "type": "event"
317
- },
318
- {
319
- "anonymous": false,
320
- "inputs": [
321
- {
322
- "indexed": false,
323
- "internalType": "address",
324
- "name": "sender",
325
- "type": "address"
326
- }
327
- ],
328
- "name": "LogProductServiceSender",
329
- "type": "event"
330
- },
331
- {
332
- "inputs": [],
333
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
334
- "outputs": [
335
- {
336
- "internalType": "bytes32",
337
- "name": "",
338
- "type": "bytes32"
339
- }
340
- ],
341
- "stateMutability": "view",
342
- "type": "function"
343
- },
344
- {
345
- "inputs": [],
346
- "name": "REGISTERABLE_LOCATION_V1",
347
- "outputs": [
348
- {
349
- "internalType": "bytes32",
350
- "name": "",
351
- "type": "bytes32"
352
- }
353
- ],
354
- "stateMutability": "view",
355
- "type": "function"
356
- },
357
- {
358
- "inputs": [
359
- {
360
- "internalType": "NftId",
361
- "name": "policyNftId",
362
- "type": "uint96"
363
- },
364
- {
365
- "internalType": "Timestamp",
366
- "name": "activateAt",
367
- "type": "uint40"
368
- }
369
- ],
370
- "name": "activate",
371
- "outputs": [],
372
- "stateMutability": "nonpayable",
373
- "type": "function"
374
- },
375
- {
376
- "inputs": [
377
- {
378
- "internalType": "RiskId",
379
- "name": "riskId",
380
- "type": "bytes8"
381
- },
382
- {
383
- "internalType": "uint256",
384
- "name": "sumInsuredAmount",
385
- "type": "uint256"
386
- },
387
- {
388
- "internalType": "uint256",
389
- "name": "lifetime",
390
- "type": "uint256"
391
- },
392
- {
393
- "internalType": "bytes",
394
- "name": "applicationData",
395
- "type": "bytes"
396
- },
397
- {
398
- "internalType": "NftId",
399
- "name": "bundleNftId",
400
- "type": "uint96"
401
- },
402
- {
403
- "internalType": "ReferralId",
404
- "name": "referralId",
405
- "type": "bytes8"
406
- }
407
- ],
408
- "name": "calculatePremium",
409
- "outputs": [
410
- {
411
- "internalType": "uint256",
412
- "name": "premiumAmount",
413
- "type": "uint256"
414
- },
415
- {
416
- "internalType": "uint256",
417
- "name": "productFeeAmount",
418
- "type": "uint256"
419
- },
420
- {
421
- "internalType": "uint256",
422
- "name": "poolFeeAmount",
423
- "type": "uint256"
424
- },
425
- {
426
- "internalType": "uint256",
427
- "name": "bundleFeeAmount",
428
- "type": "uint256"
429
- },
430
- {
431
- "internalType": "uint256",
432
- "name": "distributionFeeAmount",
433
- "type": "uint256"
434
- }
435
- ],
436
- "stateMutability": "view",
437
- "type": "function"
438
- },
439
- {
440
- "inputs": [
441
- {
442
- "internalType": "UFixed",
443
- "name": "collateralizationLevel",
444
- "type": "uint256"
445
- },
446
- {
447
- "internalType": "uint256",
448
- "name": "sumInsuredAmount",
449
- "type": "uint256"
450
- }
451
- ],
452
- "name": "calculateRequiredCollateral",
453
- "outputs": [
454
- {
455
- "internalType": "uint256",
456
- "name": "collateralAmount",
457
- "type": "uint256"
458
- }
459
- ],
460
- "stateMutability": "pure",
461
- "type": "function"
462
- },
463
- {
464
- "inputs": [
465
- {
466
- "internalType": "NftId",
467
- "name": "policyNftId",
468
- "type": "uint96"
469
- }
470
- ],
471
- "name": "close",
472
- "outputs": [],
473
- "stateMutability": "nonpayable",
474
- "type": "function"
475
- },
476
- {
477
- "inputs": [
478
- {
479
- "internalType": "NftId",
480
- "name": "policyNftId",
481
- "type": "uint96"
482
- },
483
- {
484
- "internalType": "Timestamp",
485
- "name": "activateAt",
486
- "type": "uint40"
487
- }
488
- ],
489
- "name": "collectPremium",
490
- "outputs": [],
491
- "stateMutability": "nonpayable",
492
- "type": "function"
493
- },
494
- {
495
- "inputs": [
496
- {
497
- "internalType": "NftId",
498
- "name": "policyNftId",
499
- "type": "uint96"
500
- }
501
- ],
502
- "name": "decline",
503
- "outputs": [],
504
- "stateMutability": "nonpayable",
505
- "type": "function"
506
- },
507
- {
508
- "inputs": [
509
- {
510
- "internalType": "NftId",
511
- "name": "policyNftId",
512
- "type": "uint96"
513
- }
514
- ],
515
- "name": "expire",
516
- "outputs": [],
517
- "stateMutability": "nonpayable",
518
- "type": "function"
519
- },
520
- {
521
- "inputs": [],
522
- "name": "getDomain",
523
- "outputs": [
524
- {
525
- "internalType": "ObjectType",
526
- "name": "",
527
- "type": "uint8"
528
- }
529
- ],
530
- "stateMutability": "pure",
531
- "type": "function"
532
- },
533
- {
534
- "inputs": [],
535
- "name": "getInitialInfo",
536
- "outputs": [
537
- {
538
- "components": [
539
- {
540
- "internalType": "NftId",
541
- "name": "nftId",
542
- "type": "uint96"
543
- },
544
- {
545
- "internalType": "NftId",
546
- "name": "parentNftId",
547
- "type": "uint96"
548
- },
549
- {
550
- "internalType": "ObjectType",
551
- "name": "objectType",
552
- "type": "uint8"
553
- },
554
- {
555
- "internalType": "bool",
556
- "name": "isInterceptor",
557
- "type": "bool"
558
- },
559
- {
560
- "internalType": "address",
561
- "name": "objectAddress",
562
- "type": "address"
563
- },
564
- {
565
- "internalType": "address",
566
- "name": "initialOwner",
567
- "type": "address"
568
- },
569
- {
570
- "internalType": "bytes",
571
- "name": "data",
572
- "type": "bytes"
573
- }
574
- ],
575
- "internalType": "struct IRegistry.ObjectInfo",
576
- "name": "info",
577
- "type": "tuple"
578
- }
579
- ],
580
- "stateMutability": "view",
581
- "type": "function"
582
- },
583
- {
584
- "inputs": [],
585
- "name": "getInstanceService",
586
- "outputs": [
587
- {
588
- "internalType": "contract InstanceService",
589
- "name": "",
590
- "type": "address"
591
- }
592
- ],
593
- "stateMutability": "view",
594
- "type": "function"
595
- },
596
- {
597
- "inputs": [],
598
- "name": "getMajorVersion",
599
- "outputs": [
600
- {
601
- "internalType": "VersionPart",
602
- "name": "majorVersion",
603
- "type": "uint8"
604
- }
605
- ],
606
- "stateMutability": "view",
607
- "type": "function"
608
- },
609
- {
610
- "inputs": [],
611
- "name": "getNftId",
612
- "outputs": [
613
- {
614
- "internalType": "NftId",
615
- "name": "",
616
- "type": "uint96"
617
- }
618
- ],
619
- "stateMutability": "view",
620
- "type": "function"
621
- },
622
- {
623
- "inputs": [],
624
- "name": "getOwner",
625
- "outputs": [
626
- {
627
- "internalType": "address",
628
- "name": "",
629
- "type": "address"
630
- }
631
- ],
632
- "stateMutability": "view",
633
- "type": "function"
634
- },
635
- {
636
- "inputs": [],
637
- "name": "getRegistry",
638
- "outputs": [
639
- {
640
- "internalType": "contract IRegistry",
641
- "name": "",
642
- "type": "address"
643
- }
644
- ],
645
- "stateMutability": "view",
646
- "type": "function"
647
- },
648
- {
649
- "inputs": [],
650
- "name": "getRegistryAddress",
651
- "outputs": [
652
- {
653
- "internalType": "address",
654
- "name": "",
655
- "type": "address"
656
- }
657
- ],
658
- "stateMutability": "view",
659
- "type": "function"
660
- },
661
- {
662
- "inputs": [],
663
- "name": "getRegistryService",
664
- "outputs": [
665
- {
666
- "internalType": "contract IRegistryService",
667
- "name": "",
668
- "type": "address"
669
- }
670
- ],
671
- "stateMutability": "view",
672
- "type": "function"
673
- },
674
- {
675
- "inputs": [],
676
- "name": "getVersion",
677
- "outputs": [
678
- {
679
- "internalType": "Version",
680
- "name": "",
681
- "type": "uint24"
682
- }
683
- ],
684
- "stateMutability": "pure",
685
- "type": "function"
686
- },
687
- {
688
- "inputs": [],
689
- "name": "initializeERC165",
690
- "outputs": [],
691
- "stateMutability": "nonpayable",
692
- "type": "function"
693
- },
694
- {
695
- "inputs": [
696
- {
697
- "internalType": "address",
698
- "name": "initialOwner",
699
- "type": "address"
700
- },
701
- {
702
- "internalType": "address",
703
- "name": "registryAddress",
704
- "type": "address"
705
- }
706
- ],
707
- "name": "initializeNftOwnable",
708
- "outputs": [],
709
- "stateMutability": "nonpayable",
710
- "type": "function"
711
- },
712
- {
713
- "inputs": [
714
- {
715
- "internalType": "address",
716
- "name": "registryAddress",
717
- "type": "address"
718
- },
719
- {
720
- "internalType": "NftId",
721
- "name": "parentNftId",
722
- "type": "uint96"
723
- },
724
- {
725
- "internalType": "ObjectType",
726
- "name": "objectType",
727
- "type": "uint8"
728
- },
729
- {
730
- "internalType": "bool",
731
- "name": "isInterceptor",
732
- "type": "bool"
733
- },
734
- {
735
- "internalType": "address",
736
- "name": "initialOwner",
737
- "type": "address"
738
- },
739
- {
740
- "internalType": "bytes",
741
- "name": "data",
742
- "type": "bytes"
743
- }
744
- ],
745
- "name": "initializeRegisterable",
746
- "outputs": [],
747
- "stateMutability": "nonpayable",
748
- "type": "function"
749
- },
750
- {
751
- "inputs": [
752
- {
753
- "internalType": "address",
754
- "name": "registryAddress",
755
- "type": "address"
756
- }
757
- ],
758
- "name": "initializeRegistryLinked",
759
- "outputs": [],
760
- "stateMutability": "nonpayable",
761
- "type": "function"
762
- },
763
- {
764
- "inputs": [
765
- {
766
- "internalType": "address",
767
- "name": "registry",
768
- "type": "address"
769
- },
770
- {
771
- "internalType": "address",
772
- "name": "initialOwner",
773
- "type": "address"
774
- }
775
- ],
776
- "name": "initializeService",
777
- "outputs": [],
778
- "stateMutability": "nonpayable",
779
- "type": "function"
780
- },
781
- {
782
- "inputs": [
783
- {
784
- "internalType": "address",
785
- "name": "activatedBy",
786
- "type": "address"
787
- },
788
- {
789
- "internalType": "bytes",
790
- "name": "data",
791
- "type": "bytes"
792
- }
793
- ],
794
- "name": "initializeVersionable",
795
- "outputs": [],
796
- "stateMutability": "nonpayable",
797
- "type": "function"
798
- },
799
- {
800
- "inputs": [],
801
- "name": "linkToRegisteredNftId",
802
- "outputs": [],
803
- "stateMutability": "nonpayable",
804
- "type": "function"
805
- },
806
- {
807
- "inputs": [
808
- {
809
- "internalType": "bytes4",
810
- "name": "interfaceId",
811
- "type": "bytes4"
812
- }
813
- ],
814
- "name": "registerInterface",
815
- "outputs": [],
816
- "stateMutability": "nonpayable",
817
- "type": "function"
818
- },
819
- {
820
- "inputs": [
821
- {
822
- "internalType": "bytes4",
823
- "name": "interfaceId",
824
- "type": "bytes4"
825
- }
826
- ],
827
- "name": "supportsInterface",
828
- "outputs": [
829
- {
830
- "internalType": "bool",
831
- "name": "",
832
- "type": "bool"
833
- }
834
- ],
835
- "stateMutability": "view",
836
- "type": "function"
837
- },
838
- {
839
- "inputs": [
840
- {
841
- "internalType": "NftId",
842
- "name": "applicationNftId",
843
- "type": "uint96"
844
- },
845
- {
846
- "internalType": "bool",
847
- "name": "requirePremiumPayment",
848
- "type": "bool"
849
- },
850
- {
851
- "internalType": "Timestamp",
852
- "name": "activateAt",
853
- "type": "uint40"
854
- }
855
- ],
856
- "name": "underwrite",
857
- "outputs": [],
858
- "stateMutability": "nonpayable",
859
- "type": "function"
860
- },
861
- {
862
- "inputs": [
863
- {
864
- "internalType": "bytes",
865
- "name": "data",
866
- "type": "bytes"
867
- }
868
- ],
869
- "name": "upgradeVersionable",
870
- "outputs": [],
871
- "stateMutability": "nonpayable",
872
- "type": "function"
873
- }
874
- ],
875
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614b4780620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063630361f611610104578063b68d1809116100a2578063cde749f411610071578063cde749f414610445578063ea8665721461044d578063f21de1e81461031c578063f7c34ee01461046057600080fd5b8063b68d18091461040d578063bbfbbfba14610422578063caf4e3d414610435578063cc9fc59a1461043d57600080fd5b8063893d20e8116100de578063893d20e8146103a25780639cdaa7f9146103aa5780639ffcede9146103e5578063ada9652e146103f857600080fd5b8063630361f614610354578063644c45e014610367578063675393bf1461038f57600080fd5b806327bb7a331161017c57806349bb9e4b1161014b57806349bb9e4b146102f65780634d5e16a9146103095780635ab1bd531461031c5780635fd1a5f51461034157600080fd5b806327bb7a33146102b7578063329d6e74146102ca57806336fc697e146102dd5780633d3cf023146102e557600080fd5b80630fec111c116101b85780630fec111c14610252578063138461e0146102675780631eff4b221461026f578063214cdb80146102a457600080fd5b806301ffc9a7146101df5780630aaba8e8146102215780630d8e6e2c14610236575b600080fd5b61020c6101ed3660046139e7565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f366004613a26565b610473565b005b61023e610ab1565b60405162ffffff9091168152602001610218565b61025a610b3b565b6040516102189190613a93565b610234610cd7565b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102b23660046139e7565b610ed9565b6102346102c5366004613cbf565b610f06565b6102346102d8366004613d57565b610f92565b6102346110df565b6102346102f3366004613a26565b50565b610234610304366004613d8b565b611125565b610234610317366004613ded565b611224565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61029661034f366004613e26565b611496565b610234610362366004613e48565b61159f565b600080516020614ad2833981519152546040516001600160601b039091168152602001610218565b61023461039d366004613e93565b611c00565b610329611d0d565b6103bd6103b8366004613ec6565b611e44565b604080519586526020860194909452928401919091526060830152608082015260a001610218565b6102346103f3366004613a26565b611f22565b610296600080516020614ad283398151915281565b60d35b60405160ff9091168152602001610218565b610234610430366004613ded565b611f74565b6103296122db565b610329612372565b61041061239c565b61023461045b366004613f4e565b612413565b61023461046e366004613f4e565b6124ab565b600061047f606e612522565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190613f7c565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105619190810190614016565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190614195565b15610613576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa158015610663573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068791906141bd565b905060ff81166064146106c157604051634de91cf360e11b81526001600160601b038616600482015260ff8216602482015260440161060a565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561071e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107429190614195565b1561076b57604051634b80547760e11b81526001600160601b038616600482015260240161060a565b8160c001518260a00151146107b55760a082015160c0830151604051632b14368360e11b81526001600160601b03881660048201526024810192909252604482015260640161060a565b61016082015161ffff16156107f95761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff909116602482015260440161060a565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610842573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086691906141da565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af41580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee9190614195565b801561090257508160800151826101800151105b1561093f576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff909116602482015260440161060a565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ac91906141da565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b158015610a2957600080fd5b505af1158015610a3d573d6000803e3d6000fd5b50505050836001600160a01b0316639a960d528684610a5a60c890565b6040518463ffffffff1660e01b8152600401610a78939291906141f7565b600060405180830381600087803b158015610a9257600080fd5b505af1158015610aa6573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610b12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b36919061435d565b905090565b610b4361392b565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610bd390614382565b80601f0160208091040260200160405190810160405280929190818152602001828054610bff90614382565b8015610c4c5780601f10610c2157610100808354040283529160200191610c4c565b820191906000526020600020905b815481529060010190602001808311610c2f57829003601f168201915b50505050508152505090506040518060e00160405280610c6a600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610cbb611d0d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020614ad283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6a9190614195565b15610d965780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161060a565b30610da96001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190614195565b610e3d5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161060a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb591906143bc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610ee1612799565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610f0e612799565b610f1882876124ab565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f888382614428565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610fb4610ab1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101891906144e7565b600080516020614af28339815191528054600160401b900460ff168061104b575080546001600160401b03808416911610155b156110695760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611093836127d2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110e7612799565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020614af28339815191528054600160401b810460ff1615906001600160401b03166000811580156111585750825b90506000826001600160401b031660011480156111745750303b155b905081158015611182575080155b156111a05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111ca57845460ff60401b1916600160401b1785555b6111d487876127da565b831561121b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000611230606e612522565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611273573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112979190613f7c565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156112ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113129190810190614016565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611372573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113969190614195565b6113e25760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161060a565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561144d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147191906141da565b64ffffffffff166101c08201526001600160a01b038316639a960d5286836064610a5a565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156114eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150f9190614510565b9050600061151d8583612a35565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115949190614510565b925050505b92915050565b60008060006115ac61392b565b6115b6606e612522565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116209190613f7c565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611677573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261169f9190810190614016565b80519091506001600160601b038381169116146116fe5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161060a565b604051639096a1f360e01b81526001600160601b038816600482015261177c906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561174f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177391906141bd565b60ff16600a1490565b6117c85760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161060a565b6000806000806118568888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b815260040161180f91906001600160601b0391909116815260200190565b61024060405180830381865afa15801561182d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118519190614582565b612a51565b93509350935093506000611868602890565b905064ffffffffff8a161561191957606464ffffffffff8b166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af41580156118e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190b91906141da565b64ffffffffff166101c08701525b60008b1561194d576119318a898f8a60a00151612bd2565b90508660a001518760c001818151611949919061468f565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b81526004016119cb9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af11580156119ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a1291908101906146a2565b9350896001600160a01b0316639a960d528e89856040518463ffffffff1660e01b8152600401611a44939291906141f7565b600060405180830381600087803b158015611a5e57600080fd5b505af1158015611a72573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101c060405180830381865afa158015611ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae89190614773565b6080015115611bf1576000611b056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b7c9190810190614844565b608001519050806001600160a01b03166338f563788f8a61010001518860400151886040518563ffffffff1660e01b8152600401611bbd9493929190614916565b600060405180830381600087803b158015611bd757600080fd5b505af1158015611beb573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611c08612799565b806001600160a01b03163b600003611c3e5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161060a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611cb8575060408051601f3d908101601f19168201909252611cb591810190614195565b60015b611ce05760405163fdeac91f60e01b81526001600160a01b038216600482015260240161060a565b80611d095760405163fdeac91f60e01b81526001600160a01b038316600482015260240161060a565b5050565b600080600080516020614ad283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da19190614195565b15611e2e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e289190613f7c565b91505090565b54600160601b90046001600160a01b0316919050565b600080600080600080611e5561318a565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611e8b949392919061495c565b602060405180830381865afa158015611ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecc9190614510565b9050611eda81838b8b6131a9565b92985090965094509250611eee868261468f565b9650611efa848661468f565b611f04908861468f565b9650611f10838861468f565b96505050965096509650965096915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161060a565b600080611f81606e612522565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe99190613f7c565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561203c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120649190810190614016565b90508060a001518160c00151036120a65760c081015160405163038a855760e51b81526001600160601b0388166004820152602481019190915260440161060a565b60008160c001518260a001516120bc9190614997565b905060006120d08587600001518a85612bd2565b9050818360c0018181516120e4919061468f565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561214957600080fd5b505af115801561215d573d6000803e3d6000fd5b50505050846001600160a01b0316639a960d52898561217a60ff90565b6040518463ffffffff1660e01b8152600401612198939291906141f7565b600060405180830381600087803b1580156121b257600080fd5b505af11580156121c6573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612220573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122449190614195565b80156122cc57506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156122a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cc9190614195565b15610f8857610f888888611224565b6000806122f06001546001600160a01b031690565b6001600160a01b031663d39e604360285b61230961239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561234e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115999190613f7c565b6000806123876001546001600160a01b031690565b6001600160a01b031663d39e60436046612301565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156123ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3691906141bd565b61241b612799565b61249b82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561245d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248191906143bc565b603c60008560405180602001604052806000815250610f06565b611d09637b6a51fd60e01b610ed9565b6124b3612799565b6124bc81611c00565b6124c46110df565b6001600160a01b0382166124eb5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020614ad283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61252a61392b565b60008061253f6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612586573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125ae9190810190614844565b92506125c483604001518560ff90811691161490565b6126065760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161060a565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561265c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126849190810190614844565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f19190613f7c565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561273e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127629190614195565b1561279157608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161060a565b505050915091565b600080516020614af283398151915254600160401b900460ff166127d057604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612799565b600080516020614af28339815191528054600160401b810460ff1615906001600160401b031660008115801561280d5750825b90506000826001600160401b031660011480156128295750303b155b905081158015612837575080155b156128555760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561287f57845460ff60401b1916600160401b1785555b6000808780602001905181019061289691906149aa565b90925090506128a5828a612413565b6001546001600160a01b031663d39e6043608c6128c061239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129299190613f7c565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc61295861239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561299d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c19190613f7c565b600380546001600160a01b0319166001600160a01b03929092169190911790556129f163fec67fcb60e01b610ed9565b5050831561121b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611212565b6000612a4a8383670de0b6b3a7640000613842565b9392505050565b600080612a5c613969565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa158015612abb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae391908101906146a2565b80519092506001600160601b03858116911614612b3b5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161060a565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101c060405180830381865afa158015612b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb09190614773565b9050612bc48160a001518860800151611496565b915050945094509450949050565b60008115613182576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3e9190613f7c565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015612c8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb29190614582565b60208101519091506000612cce6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d419190613f7c565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da79190613f7c565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101c060405180830381865afa158015612dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e219190614773565b61014081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290612e6b9084906004016149d9565b602060405180830381865af4158015612e88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eac9190614195565b15612f18576040516317d5759960e31b81526001600160a01b0386169063beabacc890612ee190879086908d906004016149f0565b600060405180830381600087803b158015612efb57600080fd5b505af1158015612f0f573d6000803e3d6000fd5b5050505061317b565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa79190614a14565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130189190613f7c565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c9190614510565b10156130b15786888c604051636d675c4360e01b815260040161060a939291906149f0565b6040516317d5759960e31b81526001600160a01b0389169063beabacc8906130e1908a90859088906004016149f0565b600060405180830381600087803b1580156130fb57600080fd5b505af115801561310f573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150613143908a90899087906004016149f0565b600060405180830381600087803b15801561315d57600080fd5b505af1158015613171573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b600061319461392b565b61319e606e612522565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132149190613f7c565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132789190613f7c565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df91906143bc565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613332573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261335a91908101906146a2565b80519091506001600160601b038381169116146133c45760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161060a565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613412573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343691906143bc565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa15801561347b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349f9190614582565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352c9190614a14565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a9906024016101c060405180830381865afa158015613582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135a69190614773565b60e081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561360f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136339190614a14565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015613679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061369d91906143bc565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160a060405180830381865afa1580156136f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137149190614a38565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561377d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a19190614a14565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af415801561380b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061382f9190614a14565b5080955050505050945094509450949050565b600080806000198587098587029250828110838203039150508060000361387c5783828161387257613872614abb565b0492505050612a4a565b8084116138c35760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161060a565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016139a2604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156139f957600080fd5b81356001600160e01b031981168114612a4a57600080fd5b6001600160601b03811681146102f357600080fd5b600060208284031215613a3857600080fd5b8135612a4a81613a11565b60005b83811015613a5e578181015183820152602001613a46565b50506000910152565b60008151808452613a7f816020860160208601613a43565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613afc60c08401826001600160a01b03169052565b5060c083015160e080840152613182610100840182613a67565b6001600160a01b03811681146102f357600080fd5b60ff811681146102f357600080fd5b80151581146102f357600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715613b8157613b81613b48565b60405290565b60405161018081016001600160401b0381118282101715613b8157613b81613b48565b60405161012081016001600160401b0381118282101715613b8157613b81613b48565b60405161016081016001600160401b0381118282101715613b8157613b81613b48565b60405160e081016001600160401b0381118282101715613b8157613b81613b48565b604051601f8201601f191681016001600160401b0381118282101715613c3a57613c3a613b48565b604052919050565b60006001600160401b03821115613c5b57613c5b613b48565b50601f01601f191660200190565b600082601f830112613c7a57600080fd5b8135613c8d613c8882613c42565b613c12565b818152846020838601011115613ca257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613cd857600080fd5b8635613ce381613b16565b95506020870135613cf381613a11565b94506040870135613d0381613b2b565b93506060870135613d1381613b3a565b92506080870135613d2381613b16565b915060a08701356001600160401b03811115613d3e57600080fd5b613d4a89828a01613c69565b9150509295509295509295565b600060208284031215613d6957600080fd5b81356001600160401b03811115613d7f57600080fd5b61318284828501613c69565b60008060408385031215613d9e57600080fd5b8235613da981613b16565b915060208301356001600160401b03811115613dc457600080fd5b613dd085828601613c69565b9150509250929050565b64ffffffffff811681146102f357600080fd5b60008060408385031215613e0057600080fd5b8235613e0b81613a11565b91506020830135613e1b81613dda565b809150509250929050565b60008060408385031215613e3957600080fd5b50508035926020909101359150565b600080600060608486031215613e5d57600080fd5b8335613e6881613a11565b92506020840135613e7881613b3a565b91506040840135613e8881613dda565b809150509250925092565b600060208284031215613ea557600080fd5b8135612a4a81613b16565b6001600160c01b0319811681146102f357600080fd5b60008060008060008060c08789031215613edf57600080fd5b8635613eea81613eb0565b9550602087013594506040870135935060608701356001600160401b03811115613f1357600080fd5b613f1f89828a01613c69565b9350506080870135613f3081613a11565b915060a0870135613f4081613eb0565b809150509295509295509295565b60008060408385031215613f6157600080fd5b8235613f6c81613b16565b91506020830135613e1b81613b16565b600060208284031215613f8e57600080fd5b8151612a4a81613b16565b8051613fa481613a11565b919050565b8051613fa481613eb0565b600082601f830112613fc557600080fd5b8151613fd3613c8882613c42565b818152846020838601011115613fe857600080fd5b613182826020830160208701613a43565b805161ffff81168114613fa457600080fd5b8051613fa481613dda565b60006020828403121561402857600080fd5b81516001600160401b038082111561403f57600080fd5b90830190610200828603121561405457600080fd5b61405c613b5e565b61406583613f99565b815261407360208401613f99565b602082015261408460408401613fa9565b604082015261409560608401613fa9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156140d657600080fd5b6140e288828701613fb4565b82840152505061012080840151838111156140fc57600080fd5b61410888828701613fb4565b828401525050610140915061411e828401613ff9565b828201526101609150614132828401613ff9565b82820152610180915081830151828201526101a0915061415382840161400b565b828201526101c0915061416782840161400b565b828201526101e0915061417b82840161400b565b91810191909152949350505050565b8051613fa481613b3a565b6000602082840312156141a757600080fd5b8151612a4a81613b3a565b8051613fa481613b2b565b6000602082840312156141cf57600080fd5b8151612a4a81613b2b565b6000602082840312156141ec57600080fd5b8151612a4a81613dda565b6001600160601b0384168152606060208201526142206060820184516001600160601b03169052565b6000602084015161423c60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e087015192506101408381870152828801519350610200925061016083818801526142bf610260880186613a67565b9450828901519250610180605f1988870301818901526142df8685613a67565b9550828a015193506101a092506142fb8389018561ffff169052565b9089015192506101c0906143148883018561ffff169052565b8901516101e0888101919091529189015164ffffffffff9081169488019490945288015183166102208701528701519091166102408501525060ff841660408401529050613182565b60006020828403121561436f57600080fd5b815162ffffff81168114612a4a57600080fd5b600181811c9082168061439657607f821691505b6020821081036143b657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156143ce57600080fd5b8151612a4a81613a11565b601f82111561442357600081815260208120601f850160051c810160208610156144005750805b601f850160051c820191505b8181101561441f5782815560010161440c565b5050505b505050565b81516001600160401b0381111561444157614441613b48565b6144558161444f8454614382565b846143d9565b602080601f83116001811461448a57600084156144725750858301515b600019600386901b1c1916600185901b17855561441f565b600085815260208120601f198616915b828110156144b95788860151825594840194600190910190840161449a565b50858210156144d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156144f957600080fd5b81516001600160401b0381168114612a4a57600080fd5b60006020828403121561452257600080fd5b5051919050565b8051613fa481613b16565b60006040828403121561454657600080fd5b604051604081018181106001600160401b038211171561456857614568613b48565b604052825181526020928301519281019290925250919050565b6000610240828403121561459557600080fd5b61459d613b87565b6145a683614529565b81526145b460208401614529565b60208201526145c560408401613f99565b60408201526145d660608401613f99565b60608201526145e88460808501614534565b60808201526145fa8460c08501614534565b60a082015261010061460e85828601614534565b60c083015261014061462286828701614534565b60e0840152614635866101808701614534565b82840152614647866101c08701614534565b61012084015261465a610200860161418a565b908301525061466c6102208401614529565b6101608201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561159957611599614679565b6000602082840312156146b457600080fd5b81516001600160401b03808211156146cb57600080fd5b9083019061014082860312156146e057600080fd5b6146e8613baa565b6146f183613f99565b81526147008660208501614534565b602082015260608301518281111561471757600080fd5b61472387828601613fb4565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061476182840161400b565b60e082015261417b610120840161400b565b60006101c0828403121561478657600080fd5b61478e613bcd565b61479783613f99565b81526147a560208401614529565b60208201526147b66040840161418a565b60408201526147c76060840161418a565b60608201526147d86080840161418a565b608082015260a083015160a082015260c083015160c08201526147fe8460e08501614534565b60e082015261012061481285828601614534565b610100830152614826856101608601614534565b908201526148376101a08401614529565b6101408201529392505050565b60006020828403121561485657600080fd5b81516001600160401b038082111561486d57600080fd5b9083019060e0828603121561488157600080fd5b614889613bf0565b61489283613f99565b81526148a060208401613f99565b60208201526148b1604084016141b2565b60408201526148c26060840161418a565b60608201526148d360808401614529565b60808201526148e460a08401614529565b60a082015260c0830151828111156148fb57600080fd5b61490787828601613fb4565b60c08301525095945050505050565b6001600160601b03851681526080602082015260006149386080830186613a67565b828103604084015261494a8186613a67565b91505082606083015295945050505050565b8481526001600160401b0360c01b8416602082015282604082015260806060820152600061498d6080830184613a67565b9695505050505050565b8181038181111561159957611599614679565b600080604083850312156149bd57600080fd5b82516149c881613b16565b6020840151909250613e1b81613b16565b815181526020808301519082015260408101611599565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008060408385031215614a2757600080fd5b505080516020909101519092909150565b600060a08284031215614a4a57600080fd5b604051608081018181106001600160401b0382111715614a6c57614a6c613b48565b6040528251614a7a81613a11565b81526020830151614a8a81613b16565b6020820152614a9c8460408501614534565b60408201526080830151614aaf81613b16565b60608201529392505050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220e4816ed424462718bc6f7f4a77e10215db58d3cf2686962aff97adde4cc71fa364736f6c63430008140033",
876
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063630361f611610104578063b68d1809116100a2578063cde749f411610071578063cde749f414610445578063ea8665721461044d578063f21de1e81461031c578063f7c34ee01461046057600080fd5b8063b68d18091461040d578063bbfbbfba14610422578063caf4e3d414610435578063cc9fc59a1461043d57600080fd5b8063893d20e8116100de578063893d20e8146103a25780639cdaa7f9146103aa5780639ffcede9146103e5578063ada9652e146103f857600080fd5b8063630361f614610354578063644c45e014610367578063675393bf1461038f57600080fd5b806327bb7a331161017c57806349bb9e4b1161014b57806349bb9e4b146102f65780634d5e16a9146103095780635ab1bd531461031c5780635fd1a5f51461034157600080fd5b806327bb7a33146102b7578063329d6e74146102ca57806336fc697e146102dd5780633d3cf023146102e557600080fd5b80630fec111c116101b85780630fec111c14610252578063138461e0146102675780631eff4b221461026f578063214cdb80146102a457600080fd5b806301ffc9a7146101df5780630aaba8e8146102215780630d8e6e2c14610236575b600080fd5b61020c6101ed3660046139e7565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f366004613a26565b610473565b005b61023e610ab1565b60405162ffffff9091168152602001610218565b61025a610b3b565b6040516102189190613a93565b610234610cd7565b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102b23660046139e7565b610ed9565b6102346102c5366004613cbf565b610f06565b6102346102d8366004613d57565b610f92565b6102346110df565b6102346102f3366004613a26565b50565b610234610304366004613d8b565b611125565b610234610317366004613ded565b611224565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61029661034f366004613e26565b611496565b610234610362366004613e48565b61159f565b600080516020614ad2833981519152546040516001600160601b039091168152602001610218565b61023461039d366004613e93565b611c00565b610329611d0d565b6103bd6103b8366004613ec6565b611e44565b604080519586526020860194909452928401919091526060830152608082015260a001610218565b6102346103f3366004613a26565b611f22565b610296600080516020614ad283398151915281565b60d35b60405160ff9091168152602001610218565b610234610430366004613ded565b611f74565b6103296122db565b610329612372565b61041061239c565b61023461045b366004613f4e565b612413565b61023461046e366004613f4e565b6124ab565b600061047f606e612522565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190613f7c565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105619190810190614016565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190614195565b15610613576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa158015610663573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068791906141bd565b905060ff81166064146106c157604051634de91cf360e11b81526001600160601b038616600482015260ff8216602482015260440161060a565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561071e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107429190614195565b1561076b57604051634b80547760e11b81526001600160601b038616600482015260240161060a565b8160c001518260a00151146107b55760a082015160c0830151604051632b14368360e11b81526001600160601b03881660048201526024810192909252604482015260640161060a565b61016082015161ffff16156107f95761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff909116602482015260440161060a565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610842573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086691906141da565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af41580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee9190614195565b801561090257508160800151826101800151105b1561093f576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff909116602482015260440161060a565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ac91906141da565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b158015610a2957600080fd5b505af1158015610a3d573d6000803e3d6000fd5b50505050836001600160a01b0316639a960d528684610a5a60c890565b6040518463ffffffff1660e01b8152600401610a78939291906141f7565b600060405180830381600087803b158015610a9257600080fd5b505af1158015610aa6573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610b12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b36919061435d565b905090565b610b4361392b565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610bd390614382565b80601f0160208091040260200160405190810160405280929190818152602001828054610bff90614382565b8015610c4c5780601f10610c2157610100808354040283529160200191610c4c565b820191906000526020600020905b815481529060010190602001808311610c2f57829003601f168201915b50505050508152505090506040518060e00160405280610c6a600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610cbb611d0d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020614ad283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6a9190614195565b15610d965780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161060a565b30610da96001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190614195565b610e3d5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161060a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb591906143bc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610ee1612799565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610f0e612799565b610f1882876124ab565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f888382614428565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610fb4610ab1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101891906144e7565b600080516020614af28339815191528054600160401b900460ff168061104b575080546001600160401b03808416911610155b156110695760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611093836127d2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110e7612799565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020614af28339815191528054600160401b810460ff1615906001600160401b03166000811580156111585750825b90506000826001600160401b031660011480156111745750303b155b905081158015611182575080155b156111a05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111ca57845460ff60401b1916600160401b1785555b6111d487876127da565b831561121b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000611230606e612522565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611273573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112979190613f7c565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156112ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113129190810190614016565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611372573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113969190614195565b6113e25760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161060a565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561144d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147191906141da565b64ffffffffff166101c08201526001600160a01b038316639a960d5286836064610a5a565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156114eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150f9190614510565b9050600061151d8583612a35565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115949190614510565b925050505b92915050565b60008060006115ac61392b565b6115b6606e612522565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116209190613f7c565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611677573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261169f9190810190614016565b80519091506001600160601b038381169116146116fe5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161060a565b604051639096a1f360e01b81526001600160601b038816600482015261177c906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561174f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177391906141bd565b60ff16600a1490565b6117c85760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161060a565b6000806000806118568888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b815260040161180f91906001600160601b0391909116815260200190565b61024060405180830381865afa15801561182d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118519190614582565b612a51565b93509350935093506000611868602890565b905064ffffffffff8a161561191957606464ffffffffff8b166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af41580156118e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190b91906141da565b64ffffffffff166101c08701525b60008b1561194d576119318a898f8a60a00151612bd2565b90508660a001518760c001818151611949919061468f565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b81526004016119cb9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af11580156119ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a1291908101906146a2565b9350896001600160a01b0316639a960d528e89856040518463ffffffff1660e01b8152600401611a44939291906141f7565b600060405180830381600087803b158015611a5e57600080fd5b505af1158015611a72573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101c060405180830381865afa158015611ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae89190614773565b6080015115611bf1576000611b056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b7c9190810190614844565b608001519050806001600160a01b03166338f563788f8a61010001518860400151886040518563ffffffff1660e01b8152600401611bbd9493929190614916565b600060405180830381600087803b158015611bd757600080fd5b505af1158015611beb573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611c08612799565b806001600160a01b03163b600003611c3e5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161060a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611cb8575060408051601f3d908101601f19168201909252611cb591810190614195565b60015b611ce05760405163fdeac91f60e01b81526001600160a01b038216600482015260240161060a565b80611d095760405163fdeac91f60e01b81526001600160a01b038316600482015260240161060a565b5050565b600080600080516020614ad283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da19190614195565b15611e2e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e289190613f7c565b91505090565b54600160601b90046001600160a01b0316919050565b600080600080600080611e5561318a565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611e8b949392919061495c565b602060405180830381865afa158015611ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecc9190614510565b9050611eda81838b8b6131a9565b92985090965094509250611eee868261468f565b9650611efa848661468f565b611f04908861468f565b9650611f10838861468f565b96505050965096509650965096915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161060a565b600080611f81606e612522565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe99190613f7c565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561203c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120649190810190614016565b90508060a001518160c00151036120a65760c081015160405163038a855760e51b81526001600160601b0388166004820152602481019190915260440161060a565b60008160c001518260a001516120bc9190614997565b905060006120d08587600001518a85612bd2565b9050818360c0018181516120e4919061468f565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561214957600080fd5b505af115801561215d573d6000803e3d6000fd5b50505050846001600160a01b0316639a960d52898561217a60ff90565b6040518463ffffffff1660e01b8152600401612198939291906141f7565b600060405180830381600087803b1580156121b257600080fd5b505af11580156121c6573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612220573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122449190614195565b80156122cc57506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156122a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cc9190614195565b15610f8857610f888888611224565b6000806122f06001546001600160a01b031690565b6001600160a01b031663d39e604360285b61230961239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561234e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115999190613f7c565b6000806123876001546001600160a01b031690565b6001600160a01b031663d39e60436046612301565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156123ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3691906141bd565b61241b612799565b61249b82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561245d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248191906143bc565b603c60008560405180602001604052806000815250610f06565b611d09637b6a51fd60e01b610ed9565b6124b3612799565b6124bc81611c00565b6124c46110df565b6001600160a01b0382166124eb5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020614ad283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61252a61392b565b60008061253f6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612586573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125ae9190810190614844565b92506125c483604001518560ff90811691161490565b6126065760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161060a565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561265c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126849190810190614844565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f19190613f7c565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561273e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127629190614195565b1561279157608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161060a565b505050915091565b600080516020614af283398151915254600160401b900460ff166127d057604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612799565b600080516020614af28339815191528054600160401b810460ff1615906001600160401b031660008115801561280d5750825b90506000826001600160401b031660011480156128295750303b155b905081158015612837575080155b156128555760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561287f57845460ff60401b1916600160401b1785555b6000808780602001905181019061289691906149aa565b90925090506128a5828a612413565b6001546001600160a01b031663d39e6043608c6128c061239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129299190613f7c565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc61295861239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561299d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c19190613f7c565b600380546001600160a01b0319166001600160a01b03929092169190911790556129f163fec67fcb60e01b610ed9565b5050831561121b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611212565b6000612a4a8383670de0b6b3a7640000613842565b9392505050565b600080612a5c613969565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa158015612abb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae391908101906146a2565b80519092506001600160601b03858116911614612b3b5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161060a565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101c060405180830381865afa158015612b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb09190614773565b9050612bc48160a001518860800151611496565b915050945094509450949050565b60008115613182576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3e9190613f7c565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015612c8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb29190614582565b60208101519091506000612cce6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d419190613f7c565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da79190613f7c565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101c060405180830381865afa158015612dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e219190614773565b61014081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290612e6b9084906004016149d9565b602060405180830381865af4158015612e88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eac9190614195565b15612f18576040516317d5759960e31b81526001600160a01b0386169063beabacc890612ee190879086908d906004016149f0565b600060405180830381600087803b158015612efb57600080fd5b505af1158015612f0f573d6000803e3d6000fd5b5050505061317b565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa79190614a14565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130189190613f7c565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c9190614510565b10156130b15786888c604051636d675c4360e01b815260040161060a939291906149f0565b6040516317d5759960e31b81526001600160a01b0389169063beabacc8906130e1908a90859088906004016149f0565b600060405180830381600087803b1580156130fb57600080fd5b505af115801561310f573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150613143908a90899087906004016149f0565b600060405180830381600087803b15801561315d57600080fd5b505af1158015613171573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b600061319461392b565b61319e606e612522565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132149190613f7c565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132789190613f7c565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df91906143bc565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613332573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261335a91908101906146a2565b80519091506001600160601b038381169116146133c45760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161060a565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613412573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343691906143bc565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa15801561347b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349f9190614582565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352c9190614a14565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a9906024016101c060405180830381865afa158015613582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135a69190614773565b60e081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561360f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136339190614a14565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015613679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061369d91906143bc565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160a060405180830381865afa1580156136f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137149190614a38565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561377d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a19190614a14565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af415801561380b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061382f9190614a14565b5080955050505050945094509450949050565b600080806000198587098587029250828110838203039150508060000361387c5783828161387257613872614abb565b0492505050612a4a565b8084116138c35760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161060a565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016139a2604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156139f957600080fd5b81356001600160e01b031981168114612a4a57600080fd5b6001600160601b03811681146102f357600080fd5b600060208284031215613a3857600080fd5b8135612a4a81613a11565b60005b83811015613a5e578181015183820152602001613a46565b50506000910152565b60008151808452613a7f816020860160208601613a43565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613afc60c08401826001600160a01b03169052565b5060c083015160e080840152613182610100840182613a67565b6001600160a01b03811681146102f357600080fd5b60ff811681146102f357600080fd5b80151581146102f357600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715613b8157613b81613b48565b60405290565b60405161018081016001600160401b0381118282101715613b8157613b81613b48565b60405161012081016001600160401b0381118282101715613b8157613b81613b48565b60405161016081016001600160401b0381118282101715613b8157613b81613b48565b60405160e081016001600160401b0381118282101715613b8157613b81613b48565b604051601f8201601f191681016001600160401b0381118282101715613c3a57613c3a613b48565b604052919050565b60006001600160401b03821115613c5b57613c5b613b48565b50601f01601f191660200190565b600082601f830112613c7a57600080fd5b8135613c8d613c8882613c42565b613c12565b818152846020838601011115613ca257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613cd857600080fd5b8635613ce381613b16565b95506020870135613cf381613a11565b94506040870135613d0381613b2b565b93506060870135613d1381613b3a565b92506080870135613d2381613b16565b915060a08701356001600160401b03811115613d3e57600080fd5b613d4a89828a01613c69565b9150509295509295509295565b600060208284031215613d6957600080fd5b81356001600160401b03811115613d7f57600080fd5b61318284828501613c69565b60008060408385031215613d9e57600080fd5b8235613da981613b16565b915060208301356001600160401b03811115613dc457600080fd5b613dd085828601613c69565b9150509250929050565b64ffffffffff811681146102f357600080fd5b60008060408385031215613e0057600080fd5b8235613e0b81613a11565b91506020830135613e1b81613dda565b809150509250929050565b60008060408385031215613e3957600080fd5b50508035926020909101359150565b600080600060608486031215613e5d57600080fd5b8335613e6881613a11565b92506020840135613e7881613b3a565b91506040840135613e8881613dda565b809150509250925092565b600060208284031215613ea557600080fd5b8135612a4a81613b16565b6001600160c01b0319811681146102f357600080fd5b60008060008060008060c08789031215613edf57600080fd5b8635613eea81613eb0565b9550602087013594506040870135935060608701356001600160401b03811115613f1357600080fd5b613f1f89828a01613c69565b9350506080870135613f3081613a11565b915060a0870135613f4081613eb0565b809150509295509295509295565b60008060408385031215613f6157600080fd5b8235613f6c81613b16565b91506020830135613e1b81613b16565b600060208284031215613f8e57600080fd5b8151612a4a81613b16565b8051613fa481613a11565b919050565b8051613fa481613eb0565b600082601f830112613fc557600080fd5b8151613fd3613c8882613c42565b818152846020838601011115613fe857600080fd5b613182826020830160208701613a43565b805161ffff81168114613fa457600080fd5b8051613fa481613dda565b60006020828403121561402857600080fd5b81516001600160401b038082111561403f57600080fd5b90830190610200828603121561405457600080fd5b61405c613b5e565b61406583613f99565b815261407360208401613f99565b602082015261408460408401613fa9565b604082015261409560608401613fa9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156140d657600080fd5b6140e288828701613fb4565b82840152505061012080840151838111156140fc57600080fd5b61410888828701613fb4565b828401525050610140915061411e828401613ff9565b828201526101609150614132828401613ff9565b82820152610180915081830151828201526101a0915061415382840161400b565b828201526101c0915061416782840161400b565b828201526101e0915061417b82840161400b565b91810191909152949350505050565b8051613fa481613b3a565b6000602082840312156141a757600080fd5b8151612a4a81613b3a565b8051613fa481613b2b565b6000602082840312156141cf57600080fd5b8151612a4a81613b2b565b6000602082840312156141ec57600080fd5b8151612a4a81613dda565b6001600160601b0384168152606060208201526142206060820184516001600160601b03169052565b6000602084015161423c60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e087015192506101408381870152828801519350610200925061016083818801526142bf610260880186613a67565b9450828901519250610180605f1988870301818901526142df8685613a67565b9550828a015193506101a092506142fb8389018561ffff169052565b9089015192506101c0906143148883018561ffff169052565b8901516101e0888101919091529189015164ffffffffff9081169488019490945288015183166102208701528701519091166102408501525060ff841660408401529050613182565b60006020828403121561436f57600080fd5b815162ffffff81168114612a4a57600080fd5b600181811c9082168061439657607f821691505b6020821081036143b657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156143ce57600080fd5b8151612a4a81613a11565b601f82111561442357600081815260208120601f850160051c810160208610156144005750805b601f850160051c820191505b8181101561441f5782815560010161440c565b5050505b505050565b81516001600160401b0381111561444157614441613b48565b6144558161444f8454614382565b846143d9565b602080601f83116001811461448a57600084156144725750858301515b600019600386901b1c1916600185901b17855561441f565b600085815260208120601f198616915b828110156144b95788860151825594840194600190910190840161449a565b50858210156144d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156144f957600080fd5b81516001600160401b0381168114612a4a57600080fd5b60006020828403121561452257600080fd5b5051919050565b8051613fa481613b16565b60006040828403121561454657600080fd5b604051604081018181106001600160401b038211171561456857614568613b48565b604052825181526020928301519281019290925250919050565b6000610240828403121561459557600080fd5b61459d613b87565b6145a683614529565b81526145b460208401614529565b60208201526145c560408401613f99565b60408201526145d660608401613f99565b60608201526145e88460808501614534565b60808201526145fa8460c08501614534565b60a082015261010061460e85828601614534565b60c083015261014061462286828701614534565b60e0840152614635866101808701614534565b82840152614647866101c08701614534565b61012084015261465a610200860161418a565b908301525061466c6102208401614529565b6101608201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561159957611599614679565b6000602082840312156146b457600080fd5b81516001600160401b03808211156146cb57600080fd5b9083019061014082860312156146e057600080fd5b6146e8613baa565b6146f183613f99565b81526147008660208501614534565b602082015260608301518281111561471757600080fd5b61472387828601613fb4565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061476182840161400b565b60e082015261417b610120840161400b565b60006101c0828403121561478657600080fd5b61478e613bcd565b61479783613f99565b81526147a560208401614529565b60208201526147b66040840161418a565b60408201526147c76060840161418a565b60608201526147d86080840161418a565b608082015260a083015160a082015260c083015160c08201526147fe8460e08501614534565b60e082015261012061481285828601614534565b610100830152614826856101608601614534565b908201526148376101a08401614529565b6101408201529392505050565b60006020828403121561485657600080fd5b81516001600160401b038082111561486d57600080fd5b9083019060e0828603121561488157600080fd5b614889613bf0565b61489283613f99565b81526148a060208401613f99565b60208201526148b1604084016141b2565b60408201526148c26060840161418a565b60608201526148d360808401614529565b60808201526148e460a08401614529565b60a082015260c0830151828111156148fb57600080fd5b61490787828601613fb4565b60c08301525095945050505050565b6001600160601b03851681526080602082015260006149386080830186613a67565b828103604084015261494a8186613a67565b91505082606083015295945050505050565b8481526001600160401b0360c01b8416602082015282604082015260806060820152600061498d6080830184613a67565b9695505050505050565b8181038181111561159957611599614679565b600080604083850312156149bd57600080fd5b82516149c881613b16565b6020840151909250613e1b81613b16565b815181526020808301519082015260408101611599565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008060408385031215614a2757600080fd5b505080516020909101519092909150565b600060a08284031215614a4a57600080fd5b604051608081018181106001600160401b0382111715614a6c57614a6c613b48565b6040528251614a7a81613a11565b81526020830151614a8a81613b16565b6020820152614a9c8460408501614534565b60408201526080830151614aaf81613b16565b60608201529392505050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220e4816ed424462718bc6f7f4a77e10215db58d3cf2686962aff97adde4cc71fa364736f6c63430008140033",
877
- "linkReferences": {
878
- "contracts/types/Fee.sol": {
879
- "FeeLib": [
880
- {
881
- "length": 20,
882
- "start": 12073
883
- },
884
- {
885
- "length": 20,
886
- "start": 12336
887
- },
888
- {
889
- "length": 20,
890
- "start": 13749
891
- },
892
- {
893
- "length": 20,
894
- "start": 14012
895
- },
896
- {
897
- "length": 20,
898
- "start": 14378
899
- },
900
- {
901
- "length": 20,
902
- "start": 14518
903
- }
904
- ]
905
- },
906
- "contracts/types/NftId.sol": {
907
- "NftIdLib": [
908
- {
909
- "length": 20,
910
- "start": 3570
911
- },
912
- {
913
- "length": 20,
914
- "start": 7721
915
- }
916
- ]
917
- },
918
- "contracts/types/Timestamp.sol": {
919
- "TimestampLib": [
920
- {
921
- "length": 20,
922
- "start": 1645
923
- },
924
- {
925
- "length": 20,
926
- "start": 1994
927
- },
928
- {
929
- "length": 20,
930
- "start": 2273
931
- },
932
- {
933
- "length": 20,
934
- "start": 2422
935
- },
936
- {
937
- "length": 20,
938
- "start": 2599
939
- },
940
- {
941
- "length": 20,
942
- "start": 5150
943
- },
944
- {
945
- "length": 20,
946
- "start": 5369
947
- },
948
- {
949
- "length": 20,
950
- "start": 6547
951
- },
952
- {
953
- "length": 20,
954
- "start": 8906
955
- },
956
- {
957
- "length": 20,
958
- "start": 9044
959
- }
960
- ]
961
- },
962
- "contracts/types/UFixed.sol": {
963
- "UFixedLib": [
964
- {
965
- "length": 20,
966
- "start": 5527
967
- },
968
- {
969
- "length": 20,
970
- "start": 5660
971
- }
972
- ]
973
- },
974
- "contracts/types/Version.sol": {
975
- "VersionLib": [
976
- {
977
- "length": 20,
978
- "start": 3006
979
- },
980
- {
981
- "length": 20,
982
- "start": 4218
983
- }
984
- ],
985
- "VersionPartLib": [
986
- {
987
- "length": 20,
988
- "start": 9371
989
- }
990
- ]
991
- }
992
- },
993
- "deployedLinkReferences": {
994
- "contracts/types/Fee.sol": {
995
- "FeeLib": [
996
- {
997
- "length": 20,
998
- "start": 11843
999
- },
1000
- {
1001
- "length": 20,
1002
- "start": 12106
1003
- },
1004
- {
1005
- "length": 20,
1006
- "start": 13519
1007
- },
1008
- {
1009
- "length": 20,
1010
- "start": 13782
1011
- },
1012
- {
1013
- "length": 20,
1014
- "start": 14148
1015
- },
1016
- {
1017
- "length": 20,
1018
- "start": 14288
1019
- }
1020
- ]
1021
- },
1022
- "contracts/types/NftId.sol": {
1023
- "NftIdLib": [
1024
- {
1025
- "length": 20,
1026
- "start": 3340
1027
- },
1028
- {
1029
- "length": 20,
1030
- "start": 7491
1031
- }
1032
- ]
1033
- },
1034
- "contracts/types/Timestamp.sol": {
1035
- "TimestampLib": [
1036
- {
1037
- "length": 20,
1038
- "start": 1415
1039
- },
1040
- {
1041
- "length": 20,
1042
- "start": 1764
1043
- },
1044
- {
1045
- "length": 20,
1046
- "start": 2043
1047
- },
1048
- {
1049
- "length": 20,
1050
- "start": 2192
1051
- },
1052
- {
1053
- "length": 20,
1054
- "start": 2369
1055
- },
1056
- {
1057
- "length": 20,
1058
- "start": 4920
1059
- },
1060
- {
1061
- "length": 20,
1062
- "start": 5139
1063
- },
1064
- {
1065
- "length": 20,
1066
- "start": 6317
1067
- },
1068
- {
1069
- "length": 20,
1070
- "start": 8676
1071
- },
1072
- {
1073
- "length": 20,
1074
- "start": 8814
1075
- }
1076
- ]
1077
- },
1078
- "contracts/types/UFixed.sol": {
1079
- "UFixedLib": [
1080
- {
1081
- "length": 20,
1082
- "start": 5297
1083
- },
1084
- {
1085
- "length": 20,
1086
- "start": 5430
1087
- }
1088
- ]
1089
- },
1090
- "contracts/types/Version.sol": {
1091
- "VersionLib": [
1092
- {
1093
- "length": 20,
1094
- "start": 2776
1095
- },
1096
- {
1097
- "length": 20,
1098
- "start": 3988
1099
- }
1100
- ],
1101
- "VersionPartLib": [
1102
- {
1103
- "length": 20,
1104
- "start": 9141
1105
- }
1106
- ]
1107
- }
1108
- }
1109
- }