@etherisc/gif-next 0.0.2-f831797-539 → 0.0.2-f981ede-436

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