@etherisc/gif-next 0.0.2-e20063b-144 → 0.0.2-e25d641-064

Sign up to get free protection for your applications and to get access to all the features.
Files changed (724) hide show
  1. package/README.md +133 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +304 -324
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +293 -275
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +534 -340
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1472 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2551 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +569 -2034
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +517 -74
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +611 -2581
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1941 -698
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +529 -347
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +201 -170
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  116. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +313 -237
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  118. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +272 -241
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  124. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +339 -473
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  138. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +384 -423
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  150. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +475 -483
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1552 -0
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +894 -0
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  158. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +334 -374
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  160. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IClaimService.sol/IClaimService.json} +352 -185
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  164. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +202 -177
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → product/IRiskService.sol/IRiskService.json} +261 -203
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  180. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +496 -31
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +315 -109
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  195. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/Registry.sol/Registry.json +984 -128
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +390 -250
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +212 -109
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
  215. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  216. package/artifacts/contracts/shared/Component.sol/Component.json +705 -0
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  230. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +156 -131
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  232. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +573 -743
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  236. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  238. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  247. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.json +98 -5
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +47 -70
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +145 -100
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  267. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Service.sol/Service.json +95 -109
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  337. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  340. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -7
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  343. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  348. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  354. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  355. package/contracts/accounting/AccountingService.sol +274 -0
  356. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  357. package/contracts/accounting/IAccountingService.sol +47 -0
  358. package/contracts/authorization/AccessAdmin.sol +780 -0
  359. package/contracts/authorization/AccessAdminLib.sol +396 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  361. package/contracts/authorization/Authorization.sol +169 -0
  362. package/contracts/authorization/IAccess.sol +67 -0
  363. package/contracts/authorization/IAccessAdmin.sol +144 -0
  364. package/contracts/authorization/IAuthorization.sol +27 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  367. package/contracts/distribution/BasicDistribution.sol +141 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  369. package/contracts/distribution/Distribution.sol +247 -0
  370. package/contracts/distribution/DistributionService.sol +448 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +45 -0
  373. package/contracts/distribution/IDistributionService.sol +115 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +86 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +433 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +422 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +117 -74
  389. package/contracts/instance/IInstanceService.sol +83 -35
  390. package/contracts/instance/Instance.sol +245 -209
  391. package/contracts/instance/InstanceAdmin.sol +383 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  393. package/contracts/instance/InstanceReader.sol +520 -205
  394. package/contracts/instance/InstanceService.sol +386 -365
  395. package/contracts/instance/InstanceServiceManager.sol +14 -29
  396. package/contracts/instance/InstanceStore.sol +298 -0
  397. package/contracts/instance/RiskSet.sol +126 -0
  398. package/contracts/instance/base/BalanceStore.sol +121 -0
  399. package/contracts/instance/base/Cloneable.sol +28 -0
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +108 -0
  402. package/contracts/instance/base/ObjectSet.sol +77 -0
  403. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  404. package/contracts/instance/module/IBundle.sol +9 -11
  405. package/contracts/instance/module/IComponents.sol +44 -23
  406. package/contracts/instance/module/IDistribution.sol +25 -12
  407. package/contracts/instance/module/IPolicy.sol +67 -39
  408. package/contracts/instance/module/IRisk.sol +6 -1
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +45 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  412. package/contracts/oracle/IOracle.sol +41 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +154 -0
  416. package/contracts/oracle/OracleService.sol +310 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +162 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  420. package/contracts/pool/BundleService.sol +386 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/pool/IBundleService.sol +116 -0
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +170 -0
  425. package/contracts/pool/Pool.sol +333 -0
  426. package/contracts/pool/PoolLib.sol +341 -0
  427. package/contracts/pool/PoolService.sol +614 -0
  428. package/contracts/pool/PoolServiceManager.sol +39 -0
  429. package/contracts/product/ApplicationService.sol +327 -0
  430. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  431. package/contracts/product/BasicProduct.sol +49 -0
  432. package/contracts/product/BasicProductAuthorization.sol +63 -0
  433. package/contracts/product/ClaimService.sol +641 -0
  434. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  435. package/contracts/{instance/service → product}/IApplicationService.sol +41 -31
  436. package/contracts/product/IClaimService.sol +135 -0
  437. package/contracts/product/IPolicyService.sol +102 -0
  438. package/contracts/product/IPricingService.sol +40 -0
  439. package/contracts/product/IProductComponent.sol +62 -0
  440. package/contracts/product/IRiskService.sol +48 -0
  441. package/contracts/product/PolicyService.sol +645 -0
  442. package/contracts/product/PolicyServiceLib.sol +139 -0
  443. package/contracts/product/PolicyServiceManager.sol +39 -0
  444. package/contracts/product/PricingService.sol +306 -0
  445. package/contracts/product/PricingServiceManager.sol +39 -0
  446. package/contracts/product/Product.sol +493 -0
  447. package/contracts/product/RiskService.sol +190 -0
  448. package/contracts/product/RiskServiceManager.sol +39 -0
  449. package/contracts/registry/ChainNft.sol +79 -40
  450. package/contracts/registry/IRegistry.sol +104 -30
  451. package/contracts/registry/IRegistryService.sol +34 -40
  452. package/contracts/registry/IRelease.sol +29 -0
  453. package/contracts/registry/ITransferInterceptor.sol +1 -2
  454. package/contracts/registry/Registry.sol +466 -197
  455. package/contracts/registry/RegistryAdmin.sol +188 -0
  456. package/contracts/registry/RegistryAuthorization.sol +284 -0
  457. package/contracts/registry/RegistryService.sol +90 -131
  458. package/contracts/registry/RegistryServiceManager.sol +23 -32
  459. package/contracts/registry/ReleaseAdmin.sol +195 -0
  460. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  461. package/contracts/registry/ReleaseRegistry.sol +520 -0
  462. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  463. package/contracts/registry/TokenRegistry.sol +263 -65
  464. package/contracts/shared/Component.sol +210 -0
  465. package/contracts/shared/ComponentService.sol +679 -0
  466. package/contracts/shared/ComponentServiceManager.sol +38 -0
  467. package/contracts/shared/ContractLib.sol +311 -0
  468. package/contracts/shared/IComponent.sol +58 -0
  469. package/contracts/shared/IComponentService.sol +111 -0
  470. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  471. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  472. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  473. package/contracts/shared/INftOwnable.sol +6 -2
  474. package/contracts/shared/IPolicyHolder.sol +23 -14
  475. package/contracts/shared/IRegisterable.sol +22 -1
  476. package/contracts/shared/IRegistryLinked.sol +0 -1
  477. package/contracts/shared/IService.sol +12 -5
  478. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  479. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  480. package/contracts/shared/KeyValueStore.sol +131 -0
  481. package/contracts/shared/Lifecycle.sol +88 -0
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +36 -27
  484. package/contracts/shared/PolicyHolder.sol +23 -41
  485. package/contracts/shared/Registerable.sol +52 -20
  486. package/contracts/shared/RegistryLinked.sol +9 -19
  487. package/contracts/shared/Service.sol +36 -41
  488. package/contracts/shared/TokenHandler.sol +322 -13
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +195 -0
  491. package/contracts/staking/IStakingService.sol +170 -0
  492. package/contracts/staking/Staking.sol +605 -0
  493. package/contracts/staking/StakingLib.sol +281 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +52 -0
  496. package/contracts/staking/StakingReader.sol +199 -0
  497. package/contracts/staking/StakingService.sol +468 -0
  498. package/contracts/staking/StakingServiceManager.sol +45 -0
  499. package/contracts/staking/StakingStore.sol +606 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/{types → type}/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +150 -0
  503. package/contracts/{types → type}/Blocknumber.sol +26 -3
  504. package/contracts/{types → type}/ClaimId.sol +6 -1
  505. package/contracts/{types → type}/Fee.sol +28 -26
  506. package/contracts/{types → type}/Key32.sol +2 -2
  507. package/contracts/type/Key32Set.sol +62 -0
  508. package/contracts/{types → type}/NftId.sol +21 -16
  509. package/contracts/{types → type}/NftIdSet.sol +2 -2
  510. package/contracts/type/ObjectType.sol +307 -0
  511. package/contracts/{types → type}/PayoutId.sol +10 -10
  512. package/contracts/{types → type}/Referral.sol +2 -1
  513. package/contracts/type/RequestId.sol +75 -0
  514. package/contracts/type/RiskId.sol +75 -0
  515. package/contracts/type/RoleId.sol +180 -0
  516. package/contracts/type/Seconds.sol +105 -0
  517. package/contracts/type/Selector.sol +107 -0
  518. package/contracts/{types → type}/StateId.sol +41 -2
  519. package/contracts/type/String.sol +65 -0
  520. package/contracts/{types → type}/Timestamp.sol +16 -7
  521. package/contracts/type/UFixed.sol +262 -0
  522. package/contracts/{types → type}/Version.sol +58 -7
  523. package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
  524. package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
  525. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  526. package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
  527. package/package.json +12 -8
  528. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  530. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  532. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  535. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  536. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  537. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  538. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  539. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  540. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  541. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  543. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  544. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  545. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  546. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  547. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  548. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  550. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  552. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  553. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  554. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  555. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  556. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  557. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  558. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1060
  559. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  560. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -681
  561. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1266
  563. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -725
  565. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1040
  567. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -685
  569. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1774
  571. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -793
  573. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  575. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -602
  577. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  579. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
  582. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1511
  584. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -741
  586. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  587. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  588. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  590. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  591. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  592. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  593. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  594. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  595. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  596. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  597. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  598. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  599. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  600. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  601. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  602. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  603. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  604. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  605. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  606. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  607. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  608. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  609. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  610. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  611. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  612. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  613. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  614. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  615. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  616. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  617. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  618. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  620. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  622. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  623. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  624. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  625. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  626. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -185
  628. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  630. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  632. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -179
  634. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  635. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  636. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  638. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  639. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  640. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  642. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  643. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  644. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  646. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  648. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  649. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -209
  650. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  652. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  653. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  654. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  656. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  658. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  660. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  663. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  665. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  667. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  669. package/contracts/components/Component.sol +0 -253
  670. package/contracts/components/Distribution.sol +0 -284
  671. package/contracts/components/IComponent.sol +0 -76
  672. package/contracts/components/IDistributionComponent.sol +0 -71
  673. package/contracts/components/IPoolComponent.sol +0 -113
  674. package/contracts/components/IProductComponent.sol +0 -40
  675. package/contracts/components/Pool.sol +0 -302
  676. package/contracts/components/Product.sol +0 -371
  677. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  678. package/contracts/instance/BundleManager.sol +0 -126
  679. package/contracts/instance/Cloneable.sol +0 -51
  680. package/contracts/instance/InstanceAccessManager.sol +0 -527
  681. package/contracts/instance/ObjectManager.sol +0 -82
  682. package/contracts/instance/base/ComponentService.sol +0 -121
  683. package/contracts/instance/base/KeyValueStore.sol +0 -180
  684. package/contracts/instance/base/Lifecycle.sol +0 -117
  685. package/contracts/instance/module/IAccess.sol +0 -54
  686. package/contracts/instance/module/ISetup.sol +0 -33
  687. package/contracts/instance/module/ITreasury.sol +0 -23
  688. package/contracts/instance/service/ApplicationService.sol +0 -355
  689. package/contracts/instance/service/BundleService.sol +0 -436
  690. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  691. package/contracts/instance/service/ClaimService.sol +0 -239
  692. package/contracts/instance/service/DistributionService.sol +0 -431
  693. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  694. package/contracts/instance/service/IBundleService.sol +0 -96
  695. package/contracts/instance/service/IClaimService.sol +0 -92
  696. package/contracts/instance/service/IDistributionService.sol +0 -99
  697. package/contracts/instance/service/IPolicyService.sol +0 -137
  698. package/contracts/instance/service/IPoolService.sol +0 -99
  699. package/contracts/instance/service/IProductService.sol +0 -40
  700. package/contracts/instance/service/PolicyService.sol +0 -541
  701. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  702. package/contracts/instance/service/PoolService.sol +0 -303
  703. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  704. package/contracts/instance/service/ProductService.sol +0 -210
  705. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  706. package/contracts/registry/RegistryAccessManager.sol +0 -216
  707. package/contracts/registry/ReleaseManager.sol +0 -324
  708. package/contracts/shared/ContractDeployerLib.sol +0 -72
  709. package/contracts/test/TestFee.sol +0 -25
  710. package/contracts/test/TestRegisterable.sol +0 -18
  711. package/contracts/test/TestRoleId.sol +0 -14
  712. package/contracts/test/TestService.sol +0 -25
  713. package/contracts/test/TestToken.sol +0 -26
  714. package/contracts/test/TestVersion.sol +0 -44
  715. package/contracts/test/TestVersionable.sol +0 -17
  716. package/contracts/types/Amount.sol +0 -65
  717. package/contracts/types/ChainId.sol +0 -38
  718. package/contracts/types/NumberId.sol +0 -52
  719. package/contracts/types/ObjectType.sol +0 -157
  720. package/contracts/types/RiskId.sol +0 -43
  721. package/contracts/types/RoleId.sol +0 -97
  722. package/contracts/types/Seconds.sol +0 -54
  723. package/contracts/types/UFixed.sol +0 -326
  724. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -45,11 +45,22 @@
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "instanceBundleManager",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "instanceBundleSet",
49
60
  "type": "address"
50
61
  }
51
62
  ],
52
- "name": "ErrorInstanceBundleManagerAlreadySet",
63
+ "name": "ErrorInstanceBundleSetAlreadySet",
53
64
  "type": "error"
54
65
  },
55
66
  {
@@ -60,7 +71,7 @@
60
71
  "type": "address"
61
72
  }
62
73
  ],
63
- "name": "ErrorInstanceBundleManagerAuthorityMismatch",
74
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
64
75
  "type": "error"
65
76
  },
66
77
  {
@@ -71,18 +82,18 @@
71
82
  "type": "address"
72
83
  }
73
84
  ],
74
- "name": "ErrorInstanceBundleManagerInstanceMismatch",
85
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
75
86
  "type": "error"
76
87
  },
77
88
  {
78
89
  "inputs": [
79
90
  {
80
91
  "internalType": "address",
81
- "name": "instanceAccessManager",
92
+ "name": "instanceAdmin",
82
93
  "type": "address"
83
94
  }
84
95
  ],
85
- "name": "ErrorInstanceInstanceAccessManagerAlreadySet",
96
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
86
97
  "type": "error"
87
98
  },
88
99
  {
@@ -93,7 +104,12 @@
93
104
  "type": "address"
94
105
  }
95
106
  ],
96
- "name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
107
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
108
+ "type": "error"
109
+ },
110
+ {
111
+ "inputs": [],
112
+ "name": "ErrorInstanceInstanceAdminZero",
97
113
  "type": "error"
98
114
  },
99
115
  {
@@ -110,60 +126,110 @@
110
126
  {
111
127
  "inputs": [
112
128
  {
113
- "internalType": "ObjectType",
114
- "name": "objectType",
115
- "type": "uint8"
116
- },
129
+ "internalType": "address",
130
+ "name": "instanceStore",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [
117
139
  {
118
- "internalType": "StateId",
119
- "name": "fromStateId",
120
- "type": "uint8"
140
+ "internalType": "address",
141
+ "name": "instanceAuthority",
142
+ "type": "address"
143
+ }
144
+ ],
145
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "RoleId",
152
+ "name": "roleId",
153
+ "type": "uint64"
154
+ }
155
+ ],
156
+ "name": "ErrorInstanceNotCustomRole",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "RoleId",
163
+ "name": "roleId",
164
+ "type": "uint64"
121
165
  },
122
166
  {
123
- "internalType": "StateId",
124
- "name": "toStateId",
125
- "type": "uint8"
167
+ "internalType": "address",
168
+ "name": "account",
169
+ "type": "address"
126
170
  }
127
171
  ],
128
- "name": "ErrorInvalidStateTransition",
172
+ "name": "ErrorInstanceNotRoleAdmin",
129
173
  "type": "error"
130
174
  },
131
175
  {
132
176
  "inputs": [
133
177
  {
134
- "internalType": "NftId",
135
- "name": "nftId",
136
- "type": "uint96"
178
+ "internalType": "address",
179
+ "name": "instanceRiskSet",
180
+ "type": "address"
137
181
  }
138
182
  ],
139
- "name": "ErrorNftOwnableAlreadyLinked",
183
+ "name": "ErrorInstanceRiskSetAlreadySet",
140
184
  "type": "error"
141
185
  },
142
186
  {
143
187
  "inputs": [
144
188
  {
145
189
  "internalType": "address",
146
- "name": "contractAddress",
190
+ "name": "instanceAuthority",
147
191
  "type": "address"
148
192
  }
149
193
  ],
150
- "name": "ErrorNftOwnableContractNotRegistered",
194
+ "name": "ErrorInstanceRiskSetAuthorityMismatch",
151
195
  "type": "error"
152
196
  },
153
197
  {
154
- "inputs": [],
155
- "name": "ErrorNftOwnableInitialOwnerZero",
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "instance",
202
+ "type": "address"
203
+ }
204
+ ],
205
+ "name": "ErrorInstanceRiskSetInstanceMismatch",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "NftId",
212
+ "name": "nftId",
213
+ "type": "uint96"
214
+ }
215
+ ],
216
+ "name": "ErrorNftOwnableAlreadyLinked",
156
217
  "type": "error"
157
218
  },
158
219
  {
159
220
  "inputs": [
160
221
  {
161
222
  "internalType": "address",
162
- "name": "account",
223
+ "name": "contractAddress",
163
224
  "type": "address"
164
225
  }
165
226
  ],
166
- "name": "ErrorNftOwnableNotOwner",
227
+ "name": "ErrorNftOwnableContractNotRegistered",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorNftOwnableInitialOwnerZero",
167
233
  "type": "error"
168
234
  },
169
235
  {
@@ -175,11 +241,22 @@
175
241
  },
176
242
  {
177
243
  "internalType": "ObjectType",
178
- "name": "objectType",
244
+ "name": "expectedObjectType",
179
245
  "type": "uint8"
180
246
  }
181
247
  ],
182
- "name": "ErrorNoLifecycle",
248
+ "name": "ErrorNftOwnableInvalidType",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [
253
+ {
254
+ "internalType": "address",
255
+ "name": "account",
256
+ "type": "address"
257
+ }
258
+ ],
259
+ "name": "ErrorNftOwnableNotOwner",
183
260
  "type": "error"
184
261
  },
185
262
  {
@@ -193,6 +270,11 @@
193
270
  "name": "ErrorNotRegistry",
194
271
  "type": "error"
195
272
  },
273
+ {
274
+ "inputs": [],
275
+ "name": "ErrorRegisterableNotActive",
276
+ "type": "error"
277
+ },
196
278
  {
197
279
  "inputs": [],
198
280
  "name": "InvalidInitialization",
@@ -234,36 +316,24 @@
234
316
  "inputs": [
235
317
  {
236
318
  "indexed": false,
237
- "internalType": "ObjectType",
238
- "name": "objectType",
239
- "type": "uint8"
240
- },
241
- {
242
- "indexed": false,
243
- "internalType": "KeyId",
244
- "name": "keyId",
245
- "type": "bytes31"
246
- },
247
- {
248
- "indexed": false,
249
- "internalType": "StateId",
250
- "name": "state",
251
- "type": "uint8"
319
+ "internalType": "RoleId",
320
+ "name": "roleId",
321
+ "type": "uint64"
252
322
  },
253
323
  {
254
324
  "indexed": false,
255
- "internalType": "address",
256
- "name": "createdBy",
257
- "type": "address"
325
+ "internalType": "bool",
326
+ "name": "active",
327
+ "type": "bool"
258
328
  },
259
329
  {
260
330
  "indexed": false,
261
331
  "internalType": "address",
262
- "name": "txOrigin",
332
+ "name": "caller",
263
333
  "type": "address"
264
334
  }
265
335
  ],
266
- "name": "LogInfoCreated",
336
+ "name": "LogInstanceCustomRoleActiveSet",
267
337
  "type": "event"
268
338
  },
269
339
  {
@@ -271,42 +341,30 @@
271
341
  "inputs": [
272
342
  {
273
343
  "indexed": false,
274
- "internalType": "ObjectType",
275
- "name": "objectType",
276
- "type": "uint8"
277
- },
278
- {
279
- "indexed": false,
280
- "internalType": "KeyId",
281
- "name": "keyId",
282
- "type": "bytes31"
283
- },
284
- {
285
- "indexed": false,
286
- "internalType": "StateId",
287
- "name": "state",
288
- "type": "uint8"
344
+ "internalType": "RoleId",
345
+ "name": "roleId",
346
+ "type": "uint64"
289
347
  },
290
348
  {
291
349
  "indexed": false,
292
- "internalType": "address",
293
- "name": "updatedBy",
294
- "type": "address"
350
+ "internalType": "string",
351
+ "name": "roleName",
352
+ "type": "string"
295
353
  },
296
354
  {
297
355
  "indexed": false,
298
- "internalType": "address",
299
- "name": "txOrigin",
300
- "type": "address"
356
+ "internalType": "RoleId",
357
+ "name": "adminRoleId",
358
+ "type": "uint64"
301
359
  },
302
360
  {
303
361
  "indexed": false,
304
- "internalType": "Blocknumber",
305
- "name": "lastUpdatedIn",
362
+ "internalType": "uint32",
363
+ "name": "maxMemberCount",
306
364
  "type": "uint32"
307
365
  }
308
366
  ],
309
- "name": "LogInfoUpdated",
367
+ "name": "LogInstanceCustomRoleCreated",
310
368
  "type": "event"
311
369
  },
312
370
  {
@@ -314,101 +372,138 @@
314
372
  "inputs": [
315
373
  {
316
374
  "indexed": false,
317
- "internalType": "ObjectType",
318
- "name": "objectType",
319
- "type": "uint8"
375
+ "internalType": "RoleId",
376
+ "name": "roleId",
377
+ "type": "uint64"
320
378
  },
321
379
  {
322
380
  "indexed": false,
323
- "internalType": "KeyId",
324
- "name": "keyId",
325
- "type": "bytes31"
381
+ "internalType": "address",
382
+ "name": "account",
383
+ "type": "address"
326
384
  },
327
385
  {
328
386
  "indexed": false,
329
- "internalType": "StateId",
330
- "name": "stateOld",
331
- "type": "uint8"
332
- },
387
+ "internalType": "address",
388
+ "name": "caller",
389
+ "type": "address"
390
+ }
391
+ ],
392
+ "name": "LogInstanceCustomRoleGranted",
393
+ "type": "event"
394
+ },
395
+ {
396
+ "anonymous": false,
397
+ "inputs": [
333
398
  {
334
399
  "indexed": false,
335
- "internalType": "StateId",
336
- "name": "stateNew",
337
- "type": "uint8"
400
+ "internalType": "RoleId",
401
+ "name": "roleId",
402
+ "type": "uint64"
338
403
  },
339
404
  {
340
405
  "indexed": false,
341
406
  "internalType": "address",
342
- "name": "updatedBy",
407
+ "name": "account",
343
408
  "type": "address"
344
409
  },
345
410
  {
346
411
  "indexed": false,
347
412
  "internalType": "address",
348
- "name": "txOrigin",
413
+ "name": "caller",
349
414
  "type": "address"
350
- },
351
- {
352
- "indexed": false,
353
- "internalType": "Blocknumber",
354
- "name": "lastUpdatedIn",
355
- "type": "uint32"
356
415
  }
357
416
  ],
358
- "name": "LogStateUpdated",
417
+ "name": "LogInstanceCustomRoleRevoked",
359
418
  "type": "event"
360
419
  },
361
420
  {
362
- "inputs": [],
363
- "name": "ADMIN_ROLE",
364
- "outputs": [
421
+ "anonymous": false,
422
+ "inputs": [
365
423
  {
366
- "internalType": "uint64",
367
- "name": "",
424
+ "indexed": false,
425
+ "internalType": "address",
426
+ "name": "target",
427
+ "type": "address"
428
+ },
429
+ {
430
+ "indexed": false,
431
+ "internalType": "RoleId",
432
+ "name": "targetRoleId",
368
433
  "type": "uint64"
434
+ },
435
+ {
436
+ "indexed": false,
437
+ "internalType": "string",
438
+ "name": "name",
439
+ "type": "string"
369
440
  }
370
441
  ],
371
- "stateMutability": "view",
372
- "type": "function"
442
+ "name": "LogInstanceCustomTargetCreated",
443
+ "type": "event"
373
444
  },
374
445
  {
375
- "inputs": [],
376
- "name": "CUSTOM_ROLE_ID_MIN",
377
- "outputs": [
446
+ "anonymous": false,
447
+ "inputs": [
378
448
  {
379
- "internalType": "uint64",
380
- "name": "",
449
+ "indexed": false,
450
+ "internalType": "address",
451
+ "name": "target",
452
+ "type": "address"
453
+ },
454
+ {
455
+ "indexed": false,
456
+ "internalType": "bytes4[]",
457
+ "name": "selectors",
458
+ "type": "bytes4[]"
459
+ },
460
+ {
461
+ "indexed": false,
462
+ "internalType": "RoleId",
463
+ "name": "roleId",
381
464
  "type": "uint64"
382
465
  }
383
466
  ],
384
- "stateMutability": "view",
385
- "type": "function"
467
+ "name": "LogInstanceCustomTargetFunctionRoleSet",
468
+ "type": "event"
386
469
  },
387
470
  {
388
- "inputs": [],
389
- "name": "EXECUTION_DELAY",
390
- "outputs": [
471
+ "anonymous": false,
472
+ "inputs": [
391
473
  {
392
- "internalType": "uint32",
393
- "name": "",
394
- "type": "uint32"
474
+ "indexed": false,
475
+ "internalType": "address",
476
+ "name": "target",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "indexed": false,
481
+ "internalType": "bool",
482
+ "name": "locked",
483
+ "type": "bool"
395
484
  }
396
485
  ],
397
- "stateMutability": "view",
398
- "type": "function"
486
+ "name": "LogInstanceTargetLocked",
487
+ "type": "event"
399
488
  },
400
489
  {
401
- "inputs": [],
402
- "name": "GIF_MAJOR_VERSION",
403
- "outputs": [
490
+ "anonymous": false,
491
+ "inputs": [
404
492
  {
405
- "internalType": "uint256",
406
- "name": "",
407
- "type": "uint256"
493
+ "indexed": false,
494
+ "internalType": "NftId",
495
+ "name": "nftId",
496
+ "type": "uint96"
497
+ },
498
+ {
499
+ "indexed": false,
500
+ "internalType": "address",
501
+ "name": "owner",
502
+ "type": "address"
408
503
  }
409
504
  ],
410
- "stateMutability": "view",
411
- "type": "function"
505
+ "name": "LogNftOwnableNftLinkedToAddress",
506
+ "type": "event"
412
507
  },
413
508
  {
414
509
  "inputs": [],
@@ -423,19 +518,6 @@
423
518
  "stateMutability": "view",
424
519
  "type": "function"
425
520
  },
426
- {
427
- "inputs": [],
428
- "name": "PUBLIC_ROLE",
429
- "outputs": [
430
- {
431
- "internalType": "uint64",
432
- "name": "",
433
- "type": "uint64"
434
- }
435
- ],
436
- "stateMutability": "view",
437
- "type": "function"
438
- },
439
521
  {
440
522
  "inputs": [],
441
523
  "name": "REGISTERABLE_LOCATION_V1",
@@ -465,122 +547,39 @@
465
547
  {
466
548
  "inputs": [
467
549
  {
468
- "internalType": "ObjectType",
469
- "name": "objectType",
470
- "type": "uint8"
550
+ "internalType": "address",
551
+ "name": "target",
552
+ "type": "address"
471
553
  },
472
554
  {
473
- "internalType": "StateId",
474
- "name": "fromId",
475
- "type": "uint8"
476
- },
477
- {
478
- "internalType": "StateId",
479
- "name": "toId",
480
- "type": "uint8"
481
- }
482
- ],
483
- "name": "checkTransition",
484
- "outputs": [],
485
- "stateMutability": "view",
486
- "type": "function"
487
- },
488
- {
489
- "inputs": [
490
- {
491
- "internalType": "NftId",
492
- "name": "applicationNftId",
493
- "type": "uint96"
555
+ "internalType": "RoleId",
556
+ "name": "roleId",
557
+ "type": "uint64"
494
558
  },
495
559
  {
496
560
  "components": [
497
561
  {
498
- "internalType": "NftId",
499
- "name": "productNftId",
500
- "type": "uint96"
501
- },
502
- {
503
- "internalType": "NftId",
504
- "name": "bundleNftId",
505
- "type": "uint96"
506
- },
507
- {
508
- "internalType": "ReferralId",
509
- "name": "referralId",
510
- "type": "bytes8"
511
- },
512
- {
513
- "internalType": "RiskId",
514
- "name": "riskId",
515
- "type": "bytes8"
516
- },
517
- {
518
- "internalType": "uint256",
519
- "name": "sumInsuredAmount",
520
- "type": "uint256"
521
- },
522
- {
523
- "internalType": "uint256",
524
- "name": "premiumAmount",
525
- "type": "uint256"
526
- },
527
- {
528
- "internalType": "uint256",
529
- "name": "premiumPaidAmount",
530
- "type": "uint256"
531
- },
532
- {
533
- "internalType": "Seconds",
534
- "name": "lifetime",
535
- "type": "uint40"
536
- },
537
- {
538
- "internalType": "bytes",
539
- "name": "applicationData",
540
- "type": "bytes"
541
- },
542
- {
543
- "internalType": "bytes",
544
- "name": "policyData",
545
- "type": "bytes"
546
- },
547
- {
548
- "internalType": "uint16",
549
- "name": "claimsCount",
550
- "type": "uint16"
551
- },
552
- {
553
- "internalType": "uint16",
554
- "name": "openClaimsCount",
555
- "type": "uint16"
556
- },
557
- {
558
- "internalType": "Amount",
559
- "name": "payoutAmount",
560
- "type": "uint96"
561
- },
562
- {
563
- "internalType": "Timestamp",
564
- "name": "activatedAt",
565
- "type": "uint40"
562
+ "internalType": "Str",
563
+ "name": "name",
564
+ "type": "bytes32"
566
565
  },
567
566
  {
568
- "internalType": "Timestamp",
569
- "name": "expiredAt",
570
- "type": "uint40"
567
+ "internalType": "Selector",
568
+ "name": "selector",
569
+ "type": "bytes4"
571
570
  },
572
571
  {
573
572
  "internalType": "Timestamp",
574
- "name": "closedAt",
573
+ "name": "createdAt",
575
574
  "type": "uint40"
576
575
  }
577
576
  ],
578
- "internalType": "struct IPolicy.PolicyInfo",
579
- "name": "policy",
580
- "type": "tuple"
577
+ "internalType": "struct IAccess.FunctionInfo[]",
578
+ "name": "functions",
579
+ "type": "tuple[]"
581
580
  }
582
581
  ],
583
- "name": "createApplication",
582
+ "name": "authorizeFunctions",
584
583
  "outputs": [],
585
584
  "stateMutability": "nonpayable",
586
585
  "type": "function"
@@ -588,584 +587,256 @@
588
587
  {
589
588
  "inputs": [
590
589
  {
591
- "internalType": "NftId",
592
- "name": "bundleNftId",
593
- "type": "uint96"
590
+ "internalType": "string",
591
+ "name": "roleName",
592
+ "type": "string"
594
593
  },
595
594
  {
596
- "components": [
597
- {
598
- "internalType": "NftId",
599
- "name": "poolNftId",
600
- "type": "uint96"
601
- },
602
- {
603
- "components": [
604
- {
605
- "internalType": "UFixed",
606
- "name": "fractionalFee",
607
- "type": "uint256"
608
- },
609
- {
610
- "internalType": "uint256",
611
- "name": "fixedFee",
612
- "type": "uint256"
613
- }
614
- ],
615
- "internalType": "struct Fee",
616
- "name": "fee",
617
- "type": "tuple"
618
- },
619
- {
620
- "internalType": "bytes",
621
- "name": "filter",
622
- "type": "bytes"
623
- },
624
- {
625
- "internalType": "Amount",
626
- "name": "capitalAmount",
627
- "type": "uint96"
628
- },
629
- {
630
- "internalType": "Amount",
631
- "name": "lockedAmount",
632
- "type": "uint96"
633
- },
634
- {
635
- "internalType": "Amount",
636
- "name": "feeAmount",
637
- "type": "uint96"
638
- },
639
- {
640
- "internalType": "Seconds",
641
- "name": "lifetime",
642
- "type": "uint40"
643
- },
644
- {
645
- "internalType": "Timestamp",
646
- "name": "expiredAt",
647
- "type": "uint40"
648
- },
649
- {
650
- "internalType": "Timestamp",
651
- "name": "closedAt",
652
- "type": "uint40"
653
- }
654
- ],
655
- "internalType": "struct IBundle.BundleInfo",
656
- "name": "bundle",
657
- "type": "tuple"
595
+ "internalType": "RoleId",
596
+ "name": "adminRoleId",
597
+ "type": "uint64"
598
+ },
599
+ {
600
+ "internalType": "uint32",
601
+ "name": "maxMemberCount",
602
+ "type": "uint32"
603
+ }
604
+ ],
605
+ "name": "createRole",
606
+ "outputs": [
607
+ {
608
+ "internalType": "RoleId",
609
+ "name": "roleId",
610
+ "type": "uint64"
658
611
  }
659
612
  ],
660
- "name": "createBundle",
661
- "outputs": [],
662
613
  "stateMutability": "nonpayable",
663
614
  "type": "function"
664
615
  },
665
616
  {
666
617
  "inputs": [
667
618
  {
668
- "internalType": "NftId",
669
- "name": "policyNftId",
670
- "type": "uint96"
619
+ "internalType": "address",
620
+ "name": "target",
621
+ "type": "address"
671
622
  },
672
623
  {
673
- "internalType": "ClaimId",
674
- "name": "claimId",
675
- "type": "uint16"
676
- },
624
+ "internalType": "string",
625
+ "name": "name",
626
+ "type": "string"
627
+ }
628
+ ],
629
+ "name": "createTarget",
630
+ "outputs": [
677
631
  {
678
- "components": [
679
- {
680
- "internalType": "Amount",
681
- "name": "claimAmount",
682
- "type": "uint96"
683
- },
684
- {
685
- "internalType": "Amount",
686
- "name": "paidAmount",
687
- "type": "uint96"
688
- },
689
- {
690
- "internalType": "uint8",
691
- "name": "payoutsCount",
692
- "type": "uint8"
693
- },
694
- {
695
- "internalType": "uint8",
696
- "name": "openPayoutsCount",
697
- "type": "uint8"
698
- },
699
- {
700
- "internalType": "bytes",
701
- "name": "data",
702
- "type": "bytes"
703
- },
704
- {
705
- "internalType": "Timestamp",
706
- "name": "closedAt",
707
- "type": "uint40"
708
- }
709
- ],
710
- "internalType": "struct IPolicy.ClaimInfo",
711
- "name": "claim",
712
- "type": "tuple"
632
+ "internalType": "RoleId",
633
+ "name": "targetRoleId",
634
+ "type": "uint64"
713
635
  }
714
636
  ],
715
- "name": "createClaim",
716
- "outputs": [],
717
637
  "stateMutability": "nonpayable",
718
638
  "type": "function"
719
639
  },
720
640
  {
721
- "inputs": [
641
+ "inputs": [],
642
+ "name": "getBundleSet",
643
+ "outputs": [
722
644
  {
723
- "internalType": "NftId",
724
- "name": "distributionNftId",
725
- "type": "uint96"
726
- },
645
+ "internalType": "contract BundleSet",
646
+ "name": "",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "stateMutability": "view",
651
+ "type": "function"
652
+ },
653
+ {
654
+ "inputs": [],
655
+ "name": "getInitialInfo",
656
+ "outputs": [
727
657
  {
728
658
  "components": [
729
659
  {
730
660
  "internalType": "NftId",
731
- "name": "productNftId",
661
+ "name": "nftId",
732
662
  "type": "uint96"
733
663
  },
734
664
  {
735
- "internalType": "contract TokenHandler",
736
- "name": "tokenHandler",
737
- "type": "address"
665
+ "internalType": "NftId",
666
+ "name": "parentNftId",
667
+ "type": "uint96"
738
668
  },
739
669
  {
740
- "components": [
741
- {
742
- "internalType": "UFixed",
743
- "name": "fractionalFee",
744
- "type": "uint256"
745
- },
746
- {
747
- "internalType": "uint256",
748
- "name": "fixedFee",
749
- "type": "uint256"
750
- }
751
- ],
752
- "internalType": "struct Fee",
753
- "name": "minDistributionOwnerFee",
754
- "type": "tuple"
670
+ "internalType": "ObjectType",
671
+ "name": "objectType",
672
+ "type": "uint8"
755
673
  },
756
674
  {
757
- "components": [
758
- {
759
- "internalType": "UFixed",
760
- "name": "fractionalFee",
761
- "type": "uint256"
762
- },
763
- {
764
- "internalType": "uint256",
765
- "name": "fixedFee",
766
- "type": "uint256"
767
- }
768
- ],
769
- "internalType": "struct Fee",
770
- "name": "distributionFee",
771
- "type": "tuple"
675
+ "internalType": "bool",
676
+ "name": "isInterceptor",
677
+ "type": "bool"
772
678
  },
773
679
  {
774
680
  "internalType": "address",
775
- "name": "wallet",
681
+ "name": "objectAddress",
776
682
  "type": "address"
777
683
  },
778
684
  {
779
- "internalType": "uint256",
780
- "name": "sumDistributionOwnerFees",
781
- "type": "uint256"
782
- }
783
- ],
784
- "internalType": "struct ISetup.DistributionSetupInfo",
785
- "name": "setup",
786
- "type": "tuple"
787
- }
788
- ],
789
- "name": "createDistributionSetup",
790
- "outputs": [],
791
- "stateMutability": "nonpayable",
792
- "type": "function"
793
- },
794
- {
795
- "inputs": [
796
- {
797
- "internalType": "NftId",
798
- "name": "distributorNftId",
799
- "type": "uint96"
800
- },
801
- {
802
- "components": [
803
- {
804
- "internalType": "DistributorType",
805
- "name": "distributorType",
806
- "type": "bytes8"
807
- },
808
- {
809
- "internalType": "bool",
810
- "name": "active",
811
- "type": "bool"
685
+ "internalType": "address",
686
+ "name": "initialOwner",
687
+ "type": "address"
812
688
  },
813
689
  {
814
690
  "internalType": "bytes",
815
691
  "name": "data",
816
692
  "type": "bytes"
817
- },
818
- {
819
- "internalType": "uint256",
820
- "name": "sumCommisions",
821
- "type": "uint256"
822
- },
823
- {
824
- "internalType": "uint256",
825
- "name": "numPoliciesSold",
826
- "type": "uint256"
827
693
  }
828
694
  ],
829
- "internalType": "struct IDistribution.DistributorInfo",
695
+ "internalType": "struct IRegistry.ObjectInfo",
830
696
  "name": "info",
831
697
  "type": "tuple"
832
698
  }
833
699
  ],
834
- "name": "createDistributor",
835
- "outputs": [],
836
- "stateMutability": "nonpayable",
700
+ "stateMutability": "view",
837
701
  "type": "function"
838
702
  },
839
703
  {
840
- "inputs": [
841
- {
842
- "internalType": "DistributorType",
843
- "name": "distributorType",
844
- "type": "bytes8"
845
- },
704
+ "inputs": [],
705
+ "name": "getInstanceAdmin",
706
+ "outputs": [
846
707
  {
847
- "components": [
848
- {
849
- "internalType": "string",
850
- "name": "name",
851
- "type": "string"
852
- },
853
- {
854
- "internalType": "UFixed",
855
- "name": "minDiscountPercentage",
856
- "type": "uint256"
857
- },
858
- {
859
- "internalType": "UFixed",
860
- "name": "maxDiscountPercentage",
861
- "type": "uint256"
862
- },
863
- {
864
- "internalType": "UFixed",
865
- "name": "commissionPercentage",
866
- "type": "uint256"
867
- },
868
- {
869
- "internalType": "uint32",
870
- "name": "maxReferralCount",
871
- "type": "uint32"
872
- },
873
- {
874
- "internalType": "uint32",
875
- "name": "maxReferralLifetime",
876
- "type": "uint32"
877
- },
878
- {
879
- "internalType": "bool",
880
- "name": "allowSelfReferrals",
881
- "type": "bool"
882
- },
883
- {
884
- "internalType": "bool",
885
- "name": "allowRenewals",
886
- "type": "bool"
887
- },
888
- {
889
- "internalType": "bytes",
890
- "name": "data",
891
- "type": "bytes"
892
- }
893
- ],
894
- "internalType": "struct IDistribution.DistributorTypeInfo",
895
- "name": "info",
896
- "type": "tuple"
708
+ "internalType": "contract InstanceAdmin",
709
+ "name": "",
710
+ "type": "address"
897
711
  }
898
712
  ],
899
- "name": "createDistributorType",
900
- "outputs": [],
901
- "stateMutability": "nonpayable",
713
+ "stateMutability": "view",
902
714
  "type": "function"
903
715
  },
904
716
  {
905
- "inputs": [
906
- {
907
- "internalType": "NftId",
908
- "name": "policyNftId",
909
- "type": "uint96"
910
- },
717
+ "inputs": [],
718
+ "name": "getInstanceReader",
719
+ "outputs": [
911
720
  {
912
- "internalType": "PayoutId",
913
- "name": "payoutId",
914
- "type": "uint24"
915
- },
721
+ "internalType": "contract InstanceReader",
722
+ "name": "",
723
+ "type": "address"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [],
731
+ "name": "getInstanceStore",
732
+ "outputs": [
916
733
  {
917
- "components": [
918
- {
919
- "internalType": "ClaimId",
920
- "name": "claimId",
921
- "type": "uint16"
922
- },
923
- {
924
- "internalType": "Amount",
925
- "name": "amount",
926
- "type": "uint96"
927
- },
928
- {
929
- "internalType": "bytes",
930
- "name": "data",
931
- "type": "bytes"
932
- },
933
- {
934
- "internalType": "Timestamp",
935
- "name": "paidAt",
936
- "type": "uint40"
937
- }
938
- ],
939
- "internalType": "struct IPolicy.PayoutInfo",
940
- "name": "payout",
941
- "type": "tuple"
734
+ "internalType": "contract InstanceStore",
735
+ "name": "",
736
+ "type": "address"
942
737
  }
943
738
  ],
944
- "name": "createPayout",
945
- "outputs": [],
946
- "stateMutability": "nonpayable",
739
+ "stateMutability": "view",
947
740
  "type": "function"
948
741
  },
949
742
  {
950
- "inputs": [
743
+ "inputs": [],
744
+ "name": "getNftId",
745
+ "outputs": [
951
746
  {
952
747
  "internalType": "NftId",
953
- "name": "poolNftId",
748
+ "name": "",
954
749
  "type": "uint96"
955
- },
750
+ }
751
+ ],
752
+ "stateMutability": "view",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "inputs": [],
757
+ "name": "getOwner",
758
+ "outputs": [
956
759
  {
957
- "components": [
958
- {
959
- "internalType": "string",
960
- "name": "name",
961
- "type": "string"
962
- },
963
- {
964
- "internalType": "contract IERC20Metadata",
965
- "name": "token",
966
- "type": "address"
967
- },
968
- {
969
- "internalType": "contract TokenHandler",
970
- "name": "tokenHandler",
971
- "type": "address"
972
- },
973
- {
974
- "internalType": "address",
975
- "name": "wallet",
976
- "type": "address"
977
- },
978
- {
979
- "internalType": "Amount",
980
- "name": "balanceAmount",
981
- "type": "uint96"
982
- },
983
- {
984
- "internalType": "Amount",
985
- "name": "feeAmount",
986
- "type": "uint96"
987
- },
988
- {
989
- "internalType": "bytes",
990
- "name": "data",
991
- "type": "bytes"
992
- }
993
- ],
994
- "internalType": "struct IComponents.ComponentInfo",
995
- "name": "info",
996
- "type": "tuple"
760
+ "internalType": "address",
761
+ "name": "",
762
+ "type": "address"
997
763
  }
998
764
  ],
999
- "name": "createPoolSetup",
1000
- "outputs": [],
1001
- "stateMutability": "nonpayable",
765
+ "stateMutability": "view",
1002
766
  "type": "function"
1003
767
  },
1004
768
  {
1005
769
  "inputs": [
770
+ {
771
+ "internalType": "uint256",
772
+ "name": "idx",
773
+ "type": "uint256"
774
+ }
775
+ ],
776
+ "name": "getProductNftId",
777
+ "outputs": [
1006
778
  {
1007
779
  "internalType": "NftId",
1008
780
  "name": "productNftId",
1009
781
  "type": "uint96"
1010
- },
782
+ }
783
+ ],
784
+ "stateMutability": "view",
785
+ "type": "function"
786
+ },
787
+ {
788
+ "inputs": [],
789
+ "name": "getRegistry",
790
+ "outputs": [
1011
791
  {
1012
- "components": [
1013
- {
1014
- "internalType": "contract IERC20Metadata",
1015
- "name": "token",
1016
- "type": "address"
1017
- },
1018
- {
1019
- "internalType": "contract TokenHandler",
1020
- "name": "tokenHandler",
1021
- "type": "address"
1022
- },
1023
- {
1024
- "internalType": "NftId",
1025
- "name": "distributionNftId",
1026
- "type": "uint96"
1027
- },
1028
- {
1029
- "internalType": "NftId",
1030
- "name": "poolNftId",
1031
- "type": "uint96"
1032
- },
1033
- {
1034
- "components": [
1035
- {
1036
- "internalType": "UFixed",
1037
- "name": "fractionalFee",
1038
- "type": "uint256"
1039
- },
1040
- {
1041
- "internalType": "uint256",
1042
- "name": "fixedFee",
1043
- "type": "uint256"
1044
- }
1045
- ],
1046
- "internalType": "struct Fee",
1047
- "name": "productFee",
1048
- "type": "tuple"
1049
- },
1050
- {
1051
- "components": [
1052
- {
1053
- "internalType": "UFixed",
1054
- "name": "fractionalFee",
1055
- "type": "uint256"
1056
- },
1057
- {
1058
- "internalType": "uint256",
1059
- "name": "fixedFee",
1060
- "type": "uint256"
1061
- }
1062
- ],
1063
- "internalType": "struct Fee",
1064
- "name": "processingFee",
1065
- "type": "tuple"
1066
- },
1067
- {
1068
- "internalType": "bool",
1069
- "name": "isIntercepting",
1070
- "type": "bool"
1071
- },
1072
- {
1073
- "internalType": "address",
1074
- "name": "wallet",
1075
- "type": "address"
1076
- }
1077
- ],
1078
- "internalType": "struct ISetup.ProductSetupInfo",
1079
- "name": "setup",
1080
- "type": "tuple"
792
+ "internalType": "contract IRegistry",
793
+ "name": "",
794
+ "type": "address"
1081
795
  }
1082
796
  ],
1083
- "name": "createProductSetup",
1084
- "outputs": [],
1085
- "stateMutability": "nonpayable",
797
+ "stateMutability": "view",
1086
798
  "type": "function"
1087
799
  },
1088
800
  {
1089
- "inputs": [
801
+ "inputs": [],
802
+ "name": "getRelease",
803
+ "outputs": [
1090
804
  {
1091
- "internalType": "ReferralId",
1092
- "name": "referralId",
1093
- "type": "bytes8"
1094
- },
805
+ "internalType": "VersionPart",
806
+ "name": "release",
807
+ "type": "uint8"
808
+ }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [],
815
+ "name": "getRiskSet",
816
+ "outputs": [
1095
817
  {
1096
- "components": [
1097
- {
1098
- "internalType": "NftId",
1099
- "name": "distributorNftId",
1100
- "type": "uint96"
1101
- },
1102
- {
1103
- "internalType": "string",
1104
- "name": "referralCode",
1105
- "type": "string"
1106
- },
1107
- {
1108
- "internalType": "UFixed",
1109
- "name": "discountPercentage",
1110
- "type": "uint256"
1111
- },
1112
- {
1113
- "internalType": "uint32",
1114
- "name": "maxReferrals",
1115
- "type": "uint32"
1116
- },
1117
- {
1118
- "internalType": "uint32",
1119
- "name": "usedReferrals",
1120
- "type": "uint32"
1121
- },
1122
- {
1123
- "internalType": "Timestamp",
1124
- "name": "expiryAt",
1125
- "type": "uint40"
1126
- },
1127
- {
1128
- "internalType": "bytes",
1129
- "name": "data",
1130
- "type": "bytes"
1131
- }
1132
- ],
1133
- "internalType": "struct IDistribution.ReferralInfo",
1134
- "name": "referralInfo",
1135
- "type": "tuple"
818
+ "internalType": "contract RiskSet",
819
+ "name": "",
820
+ "type": "address"
1136
821
  }
1137
822
  ],
1138
- "name": "createReferral",
1139
- "outputs": [],
1140
- "stateMutability": "nonpayable",
823
+ "stateMutability": "view",
1141
824
  "type": "function"
1142
825
  },
1143
826
  {
1144
827
  "inputs": [
1145
828
  {
1146
- "internalType": "RiskId",
1147
- "name": "riskId",
1148
- "type": "bytes8"
829
+ "internalType": "RoleId",
830
+ "name": "roleId",
831
+ "type": "uint64"
1149
832
  },
1150
833
  {
1151
- "components": [
1152
- {
1153
- "internalType": "NftId",
1154
- "name": "productNftId",
1155
- "type": "uint96"
1156
- },
1157
- {
1158
- "internalType": "bytes",
1159
- "name": "data",
1160
- "type": "bytes"
1161
- }
1162
- ],
1163
- "internalType": "struct IRisk.RiskInfo",
1164
- "name": "risk",
1165
- "type": "tuple"
834
+ "internalType": "address",
835
+ "name": "account",
836
+ "type": "address"
1166
837
  }
1167
838
  ],
1168
- "name": "createRisk",
839
+ "name": "grantRole",
1169
840
  "outputs": [],
1170
841
  "stateMutability": "nonpayable",
1171
842
  "type": "function"
@@ -1173,16 +844,63 @@
1173
844
  {
1174
845
  "inputs": [
1175
846
  {
1176
- "internalType": "Key32",
1177
- "name": "key32",
1178
- "type": "bytes32"
847
+ "internalType": "contract InstanceAdmin",
848
+ "name": "instanceAdmin",
849
+ "type": "address"
850
+ },
851
+ {
852
+ "internalType": "contract InstanceStore",
853
+ "name": "instanceStore",
854
+ "type": "address"
855
+ },
856
+ {
857
+ "internalType": "contract BundleSet",
858
+ "name": "bundleSet",
859
+ "type": "address"
860
+ },
861
+ {
862
+ "internalType": "contract RiskSet",
863
+ "name": "riskSet",
864
+ "type": "address"
865
+ },
866
+ {
867
+ "internalType": "contract InstanceReader",
868
+ "name": "instanceReader",
869
+ "type": "address"
870
+ },
871
+ {
872
+ "internalType": "contract IRegistry",
873
+ "name": "registry",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "internalType": "VersionPart",
878
+ "name": "release",
879
+ "type": "uint8"
880
+ },
881
+ {
882
+ "internalType": "address",
883
+ "name": "initialOwner",
884
+ "type": "address"
885
+ },
886
+ {
887
+ "internalType": "bool",
888
+ "name": "tokenRegistryDisabled",
889
+ "type": "bool"
1179
890
  }
1180
891
  ],
1181
- "name": "exists",
892
+ "name": "initialize",
893
+ "outputs": [],
894
+ "stateMutability": "nonpayable",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [],
899
+ "name": "isActive",
1182
900
  "outputs": [
1183
901
  {
1184
902
  "internalType": "bool",
1185
- "name": "",
903
+ "name": "active",
1186
904
  "type": "bool"
1187
905
  }
1188
906
  ],
@@ -1190,58 +908,13 @@
1190
908
  "type": "function"
1191
909
  },
1192
910
  {
1193
- "inputs": [
1194
- {
1195
- "internalType": "Key32",
1196
- "name": "key32",
1197
- "type": "bytes32"
1198
- }
1199
- ],
1200
- "name": "get",
911
+ "inputs": [],
912
+ "name": "isConsumingScheduledOp",
1201
913
  "outputs": [
1202
914
  {
1203
- "components": [
1204
- {
1205
- "components": [
1206
- {
1207
- "internalType": "ObjectType",
1208
- "name": "objectType",
1209
- "type": "uint8"
1210
- },
1211
- {
1212
- "internalType": "StateId",
1213
- "name": "state",
1214
- "type": "uint8"
1215
- },
1216
- {
1217
- "internalType": "address",
1218
- "name": "updatedBy",
1219
- "type": "address"
1220
- },
1221
- {
1222
- "internalType": "Blocknumber",
1223
- "name": "updatedIn",
1224
- "type": "uint32"
1225
- },
1226
- {
1227
- "internalType": "Blocknumber",
1228
- "name": "createdIn",
1229
- "type": "uint32"
1230
- }
1231
- ],
1232
- "internalType": "struct IKeyValueStore.Metadata",
1233
- "name": "metadata",
1234
- "type": "tuple"
1235
- },
1236
- {
1237
- "internalType": "bytes",
1238
- "name": "data",
1239
- "type": "bytes"
1240
- }
1241
- ],
1242
- "internalType": "struct IKeyValueStore.Value",
1243
- "name": "value",
1244
- "type": "tuple"
915
+ "internalType": "bytes4",
916
+ "name": "",
917
+ "type": "bytes4"
1245
918
  }
1246
919
  ],
1247
920
  "stateMutability": "view",
@@ -1249,12 +922,12 @@
1249
922
  },
1250
923
  {
1251
924
  "inputs": [],
1252
- "name": "getBundleManager",
925
+ "name": "isInstanceLocked",
1253
926
  "outputs": [
1254
927
  {
1255
- "internalType": "contract BundleManager",
928
+ "internalType": "bool",
1256
929
  "name": "",
1257
- "type": "address"
930
+ "type": "bool"
1258
931
  }
1259
932
  ],
1260
933
  "stateMutability": "view",
@@ -1263,17 +936,17 @@
1263
936
  {
1264
937
  "inputs": [
1265
938
  {
1266
- "internalType": "Key32",
1267
- "name": "key32",
1268
- "type": "bytes32"
939
+ "internalType": "address",
940
+ "name": "target",
941
+ "type": "address"
1269
942
  }
1270
943
  ],
1271
- "name": "getData",
944
+ "name": "isTargetLocked",
1272
945
  "outputs": [
1273
946
  {
1274
- "internalType": "bytes",
1275
- "name": "data",
1276
- "type": "bytes"
947
+ "internalType": "bool",
948
+ "name": "",
949
+ "type": "bool"
1277
950
  }
1278
951
  ],
1279
952
  "stateMutability": "view",
@@ -1281,68 +954,12 @@
1281
954
  },
1282
955
  {
1283
956
  "inputs": [],
1284
- "name": "getInitialInfo",
957
+ "name": "isTokenRegistryDisabled",
1285
958
  "outputs": [
1286
959
  {
1287
- "components": [
1288
- {
1289
- "internalType": "NftId",
1290
- "name": "nftId",
1291
- "type": "uint96"
1292
- },
1293
- {
1294
- "internalType": "NftId",
1295
- "name": "parentNftId",
1296
- "type": "uint96"
1297
- },
1298
- {
1299
- "internalType": "ObjectType",
1300
- "name": "objectType",
1301
- "type": "uint8"
1302
- },
1303
- {
1304
- "internalType": "bool",
1305
- "name": "isInterceptor",
1306
- "type": "bool"
1307
- },
1308
- {
1309
- "internalType": "address",
1310
- "name": "objectAddress",
1311
- "type": "address"
1312
- },
1313
- {
1314
- "internalType": "address",
1315
- "name": "initialOwner",
1316
- "type": "address"
1317
- },
1318
- {
1319
- "internalType": "bytes",
1320
- "name": "data",
1321
- "type": "bytes"
1322
- }
1323
- ],
1324
- "internalType": "struct IRegistry.ObjectInfo",
1325
- "name": "info",
1326
- "type": "tuple"
1327
- }
1328
- ],
1329
- "stateMutability": "view",
1330
- "type": "function"
1331
- },
1332
- {
1333
- "inputs": [
1334
- {
1335
- "internalType": "ObjectType",
1336
- "name": "objectType",
1337
- "type": "uint8"
1338
- }
1339
- ],
1340
- "name": "getInitialState",
1341
- "outputs": [
1342
- {
1343
- "internalType": "StateId",
960
+ "internalType": "bool",
1344
961
  "name": "",
1345
- "type": "uint8"
962
+ "type": "bool"
1346
963
  }
1347
964
  ],
1348
965
  "stateMutability": "view",
@@ -1350,212 +967,177 @@
1350
967
  },
1351
968
  {
1352
969
  "inputs": [],
1353
- "name": "getInstanceAccessManager",
970
+ "name": "linkToRegisteredNftId",
1354
971
  "outputs": [
1355
972
  {
1356
- "internalType": "contract InstanceAccessManager",
1357
- "name": "",
1358
- "type": "address"
973
+ "internalType": "NftId",
974
+ "name": "nftId",
975
+ "type": "uint96"
1359
976
  }
1360
977
  ],
1361
- "stateMutability": "view",
978
+ "stateMutability": "nonpayable",
1362
979
  "type": "function"
1363
980
  },
1364
981
  {
1365
982
  "inputs": [],
1366
- "name": "getInstanceReader",
983
+ "name": "products",
1367
984
  "outputs": [
1368
985
  {
1369
- "internalType": "contract InstanceReader",
1370
- "name": "",
1371
- "type": "address"
986
+ "internalType": "uint256",
987
+ "name": "productCount",
988
+ "type": "uint256"
1372
989
  }
1373
990
  ],
1374
991
  "stateMutability": "view",
1375
992
  "type": "function"
1376
993
  },
1377
994
  {
1378
- "inputs": [],
1379
- "name": "getMajorVersion",
1380
- "outputs": [
995
+ "inputs": [
1381
996
  {
1382
- "internalType": "VersionPart",
1383
- "name": "majorVersion",
1384
- "type": "uint8"
997
+ "internalType": "Amount",
998
+ "name": "dipAmount",
999
+ "type": "uint96"
1385
1000
  }
1386
1001
  ],
1387
- "stateMutability": "pure",
1002
+ "name": "refillStakingRewardReserves",
1003
+ "outputs": [],
1004
+ "stateMutability": "nonpayable",
1388
1005
  "type": "function"
1389
1006
  },
1390
1007
  {
1391
1008
  "inputs": [
1392
1009
  {
1393
- "internalType": "Key32",
1394
- "name": "key32",
1395
- "type": "bytes32"
1396
- }
1397
- ],
1398
- "name": "getMetadata",
1399
- "outputs": [
1010
+ "internalType": "address",
1011
+ "name": "product",
1012
+ "type": "address"
1013
+ },
1400
1014
  {
1401
- "components": [
1402
- {
1403
- "internalType": "ObjectType",
1404
- "name": "objectType",
1405
- "type": "uint8"
1406
- },
1407
- {
1408
- "internalType": "StateId",
1409
- "name": "state",
1410
- "type": "uint8"
1411
- },
1412
- {
1413
- "internalType": "address",
1414
- "name": "updatedBy",
1415
- "type": "address"
1416
- },
1417
- {
1418
- "internalType": "Blocknumber",
1419
- "name": "updatedIn",
1420
- "type": "uint32"
1421
- },
1422
- {
1423
- "internalType": "Blocknumber",
1424
- "name": "createdIn",
1425
- "type": "uint32"
1426
- }
1427
- ],
1428
- "internalType": "struct IKeyValueStore.Metadata",
1429
- "name": "metadata",
1430
- "type": "tuple"
1015
+ "internalType": "address",
1016
+ "name": "token",
1017
+ "type": "address"
1431
1018
  }
1432
1019
  ],
1433
- "stateMutability": "view",
1434
- "type": "function"
1435
- },
1436
- {
1437
- "inputs": [],
1438
- "name": "getNftId",
1020
+ "name": "registerProduct",
1439
1021
  "outputs": [
1440
1022
  {
1441
1023
  "internalType": "NftId",
1442
- "name": "",
1024
+ "name": "productNftId",
1443
1025
  "type": "uint96"
1444
1026
  }
1445
1027
  ],
1446
- "stateMutability": "view",
1028
+ "stateMutability": "nonpayable",
1447
1029
  "type": "function"
1448
1030
  },
1449
1031
  {
1450
- "inputs": [],
1451
- "name": "getOwner",
1452
- "outputs": [
1032
+ "inputs": [
1033
+ {
1034
+ "internalType": "RoleId",
1035
+ "name": "roleId",
1036
+ "type": "uint64"
1037
+ },
1453
1038
  {
1454
1039
  "internalType": "address",
1455
- "name": "",
1040
+ "name": "account",
1456
1041
  "type": "address"
1457
1042
  }
1458
1043
  ],
1459
- "stateMutability": "view",
1044
+ "name": "revokeRole",
1045
+ "outputs": [],
1046
+ "stateMutability": "nonpayable",
1460
1047
  "type": "function"
1461
1048
  },
1462
1049
  {
1463
- "inputs": [],
1464
- "name": "getRegistry",
1465
- "outputs": [
1050
+ "inputs": [
1466
1051
  {
1467
- "internalType": "contract IRegistry",
1468
- "name": "",
1052
+ "internalType": "address",
1053
+ "name": "newAuthority",
1469
1054
  "type": "address"
1470
1055
  }
1471
1056
  ],
1472
- "stateMutability": "view",
1057
+ "name": "setAuthority",
1058
+ "outputs": [],
1059
+ "stateMutability": "nonpayable",
1473
1060
  "type": "function"
1474
1061
  },
1475
1062
  {
1476
- "inputs": [],
1477
- "name": "getRegistryAddress",
1478
- "outputs": [
1063
+ "inputs": [
1479
1064
  {
1480
- "internalType": "address",
1481
- "name": "",
1482
- "type": "address"
1065
+ "internalType": "bool",
1066
+ "name": "locked",
1067
+ "type": "bool"
1483
1068
  }
1484
1069
  ],
1485
- "stateMutability": "view",
1070
+ "name": "setInstanceLocked",
1071
+ "outputs": [],
1072
+ "stateMutability": "nonpayable",
1486
1073
  "type": "function"
1487
1074
  },
1488
1075
  {
1489
1076
  "inputs": [
1490
1077
  {
1491
- "internalType": "Key32",
1492
- "name": "key32",
1493
- "type": "bytes32"
1494
- }
1495
- ],
1496
- "name": "getState",
1497
- "outputs": [
1498
- {
1499
- "internalType": "StateId",
1500
- "name": "state",
1501
- "type": "uint8"
1078
+ "internalType": "contract InstanceReader",
1079
+ "name": "instanceReader",
1080
+ "type": "address"
1502
1081
  }
1503
1082
  ],
1504
- "stateMutability": "view",
1083
+ "name": "setInstanceReader",
1084
+ "outputs": [],
1085
+ "stateMutability": "nonpayable",
1505
1086
  "type": "function"
1506
1087
  },
1507
1088
  {
1508
1089
  "inputs": [
1509
1090
  {
1510
- "internalType": "ObjectType",
1511
- "name": "objectType",
1512
- "type": "uint8"
1513
- }
1514
- ],
1515
- "name": "hasLifecycle",
1516
- "outputs": [
1091
+ "internalType": "RoleId",
1092
+ "name": "roleId",
1093
+ "type": "uint64"
1094
+ },
1517
1095
  {
1518
1096
  "internalType": "bool",
1519
- "name": "",
1097
+ "name": "active",
1520
1098
  "type": "bool"
1521
1099
  }
1522
1100
  ],
1523
- "stateMutability": "view",
1101
+ "name": "setRoleActive",
1102
+ "outputs": [],
1103
+ "stateMutability": "nonpayable",
1524
1104
  "type": "function"
1525
1105
  },
1526
1106
  {
1527
1107
  "inputs": [
1528
1108
  {
1529
- "internalType": "address",
1530
- "name": "authority",
1531
- "type": "address"
1532
- },
1533
- {
1534
- "internalType": "address",
1535
- "name": "registryAddress",
1536
- "type": "address"
1537
- },
1538
- {
1539
- "internalType": "address",
1540
- "name": "initialOwner",
1541
- "type": "address"
1109
+ "internalType": "Seconds",
1110
+ "name": "stakeLockingPeriod",
1111
+ "type": "uint40"
1542
1112
  }
1543
1113
  ],
1544
- "name": "initialize",
1114
+ "name": "setStakingLockingPeriod",
1545
1115
  "outputs": [],
1546
1116
  "stateMutability": "nonpayable",
1547
1117
  "type": "function"
1548
1118
  },
1549
1119
  {
1550
- "inputs": [],
1551
- "name": "initializeERC165",
1120
+ "inputs": [
1121
+ {
1122
+ "internalType": "Amount",
1123
+ "name": "maxStakedAmount",
1124
+ "type": "uint96"
1125
+ }
1126
+ ],
1127
+ "name": "setStakingMaxAmount",
1552
1128
  "outputs": [],
1553
1129
  "stateMutability": "nonpayable",
1554
1130
  "type": "function"
1555
1131
  },
1556
1132
  {
1557
- "inputs": [],
1558
- "name": "initializeLifecycle",
1133
+ "inputs": [
1134
+ {
1135
+ "internalType": "UFixed",
1136
+ "name": "rewardRate",
1137
+ "type": "uint160"
1138
+ }
1139
+ ],
1140
+ "name": "setStakingRewardRate",
1559
1141
  "outputs": [],
1560
1142
  "stateMutability": "nonpayable",
1561
1143
  "type": "function"
@@ -1564,16 +1146,16 @@
1564
1146
  "inputs": [
1565
1147
  {
1566
1148
  "internalType": "address",
1567
- "name": "initialOwner",
1149
+ "name": "target",
1568
1150
  "type": "address"
1569
1151
  },
1570
1152
  {
1571
- "internalType": "address",
1572
- "name": "registryAddress",
1573
- "type": "address"
1153
+ "internalType": "bool",
1154
+ "name": "locked",
1155
+ "type": "bool"
1574
1156
  }
1575
1157
  ],
1576
- "name": "initializeNftOwnable",
1158
+ "name": "setTargetLocked",
1577
1159
  "outputs": [],
1578
1160
  "stateMutability": "nonpayable",
1579
1161
  "type": "function"
@@ -1581,1694 +1163,142 @@
1581
1163
  {
1582
1164
  "inputs": [
1583
1165
  {
1584
- "internalType": "address",
1585
- "name": "registryAddress",
1586
- "type": "address"
1587
- },
1588
- {
1589
- "internalType": "NftId",
1590
- "name": "parentNftId",
1591
- "type": "uint96"
1592
- },
1593
- {
1594
- "internalType": "ObjectType",
1595
- "name": "objectType",
1596
- "type": "uint8"
1597
- },
1166
+ "internalType": "bytes4",
1167
+ "name": "interfaceId",
1168
+ "type": "bytes4"
1169
+ }
1170
+ ],
1171
+ "name": "supportsInterface",
1172
+ "outputs": [
1598
1173
  {
1599
1174
  "internalType": "bool",
1600
- "name": "isInterceptor",
1175
+ "name": "",
1601
1176
  "type": "bool"
1602
- },
1603
- {
1604
- "internalType": "address",
1605
- "name": "initialOwner",
1606
- "type": "address"
1607
- },
1608
- {
1609
- "internalType": "bytes",
1610
- "name": "registryData",
1611
- "type": "bytes"
1612
1177
  }
1613
1178
  ],
1614
- "name": "initializeRegisterable",
1615
- "outputs": [],
1616
- "stateMutability": "nonpayable",
1179
+ "stateMutability": "view",
1617
1180
  "type": "function"
1618
1181
  },
1619
1182
  {
1620
1183
  "inputs": [
1621
1184
  {
1622
1185
  "internalType": "address",
1623
- "name": "registryAddress",
1186
+ "name": "target",
1624
1187
  "type": "address"
1188
+ },
1189
+ {
1190
+ "components": [
1191
+ {
1192
+ "internalType": "Str",
1193
+ "name": "name",
1194
+ "type": "bytes32"
1195
+ },
1196
+ {
1197
+ "internalType": "Selector",
1198
+ "name": "selector",
1199
+ "type": "bytes4"
1200
+ },
1201
+ {
1202
+ "internalType": "Timestamp",
1203
+ "name": "createdAt",
1204
+ "type": "uint40"
1205
+ }
1206
+ ],
1207
+ "internalType": "struct IAccess.FunctionInfo[]",
1208
+ "name": "functions",
1209
+ "type": "tuple[]"
1625
1210
  }
1626
1211
  ],
1627
- "name": "initializeRegistryLinked",
1212
+ "name": "unauthorizeFunctions",
1628
1213
  "outputs": [],
1629
1214
  "stateMutability": "nonpayable",
1630
1215
  "type": "function"
1631
1216
  },
1632
1217
  {
1633
1218
  "inputs": [],
1634
- "name": "isConsumingScheduledOp",
1635
- "outputs": [
1636
- {
1637
- "internalType": "bytes4",
1638
- "name": "",
1639
- "type": "bytes4"
1640
- }
1641
- ],
1642
- "stateMutability": "view",
1219
+ "name": "upgradeInstanceReader",
1220
+ "outputs": [],
1221
+ "stateMutability": "nonpayable",
1643
1222
  "type": "function"
1644
1223
  },
1645
1224
  {
1646
1225
  "inputs": [
1647
1226
  {
1648
- "internalType": "ObjectType",
1649
- "name": "objectType",
1650
- "type": "uint8"
1651
- },
1652
- {
1653
- "internalType": "StateId",
1654
- "name": "fromId",
1655
- "type": "uint8"
1656
- },
1657
- {
1658
- "internalType": "StateId",
1659
- "name": "toId",
1660
- "type": "uint8"
1661
- }
1662
- ],
1663
- "name": "isValidTransition",
1664
- "outputs": [
1665
- {
1666
- "internalType": "bool",
1667
- "name": "",
1668
- "type": "bool"
1669
- }
1670
- ],
1671
- "stateMutability": "view",
1672
- "type": "function"
1673
- },
1674
- {
1675
- "inputs": [],
1676
- "name": "linkToRegisteredNftId",
1677
- "outputs": [],
1678
- "stateMutability": "nonpayable",
1679
- "type": "function"
1680
- },
1681
- {
1682
- "inputs": [
1683
- {
1684
- "internalType": "address",
1685
- "name": "to",
1686
- "type": "address"
1687
- },
1688
- {
1689
- "internalType": "uint256",
1690
- "name": "tokenId",
1691
- "type": "uint256"
1692
- }
1693
- ],
1694
- "name": "nftMint",
1695
- "outputs": [],
1696
- "stateMutability": "nonpayable",
1697
- "type": "function"
1698
- },
1699
- {
1700
- "inputs": [
1701
- {
1702
- "internalType": "address",
1703
- "name": "from",
1704
- "type": "address"
1705
- },
1706
- {
1707
- "internalType": "address",
1708
- "name": "to",
1709
- "type": "address"
1710
- },
1711
- {
1712
- "internalType": "uint256",
1713
- "name": "tokenId",
1714
- "type": "uint256"
1715
- }
1716
- ],
1717
- "name": "nftTransferFrom",
1718
- "outputs": [],
1719
- "stateMutability": "nonpayable",
1720
- "type": "function"
1721
- },
1722
- {
1723
- "inputs": [
1724
- {
1725
- "internalType": "bytes4",
1726
- "name": "interfaceId",
1727
- "type": "bytes4"
1728
- }
1729
- ],
1730
- "name": "registerInterface",
1731
- "outputs": [],
1732
- "stateMutability": "nonpayable",
1733
- "type": "function"
1734
- },
1735
- {
1736
- "inputs": [
1737
- {
1738
- "internalType": "address",
1739
- "name": "newAuthority",
1740
- "type": "address"
1741
- }
1742
- ],
1743
- "name": "setAuthority",
1744
- "outputs": [],
1745
- "stateMutability": "nonpayable",
1746
- "type": "function"
1747
- },
1748
- {
1749
- "inputs": [
1750
- {
1751
- "internalType": "contract BundleManager",
1752
- "name": "bundleManager",
1753
- "type": "address"
1754
- }
1755
- ],
1756
- "name": "setBundleManager",
1757
- "outputs": [],
1758
- "stateMutability": "nonpayable",
1759
- "type": "function"
1760
- },
1761
- {
1762
- "inputs": [
1763
- {
1764
- "internalType": "contract InstanceAccessManager",
1765
- "name": "accessManager",
1766
- "type": "address"
1767
- }
1768
- ],
1769
- "name": "setInstanceAccessManager",
1770
- "outputs": [],
1771
- "stateMutability": "nonpayable",
1772
- "type": "function"
1773
- },
1774
- {
1775
- "inputs": [
1776
- {
1777
- "internalType": "contract InstanceReader",
1778
- "name": "instanceReader",
1779
- "type": "address"
1780
- }
1781
- ],
1782
- "name": "setInstanceReader",
1783
- "outputs": [],
1784
- "stateMutability": "nonpayable",
1785
- "type": "function"
1786
- },
1787
- {
1788
- "inputs": [
1789
- {
1790
- "internalType": "bytes4",
1791
- "name": "interfaceId",
1792
- "type": "bytes4"
1793
- }
1794
- ],
1795
- "name": "supportsInterface",
1796
- "outputs": [
1797
- {
1798
- "internalType": "bool",
1799
- "name": "",
1800
- "type": "bool"
1801
- }
1802
- ],
1803
- "stateMutability": "view",
1804
- "type": "function"
1805
- },
1806
- {
1807
- "inputs": [
1808
- {
1809
- "internalType": "ObjectType",
1810
- "name": "objectType",
1811
- "type": "uint8"
1812
- },
1813
- {
1814
- "internalType": "KeyId",
1815
- "name": "id",
1816
- "type": "bytes31"
1817
- }
1818
- ],
1819
- "name": "toKey32",
1820
- "outputs": [
1821
- {
1822
- "internalType": "Key32",
1823
- "name": "",
1824
- "type": "bytes32"
1825
- }
1826
- ],
1827
- "stateMutability": "pure",
1828
- "type": "function"
1829
- },
1830
- {
1831
- "inputs": [
1832
- {
1833
- "internalType": "NftId",
1834
- "name": "applicationNftId",
1835
- "type": "uint96"
1836
- },
1837
- {
1838
- "components": [
1839
- {
1840
- "internalType": "NftId",
1841
- "name": "productNftId",
1842
- "type": "uint96"
1843
- },
1844
- {
1845
- "internalType": "NftId",
1846
- "name": "bundleNftId",
1847
- "type": "uint96"
1848
- },
1849
- {
1850
- "internalType": "ReferralId",
1851
- "name": "referralId",
1852
- "type": "bytes8"
1853
- },
1854
- {
1855
- "internalType": "RiskId",
1856
- "name": "riskId",
1857
- "type": "bytes8"
1858
- },
1859
- {
1860
- "internalType": "uint256",
1861
- "name": "sumInsuredAmount",
1862
- "type": "uint256"
1863
- },
1864
- {
1865
- "internalType": "uint256",
1866
- "name": "premiumAmount",
1867
- "type": "uint256"
1868
- },
1869
- {
1870
- "internalType": "uint256",
1871
- "name": "premiumPaidAmount",
1872
- "type": "uint256"
1873
- },
1874
- {
1875
- "internalType": "Seconds",
1876
- "name": "lifetime",
1877
- "type": "uint40"
1878
- },
1879
- {
1880
- "internalType": "bytes",
1881
- "name": "applicationData",
1882
- "type": "bytes"
1883
- },
1884
- {
1885
- "internalType": "bytes",
1886
- "name": "policyData",
1887
- "type": "bytes"
1888
- },
1889
- {
1890
- "internalType": "uint16",
1891
- "name": "claimsCount",
1892
- "type": "uint16"
1893
- },
1894
- {
1895
- "internalType": "uint16",
1896
- "name": "openClaimsCount",
1897
- "type": "uint16"
1898
- },
1899
- {
1900
- "internalType": "Amount",
1901
- "name": "payoutAmount",
1902
- "type": "uint96"
1903
- },
1904
- {
1905
- "internalType": "Timestamp",
1906
- "name": "activatedAt",
1907
- "type": "uint40"
1908
- },
1909
- {
1910
- "internalType": "Timestamp",
1911
- "name": "expiredAt",
1912
- "type": "uint40"
1913
- },
1914
- {
1915
- "internalType": "Timestamp",
1916
- "name": "closedAt",
1917
- "type": "uint40"
1918
- }
1919
- ],
1920
- "internalType": "struct IPolicy.PolicyInfo",
1921
- "name": "policy",
1922
- "type": "tuple"
1923
- },
1924
- {
1925
- "internalType": "StateId",
1926
- "name": "newState",
1927
- "type": "uint8"
1928
- }
1929
- ],
1930
- "name": "updateApplication",
1931
- "outputs": [],
1932
- "stateMutability": "nonpayable",
1933
- "type": "function"
1934
- },
1935
- {
1936
- "inputs": [
1937
- {
1938
- "internalType": "NftId",
1939
- "name": "applicationNftId",
1940
- "type": "uint96"
1941
- },
1942
- {
1943
- "internalType": "StateId",
1944
- "name": "newState",
1945
- "type": "uint8"
1946
- }
1947
- ],
1948
- "name": "updateApplicationState",
1949
- "outputs": [],
1950
- "stateMutability": "nonpayable",
1951
- "type": "function"
1952
- },
1953
- {
1954
- "inputs": [
1955
- {
1956
- "internalType": "NftId",
1957
- "name": "bundleNftId",
1958
- "type": "uint96"
1959
- },
1960
- {
1961
- "components": [
1962
- {
1963
- "internalType": "NftId",
1964
- "name": "poolNftId",
1965
- "type": "uint96"
1966
- },
1967
- {
1968
- "components": [
1969
- {
1970
- "internalType": "UFixed",
1971
- "name": "fractionalFee",
1972
- "type": "uint256"
1973
- },
1974
- {
1975
- "internalType": "uint256",
1976
- "name": "fixedFee",
1977
- "type": "uint256"
1978
- }
1979
- ],
1980
- "internalType": "struct Fee",
1981
- "name": "fee",
1982
- "type": "tuple"
1983
- },
1984
- {
1985
- "internalType": "bytes",
1986
- "name": "filter",
1987
- "type": "bytes"
1988
- },
1989
- {
1990
- "internalType": "Amount",
1991
- "name": "capitalAmount",
1992
- "type": "uint96"
1993
- },
1994
- {
1995
- "internalType": "Amount",
1996
- "name": "lockedAmount",
1997
- "type": "uint96"
1998
- },
1999
- {
2000
- "internalType": "Amount",
2001
- "name": "feeAmount",
2002
- "type": "uint96"
2003
- },
2004
- {
2005
- "internalType": "Seconds",
2006
- "name": "lifetime",
2007
- "type": "uint40"
2008
- },
2009
- {
2010
- "internalType": "Timestamp",
2011
- "name": "expiredAt",
2012
- "type": "uint40"
2013
- },
2014
- {
2015
- "internalType": "Timestamp",
2016
- "name": "closedAt",
2017
- "type": "uint40"
2018
- }
2019
- ],
2020
- "internalType": "struct IBundle.BundleInfo",
2021
- "name": "bundle",
2022
- "type": "tuple"
2023
- },
2024
- {
2025
- "internalType": "StateId",
2026
- "name": "newState",
2027
- "type": "uint8"
2028
- }
2029
- ],
2030
- "name": "updateBundle",
2031
- "outputs": [],
2032
- "stateMutability": "nonpayable",
2033
- "type": "function"
2034
- },
2035
- {
2036
- "inputs": [
2037
- {
2038
- "internalType": "NftId",
2039
- "name": "bundleNftId",
2040
- "type": "uint96"
2041
- },
2042
- {
2043
- "internalType": "StateId",
2044
- "name": "newState",
2045
- "type": "uint8"
2046
- }
2047
- ],
2048
- "name": "updateBundleState",
2049
- "outputs": [],
2050
- "stateMutability": "nonpayable",
2051
- "type": "function"
2052
- },
2053
- {
2054
- "inputs": [
2055
- {
2056
- "internalType": "NftId",
2057
- "name": "policyNftId",
2058
- "type": "uint96"
2059
- },
2060
- {
2061
- "internalType": "ClaimId",
2062
- "name": "claimId",
2063
- "type": "uint16"
2064
- },
2065
- {
2066
- "components": [
2067
- {
2068
- "internalType": "Amount",
2069
- "name": "claimAmount",
2070
- "type": "uint96"
2071
- },
2072
- {
2073
- "internalType": "Amount",
2074
- "name": "paidAmount",
2075
- "type": "uint96"
2076
- },
2077
- {
2078
- "internalType": "uint8",
2079
- "name": "payoutsCount",
2080
- "type": "uint8"
2081
- },
2082
- {
2083
- "internalType": "uint8",
2084
- "name": "openPayoutsCount",
2085
- "type": "uint8"
2086
- },
2087
- {
2088
- "internalType": "bytes",
2089
- "name": "data",
2090
- "type": "bytes"
2091
- },
2092
- {
2093
- "internalType": "Timestamp",
2094
- "name": "closedAt",
2095
- "type": "uint40"
2096
- }
2097
- ],
2098
- "internalType": "struct IPolicy.ClaimInfo",
2099
- "name": "claim",
2100
- "type": "tuple"
2101
- },
2102
- {
2103
- "internalType": "StateId",
2104
- "name": "newState",
2105
- "type": "uint8"
2106
- }
2107
- ],
2108
- "name": "updateClaim",
2109
- "outputs": [],
2110
- "stateMutability": "nonpayable",
2111
- "type": "function"
2112
- },
2113
- {
2114
- "inputs": [
2115
- {
2116
- "internalType": "NftId",
2117
- "name": "policyNftId",
2118
- "type": "uint96"
2119
- },
2120
- {
2121
- "internalType": "ClaimId",
2122
- "name": "claimId",
2123
- "type": "uint16"
2124
- },
2125
- {
2126
- "internalType": "StateId",
2127
- "name": "newState",
2128
- "type": "uint8"
2129
- }
2130
- ],
2131
- "name": "updateClaimState",
2132
- "outputs": [],
2133
- "stateMutability": "nonpayable",
2134
- "type": "function"
2135
- },
2136
- {
2137
- "inputs": [
2138
- {
2139
- "internalType": "NftId",
2140
- "name": "distributionNftId",
2141
- "type": "uint96"
2142
- },
2143
- {
2144
- "components": [
2145
- {
2146
- "internalType": "NftId",
2147
- "name": "productNftId",
2148
- "type": "uint96"
2149
- },
2150
- {
2151
- "internalType": "contract TokenHandler",
2152
- "name": "tokenHandler",
2153
- "type": "address"
2154
- },
2155
- {
2156
- "components": [
2157
- {
2158
- "internalType": "UFixed",
2159
- "name": "fractionalFee",
2160
- "type": "uint256"
2161
- },
2162
- {
2163
- "internalType": "uint256",
2164
- "name": "fixedFee",
2165
- "type": "uint256"
2166
- }
2167
- ],
2168
- "internalType": "struct Fee",
2169
- "name": "minDistributionOwnerFee",
2170
- "type": "tuple"
2171
- },
2172
- {
2173
- "components": [
2174
- {
2175
- "internalType": "UFixed",
2176
- "name": "fractionalFee",
2177
- "type": "uint256"
2178
- },
2179
- {
2180
- "internalType": "uint256",
2181
- "name": "fixedFee",
2182
- "type": "uint256"
2183
- }
2184
- ],
2185
- "internalType": "struct Fee",
2186
- "name": "distributionFee",
2187
- "type": "tuple"
2188
- },
2189
- {
2190
- "internalType": "address",
2191
- "name": "wallet",
2192
- "type": "address"
2193
- },
2194
- {
2195
- "internalType": "uint256",
2196
- "name": "sumDistributionOwnerFees",
2197
- "type": "uint256"
2198
- }
2199
- ],
2200
- "internalType": "struct ISetup.DistributionSetupInfo",
2201
- "name": "setup",
2202
- "type": "tuple"
2203
- },
2204
- {
2205
- "internalType": "StateId",
2206
- "name": "newState",
2207
- "type": "uint8"
2208
- }
2209
- ],
2210
- "name": "updateDistributionSetup",
2211
- "outputs": [],
2212
- "stateMutability": "nonpayable",
2213
- "type": "function"
2214
- },
2215
- {
2216
- "inputs": [
2217
- {
2218
- "internalType": "NftId",
2219
- "name": "distributionNftId",
2220
- "type": "uint96"
2221
- },
2222
- {
2223
- "internalType": "StateId",
2224
- "name": "newState",
2225
- "type": "uint8"
2226
- }
2227
- ],
2228
- "name": "updateDistributionSetupState",
2229
- "outputs": [],
2230
- "stateMutability": "nonpayable",
2231
- "type": "function"
2232
- },
2233
- {
2234
- "inputs": [
2235
- {
2236
- "internalType": "NftId",
2237
- "name": "distributorNftId",
2238
- "type": "uint96"
2239
- },
2240
- {
2241
- "components": [
2242
- {
2243
- "internalType": "DistributorType",
2244
- "name": "distributorType",
2245
- "type": "bytes8"
2246
- },
2247
- {
2248
- "internalType": "bool",
2249
- "name": "active",
2250
- "type": "bool"
2251
- },
2252
- {
2253
- "internalType": "bytes",
2254
- "name": "data",
2255
- "type": "bytes"
2256
- },
2257
- {
2258
- "internalType": "uint256",
2259
- "name": "sumCommisions",
2260
- "type": "uint256"
2261
- },
2262
- {
2263
- "internalType": "uint256",
2264
- "name": "numPoliciesSold",
2265
- "type": "uint256"
2266
- }
2267
- ],
2268
- "internalType": "struct IDistribution.DistributorInfo",
2269
- "name": "info",
2270
- "type": "tuple"
2271
- },
2272
- {
2273
- "internalType": "StateId",
2274
- "name": "newState",
2275
- "type": "uint8"
2276
- }
2277
- ],
2278
- "name": "updateDistributor",
2279
- "outputs": [],
2280
- "stateMutability": "nonpayable",
2281
- "type": "function"
2282
- },
2283
- {
2284
- "inputs": [
2285
- {
2286
- "internalType": "NftId",
2287
- "name": "distributorNftId",
2288
- "type": "uint96"
2289
- },
2290
- {
2291
- "internalType": "StateId",
2292
- "name": "newState",
2293
- "type": "uint8"
2294
- }
2295
- ],
2296
- "name": "updateDistributorState",
2297
- "outputs": [],
2298
- "stateMutability": "nonpayable",
2299
- "type": "function"
2300
- },
2301
- {
2302
- "inputs": [
2303
- {
2304
- "internalType": "DistributorType",
2305
- "name": "distributorType",
2306
- "type": "bytes8"
2307
- },
2308
- {
2309
- "components": [
2310
- {
2311
- "internalType": "string",
2312
- "name": "name",
2313
- "type": "string"
2314
- },
2315
- {
2316
- "internalType": "UFixed",
2317
- "name": "minDiscountPercentage",
2318
- "type": "uint256"
2319
- },
2320
- {
2321
- "internalType": "UFixed",
2322
- "name": "maxDiscountPercentage",
2323
- "type": "uint256"
2324
- },
2325
- {
2326
- "internalType": "UFixed",
2327
- "name": "commissionPercentage",
2328
- "type": "uint256"
2329
- },
2330
- {
2331
- "internalType": "uint32",
2332
- "name": "maxReferralCount",
2333
- "type": "uint32"
2334
- },
2335
- {
2336
- "internalType": "uint32",
2337
- "name": "maxReferralLifetime",
2338
- "type": "uint32"
2339
- },
2340
- {
2341
- "internalType": "bool",
2342
- "name": "allowSelfReferrals",
2343
- "type": "bool"
2344
- },
2345
- {
2346
- "internalType": "bool",
2347
- "name": "allowRenewals",
2348
- "type": "bool"
2349
- },
2350
- {
2351
- "internalType": "bytes",
2352
- "name": "data",
2353
- "type": "bytes"
2354
- }
2355
- ],
2356
- "internalType": "struct IDistribution.DistributorTypeInfo",
2357
- "name": "info",
2358
- "type": "tuple"
2359
- },
2360
- {
2361
- "internalType": "StateId",
2362
- "name": "newState",
2363
- "type": "uint8"
2364
- }
2365
- ],
2366
- "name": "updateDistributorType",
2367
- "outputs": [],
2368
- "stateMutability": "nonpayable",
2369
- "type": "function"
2370
- },
2371
- {
2372
- "inputs": [
2373
- {
2374
- "internalType": "DistributorType",
2375
- "name": "distributorType",
2376
- "type": "bytes8"
2377
- },
2378
- {
2379
- "internalType": "StateId",
2380
- "name": "newState",
2381
- "type": "uint8"
2382
- }
2383
- ],
2384
- "name": "updateDistributorTypeState",
2385
- "outputs": [],
2386
- "stateMutability": "nonpayable",
2387
- "type": "function"
2388
- },
2389
- {
2390
- "inputs": [
2391
- {
2392
- "internalType": "NftId",
2393
- "name": "policyNftId",
2394
- "type": "uint96"
2395
- },
2396
- {
2397
- "internalType": "PayoutId",
2398
- "name": "payoutId",
2399
- "type": "uint24"
2400
- },
2401
- {
2402
- "components": [
2403
- {
2404
- "internalType": "ClaimId",
2405
- "name": "claimId",
2406
- "type": "uint16"
2407
- },
2408
- {
2409
- "internalType": "Amount",
2410
- "name": "amount",
2411
- "type": "uint96"
2412
- },
2413
- {
2414
- "internalType": "bytes",
2415
- "name": "data",
2416
- "type": "bytes"
2417
- },
2418
- {
2419
- "internalType": "Timestamp",
2420
- "name": "paidAt",
2421
- "type": "uint40"
2422
- }
2423
- ],
2424
- "internalType": "struct IPolicy.PayoutInfo",
2425
- "name": "payout",
2426
- "type": "tuple"
2427
- },
2428
- {
2429
- "internalType": "StateId",
2430
- "name": "newState",
2431
- "type": "uint8"
2432
- }
2433
- ],
2434
- "name": "updatePayout",
2435
- "outputs": [],
2436
- "stateMutability": "nonpayable",
2437
- "type": "function"
2438
- },
2439
- {
2440
- "inputs": [
2441
- {
2442
- "internalType": "NftId",
2443
- "name": "policyNftId",
2444
- "type": "uint96"
2445
- },
2446
- {
2447
- "internalType": "PayoutId",
2448
- "name": "payoutId",
2449
- "type": "uint24"
2450
- },
2451
- {
2452
- "internalType": "StateId",
2453
- "name": "newState",
2454
- "type": "uint8"
2455
- }
2456
- ],
2457
- "name": "updatePayoutState",
2458
- "outputs": [],
2459
- "stateMutability": "nonpayable",
2460
- "type": "function"
2461
- },
2462
- {
2463
- "inputs": [
2464
- {
2465
- "internalType": "NftId",
2466
- "name": "policyNftId",
2467
- "type": "uint96"
2468
- },
2469
- {
2470
- "components": [
2471
- {
2472
- "internalType": "NftId",
2473
- "name": "productNftId",
2474
- "type": "uint96"
2475
- },
2476
- {
2477
- "internalType": "NftId",
2478
- "name": "bundleNftId",
2479
- "type": "uint96"
2480
- },
2481
- {
2482
- "internalType": "ReferralId",
2483
- "name": "referralId",
2484
- "type": "bytes8"
2485
- },
2486
- {
2487
- "internalType": "RiskId",
2488
- "name": "riskId",
2489
- "type": "bytes8"
2490
- },
2491
- {
2492
- "internalType": "uint256",
2493
- "name": "sumInsuredAmount",
2494
- "type": "uint256"
2495
- },
2496
- {
2497
- "internalType": "uint256",
2498
- "name": "premiumAmount",
2499
- "type": "uint256"
2500
- },
2501
- {
2502
- "internalType": "uint256",
2503
- "name": "premiumPaidAmount",
2504
- "type": "uint256"
2505
- },
2506
- {
2507
- "internalType": "Seconds",
2508
- "name": "lifetime",
2509
- "type": "uint40"
2510
- },
2511
- {
2512
- "internalType": "bytes",
2513
- "name": "applicationData",
2514
- "type": "bytes"
2515
- },
2516
- {
2517
- "internalType": "bytes",
2518
- "name": "policyData",
2519
- "type": "bytes"
2520
- },
2521
- {
2522
- "internalType": "uint16",
2523
- "name": "claimsCount",
2524
- "type": "uint16"
2525
- },
2526
- {
2527
- "internalType": "uint16",
2528
- "name": "openClaimsCount",
2529
- "type": "uint16"
2530
- },
2531
- {
2532
- "internalType": "Amount",
2533
- "name": "payoutAmount",
2534
- "type": "uint96"
2535
- },
2536
- {
2537
- "internalType": "Timestamp",
2538
- "name": "activatedAt",
2539
- "type": "uint40"
2540
- },
2541
- {
2542
- "internalType": "Timestamp",
2543
- "name": "expiredAt",
2544
- "type": "uint40"
2545
- },
2546
- {
2547
- "internalType": "Timestamp",
2548
- "name": "closedAt",
2549
- "type": "uint40"
2550
- }
2551
- ],
2552
- "internalType": "struct IPolicy.PolicyInfo",
2553
- "name": "policy",
2554
- "type": "tuple"
2555
- },
2556
- {
2557
- "internalType": "StateId",
2558
- "name": "newState",
2559
- "type": "uint8"
2560
- }
2561
- ],
2562
- "name": "updatePolicy",
2563
- "outputs": [],
2564
- "stateMutability": "nonpayable",
2565
- "type": "function"
2566
- },
2567
- {
2568
- "inputs": [
2569
- {
2570
- "internalType": "NftId",
2571
- "name": "policyNftId",
2572
- "type": "uint96"
2573
- },
2574
- {
2575
- "internalType": "StateId",
2576
- "name": "newState",
2577
- "type": "uint8"
2578
- }
2579
- ],
2580
- "name": "updatePolicyState",
2581
- "outputs": [],
2582
- "stateMutability": "nonpayable",
2583
- "type": "function"
2584
- },
2585
- {
2586
- "inputs": [
2587
- {
2588
- "internalType": "NftId",
2589
- "name": "poolNftId",
2590
- "type": "uint96"
2591
- },
2592
- {
2593
- "components": [
2594
- {
2595
- "internalType": "string",
2596
- "name": "name",
2597
- "type": "string"
2598
- },
2599
- {
2600
- "internalType": "contract IERC20Metadata",
2601
- "name": "token",
2602
- "type": "address"
2603
- },
2604
- {
2605
- "internalType": "contract TokenHandler",
2606
- "name": "tokenHandler",
2607
- "type": "address"
2608
- },
2609
- {
2610
- "internalType": "address",
2611
- "name": "wallet",
2612
- "type": "address"
2613
- },
2614
- {
2615
- "internalType": "Amount",
2616
- "name": "balanceAmount",
2617
- "type": "uint96"
2618
- },
2619
- {
2620
- "internalType": "Amount",
2621
- "name": "feeAmount",
2622
- "type": "uint96"
2623
- },
2624
- {
2625
- "internalType": "bytes",
2626
- "name": "data",
2627
- "type": "bytes"
2628
- }
2629
- ],
2630
- "internalType": "struct IComponents.ComponentInfo",
2631
- "name": "info",
2632
- "type": "tuple"
2633
- },
2634
- {
2635
- "internalType": "StateId",
2636
- "name": "newState",
2637
- "type": "uint8"
2638
- }
2639
- ],
2640
- "name": "updatePoolSetup",
2641
- "outputs": [],
2642
- "stateMutability": "nonpayable",
2643
- "type": "function"
2644
- },
2645
- {
2646
- "inputs": [
2647
- {
2648
- "internalType": "NftId",
2649
- "name": "poolNftId",
2650
- "type": "uint96"
2651
- },
2652
- {
2653
- "internalType": "StateId",
2654
- "name": "newState",
2655
- "type": "uint8"
2656
- }
2657
- ],
2658
- "name": "updatePoolSetupState",
2659
- "outputs": [],
2660
- "stateMutability": "nonpayable",
2661
- "type": "function"
2662
- },
2663
- {
2664
- "inputs": [
2665
- {
2666
- "internalType": "NftId",
2667
- "name": "productNftId",
2668
- "type": "uint96"
2669
- },
2670
- {
2671
- "components": [
2672
- {
2673
- "internalType": "contract IERC20Metadata",
2674
- "name": "token",
2675
- "type": "address"
2676
- },
2677
- {
2678
- "internalType": "contract TokenHandler",
2679
- "name": "tokenHandler",
2680
- "type": "address"
2681
- },
2682
- {
2683
- "internalType": "NftId",
2684
- "name": "distributionNftId",
2685
- "type": "uint96"
2686
- },
2687
- {
2688
- "internalType": "NftId",
2689
- "name": "poolNftId",
2690
- "type": "uint96"
2691
- },
2692
- {
2693
- "components": [
2694
- {
2695
- "internalType": "UFixed",
2696
- "name": "fractionalFee",
2697
- "type": "uint256"
2698
- },
2699
- {
2700
- "internalType": "uint256",
2701
- "name": "fixedFee",
2702
- "type": "uint256"
2703
- }
2704
- ],
2705
- "internalType": "struct Fee",
2706
- "name": "productFee",
2707
- "type": "tuple"
2708
- },
2709
- {
2710
- "components": [
2711
- {
2712
- "internalType": "UFixed",
2713
- "name": "fractionalFee",
2714
- "type": "uint256"
2715
- },
2716
- {
2717
- "internalType": "uint256",
2718
- "name": "fixedFee",
2719
- "type": "uint256"
2720
- }
2721
- ],
2722
- "internalType": "struct Fee",
2723
- "name": "processingFee",
2724
- "type": "tuple"
2725
- },
2726
- {
2727
- "internalType": "bool",
2728
- "name": "isIntercepting",
2729
- "type": "bool"
2730
- },
2731
- {
2732
- "internalType": "address",
2733
- "name": "wallet",
2734
- "type": "address"
2735
- }
2736
- ],
2737
- "internalType": "struct ISetup.ProductSetupInfo",
2738
- "name": "setup",
2739
- "type": "tuple"
2740
- },
2741
- {
2742
- "internalType": "StateId",
2743
- "name": "newState",
2744
- "type": "uint8"
2745
- }
2746
- ],
2747
- "name": "updateProductSetup",
2748
- "outputs": [],
2749
- "stateMutability": "nonpayable",
2750
- "type": "function"
2751
- },
2752
- {
2753
- "inputs": [
2754
- {
2755
- "internalType": "NftId",
2756
- "name": "productNftId",
2757
- "type": "uint96"
2758
- },
2759
- {
2760
- "internalType": "StateId",
2761
- "name": "newState",
2762
- "type": "uint8"
2763
- }
2764
- ],
2765
- "name": "updateProductSetupState",
2766
- "outputs": [],
2767
- "stateMutability": "nonpayable",
2768
- "type": "function"
2769
- },
2770
- {
2771
- "inputs": [
2772
- {
2773
- "internalType": "ReferralId",
2774
- "name": "referralId",
2775
- "type": "bytes8"
2776
- },
2777
- {
2778
- "components": [
2779
- {
2780
- "internalType": "NftId",
2781
- "name": "distributorNftId",
2782
- "type": "uint96"
2783
- },
2784
- {
2785
- "internalType": "string",
2786
- "name": "referralCode",
2787
- "type": "string"
2788
- },
2789
- {
2790
- "internalType": "UFixed",
2791
- "name": "discountPercentage",
2792
- "type": "uint256"
2793
- },
2794
- {
2795
- "internalType": "uint32",
2796
- "name": "maxReferrals",
2797
- "type": "uint32"
2798
- },
2799
- {
2800
- "internalType": "uint32",
2801
- "name": "usedReferrals",
2802
- "type": "uint32"
2803
- },
2804
- {
2805
- "internalType": "Timestamp",
2806
- "name": "expiryAt",
2807
- "type": "uint40"
2808
- },
2809
- {
2810
- "internalType": "bytes",
2811
- "name": "data",
2812
- "type": "bytes"
2813
- }
2814
- ],
2815
- "internalType": "struct IDistribution.ReferralInfo",
2816
- "name": "referralInfo",
2817
- "type": "tuple"
2818
- },
2819
- {
2820
- "internalType": "StateId",
2821
- "name": "newState",
2822
- "type": "uint8"
2823
- }
2824
- ],
2825
- "name": "updateReferral",
2826
- "outputs": [],
2827
- "stateMutability": "nonpayable",
2828
- "type": "function"
2829
- },
2830
- {
2831
- "inputs": [
2832
- {
2833
- "internalType": "ReferralId",
2834
- "name": "referralId",
2835
- "type": "bytes8"
2836
- },
2837
- {
2838
- "internalType": "StateId",
2839
- "name": "newState",
2840
- "type": "uint8"
2841
- }
2842
- ],
2843
- "name": "updateReferralState",
2844
- "outputs": [],
2845
- "stateMutability": "nonpayable",
2846
- "type": "function"
2847
- },
2848
- {
2849
- "inputs": [
2850
- {
2851
- "internalType": "RiskId",
2852
- "name": "riskId",
2853
- "type": "bytes8"
2854
- },
2855
- {
2856
- "components": [
2857
- {
2858
- "internalType": "NftId",
2859
- "name": "productNftId",
2860
- "type": "uint96"
2861
- },
2862
- {
2863
- "internalType": "bytes",
2864
- "name": "data",
2865
- "type": "bytes"
2866
- }
2867
- ],
2868
- "internalType": "struct IRisk.RiskInfo",
2869
- "name": "risk",
2870
- "type": "tuple"
2871
- },
2872
- {
2873
- "internalType": "StateId",
2874
- "name": "newState",
2875
- "type": "uint8"
1227
+ "internalType": "Amount",
1228
+ "name": "dipAmount",
1229
+ "type": "uint96"
2876
1230
  }
2877
1231
  ],
2878
- "name": "updateRisk",
2879
- "outputs": [],
2880
- "stateMutability": "nonpayable",
2881
- "type": "function"
2882
- },
2883
- {
2884
- "inputs": [
2885
- {
2886
- "internalType": "RiskId",
2887
- "name": "riskId",
2888
- "type": "bytes8"
2889
- },
1232
+ "name": "withdrawStakingRewardReserves",
1233
+ "outputs": [
2890
1234
  {
2891
- "internalType": "StateId",
2892
- "name": "newState",
2893
- "type": "uint8"
1235
+ "internalType": "Amount",
1236
+ "name": "newBalance",
1237
+ "type": "uint96"
2894
1238
  }
2895
1239
  ],
2896
- "name": "updateRiskState",
2897
- "outputs": [],
2898
1240
  "stateMutability": "nonpayable",
2899
1241
  "type": "function"
2900
1242
  }
2901
1243
  ],
2902
- "bytecode": "0x608060405234801561001057600080fd5b50615e8a80620000216000396000f3fe608060405234801561001057600080fd5b506004361061046a5760003560e01c80637cef48421161024c578063bf1db3f911610146578063e7f7fb86116100c3578063f7bc431c11610087578063f7bc431c14610b04578063f7c34ee014610b17578063fb4a8e3414610b2a578063fbc1a3a014610b3d578063fe1f18d614610b5057600080fd5b8063e7f7fb8614610a8d578063e9e96c7014610aa0578063f21de1e814610735578063f48016ce14610ade578063f7b442d114610af157600080fd5b8063cde749f41161010a578063cde749f414610a36578063d2f21a2914610a3e578063d5c9d77d14610a51578063dee3262314610a64578063e5f6cd2714610a7757600080fd5b8063bf1db3f9146109f5578063bf7e214f14610a08578063c0c53b8b14610a10578063ca0e7f0814610a23578063cbe864251461074657600080fd5b8063a472a832116101d4578063a898967511610198578063a898967514610994578063ada9652e146109a7578063af902500146109bc578063b6d7cd62146109cf578063bb1e0e59146109e257600080fd5b8063a472a83214610897578063a4eeee59146108aa578063a5961b4c146108bd578063a671495e1461096e578063a76ee0181461098157600080fd5b80638fb360371161021b5780638fb360371461082a57806397affbf51461084b5780639e90178c1461085e578063a1ef60e914610871578063a28422291461088457600080fd5b80637cef4842146107dc57806381c2b282146107ef578063893d20e8146108025780638eaa6ac01461080a57600080fd5b806337f135d7116103685780635ab1bd53116102e557806361f5f420116102a957806361f5f42014610775578063644c45e014610786578063675393bf146107ae57806375b238fc146107c15780637a9e5e4b146107c957600080fd5b80635ab1bd53146107355780635d0c9334146107465780635d4345cc146105845780635dfa73db1461075957806361105e0e1461076257600080fd5b8063422c9d001161032c578063422c9d00146106d4578063468bce06146106e757806354f6127f146106ef578063598524261461070f5780635a8416b01461072257600080fd5b806337f135d7146106585780633870a7701461067557806338a699a4146106885780633ca7c02a1461069b57806340529b0f146106c157600080fd5b80630fec111c116103f657806327bb7a33116103ba57806327bb7a331461060457806329e63f62146106175780632f61088a1461062a57806330a130ba1461063d57806336fc697e1461065057600080fd5b80630fec111c14610597578063138461e0146105ac5780631eff4b22146105b4578063214cdb80146105e95780632781d443146105fc57600080fd5b80630d3581811161043d5780630d358181146105255780630f526f7d1461054b5780630f6c29ef1461055e5780630f749a89146105715780630fad0eb11461058457600080fd5b806301ffc9a71461046f57806302cd3071146104b157806309648a9d146104d65780630cbc6b8914610510575b600080fd5b61049c61047d366004613ed4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104fe6104e4366004613efe565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b61052361051e366004614148565b610b63565b005b6104fe610533366004614194565b60ff9081166000908152600260205260409020541690565b6105236105593660046141b1565b610ba9565b61052361056c366004614365565b610bca565b61052361057f3660046143d7565b610bf7565b6105236105923660046141b1565b610d1d565b61059f610d34565b6040516104a89190614444565b610523610ee3565b6105db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016104a8565b6105236105f7366004613ed4565b6110e5565b6105db600381565b6105236106123660046144cf565b611112565b61052361062536600461460d565b61119e565b6105236106383660046146e0565b6111c5565b61052361064b36600461481f565b611279565b610523611319565b610660600081565b60405163ffffffff90911681526020016104a8565b610523610683366004614864565b61135f565b61049c610696366004613efe565b611375565b6106a96001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6105236106cf3660046141b1565b61140a565b6105236106e23660046143d7565b611421565b6105236115c8565b6107026106fd366004613efe565b6115fa565b6040516104a891906148a2565b61052361071d366004614988565b61169f565b6105236107303660046149e0565b6116c7565b6001546001600160a01b03166104be565b610523610754366004614b70565b611767565b6106a961271081565b610523610770366004614c73565b61178f565b6007546001600160a01b03166104be565b600080516020615e15833981519152546040516001600160601b0390911681526020016104a8565b6105236107bc3660046143d7565b61182f565b6106a9600081565b6105236107d73660046143d7565b61193b565b6105236107ea366004614cba565b6119be565b6105236107fd366004614cd8565b611a4d565b6104be611a74565b61081d610818366004613efe565b611bab565b6040516104a89190614d81565b610832611cec565b6040516001600160e01b031990911681526020016104a8565b610523610859366004614dad565b611d24565b61052361086c366004614e77565b611d4c565b61052361087f366004614eae565b611d74565b610523610892366004614cba565b611d9b565b6105236108a5366004614f05565b611de9565b6105236108b8366004614fdb565b611e11565b6109616108cb366004613efe565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a89190615022565b61052361097c3660046150d3565b611e39565b61052361098f366004615118565b611e61565b6105236109a236600461515f565b611f01565b6105db600080516020615e1583398151915281565b6105236109ca366004614cba565b611ff2565b6105236109dd36600461518f565b612040565b6105236109f03660046151bf565b612056565b61049c610a03366004614194565b61221b565b6104be612268565b610523610a1e3660046151eb565b612284565b610523610a3136600461522b565b612431565b6104fe6124d1565b610523610a4c3660046141b1565b61254d565b610523610a5f366004615270565b612564565b610523610a723660046141b1565b61258c565b60055461010090046001600160a01b03166104be565b610523610a9b3660046152b5565b6125a3565b61049c610aae36600461515f565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105db610aec366004615306565b61277d565b610523610aff366004615334565b612808565b610523610b123660046143d7565b612830565b610523610b25366004615375565b6128f0565b610523610b383660046153a3565b612967565b610523610b4b3660046153ea565b61298f565b610523610b5e3660046141b1565b6129b7565b610b70335b6000366129ce565b610ba4610b7e84606e612ad4565b83604051602001610b8f9190615418565b60405160208183030381529060405283612b20565b505050565b610bb233610b68565b610bc6610bc083608c612ad4565b82612b2b565b5050565b610bd333610b68565b610bf1610be08585612b35565b83604051602001610b8f91906154c7565b50505050565b610c0033610b68565b60055461010090046001600160a01b031615610c475760055460405163e02ca03360e01b81526101009091046001600160a01b031660048201526024015b60405180910390fd5b610c4f612268565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190615521565b6001600160a01b031614610cf557610cd0612268565b6040516374150f9560e11b81526001600160a01b039091166004820152602401610c3e565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610d2633610b68565b610bc6610bc08360d3612ad4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610ddf9061553e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b9061553e565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b50505050508152505090506040518060e00160405280610e76600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610ec7611a74565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615e1583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f769190615578565b15610fa25780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c3e565b30610fb56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610ffd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110219190615578565b6110495760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610c3e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561109d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c19190615595565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6110ed612b83565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61111a612b83565b61112482876128f0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161119483826155f8565b5050505050505050565b6111a733610b68565b610bf16111b48585612bcc565b83604051602001610b8f91906156b7565b6111ce33610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611213906001600160c01b031987169060040161572b565b602060405180830381865af4158015611230573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112549190615740565b826040516020016112659190615759565b604051602081830303815290604052612c19565b61128233610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906112c7906001600160c01b031987169060040161572b565b602060405180830381865af41580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113089190615740565b826040516020016112659190615787565b611321612b83565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61136833610b68565b610ba4610bc08484612b35565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114049190615578565b92915050565b61141333610b68565b610bc6610bc083607a612ad4565b61142a33610b68565b6007546001600160a01b0316156114635760075460405163384c2dbd60e11b81526001600160a01b039091166004820152602401610c3e565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cf9190615521565b6001600160a01b0316146114f85760405163decb98c560e01b8152306004820152602401610c3e565b611500612268565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611547573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156b9190615521565b6001600160a01b0316146115a657611581612268565b604051630312205960e41b81526001600160a01b039091166004820152602401610c3e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6115d0612b83565b6115d8612c23565b6115e0612d46565b6115e8612e39565b6115f0612f47565b6115f8613003565b565b600081815260046020526040902060010180546060919061161a9061553e565b80601f01602080910402602001604051908101604052809291908181526020018280546116469061553e565b80156116935780601f1061166857610100808354040283529160200191611693565b820191906000526020600020905b81548152906001019060200180831161167657829003601f168201915b50505050509050919050565b6116a833610b68565b610ba46116b68460dc612ad4565b83604051602001610b8f9190615837565b6116d033610b68565b6040516355ee627560e01b8152610ba49073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611715906001600160c01b031988169060040161572b565b602060405180830381865af4158015611732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117569190615740565b83604051602001610b8f9190615787565b61177033610b68565b610ba461177e8460d3612ad4565b83604051602001610b8f919061591a565b61179833610b68565b6040516355ee627560e01b8152610ba49073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee6275906117dd906001600160c01b031988169060040161572b565b602060405180830381865af41580156117fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181e9190615740565b83604051602001610b8f9190615a77565b611837612b83565b806001600160a01b03163b60000361186d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156118e7575060408051601f3d908101601f191682019092526118e491810190615578565b60015b61190f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b80610bc65760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c3e565b50565b33611944612268565b6001600160a01b0316816001600160a01b03161461197f5760405162d1953b60e31b81526001600160a01b0382166004820152602401610c3e565b816001600160a01b03163b6000036119b5576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c3e565b610bc6826130bf565b6119c733610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611a0c906001600160c01b031987169060040161572b565b602060405180830381865af4158015611a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc09190615740565b611a5633610b68565b610ba4611a638484612b35565b8260405160200161126591906154c7565b600080600080516020615e1583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611ae4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b089190615578565b15611b95576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8f9190615521565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611c639061553e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8f9061553e565b8015611cdc5780601f10611cb157610100808354040283529160200191611cdc565b820191906000526020600020905b815481529060010190602001808311611cbf57829003601f168201915b5050505050815250509050919050565b600080516020615e35833981519152805460009190600160a01b900460ff16611d16576000611b8f565b638fb3603760e01b91505090565b611d2d33610b68565b610bc6611d3b8360dc612ad4565b826040516020016112659190615837565b611d5533610b68565b610bc6611d63836078612ad4565b826040516020016112659190615b13565b611d7d33610b68565b610ba4611d8a8484612bcc565b8260405160200161126591906156b7565b611da433610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a0c906001600160c01b031987169060040161572b565b611df233610b68565b610bc6611e008360d3612ad4565b82604051602001611265919061591a565b611e1a33610b68565b610ba4611e2884608c612ad4565b83604051602001610b8f9190615b87565b611e4233610b68565b610bc6611e5083607a612ad4565b826040516020016112659190615c08565b611e6a33610b68565b6040516355ee627560e01b8152610ba49073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611eaf906001600160c01b031988169060040161572b565b602060405180830381865af4158015611ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef09190615740565b83604051602001610b8f9190615759565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8a9190615578565b15611f9457505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610ba457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610c3e565b611ffb33610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590611a0c906001600160c01b031987169060040161572b565b61204933610b68565b610ba4610bc08484612bcc565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561209f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c39190615521565b6001600160a01b0316336001600160a01b0316146120e057600080fd5b60055461010090046001600160a01b031663030149746120fe613120565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015612142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121669190615740565b1561217357612173615c66565b60055461010090046001600160a01b031663b428b0b0612191613120565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af11580156121e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220a9190615578565b1515600114610bc657610bc6615c66565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113c3565b600080516020615e35833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156122c95750825b90506000826001600160401b031660011480156122e55750303b155b9050811580156122f3575080155b156123115760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561233b57845460ff60401b1916600160401b1785555b61234488613198565b60008790506123c988826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561238b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123af9190615595565b604660018b60405180602001604052806000815250611112565b6123d16115c8565b6123e1632d7f9b4d60e11b6110e5565b50831561119457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61243a33610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee62759061247f906001600160c01b031987169060040161572b565b602060405180830381865af415801561249c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c09190615740565b826040516020016112659190615a77565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612524573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125489190615c7c565b905090565b61255633610b68565b610bc6610bc0836078612ad4565b61256d33610b68565b610bc661257b83608c612ad4565b826040516020016112659190615b87565b61259533610b68565b610bc6610bc083606e612ad4565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126109190615521565b6001600160a01b0316336001600160a01b03161461262d57600080fd5b60055461010090046001600160a01b031663b7d2b16261264b613120565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af11580156126a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c49190615578565b15156001146126d5576126d5615c66565b60055461010090046001600160a01b031663b428b0b06126f3613120565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af1158015612748573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061276c9190615578565b1515600114610ba457610ba4615c66565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156127dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128019190615740565b9392505050565b61281133610b68565b610ba461281f846078612ad4565b83604051602001610b8f9190615b13565b61283933610b68565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612881573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a59190615521565b6001600160a01b0316146128ce576040516345789cf560e01b8152306004820152602401610c3e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6128f8612b83565b6129018161182f565b612909611319565b6001600160a01b0382166129305760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615e1583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61297033610b68565b610ba461297e84607a612ad4565b83604051602001610b8f9190615c08565b61299833610b68565b610bc66129a683606e612ad4565b826040516020016112659190615418565b6129c033610b68565b610bc6610bc08360dc612ad4565b600080516020615e35833981519152600080612a096129eb612268565b87306129fb600460008a8c615c99565b612a0491615cc3565b6131a9565b9150915081612acc5763ffffffff811615612aa957825460ff60a01b1916600160a01b178355612a37612268565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612a6693929190615cf3565b600060405180830381600087803b158015612a8057600080fd5b505af1158015612a94573d6000803e3d6000fd5b5050845460ff60a01b1916855550612acc9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c3e565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016127c0565b610ba48383836132b5565b610bc68282613766565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044016127c0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166115f857604051631afcd79f60e31b815260040160405180910390fd5b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b22906044016127c0565b610bc68282613aaa565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff1681526020019081526020016000206000612d2260c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff1681526020019081526020016000206000612e1b606e90565b60ff1660ff1681526020019081526020016000206000612d2260d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612d04565b7f07f164294c9f742449ae2b41ea995596da138b514d14d5f233585da8f92971968054603260ff19918216179091557f1aaad14668ac20aeb8e1295d4016ff57ca4e7d9a5d4ddded8fc4cc10cbd645768054821660019081179091557fe2294421c3570585f969350452a698010f0ce83857042531533f0ca7234165f78054909216811790915560d4600090815260036020527f8cabc3f67f90d9c8052e24f35f5812d18f2439ca7faf98b1d4d5d0b98dd1603e906033612d04565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c8612dfd565b600080516020615e3583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613174573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125489190615d33565b6131a0612b83565b61193881613ec3565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516132189190615d5c565b600060405180830381855afa9150503d8060008114613253576040519150601f19603f3d011682016040523d82523d6000602084013e613258565b606091505b509150915081156132aa57604081511061328a57808060200190518101906132809190615d78565b90945092506132aa565b60208151106132aa57808060200190518101906132a79190615578565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613307573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332b9190615578565b6133775760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156133e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134079190615578565b6134535760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b600085815260046020526040902060010161346e85826155f8565b5060ff8084161461348c57815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166134bc4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561354e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135729190615c7c565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e69190615da7565b85888632876040516135fe9796959493929190615dc4565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061369c9190615c7c565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156136ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137109190615da7565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156137b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137dc9190615578565b6138285760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138b89190615578565b6139045760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b81546139149060ff168285611f01565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166139584390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a0e9190615c7c565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a829190615da7565b8588863287604051613a9a9796959493929190615dc4565b60405180910390a1505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b219190615c7c565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015613b76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b9a9190615578565b613be65760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610c3e565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613c53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c779190615578565b613cc35760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610c3e565b33436000613cd08561221b565b613cdb576064613cf1565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101613d7b87826155f8565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613dee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e129190615c7c565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613e62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e869190615da7565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001613755565b613ecb612b83565b611938816130bf565b600060208284031215613ee657600080fd5b81356001600160e01b03198116811461280157600080fd5b600060208284031215613f1057600080fd5b5035919050565b6001600160601b038116811461193857600080fd5b8035613f3781613f17565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f7457613f74613f3c565b60405290565b60405161010081016001600160401b0381118282101715613f7457613f74613f3c565b60405160c081016001600160401b0381118282101715613f7457613f74613f3c565b60405161012081016001600160401b0381118282101715613f7457613f74613f3c565b60405161020081016001600160401b0381118282101715613f7457613f74613f3c565b60405160e081016001600160401b0381118282101715613f7457613f74613f3c565b6001600160a01b038116811461193857600080fd5b8035613f3781614027565b60006040828403121561405957600080fd5b614061613f52565b9050813581526020820135602082015292915050565b801515811461193857600080fd5b8035613f3781614077565b600061014082840312156140a357600080fd5b6140ab613f7a565b90506140b68261403c565b81526140c46020830161403c565b60208201526140d560408301613f2c565b60408201526140e660608301613f2c565b60608201526140f88360808401614047565b608082015261410a8360c08401614047565b60a082015261411c6101008301614085565b60c082015261412e610120830161403c565b60e082015292915050565b60ff8116811461193857600080fd5b6000806000610180848603121561415e57600080fd5b833561416981613f17565b92506141788560208601614090565b915061016084013561418981614139565b809150509250925092565b6000602082840312156141a657600080fd5b813561280181614139565b600080604083850312156141c457600080fd5b82356141cf81613f17565b915060208301356141df81614139565b809150509250929050565b803562ffffff81168114613f3757600080fd5b61ffff8116811461193857600080fd5b8035613f37816141fd565b600082601f83011261422957600080fd5b81356001600160401b038082111561424357614243613f3c565b604051601f8301601f19908116603f0116810190828211818310171561426b5761426b613f3c565b8160405283815286602085880101111561428457600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461193857600080fd5b8035613f37816142a4565b6000608082840312156142d457600080fd5b604051608081016001600160401b0382821081831117156142f7576142f7613f3c565b816040528293508435915061430b826141fd565b90825260208401359061431d82613f17565b816020840152604085013591508082111561433757600080fd5b5061434485828601614218565b6040830152506060830135614358816142a4565b6060919091015292915050565b6000806000806080858703121561437b57600080fd5b843561438681613f17565b9350614394602086016141ea565b925060408501356001600160401b038111156143af57600080fd5b6143bb878288016142c2565b92505060608501356143cc81614139565b939692955090935050565b6000602082840312156143e957600080fd5b813561280181614027565b60005b8381101561440f5781810151838201526020016143f7565b50506000910152565b600081518084526144308160208601602086016143f4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516144ad60c08401826001600160a01b03169052565b5060c083015160e0808401526144c7610100840182614418565b949350505050565b60008060008060008060c087890312156144e857600080fd5b86356144f381614027565b9550602087013561450381613f17565b9450604087013561451381614139565b9350606087013561452381614077565b9250608087013561453381614027565b915060a08701356001600160401b0381111561454e57600080fd5b61455a89828a01614218565b9150509295509295509295565b600060c0828403121561457957600080fd5b614581613f9d565b9050813561458e81613f17565b8152602082013561459e81613f17565b602082015260408201356145b181614139565b604082015260608201356145c481614139565b606082015260808201356001600160401b038111156145e257600080fd5b6145ee84828501614218565b60808301525060a0820135614602816142a4565b60a082015292915050565b6000806000806080858703121561462357600080fd5b843561462e81613f17565b9350602085013561463e816141fd565b925060408501356001600160401b0381111561465957600080fd5b6143bb87828801614567565b6001600160c01b03198116811461193857600080fd5b8035613f3781614665565b60006040828403121561469857600080fd5b6146a0613f52565b905081356146ad81613f17565b815260208201356001600160401b038111156146c857600080fd5b6146d484828501614218565b60208301525092915050565b600080604083850312156146f357600080fd5b82356146fe81614665565b915060208301356001600160401b0381111561471957600080fd5b61472585828601614686565b9150509250929050565b63ffffffff8116811461193857600080fd5b8035613f378161472f565b6000610120828403121561475f57600080fd5b614767613fbf565b905081356001600160401b038082111561478057600080fd5b61478c85838601614218565b83526020840135602084015260408401356040840152606084013560608401526147b860808501614741565b60808401526147c960a08501614741565b60a08401526147da60c08501614085565b60c08401526147eb60e08501614085565b60e08401526101009150818401358181111561480657600080fd5b61481286828701614218565b8385015250505092915050565b6000806040838503121561483257600080fd5b823561483d81614665565b915060208301356001600160401b0381111561485857600080fd5b6147258582860161474c565b60008060006060848603121561487957600080fd5b833561488481613f17565b9250614892602085016141ea565b9150604084013561418981614139565b6020815260006128016020830184614418565b600061014082840312156148c857600080fd5b6148d0613fbf565b90506148db82613f2c565b81526148ea8360208401614047565b602082015260608201356001600160401b0381111561490857600080fd5b61491484828501614218565b60408301525061492660808301613f2c565b606082015261493760a08301613f2c565b608082015261494860c08301613f2c565b60a082015261495960e083016142b7565b60c082015261010061496c8184016142b7565b60e083015261497e61012084016142b7565b9082015292915050565b60008060006060848603121561499d57600080fd5b83356149a881613f17565b925060208401356001600160401b038111156149c357600080fd5b6149cf868287016148b5565b925050604084013561418981614139565b6000806000606084860312156149f557600080fd5b8335614a0081614665565b925060208401356001600160401b03811115614a1b57600080fd5b6149cf8682870161474c565b60006102008284031215614a3a57600080fd5b614a42613fe2565b9050614a4d82613f2c565b8152614a5b60208301613f2c565b6020820152614a6c6040830161467b565b6040820152614a7d6060830161467b565b60608201526080820135608082015260a082013560a082015260c082013560c0820152614aac60e083016142b7565b60e0820152610100808301356001600160401b0380821115614acd57600080fd5b614ad986838701614218565b83850152610120925082850135915080821115614af557600080fd5b50614b0285828601614218565b828401525050610140614b1681840161420d565b90820152610160614b2883820161420d565b90820152610180614b3a838201613f2c565b908201526101a0614b4c8382016142b7565b908201526101c0614b5e8382016142b7565b908201526101e061497e8382016142b7565b600080600060608486031215614b8557600080fd5b8335614b9081613f17565b925060208401356001600160401b03811115614bab57600080fd5b6149cf86828701614a27565b600060e08284031215614bc957600080fd5b614bd1614005565b9050614bdc82613f2c565b815260208201356001600160401b0380821115614bf857600080fd5b614c0485838601614218565b602084015260408401356040840152614c1f60608501614741565b6060840152614c3060808501614741565b6080840152614c4160a085016142b7565b60a084015260c0840135915080821115614c5a57600080fd5b50614c6784828501614218565b60c08301525092915050565b600080600060608486031215614c8857600080fd5b8335614c9381614665565b925060208401356001600160401b03811115614cae57600080fd5b6149cf86828701614bb7565b60008060408385031215614ccd57600080fd5b82356141cf81614665565b600080600060608486031215614ced57600080fd5b8335614cf881613f17565b9250614d06602085016141ea565b915060408401356001600160401b03811115614d2157600080fd5b614d2d868287016142c2565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614d93602082018351614d37565b6000602083015160c0808401526144c760e0840182614418565b60008060408385031215614dc057600080fd5b8235614dcb81613f17565b915060208301356001600160401b03811115614de657600080fd5b614725858286016148b5565b60006101008284031215614e0557600080fd5b614e0d613f9d565b90508135614e1a81613f17565b81526020820135614e2a81614027565b6020820152614e3c8360408401614047565b6040820152614e4e8360808401614047565b606082015260c0820135614e6181614027565b608082015260e0919091013560a0820152919050565b6000806101208385031215614e8b57600080fd5b8235614e9681613f17565b9150614ea58460208501614df2565b90509250929050565b600080600060608486031215614ec357600080fd5b8335614ece81613f17565b92506020840135614ede816141fd565b915060408401356001600160401b03811115614ef957600080fd5b614d2d86828701614567565b60008060408385031215614f1857600080fd5b8235614f2381613f17565b915060208301356001600160401b03811115614f3e57600080fd5b61472585828601614a27565b600060e08284031215614f5c57600080fd5b614f64614005565b905081356001600160401b0380821115614f7d57600080fd5b614f8985838601614218565b8352614f976020850161403c565b6020840152614fa86040850161403c565b6040840152614fb96060850161403c565b6060840152614fca60808501613f2c565b6080840152614c4160a08501613f2c565b600080600060608486031215614ff057600080fd5b8335614ffb81613f17565b925060208401356001600160401b0381111561501657600080fd5b6149cf86828701614f4a565b60a081016114048284614d37565b600060a0828403121561504257600080fd5b60405160a081016001600160401b03828210818311171561506557615065613f3c565b816040528293508435915061507982614665565b90825260208401359061508b82614077565b81602084015260408501359150808211156150a557600080fd5b506150b285828601614218565b60408301525060608301356060820152608083013560808201525092915050565b600080604083850312156150e657600080fd5b82356150f181613f17565b915060208301356001600160401b0381111561510c57600080fd5b61472585828601615030565b60008060006060848603121561512d57600080fd5b833561513881614665565b925060208401356001600160401b0381111561515357600080fd5b6149cf86828701614686565b60008060006060848603121561517457600080fd5b833561517f81614139565b9250602084013561489281614139565b6000806000606084860312156151a457600080fd5b83356151af81613f17565b92506020840135614892816141fd565b600080604083850312156151d257600080fd5b82356151dd81614027565b946020939093013593505050565b60008060006060848603121561520057600080fd5b833561520b81614027565b9250602084013561521b81614027565b9150604084013561418981614027565b6000806040838503121561523e57600080fd5b823561524981614665565b915060208301356001600160401b0381111561526457600080fd5b61472585828601614bb7565b6000806040838503121561528357600080fd5b823561528e81613f17565b915060208301356001600160401b038111156152a957600080fd5b61472585828601614f4a565b6000806000606084860312156152ca57600080fd5b83356152d581614027565b925060208401356152e581614027565b929592945050506040919091013590565b60ff198116811461193857600080fd5b6000806040838503121561531957600080fd5b823561532481614139565b915060208301356141df816152f6565b6000806000610140848603121561534a57600080fd5b833561535581613f17565b92506153648560208601614df2565b915061012084013561418981614139565b6000806040838503121561538857600080fd5b823561539381614027565b915060208301356141df81614027565b6000806000606084860312156153b857600080fd5b83356153c381613f17565b925060208401356001600160401b038111156153de57600080fd5b6149cf86828701615030565b60008061016083850312156153fe57600080fd5b823561540981613f17565b9150614ea58460208501614090565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191615467908401826001600160601b03169052565b506080830151615484608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261550460a0840182614418565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561553357600080fd5b815161280181614027565b600181811c9082168061555257607f821691505b60208210810361557257634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561558a57600080fd5b815161280181614077565b6000602082840312156155a757600080fd5b815161280181613f17565b601f821115610ba457600081815260208120601f850160051c810160208610156155d95750805b601f850160051c820191505b81811015612acc578281556001016155e5565b81516001600160401b0381111561561157615611613f3c565b6156258161561f845461553e565b846155b2565b602080601f83116001811461565a57600084156156425750858301515b600019600386901b1c1916600185901b178555612acc565b600085815260208120601f198616915b828110156156895788860151825594840194600190910190840161566a565b50858210156156a75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261570e60e0840182614418565b905064ffffffffff60a08501511660c08401528091505092915050565b6001600160c01b031991909116815260200190565b60006020828403121561575257600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526144c76060840182614418565b60208152600082516101208060208501526157a6610140850183614418565b915060208501516040850152604085015160608501526060850151608085015260808501516157dd60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006158138187018315159052565b860151858403601f190183870152905061582d8382614418565b9695505050505050565b602081526158516020820183516001600160601b03169052565b6000602083015161586f604084018280518252602090810151910152565b50604083015161014080608085015261588c610160850183614418565b915060608501516158a860a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006158ed8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526159346020820183516001600160601b03169052565b6000602083015161595060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006159b58185018364ffffffffff169052565b8085015191505061020061012081818601526159d5610220860184614418565b9250808601519050610140601f1986850301818701526159f58483614418565b935080870151915050610160615a108187018361ffff169052565b8601519050610180615a278682018361ffff169052565b86015190506101a0615a43868201836001600160601b03169052565b86015190506101c0615a5d8682018364ffffffffff169052565b86015190506101e06159038682018364ffffffffff169052565b602081526001600160601b0382511660208201526000602083015160e06040840152615aa7610100840182614418565b90506040840151606084015263ffffffff60608501511660808401526080840151615ada60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152615b0a8282614418565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615ba4610100840182614418565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615bee60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152615aee565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615c4660c0840182614418565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615c8e57600080fd5b815161280181614139565b60008085851115615ca957600080fd5b83861115615cb657600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615ceb5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615d4557600080fd5b81516001600160401b038116811461280157600080fd5b60008251615d6e8184602087016143f4565b9190910192915050565b60008060408385031215615d8b57600080fd5b8251615d9681614077565b60208401519092506141df8161472f565b600060208284031215615db957600080fd5b8151612801816152f6565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220b81de7d7246faacc32389bc30dd6cc11c1c2772fb54d8155f6574ae8762d1ffe64736f6c63430008140033",
2903
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061046a5760003560e01c80637cef48421161024c578063bf1db3f911610146578063e7f7fb86116100c3578063f7bc431c11610087578063f7bc431c14610b04578063f7c34ee014610b17578063fb4a8e3414610b2a578063fbc1a3a014610b3d578063fe1f18d614610b5057600080fd5b8063e7f7fb8614610a8d578063e9e96c7014610aa0578063f21de1e814610735578063f48016ce14610ade578063f7b442d114610af157600080fd5b8063cde749f41161010a578063cde749f414610a36578063d2f21a2914610a3e578063d5c9d77d14610a51578063dee3262314610a64578063e5f6cd2714610a7757600080fd5b8063bf1db3f9146109f5578063bf7e214f14610a08578063c0c53b8b14610a10578063ca0e7f0814610a23578063cbe864251461074657600080fd5b8063a472a832116101d4578063a898967511610198578063a898967514610994578063ada9652e146109a7578063af902500146109bc578063b6d7cd62146109cf578063bb1e0e59146109e257600080fd5b8063a472a83214610897578063a4eeee59146108aa578063a5961b4c146108bd578063a671495e1461096e578063a76ee0181461098157600080fd5b80638fb360371161021b5780638fb360371461082a57806397affbf51461084b5780639e90178c1461085e578063a1ef60e914610871578063a28422291461088457600080fd5b80637cef4842146107dc57806381c2b282146107ef578063893d20e8146108025780638eaa6ac01461080a57600080fd5b806337f135d7116103685780635ab1bd53116102e557806361f5f420116102a957806361f5f42014610775578063644c45e014610786578063675393bf146107ae57806375b238fc146107c15780637a9e5e4b146107c957600080fd5b80635ab1bd53146107355780635d0c9334146107465780635d4345cc146105845780635dfa73db1461075957806361105e0e1461076257600080fd5b8063422c9d001161032c578063422c9d00146106d4578063468bce06146106e757806354f6127f146106ef578063598524261461070f5780635a8416b01461072257600080fd5b806337f135d7146106585780633870a7701461067557806338a699a4146106885780633ca7c02a1461069b57806340529b0f146106c157600080fd5b80630fec111c116103f657806327bb7a33116103ba57806327bb7a331461060457806329e63f62146106175780632f61088a1461062a57806330a130ba1461063d57806336fc697e1461065057600080fd5b80630fec111c14610597578063138461e0146105ac5780631eff4b22146105b4578063214cdb80146105e95780632781d443146105fc57600080fd5b80630d3581811161043d5780630d358181146105255780630f526f7d1461054b5780630f6c29ef1461055e5780630f749a89146105715780630fad0eb11461058457600080fd5b806301ffc9a71461046f57806302cd3071146104b157806309648a9d146104d65780630cbc6b8914610510575b600080fd5b61049c61047d366004613ed4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104fe6104e4366004613efe565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b61052361051e366004614148565b610b63565b005b6104fe610533366004614194565b60ff9081166000908152600260205260409020541690565b6105236105593660046141b1565b610ba9565b61052361056c366004614365565b610bca565b61052361057f3660046143d7565b610bf7565b6105236105923660046141b1565b610d1d565b61059f610d34565b6040516104a89190614444565b610523610ee3565b6105db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016104a8565b6105236105f7366004613ed4565b6110e5565b6105db600381565b6105236106123660046144cf565b611112565b61052361062536600461460d565b61119e565b6105236106383660046146e0565b6111c5565b61052361064b36600461481f565b611279565b610523611319565b610660600081565b60405163ffffffff90911681526020016104a8565b610523610683366004614864565b61135f565b61049c610696366004613efe565b611375565b6106a96001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6105236106cf3660046141b1565b61140a565b6105236106e23660046143d7565b611421565b6105236115c8565b6107026106fd366004613efe565b6115fa565b6040516104a891906148a2565b61052361071d366004614988565b61169f565b6105236107303660046149e0565b6116c7565b6001546001600160a01b03166104be565b610523610754366004614b70565b611767565b6106a961271081565b610523610770366004614c73565b61178f565b6007546001600160a01b03166104be565b600080516020615e15833981519152546040516001600160601b0390911681526020016104a8565b6105236107bc3660046143d7565b61182f565b6106a9600081565b6105236107d73660046143d7565b61193b565b6105236107ea366004614cba565b6119be565b6105236107fd366004614cd8565b611a4d565b6104be611a74565b61081d610818366004613efe565b611bab565b6040516104a89190614d81565b610832611cec565b6040516001600160e01b031990911681526020016104a8565b610523610859366004614dad565b611d24565b61052361086c366004614e77565b611d4c565b61052361087f366004614eae565b611d74565b610523610892366004614cba565b611d9b565b6105236108a5366004614f05565b611de9565b6105236108b8366004614fdb565b611e11565b6109616108cb366004613efe565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a89190615022565b61052361097c3660046150d3565b611e39565b61052361098f366004615118565b611e61565b6105236109a236600461515f565b611f01565b6105db600080516020615e1583398151915281565b6105236109ca366004614cba565b611ff2565b6105236109dd36600461518f565b612040565b6105236109f03660046151bf565b612056565b61049c610a03366004614194565b61221b565b6104be612268565b610523610a1e3660046151eb565b612284565b610523610a3136600461522b565b612431565b6104fe6124d1565b610523610a4c3660046141b1565b61254d565b610523610a5f366004615270565b612564565b610523610a723660046141b1565b61258c565b60055461010090046001600160a01b03166104be565b610523610a9b3660046152b5565b6125a3565b61049c610aae36600461515f565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105db610aec366004615306565b61277d565b610523610aff366004615334565b612808565b610523610b123660046143d7565b612830565b610523610b25366004615375565b6128f0565b610523610b383660046153a3565b612967565b610523610b4b3660046153ea565b61298f565b610523610b5e3660046141b1565b6129b7565b610b70335b6000366129ce565b610ba4610b7e84606e612ad4565b83604051602001610b8f9190615418565b60405160208183030381529060405283612b20565b505050565b610bb233610b68565b610bc6610bc083608c612ad4565b82612b2b565b5050565b610bd333610b68565b610bf1610be08585612b35565b83604051602001610b8f91906154c7565b50505050565b610c0033610b68565b60055461010090046001600160a01b031615610c475760055460405163e02ca03360e01b81526101009091046001600160a01b031660048201526024015b60405180910390fd5b610c4f612268565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190615521565b6001600160a01b031614610cf557610cd0612268565b6040516374150f9560e11b81526001600160a01b039091166004820152602401610c3e565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610d2633610b68565b610bc6610bc08360d3612ad4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610ddf9061553e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b9061553e565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b50505050508152505090506040518060e00160405280610e76600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610ec7611a74565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615e1583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f769190615578565b15610fa25780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c3e565b30610fb56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610ffd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110219190615578565b6110495760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610c3e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561109d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c19190615595565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6110ed612b83565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61111a612b83565b61112482876128f0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161119483826155f8565b5050505050505050565b6111a733610b68565b610bf16111b48585612bcc565b83604051602001610b8f91906156b7565b6111ce33610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611213906001600160c01b031987169060040161572b565b602060405180830381865af4158015611230573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112549190615740565b826040516020016112659190615759565b604051602081830303815290604052612c19565b61128233610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906112c7906001600160c01b031987169060040161572b565b602060405180830381865af41580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113089190615740565b826040516020016112659190615787565b611321612b83565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61136833610b68565b610ba4610bc08484612b35565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114049190615578565b92915050565b61141333610b68565b610bc6610bc083607a612ad4565b61142a33610b68565b6007546001600160a01b0316156114635760075460405163384c2dbd60e11b81526001600160a01b039091166004820152602401610c3e565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cf9190615521565b6001600160a01b0316146114f85760405163decb98c560e01b8152306004820152602401610c3e565b611500612268565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611547573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156b9190615521565b6001600160a01b0316146115a657611581612268565b604051630312205960e41b81526001600160a01b039091166004820152602401610c3e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6115d0612b83565b6115d8612c23565b6115e0612d46565b6115e8612e39565b6115f0612f47565b6115f8613003565b565b600081815260046020526040902060010180546060919061161a9061553e565b80601f01602080910402602001604051908101604052809291908181526020018280546116469061553e565b80156116935780601f1061166857610100808354040283529160200191611693565b820191906000526020600020905b81548152906001019060200180831161167657829003601f168201915b50505050509050919050565b6116a833610b68565b610ba46116b68460dc612ad4565b83604051602001610b8f9190615837565b6116d033610b68565b6040516355ee627560e01b8152610ba49073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611715906001600160c01b031988169060040161572b565b602060405180830381865af4158015611732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117569190615740565b83604051602001610b8f9190615787565b61177033610b68565b610ba461177e8460d3612ad4565b83604051602001610b8f919061591a565b61179833610b68565b6040516355ee627560e01b8152610ba49073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee6275906117dd906001600160c01b031988169060040161572b565b602060405180830381865af41580156117fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181e9190615740565b83604051602001610b8f9190615a77565b611837612b83565b806001600160a01b03163b60000361186d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156118e7575060408051601f3d908101601f191682019092526118e491810190615578565b60015b61190f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b80610bc65760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c3e565b50565b33611944612268565b6001600160a01b0316816001600160a01b03161461197f5760405162d1953b60e31b81526001600160a01b0382166004820152602401610c3e565b816001600160a01b03163b6000036119b5576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c3e565b610bc6826130bf565b6119c733610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611a0c906001600160c01b031987169060040161572b565b602060405180830381865af4158015611a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc09190615740565b611a5633610b68565b610ba4611a638484612b35565b8260405160200161126591906154c7565b600080600080516020615e1583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611ae4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b089190615578565b15611b95576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8f9190615521565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611c639061553e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8f9061553e565b8015611cdc5780601f10611cb157610100808354040283529160200191611cdc565b820191906000526020600020905b815481529060010190602001808311611cbf57829003601f168201915b5050505050815250509050919050565b600080516020615e35833981519152805460009190600160a01b900460ff16611d16576000611b8f565b638fb3603760e01b91505090565b611d2d33610b68565b610bc6611d3b8360dc612ad4565b826040516020016112659190615837565b611d5533610b68565b610bc6611d63836078612ad4565b826040516020016112659190615b13565b611d7d33610b68565b610ba4611d8a8484612bcc565b8260405160200161126591906156b7565b611da433610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a0c906001600160c01b031987169060040161572b565b611df233610b68565b610bc6611e008360d3612ad4565b82604051602001611265919061591a565b611e1a33610b68565b610ba4611e2884608c612ad4565b83604051602001610b8f9190615b87565b611e4233610b68565b610bc6611e5083607a612ad4565b826040516020016112659190615c08565b611e6a33610b68565b6040516355ee627560e01b8152610ba49073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611eaf906001600160c01b031988169060040161572b565b602060405180830381865af4158015611ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef09190615740565b83604051602001610b8f9190615759565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8a9190615578565b15611f9457505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610ba457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610c3e565b611ffb33610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590611a0c906001600160c01b031987169060040161572b565b61204933610b68565b610ba4610bc08484612bcc565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561209f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c39190615521565b6001600160a01b0316336001600160a01b0316146120e057600080fd5b60055461010090046001600160a01b031663030149746120fe613120565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015612142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121669190615740565b1561217357612173615c66565b60055461010090046001600160a01b031663b428b0b0612191613120565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af11580156121e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220a9190615578565b1515600114610bc657610bc6615c66565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113c3565b600080516020615e35833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156122c95750825b90506000826001600160401b031660011480156122e55750303b155b9050811580156122f3575080155b156123115760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561233b57845460ff60401b1916600160401b1785555b61234488613198565b60008790506123c988826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561238b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123af9190615595565b604660018b60405180602001604052806000815250611112565b6123d16115c8565b6123e1632d7f9b4d60e11b6110e5565b50831561119457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61243a33610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee62759061247f906001600160c01b031987169060040161572b565b602060405180830381865af415801561249c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c09190615740565b826040516020016112659190615a77565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612524573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125489190615c7c565b905090565b61255633610b68565b610bc6610bc0836078612ad4565b61256d33610b68565b610bc661257b83608c612ad4565b826040516020016112659190615b87565b61259533610b68565b610bc6610bc083606e612ad4565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126109190615521565b6001600160a01b0316336001600160a01b03161461262d57600080fd5b60055461010090046001600160a01b031663b7d2b16261264b613120565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af11580156126a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c49190615578565b15156001146126d5576126d5615c66565b60055461010090046001600160a01b031663b428b0b06126f3613120565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af1158015612748573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061276c9190615578565b1515600114610ba457610ba4615c66565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156127dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128019190615740565b9392505050565b61281133610b68565b610ba461281f846078612ad4565b83604051602001610b8f9190615b13565b61283933610b68565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612881573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a59190615521565b6001600160a01b0316146128ce576040516345789cf560e01b8152306004820152602401610c3e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6128f8612b83565b6129018161182f565b612909611319565b6001600160a01b0382166129305760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615e1583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61297033610b68565b610ba461297e84607a612ad4565b83604051602001610b8f9190615c08565b61299833610b68565b610bc66129a683606e612ad4565b826040516020016112659190615418565b6129c033610b68565b610bc6610bc08360dc612ad4565b600080516020615e35833981519152600080612a096129eb612268565b87306129fb600460008a8c615c99565b612a0491615cc3565b6131a9565b9150915081612acc5763ffffffff811615612aa957825460ff60a01b1916600160a01b178355612a37612268565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612a6693929190615cf3565b600060405180830381600087803b158015612a8057600080fd5b505af1158015612a94573d6000803e3d6000fd5b5050845460ff60a01b1916855550612acc9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c3e565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016127c0565b610ba48383836132b5565b610bc68282613766565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044016127c0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166115f857604051631afcd79f60e31b815260040160405180910390fd5b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b22906044016127c0565b610bc68282613aaa565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff1681526020019081526020016000206000612d2260c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff1681526020019081526020016000206000612e1b606e90565b60ff1660ff1681526020019081526020016000206000612d2260d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612d04565b7f07f164294c9f742449ae2b41ea995596da138b514d14d5f233585da8f92971968054603260ff19918216179091557f1aaad14668ac20aeb8e1295d4016ff57ca4e7d9a5d4ddded8fc4cc10cbd645768054821660019081179091557fe2294421c3570585f969350452a698010f0ce83857042531533f0ca7234165f78054909216811790915560d4600090815260036020527f8cabc3f67f90d9c8052e24f35f5812d18f2439ca7faf98b1d4d5d0b98dd1603e906033612d04565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c8612dfd565b600080516020615e3583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613174573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125489190615d33565b6131a0612b83565b61193881613ec3565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516132189190615d5c565b600060405180830381855afa9150503d8060008114613253576040519150601f19603f3d011682016040523d82523d6000602084013e613258565b606091505b509150915081156132aa57604081511061328a57808060200190518101906132809190615d78565b90945092506132aa565b60208151106132aa57808060200190518101906132a79190615578565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613307573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332b9190615578565b6133775760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156133e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134079190615578565b6134535760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b600085815260046020526040902060010161346e85826155f8565b5060ff8084161461348c57815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166134bc4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561354e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135729190615c7c565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e69190615da7565b85888632876040516135fe9796959493929190615dc4565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061369c9190615c7c565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156136ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137109190615da7565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156137b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137dc9190615578565b6138285760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138b89190615578565b6139045760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b81546139149060ff168285611f01565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166139584390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a0e9190615c7c565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a829190615da7565b8588863287604051613a9a9796959493929190615dc4565b60405180910390a1505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b219190615c7c565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015613b76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b9a9190615578565b613be65760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610c3e565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613c53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c779190615578565b613cc35760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610c3e565b33436000613cd08561221b565b613cdb576064613cf1565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101613d7b87826155f8565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613dee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e129190615c7c565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613e62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e869190615da7565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001613755565b613ecb612b83565b611938816130bf565b600060208284031215613ee657600080fd5b81356001600160e01b03198116811461280157600080fd5b600060208284031215613f1057600080fd5b5035919050565b6001600160601b038116811461193857600080fd5b8035613f3781613f17565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f7457613f74613f3c565b60405290565b60405161010081016001600160401b0381118282101715613f7457613f74613f3c565b60405160c081016001600160401b0381118282101715613f7457613f74613f3c565b60405161012081016001600160401b0381118282101715613f7457613f74613f3c565b60405161020081016001600160401b0381118282101715613f7457613f74613f3c565b60405160e081016001600160401b0381118282101715613f7457613f74613f3c565b6001600160a01b038116811461193857600080fd5b8035613f3781614027565b60006040828403121561405957600080fd5b614061613f52565b9050813581526020820135602082015292915050565b801515811461193857600080fd5b8035613f3781614077565b600061014082840312156140a357600080fd5b6140ab613f7a565b90506140b68261403c565b81526140c46020830161403c565b60208201526140d560408301613f2c565b60408201526140e660608301613f2c565b60608201526140f88360808401614047565b608082015261410a8360c08401614047565b60a082015261411c6101008301614085565b60c082015261412e610120830161403c565b60e082015292915050565b60ff8116811461193857600080fd5b6000806000610180848603121561415e57600080fd5b833561416981613f17565b92506141788560208601614090565b915061016084013561418981614139565b809150509250925092565b6000602082840312156141a657600080fd5b813561280181614139565b600080604083850312156141c457600080fd5b82356141cf81613f17565b915060208301356141df81614139565b809150509250929050565b803562ffffff81168114613f3757600080fd5b61ffff8116811461193857600080fd5b8035613f37816141fd565b600082601f83011261422957600080fd5b81356001600160401b038082111561424357614243613f3c565b604051601f8301601f19908116603f0116810190828211818310171561426b5761426b613f3c565b8160405283815286602085880101111561428457600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461193857600080fd5b8035613f37816142a4565b6000608082840312156142d457600080fd5b604051608081016001600160401b0382821081831117156142f7576142f7613f3c565b816040528293508435915061430b826141fd565b90825260208401359061431d82613f17565b816020840152604085013591508082111561433757600080fd5b5061434485828601614218565b6040830152506060830135614358816142a4565b6060919091015292915050565b6000806000806080858703121561437b57600080fd5b843561438681613f17565b9350614394602086016141ea565b925060408501356001600160401b038111156143af57600080fd5b6143bb878288016142c2565b92505060608501356143cc81614139565b939692955090935050565b6000602082840312156143e957600080fd5b813561280181614027565b60005b8381101561440f5781810151838201526020016143f7565b50506000910152565b600081518084526144308160208601602086016143f4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516144ad60c08401826001600160a01b03169052565b5060c083015160e0808401526144c7610100840182614418565b949350505050565b60008060008060008060c087890312156144e857600080fd5b86356144f381614027565b9550602087013561450381613f17565b9450604087013561451381614139565b9350606087013561452381614077565b9250608087013561453381614027565b915060a08701356001600160401b0381111561454e57600080fd5b61455a89828a01614218565b9150509295509295509295565b600060c0828403121561457957600080fd5b614581613f9d565b9050813561458e81613f17565b8152602082013561459e81613f17565b602082015260408201356145b181614139565b604082015260608201356145c481614139565b606082015260808201356001600160401b038111156145e257600080fd5b6145ee84828501614218565b60808301525060a0820135614602816142a4565b60a082015292915050565b6000806000806080858703121561462357600080fd5b843561462e81613f17565b9350602085013561463e816141fd565b925060408501356001600160401b0381111561465957600080fd5b6143bb87828801614567565b6001600160c01b03198116811461193857600080fd5b8035613f3781614665565b60006040828403121561469857600080fd5b6146a0613f52565b905081356146ad81613f17565b815260208201356001600160401b038111156146c857600080fd5b6146d484828501614218565b60208301525092915050565b600080604083850312156146f357600080fd5b82356146fe81614665565b915060208301356001600160401b0381111561471957600080fd5b61472585828601614686565b9150509250929050565b63ffffffff8116811461193857600080fd5b8035613f378161472f565b6000610120828403121561475f57600080fd5b614767613fbf565b905081356001600160401b038082111561478057600080fd5b61478c85838601614218565b83526020840135602084015260408401356040840152606084013560608401526147b860808501614741565b60808401526147c960a08501614741565b60a08401526147da60c08501614085565b60c08401526147eb60e08501614085565b60e08401526101009150818401358181111561480657600080fd5b61481286828701614218565b8385015250505092915050565b6000806040838503121561483257600080fd5b823561483d81614665565b915060208301356001600160401b0381111561485857600080fd5b6147258582860161474c565b60008060006060848603121561487957600080fd5b833561488481613f17565b9250614892602085016141ea565b9150604084013561418981614139565b6020815260006128016020830184614418565b600061014082840312156148c857600080fd5b6148d0613fbf565b90506148db82613f2c565b81526148ea8360208401614047565b602082015260608201356001600160401b0381111561490857600080fd5b61491484828501614218565b60408301525061492660808301613f2c565b606082015261493760a08301613f2c565b608082015261494860c08301613f2c565b60a082015261495960e083016142b7565b60c082015261010061496c8184016142b7565b60e083015261497e61012084016142b7565b9082015292915050565b60008060006060848603121561499d57600080fd5b83356149a881613f17565b925060208401356001600160401b038111156149c357600080fd5b6149cf868287016148b5565b925050604084013561418981614139565b6000806000606084860312156149f557600080fd5b8335614a0081614665565b925060208401356001600160401b03811115614a1b57600080fd5b6149cf8682870161474c565b60006102008284031215614a3a57600080fd5b614a42613fe2565b9050614a4d82613f2c565b8152614a5b60208301613f2c565b6020820152614a6c6040830161467b565b6040820152614a7d6060830161467b565b60608201526080820135608082015260a082013560a082015260c082013560c0820152614aac60e083016142b7565b60e0820152610100808301356001600160401b0380821115614acd57600080fd5b614ad986838701614218565b83850152610120925082850135915080821115614af557600080fd5b50614b0285828601614218565b828401525050610140614b1681840161420d565b90820152610160614b2883820161420d565b90820152610180614b3a838201613f2c565b908201526101a0614b4c8382016142b7565b908201526101c0614b5e8382016142b7565b908201526101e061497e8382016142b7565b600080600060608486031215614b8557600080fd5b8335614b9081613f17565b925060208401356001600160401b03811115614bab57600080fd5b6149cf86828701614a27565b600060e08284031215614bc957600080fd5b614bd1614005565b9050614bdc82613f2c565b815260208201356001600160401b0380821115614bf857600080fd5b614c0485838601614218565b602084015260408401356040840152614c1f60608501614741565b6060840152614c3060808501614741565b6080840152614c4160a085016142b7565b60a084015260c0840135915080821115614c5a57600080fd5b50614c6784828501614218565b60c08301525092915050565b600080600060608486031215614c8857600080fd5b8335614c9381614665565b925060208401356001600160401b03811115614cae57600080fd5b6149cf86828701614bb7565b60008060408385031215614ccd57600080fd5b82356141cf81614665565b600080600060608486031215614ced57600080fd5b8335614cf881613f17565b9250614d06602085016141ea565b915060408401356001600160401b03811115614d2157600080fd5b614d2d868287016142c2565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614d93602082018351614d37565b6000602083015160c0808401526144c760e0840182614418565b60008060408385031215614dc057600080fd5b8235614dcb81613f17565b915060208301356001600160401b03811115614de657600080fd5b614725858286016148b5565b60006101008284031215614e0557600080fd5b614e0d613f9d565b90508135614e1a81613f17565b81526020820135614e2a81614027565b6020820152614e3c8360408401614047565b6040820152614e4e8360808401614047565b606082015260c0820135614e6181614027565b608082015260e0919091013560a0820152919050565b6000806101208385031215614e8b57600080fd5b8235614e9681613f17565b9150614ea58460208501614df2565b90509250929050565b600080600060608486031215614ec357600080fd5b8335614ece81613f17565b92506020840135614ede816141fd565b915060408401356001600160401b03811115614ef957600080fd5b614d2d86828701614567565b60008060408385031215614f1857600080fd5b8235614f2381613f17565b915060208301356001600160401b03811115614f3e57600080fd5b61472585828601614a27565b600060e08284031215614f5c57600080fd5b614f64614005565b905081356001600160401b0380821115614f7d57600080fd5b614f8985838601614218565b8352614f976020850161403c565b6020840152614fa86040850161403c565b6040840152614fb96060850161403c565b6060840152614fca60808501613f2c565b6080840152614c4160a08501613f2c565b600080600060608486031215614ff057600080fd5b8335614ffb81613f17565b925060208401356001600160401b0381111561501657600080fd5b6149cf86828701614f4a565b60a081016114048284614d37565b600060a0828403121561504257600080fd5b60405160a081016001600160401b03828210818311171561506557615065613f3c565b816040528293508435915061507982614665565b90825260208401359061508b82614077565b81602084015260408501359150808211156150a557600080fd5b506150b285828601614218565b60408301525060608301356060820152608083013560808201525092915050565b600080604083850312156150e657600080fd5b82356150f181613f17565b915060208301356001600160401b0381111561510c57600080fd5b61472585828601615030565b60008060006060848603121561512d57600080fd5b833561513881614665565b925060208401356001600160401b0381111561515357600080fd5b6149cf86828701614686565b60008060006060848603121561517457600080fd5b833561517f81614139565b9250602084013561489281614139565b6000806000606084860312156151a457600080fd5b83356151af81613f17565b92506020840135614892816141fd565b600080604083850312156151d257600080fd5b82356151dd81614027565b946020939093013593505050565b60008060006060848603121561520057600080fd5b833561520b81614027565b9250602084013561521b81614027565b9150604084013561418981614027565b6000806040838503121561523e57600080fd5b823561524981614665565b915060208301356001600160401b0381111561526457600080fd5b61472585828601614bb7565b6000806040838503121561528357600080fd5b823561528e81613f17565b915060208301356001600160401b038111156152a957600080fd5b61472585828601614f4a565b6000806000606084860312156152ca57600080fd5b83356152d581614027565b925060208401356152e581614027565b929592945050506040919091013590565b60ff198116811461193857600080fd5b6000806040838503121561531957600080fd5b823561532481614139565b915060208301356141df816152f6565b6000806000610140848603121561534a57600080fd5b833561535581613f17565b92506153648560208601614df2565b915061012084013561418981614139565b6000806040838503121561538857600080fd5b823561539381614027565b915060208301356141df81614027565b6000806000606084860312156153b857600080fd5b83356153c381613f17565b925060208401356001600160401b038111156153de57600080fd5b6149cf86828701615030565b60008061016083850312156153fe57600080fd5b823561540981613f17565b9150614ea58460208501614090565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191615467908401826001600160601b03169052565b506080830151615484608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261550460a0840182614418565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561553357600080fd5b815161280181614027565b600181811c9082168061555257607f821691505b60208210810361557257634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561558a57600080fd5b815161280181614077565b6000602082840312156155a757600080fd5b815161280181613f17565b601f821115610ba457600081815260208120601f850160051c810160208610156155d95750805b601f850160051c820191505b81811015612acc578281556001016155e5565b81516001600160401b0381111561561157615611613f3c565b6156258161561f845461553e565b846155b2565b602080601f83116001811461565a57600084156156425750858301515b600019600386901b1c1916600185901b178555612acc565b600085815260208120601f198616915b828110156156895788860151825594840194600190910190840161566a565b50858210156156a75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261570e60e0840182614418565b905064ffffffffff60a08501511660c08401528091505092915050565b6001600160c01b031991909116815260200190565b60006020828403121561575257600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526144c76060840182614418565b60208152600082516101208060208501526157a6610140850183614418565b915060208501516040850152604085015160608501526060850151608085015260808501516157dd60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006158138187018315159052565b860151858403601f190183870152905061582d8382614418565b9695505050505050565b602081526158516020820183516001600160601b03169052565b6000602083015161586f604084018280518252602090810151910152565b50604083015161014080608085015261588c610160850183614418565b915060608501516158a860a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006158ed8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526159346020820183516001600160601b03169052565b6000602083015161595060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006159b58185018364ffffffffff169052565b8085015191505061020061012081818601526159d5610220860184614418565b9250808601519050610140601f1986850301818701526159f58483614418565b935080870151915050610160615a108187018361ffff169052565b8601519050610180615a278682018361ffff169052565b86015190506101a0615a43868201836001600160601b03169052565b86015190506101c0615a5d8682018364ffffffffff169052565b86015190506101e06159038682018364ffffffffff169052565b602081526001600160601b0382511660208201526000602083015160e06040840152615aa7610100840182614418565b90506040840151606084015263ffffffff60608501511660808401526080840151615ada60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152615b0a8282614418565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615ba4610100840182614418565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615bee60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152615aee565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615c4660c0840182614418565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615c8e57600080fd5b815161280181614139565b60008085851115615ca957600080fd5b83861115615cb657600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615ceb5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615d4557600080fd5b81516001600160401b038116811461280157600080fd5b60008251615d6e8184602087016143f4565b9190910192915050565b60008060408385031215615d8b57600080fd5b8251615d9681614077565b60208401519092506141df8161472f565b600060208284031215615db957600080fd5b8151612801816152f6565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220b81de7d7246faacc32389bc30dd6cc11c1c2772fb54d8155f6574ae8762d1ffe64736f6c63430008140033",
1244
+ "bytecode": "0x6080604052348015600e575f80fd5b506135938061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061024a575f3560e01c8063644c45e011610140578063b428b0b0116100bf578063d4cda0d811610084578063d4cda0d814610540578063d6d0a65b14610551578063e52ba1cb14610564578063f153f82414610577578063f4b4ee4d1461058a578063f7bc431c1461059d575f80fd5b8063b428b0b014610502578063b7d2b16214610515578063bf7e214f14610528578063c265172514610530578063c71e261f14610538575f80fd5b80638689231311610105578063868923131461049f578063893d20e8146104b25780638fb36037146104ba57806396cdfa3f146104db578063ada9652e146104ee575f80fd5b8063644c45e0146104315780636dddada41461044e57806376b707b71461045f5780637a9e5e4b146104795780637de45f131461048c575f80fd5b806323dff792116101cc57806340acebd91161019157806340acebd9146103df5780634f8b8aba146103e75780635ab1bd53146103fa5780635d9662891461040b5780635fa8aad41461041e575f80fd5b806323dff7921461038a57806326decd401461039d5780632d764ef8146103b0578063311adb68146103c3578063398e3d4c146103d4575f80fd5b8063138461e011610212578063138461e0146102ef57806315b745321461030f5780631eff4b22146103225780631f481d641461035757806322f3e2d414610382575f80fd5b806301ffc9a71461024e57806302cd30711461028f5780630e0c586d146102b45780630fec111c146102c557806311f77843146102da575b5f80fd5b61027a61025c366004612a9c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6007546001600160a01b031661029c565b6102cd6105b0565b6040516102869190612aec565b6102ed6102e8366004612b94565b61076a565b005b6102f7610814565b6040516001600160601b039091168152602001610286565b6102f761031d366004612baf565b610823565b6103497f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61036a610365366004612cc2565b610865565b6040516001600160401b039091168152602001610286565b61027a610964565b6102ed610398366004612d2e565b6109db565b61027a6103ab366004612b94565b610bf4565b6102ed6103be366004612d77565b610c6a565b6004546001600160a01b031661029c565b600a5460ff1661027a565b61027a610ce5565b6102ed6103f5366004612da6565b610d5a565b6001546001600160a01b031661029c565b6102f7610419366004612dc1565b610e0b565b61036a61042c366004612ded565b610f28565b5f8051602061351e833981519152546001600160601b03166102f7565b6006546001600160a01b031661029c565b610467611022565b60405160ff9091168152602001610286565b6102ed610487366004612b94565b61108a565b6102ed61049a366004612da6565b611110565b6102ed6104ad366004612e39565b61118d565b61029c611273565b6104c26113a4565b6040516001600160e01b03199091168152602001610286565b6102ed6104e9366004612e55565b6113d9565b6103495f8051602061351e83398151915281565b6102ed610510366004612e70565b611446565b6102ed610523366004612e70565b611652565b61029c61185e565b6102ed611879565b600954610349565b6008546001600160a01b031661029c565b6102ed61055f366004612e9a565b611921565b6102f7610572366004612da6565b611fd2565b6102ed610585366004613010565b61208b565b6102ed610598366004613052565b612101565b6102ed6105ab366004612b94565b6121ab565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561065c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068091906130af565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8611273565b6001600160a01b031681526020018260010180546106e5906130ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610711906130ca565b801561075c5780601f106107335761010080835404028352916020019161075c565b820191905f5260205f20905b81548152906001019060200180831161073f57829003601f168201915b505050505081525091505090565b610776335b5f36612269565b61077e611273565b6001600160a01b0316336001600160a01b0316146107b65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107fb575f80fd5b505af115801561080d573d5f803e3d5ffd5b5050505050565b5f61081e3061235f565b905090565b5f6009828154811061083757610837613102565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61086f3361076f565b610877611273565b6001600160a01b0316336001600160a01b0316146108aa5760405163086391f760e31b81523360048201526024016107ad565b6003546040516307d2075960e21b81526001600160a01b0390911690631f481d64906108de90879087908790600401613116565b6020604051808303815f875af11580156108fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091e919061314d565b90507f6c5b02802c41c82ddc743a2761e8741ad590fa0bb7870ba7dfe66aa84050a264818585856040516109559493929190613168565b60405180910390a19392505050565b5f61096d61185e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d591906131af565b15905090565b6109e43361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa158015610a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5c91906131af565b610a8457604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33610a8d611273565b6001600160a01b0316816001600160a01b031614610b36576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd191610ad69186918691016131ca565b602060405180830381865afa158015610af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1591906131af565b610b36578181604051631a94665f60e31b81526004016107ad9291906131ca565b6003546040516311effbc960e11b81526001600160401b038616600482015284151560248201526001600160a01b03909116906323dff792906044015f604051808303815f87803b158015610b89575f80fd5b505af1158015610b9b573d5f803e3d5ffd5b5050604080516001600160401b0388168152861515602082015233918101919091527ffb7c4cd23612bcc7ae3688074faa23835a443807c382c108d80ec75f8668db2f925060600190505b60405180910390a150505050565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906131af565b92915050565b610c733361076f565b610c7b611273565b6001600160a01b0316336001600160a01b031614610cae5760405163086391f760e31b81523360048201526024016107ad565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107e4565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d36573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906131af565b610d633361076f565b610d6b611273565b6001600160a01b0316336001600160a01b031614610d9e5760405163086391f760e31b81523360048201526024016107ad565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610df1575f80fd5b505af1158015610e03573d5f803e3d5ffd5b505050505050565b5f610e153361076f565b610e1d611273565b6001600160a01b0316336001600160a01b031614610e505760405163086391f760e31b81523360048201526024016107ad565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec591906130af565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b5f610f323361076f565b610f3a611273565b6001600160a01b0316336001600160a01b031614610f6d5760405163086391f760e31b81523360048201526024016107ad565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f9f90869086906004016131ec565b6020604051808303815f875af1158015610fbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdf919061314d565b90507f35040cf09b2f49908add8962a4116f3a23b1ce1e6ccc3b370a5205a3f128b86d8382846040516110149392919061320f565b60405180910390a192915050565b5f61102b61185e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611066573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e919061324a565b3361109361185e565b6001600160a01b0316816001600160a01b0316146110ce5760405162d1953b60e31b81526001600160a01b03821660048201526024016107ad565b816001600160a01b03163b5f03611103576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ad565b61110c826125b5565b5050565b6111193361076f565b611121611273565b6001600160a01b0316336001600160a01b0316146111545760405163086391f760e31b81523360048201526024016107ad565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107e4565b611195611273565b6001600160a01b0316336001600160a01b0316146111c85760405163086391f760e31b81523360048201526024016107ad565b600354604051638689231360e01b81526001600160a01b0384811660048301528315156024830152909116906386892313906044015f604051808303815f87803b158015611214575f80fd5b505af1158015611226573d5f803e3d5ffd5b5050604080516001600160a01b038616815284151560208201527fb3a503c4b7a90c1d036fcdec3757dc6b537f887a8c588606f78076e9fc3a78ca93500190505b60405180910390a15050565b5f805f8051602061351e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130391906131af565b1561138e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190613265565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061353e83398151915280545f9190600160a01b900460ff166113cb575f611388565b638fb3603760e01b91505090565b6113e1611273565b6001600160a01b0316336001600160a01b0316146114145760405163086391f760e31b81523360048201526024016107ad565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107e4565b61144f3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156114a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c791906131af565b6114ef57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b336114f8611273565b6001600160a01b0316816001600160a01b0316146115a1576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd1916115419186918691016131ca565b602060405180830381865afa15801561155c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061158091906131af565b6115a1578181604051631a94665f60e31b81526004016107ad9291906131ca565b600354604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906115d390879087906004016131ca565b5f604051808303815f87803b1580156115ea575f80fd5b505af11580156115fc573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527f2a47cfa3950f5163af56e954433a359d9c481d14f90d8db827d859f5e8641e1a92506060019050610be6565b61165b3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156116af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d391906131af565b6116fb57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33611704611273565b6001600160a01b0316816001600160a01b0316146117ad576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161174d9186918691016131ca565b602060405180830381865afa158015611768573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178c91906131af565b6117ad578181604051631a94665f60e31b81526004016107ad9291906131ca565b600354604051635be958b160e11b81526001600160a01b039091169063b7d2b162906117df90879087906004016131ca565b5f604051808303815f87803b1580156117f6575f80fd5b505af1158015611808573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527fbdd55b4d14c3bb8684d8b5a9a57d9e802f3da86c5cd871d4b868a77ef152d2b692506060019050610be6565b5f8051602061353e833981519152546001600160a01b031690565b6118823361076f565b61188a611273565b6001600160a01b0316336001600160a01b0316146118bd5760405163086391f760e31b81523360048201526024016107ad565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611909575f80fd5b505af115801561191b573d5f803e3d5ffd5b50505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119655750825b90505f826001600160401b031660011480156119805750303b155b90508115801561198e575080155b156119ac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119d657845460ff60401b1916600160401b1785555b6001600160a01b038e166119fd576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550611aff8e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a869190613265565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ac3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae791906130af565b600a5f8c60405180602001604052805f81525061260e565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611be3575f80fd5b505af1158015611bf5573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7c9190613265565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611cc2575f80fd5b505af1158015611cd4573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5b9190613265565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611da1575f80fd5b505af1158015611db3573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611e03575f80fd5b505af1158015611e15573d5f803e3d5ffd5b50505050611e2b6001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611e7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea39190613265565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611f17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3b9190613265565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff1916871515179055611f7c6001622370f560e21b0319612755565b8315611fc257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f611fdc3361076f565b611fe4611273565b6001600160a01b0316336001600160a01b0316146120175760405163086391f760e31b81523360048201526024016107ad565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015612067573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906130af565b6120943361076f565b61209c611273565b6001600160a01b0316336001600160a01b0316146120cf5760405163086391f760e31b81523360048201526024016107ad565b600354604051633c54fe0960e21b81526001600160a01b039091169063f153f82490610dda90859085906004016132e4565b61210a3361076f565b612112611273565b6001600160a01b0316336001600160a01b0316146121455760405163086391f760e31b81523360048201526024016107ad565b60035460405163f4b4ee4d60e01b81526001600160a01b039091169063f4b4ee4d9061217990869086908690600401613307565b5f604051808303815f87803b158015612190575f80fd5b505af11580156121a2573d5f803e3d5ffd5b50505050505050565b6121b43361076f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221e9190613265565b6001600160a01b031614612247576040516345789cf560e01b81523060048201526024016107ad565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f8051602061353e8339815191525f806122a161228461185e565b873061229360045f8a8c613339565b61229c91613360565b612788565b9150915081610e035763ffffffff81161561233c57825460ff60a01b1916600160a01b1783556122cf61185e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016122fe93929190613398565b5f604051808303815f87803b158015612315575f80fd5b505af1158015612327573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e039050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ad565b5f805f8051602061351e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123ef91906131af565b1561241b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ad565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561246d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061249191906131af565b6124b95760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ad565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561250b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252f91906130af565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061257b611273565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8051602061353e83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001611267565b612616612890565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561266c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269091906131af565b6126b85760405163cf6935e560e01b81526001600160a01b03881660048201526024016107ad565b6126c1876128db565b6126cb86836128ec565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161273a8382613420565b5061274b634a531f3360e01b612755565b5050505050505050565b61275d612890565b612785816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127f691906134da565b5f60405180830381855afa9150503d805f811461282e576040519150601f19603f3d011682016040523d82523d5f602084013e612833565b606091505b50915091508115612885576040815110612865578080602001905181019061285b91906134f0565b9094509250612885565b6020815110612885578080602001905181019061288291906131af565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166128d957604051631afcd79f60e31b815260040160405180910390fd5b565b6128e3612890565b61278581612962565b6128f4612890565b6128fc612973565b612905826129bb565b6001600160a01b03811661292c5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061351e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61296a612890565b612785816125b5565b61297b612890565b6128d96301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6129c3612890565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612a19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3d91906131af565b612a655760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ad565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114612785575f80fd5b5f60208284031215612aac575f80fd5b8135612ab781612a87565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612b34608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b78610100840182612abe565b949350505050565b6001600160a01b0381168114612785575f80fd5b5f60208284031215612ba4575f80fd5b8135612ab781612b80565b5f60208284031215612bbf575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715612bfc57612bfc612bc6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612c2a57612c2a612bc6565b604052919050565b5f82601f830112612c41575f80fd5b81356001600160401b03811115612c5a57612c5a612bc6565b612c6d601f8201601f1916602001612c02565b818152846020838601011115612c81575f80fd5b816020850160208301375f918101602001919091529392505050565b6001600160401b0381168114612785575f80fd5b63ffffffff81168114612785575f80fd5b5f805f60608486031215612cd4575f80fd5b83356001600160401b03811115612ce9575f80fd5b612cf586828701612c32565b9350506020840135612d0681612c9d565b91506040840135612d1681612cb1565b809150509250925092565b8015158114612785575f80fd5b5f8060408385031215612d3f575f80fd5b8235612d4a81612c9d565b91506020830135612d5a81612d21565b809150509250929050565b64ffffffffff81168114612785575f80fd5b5f60208284031215612d87575f80fd5b8135612ab781612d65565b6001600160601b0381168114612785575f80fd5b5f60208284031215612db6575f80fd5b8135612ab781612d92565b5f8060408385031215612dd2575f80fd5b8235612ddd81612b80565b91506020830135612d5a81612b80565b5f8060408385031215612dfe575f80fd5b8235612e0981612b80565b915060208301356001600160401b03811115612e23575f80fd5b612e2f85828601612c32565b9150509250929050565b5f8060408385031215612e4a575f80fd5b8235612d4a81612b80565b5f60208284031215612e65575f80fd5b8135612ab781612d21565b5f8060408385031215612e81575f80fd5b8235612ddd81612c9d565b60ff81168114612785575f80fd5b5f805f805f805f805f6101208a8c031215612eb3575f80fd5b8935612ebe81612b80565b985060208a0135612ece81612b80565b975060408a0135612ede81612b80565b965060608a0135612eee81612b80565b955060808a0135612efe81612b80565b945060a08a0135612f0e81612b80565b935060c08a0135612f1e81612e8c565b925060e08a0135612f2e81612b80565b91506101008a0135612f3f81612d21565b809150509295985092959850929598565b5f82601f830112612f5f575f80fd5b81356001600160401b03811115612f7857612f78612bc6565b612f8760208260051b01612c02565b80828252602082019150602060608402860101925085831115612fa8575f80fd5b602085015b838110156130065760608188031215612fc4575f80fd5b612fcc612bda565b813581526020820135612fde81612a87565b60208201526040820135612ff181612d65565b60408201528352602090920191606001612fad565b5095945050505050565b5f8060408385031215613021575f80fd5b823561302c81612b80565b915060208301356001600160401b03811115613046575f80fd5b612e2f85828601612f50565b5f805f60608486031215613064575f80fd5b833561306f81612b80565b9250602084013561307f81612c9d565b915060408401356001600160401b03811115613099575f80fd5b6130a586828701612f50565b9150509250925092565b5f602082840312156130bf575f80fd5b8151612ab781612d92565b600181811c908216806130de57607f821691505b6020821081036130fc57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b606081525f6131286060830186612abe565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561315d575f80fd5b8151612ab781612c9d565b6001600160401b0385168152608060208201525f6131896080830186612abe565b90506001600160401b038416604083015263ffffffff8316606083015295945050505050565b5f602082840312156131bf575f80fd5b8151612ab781612d21565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6001600160a01b03831681526040602082018190525f90612b7890830184612abe565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061324190830184612abe565b95945050505050565b5f6020828403121561325a575f80fd5b8151612ab781612e8c565b5f60208284031215613275575f80fd5b8151612ab781612b80565b5f8151808452602084019350602083015f5b828110156132da578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101613292565b5093949350505050565b6001600160a01b03831681526040602082018190525f90612b7890830184613280565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061324190830184613280565b5f8085851115613347575f80fd5b83861115613353575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613391576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561341b57805f5260205f20601f840160051c810160208510156133fc5750805b601f840160051c820191505b8181101561080d575f8155600101613408565b505050565b81516001600160401b0381111561343957613439612bc6565b61344d8161344784546130ca565b846133d7565b6020601f82116001811461347f575f83156134685750848201515b5f19600385901b1c1916600184901b17845561080d565b5f84815260208120601f198516915b828110156134ae578785015182556020948501946001909201910161348e565b50848210156134cb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613501575f80fd5b825161350c81612d21565b6020840151909250612d5a81612cb156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208675e4063e5330061fae575919d55b1332ab4a87f91ea4d87d0e0b256752cdbc64736f6c634300081a0033",
1245
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061024a575f3560e01c8063644c45e011610140578063b428b0b0116100bf578063d4cda0d811610084578063d4cda0d814610540578063d6d0a65b14610551578063e52ba1cb14610564578063f153f82414610577578063f4b4ee4d1461058a578063f7bc431c1461059d575f80fd5b8063b428b0b014610502578063b7d2b16214610515578063bf7e214f14610528578063c265172514610530578063c71e261f14610538575f80fd5b80638689231311610105578063868923131461049f578063893d20e8146104b25780638fb36037146104ba57806396cdfa3f146104db578063ada9652e146104ee575f80fd5b8063644c45e0146104315780636dddada41461044e57806376b707b71461045f5780637a9e5e4b146104795780637de45f131461048c575f80fd5b806323dff792116101cc57806340acebd91161019157806340acebd9146103df5780634f8b8aba146103e75780635ab1bd53146103fa5780635d9662891461040b5780635fa8aad41461041e575f80fd5b806323dff7921461038a57806326decd401461039d5780632d764ef8146103b0578063311adb68146103c3578063398e3d4c146103d4575f80fd5b8063138461e011610212578063138461e0146102ef57806315b745321461030f5780631eff4b22146103225780631f481d641461035757806322f3e2d414610382575f80fd5b806301ffc9a71461024e57806302cd30711461028f5780630e0c586d146102b45780630fec111c146102c557806311f77843146102da575b5f80fd5b61027a61025c366004612a9c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6007546001600160a01b031661029c565b6102cd6105b0565b6040516102869190612aec565b6102ed6102e8366004612b94565b61076a565b005b6102f7610814565b6040516001600160601b039091168152602001610286565b6102f761031d366004612baf565b610823565b6103497f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61036a610365366004612cc2565b610865565b6040516001600160401b039091168152602001610286565b61027a610964565b6102ed610398366004612d2e565b6109db565b61027a6103ab366004612b94565b610bf4565b6102ed6103be366004612d77565b610c6a565b6004546001600160a01b031661029c565b600a5460ff1661027a565b61027a610ce5565b6102ed6103f5366004612da6565b610d5a565b6001546001600160a01b031661029c565b6102f7610419366004612dc1565b610e0b565b61036a61042c366004612ded565b610f28565b5f8051602061351e833981519152546001600160601b03166102f7565b6006546001600160a01b031661029c565b610467611022565b60405160ff9091168152602001610286565b6102ed610487366004612b94565b61108a565b6102ed61049a366004612da6565b611110565b6102ed6104ad366004612e39565b61118d565b61029c611273565b6104c26113a4565b6040516001600160e01b03199091168152602001610286565b6102ed6104e9366004612e55565b6113d9565b6103495f8051602061351e83398151915281565b6102ed610510366004612e70565b611446565b6102ed610523366004612e70565b611652565b61029c61185e565b6102ed611879565b600954610349565b6008546001600160a01b031661029c565b6102ed61055f366004612e9a565b611921565b6102f7610572366004612da6565b611fd2565b6102ed610585366004613010565b61208b565b6102ed610598366004613052565b612101565b6102ed6105ab366004612b94565b6121ab565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561065c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068091906130af565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8611273565b6001600160a01b031681526020018260010180546106e5906130ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610711906130ca565b801561075c5780601f106107335761010080835404028352916020019161075c565b820191905f5260205f20905b81548152906001019060200180831161073f57829003601f168201915b505050505081525091505090565b610776335b5f36612269565b61077e611273565b6001600160a01b0316336001600160a01b0316146107b65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107fb575f80fd5b505af115801561080d573d5f803e3d5ffd5b5050505050565b5f61081e3061235f565b905090565b5f6009828154811061083757610837613102565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61086f3361076f565b610877611273565b6001600160a01b0316336001600160a01b0316146108aa5760405163086391f760e31b81523360048201526024016107ad565b6003546040516307d2075960e21b81526001600160a01b0390911690631f481d64906108de90879087908790600401613116565b6020604051808303815f875af11580156108fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091e919061314d565b90507f6c5b02802c41c82ddc743a2761e8741ad590fa0bb7870ba7dfe66aa84050a264818585856040516109559493929190613168565b60405180910390a19392505050565b5f61096d61185e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d591906131af565b15905090565b6109e43361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa158015610a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5c91906131af565b610a8457604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33610a8d611273565b6001600160a01b0316816001600160a01b031614610b36576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd191610ad69186918691016131ca565b602060405180830381865afa158015610af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1591906131af565b610b36578181604051631a94665f60e31b81526004016107ad9291906131ca565b6003546040516311effbc960e11b81526001600160401b038616600482015284151560248201526001600160a01b03909116906323dff792906044015f604051808303815f87803b158015610b89575f80fd5b505af1158015610b9b573d5f803e3d5ffd5b5050604080516001600160401b0388168152861515602082015233918101919091527ffb7c4cd23612bcc7ae3688074faa23835a443807c382c108d80ec75f8668db2f925060600190505b60405180910390a150505050565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906131af565b92915050565b610c733361076f565b610c7b611273565b6001600160a01b0316336001600160a01b031614610cae5760405163086391f760e31b81523360048201526024016107ad565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107e4565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d36573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906131af565b610d633361076f565b610d6b611273565b6001600160a01b0316336001600160a01b031614610d9e5760405163086391f760e31b81523360048201526024016107ad565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610df1575f80fd5b505af1158015610e03573d5f803e3d5ffd5b505050505050565b5f610e153361076f565b610e1d611273565b6001600160a01b0316336001600160a01b031614610e505760405163086391f760e31b81523360048201526024016107ad565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec591906130af565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b5f610f323361076f565b610f3a611273565b6001600160a01b0316336001600160a01b031614610f6d5760405163086391f760e31b81523360048201526024016107ad565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f9f90869086906004016131ec565b6020604051808303815f875af1158015610fbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdf919061314d565b90507f35040cf09b2f49908add8962a4116f3a23b1ce1e6ccc3b370a5205a3f128b86d8382846040516110149392919061320f565b60405180910390a192915050565b5f61102b61185e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611066573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e919061324a565b3361109361185e565b6001600160a01b0316816001600160a01b0316146110ce5760405162d1953b60e31b81526001600160a01b03821660048201526024016107ad565b816001600160a01b03163b5f03611103576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ad565b61110c826125b5565b5050565b6111193361076f565b611121611273565b6001600160a01b0316336001600160a01b0316146111545760405163086391f760e31b81523360048201526024016107ad565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107e4565b611195611273565b6001600160a01b0316336001600160a01b0316146111c85760405163086391f760e31b81523360048201526024016107ad565b600354604051638689231360e01b81526001600160a01b0384811660048301528315156024830152909116906386892313906044015f604051808303815f87803b158015611214575f80fd5b505af1158015611226573d5f803e3d5ffd5b5050604080516001600160a01b038616815284151560208201527fb3a503c4b7a90c1d036fcdec3757dc6b537f887a8c588606f78076e9fc3a78ca93500190505b60405180910390a15050565b5f805f8051602061351e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130391906131af565b1561138e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190613265565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061353e83398151915280545f9190600160a01b900460ff166113cb575f611388565b638fb3603760e01b91505090565b6113e1611273565b6001600160a01b0316336001600160a01b0316146114145760405163086391f760e31b81523360048201526024016107ad565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107e4565b61144f3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156114a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c791906131af565b6114ef57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b336114f8611273565b6001600160a01b0316816001600160a01b0316146115a1576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd1916115419186918691016131ca565b602060405180830381865afa15801561155c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061158091906131af565b6115a1578181604051631a94665f60e31b81526004016107ad9291906131ca565b600354604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906115d390879087906004016131ca565b5f604051808303815f87803b1580156115ea575f80fd5b505af11580156115fc573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527f2a47cfa3950f5163af56e954433a359d9c481d14f90d8db827d859f5e8641e1a92506060019050610be6565b61165b3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156116af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d391906131af565b6116fb57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33611704611273565b6001600160a01b0316816001600160a01b0316146117ad576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161174d9186918691016131ca565b602060405180830381865afa158015611768573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178c91906131af565b6117ad578181604051631a94665f60e31b81526004016107ad9291906131ca565b600354604051635be958b160e11b81526001600160a01b039091169063b7d2b162906117df90879087906004016131ca565b5f604051808303815f87803b1580156117f6575f80fd5b505af1158015611808573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527fbdd55b4d14c3bb8684d8b5a9a57d9e802f3da86c5cd871d4b868a77ef152d2b692506060019050610be6565b5f8051602061353e833981519152546001600160a01b031690565b6118823361076f565b61188a611273565b6001600160a01b0316336001600160a01b0316146118bd5760405163086391f760e31b81523360048201526024016107ad565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611909575f80fd5b505af115801561191b573d5f803e3d5ffd5b50505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119655750825b90505f826001600160401b031660011480156119805750303b155b90508115801561198e575080155b156119ac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119d657845460ff60401b1916600160401b1785555b6001600160a01b038e166119fd576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550611aff8e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a869190613265565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ac3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae791906130af565b600a5f8c60405180602001604052805f81525061260e565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611be3575f80fd5b505af1158015611bf5573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7c9190613265565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611cc2575f80fd5b505af1158015611cd4573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5b9190613265565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611da1575f80fd5b505af1158015611db3573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611e03575f80fd5b505af1158015611e15573d5f803e3d5ffd5b50505050611e2b6001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611e7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea39190613265565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611f17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3b9190613265565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff1916871515179055611f7c6001622370f560e21b0319612755565b8315611fc257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f611fdc3361076f565b611fe4611273565b6001600160a01b0316336001600160a01b0316146120175760405163086391f760e31b81523360048201526024016107ad565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015612067573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906130af565b6120943361076f565b61209c611273565b6001600160a01b0316336001600160a01b0316146120cf5760405163086391f760e31b81523360048201526024016107ad565b600354604051633c54fe0960e21b81526001600160a01b039091169063f153f82490610dda90859085906004016132e4565b61210a3361076f565b612112611273565b6001600160a01b0316336001600160a01b0316146121455760405163086391f760e31b81523360048201526024016107ad565b60035460405163f4b4ee4d60e01b81526001600160a01b039091169063f4b4ee4d9061217990869086908690600401613307565b5f604051808303815f87803b158015612190575f80fd5b505af11580156121a2573d5f803e3d5ffd5b50505050505050565b6121b43361076f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221e9190613265565b6001600160a01b031614612247576040516345789cf560e01b81523060048201526024016107ad565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f8051602061353e8339815191525f806122a161228461185e565b873061229360045f8a8c613339565b61229c91613360565b612788565b9150915081610e035763ffffffff81161561233c57825460ff60a01b1916600160a01b1783556122cf61185e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016122fe93929190613398565b5f604051808303815f87803b158015612315575f80fd5b505af1158015612327573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e039050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ad565b5f805f8051602061351e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123ef91906131af565b1561241b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ad565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561246d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061249191906131af565b6124b95760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ad565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561250b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252f91906130af565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061257b611273565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8051602061353e83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001611267565b612616612890565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561266c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269091906131af565b6126b85760405163cf6935e560e01b81526001600160a01b03881660048201526024016107ad565b6126c1876128db565b6126cb86836128ec565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161273a8382613420565b5061274b634a531f3360e01b612755565b5050505050505050565b61275d612890565b612785816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127f691906134da565b5f60405180830381855afa9150503d805f811461282e576040519150601f19603f3d011682016040523d82523d5f602084013e612833565b606091505b50915091508115612885576040815110612865578080602001905181019061285b91906134f0565b9094509250612885565b6020815110612885578080602001905181019061288291906131af565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166128d957604051631afcd79f60e31b815260040160405180910390fd5b565b6128e3612890565b61278581612962565b6128f4612890565b6128fc612973565b612905826129bb565b6001600160a01b03811661292c5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061351e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61296a612890565b612785816125b5565b61297b612890565b6128d96301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6129c3612890565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612a19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3d91906131af565b612a655760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ad565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114612785575f80fd5b5f60208284031215612aac575f80fd5b8135612ab781612a87565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612b34608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b78610100840182612abe565b949350505050565b6001600160a01b0381168114612785575f80fd5b5f60208284031215612ba4575f80fd5b8135612ab781612b80565b5f60208284031215612bbf575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715612bfc57612bfc612bc6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612c2a57612c2a612bc6565b604052919050565b5f82601f830112612c41575f80fd5b81356001600160401b03811115612c5a57612c5a612bc6565b612c6d601f8201601f1916602001612c02565b818152846020838601011115612c81575f80fd5b816020850160208301375f918101602001919091529392505050565b6001600160401b0381168114612785575f80fd5b63ffffffff81168114612785575f80fd5b5f805f60608486031215612cd4575f80fd5b83356001600160401b03811115612ce9575f80fd5b612cf586828701612c32565b9350506020840135612d0681612c9d565b91506040840135612d1681612cb1565b809150509250925092565b8015158114612785575f80fd5b5f8060408385031215612d3f575f80fd5b8235612d4a81612c9d565b91506020830135612d5a81612d21565b809150509250929050565b64ffffffffff81168114612785575f80fd5b5f60208284031215612d87575f80fd5b8135612ab781612d65565b6001600160601b0381168114612785575f80fd5b5f60208284031215612db6575f80fd5b8135612ab781612d92565b5f8060408385031215612dd2575f80fd5b8235612ddd81612b80565b91506020830135612d5a81612b80565b5f8060408385031215612dfe575f80fd5b8235612e0981612b80565b915060208301356001600160401b03811115612e23575f80fd5b612e2f85828601612c32565b9150509250929050565b5f8060408385031215612e4a575f80fd5b8235612d4a81612b80565b5f60208284031215612e65575f80fd5b8135612ab781612d21565b5f8060408385031215612e81575f80fd5b8235612ddd81612c9d565b60ff81168114612785575f80fd5b5f805f805f805f805f6101208a8c031215612eb3575f80fd5b8935612ebe81612b80565b985060208a0135612ece81612b80565b975060408a0135612ede81612b80565b965060608a0135612eee81612b80565b955060808a0135612efe81612b80565b945060a08a0135612f0e81612b80565b935060c08a0135612f1e81612e8c565b925060e08a0135612f2e81612b80565b91506101008a0135612f3f81612d21565b809150509295985092959850929598565b5f82601f830112612f5f575f80fd5b81356001600160401b03811115612f7857612f78612bc6565b612f8760208260051b01612c02565b80828252602082019150602060608402860101925085831115612fa8575f80fd5b602085015b838110156130065760608188031215612fc4575f80fd5b612fcc612bda565b813581526020820135612fde81612a87565b60208201526040820135612ff181612d65565b60408201528352602090920191606001612fad565b5095945050505050565b5f8060408385031215613021575f80fd5b823561302c81612b80565b915060208301356001600160401b03811115613046575f80fd5b612e2f85828601612f50565b5f805f60608486031215613064575f80fd5b833561306f81612b80565b9250602084013561307f81612c9d565b915060408401356001600160401b03811115613099575f80fd5b6130a586828701612f50565b9150509250925092565b5f602082840312156130bf575f80fd5b8151612ab781612d92565b600181811c908216806130de57607f821691505b6020821081036130fc57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b606081525f6131286060830186612abe565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561315d575f80fd5b8151612ab781612c9d565b6001600160401b0385168152608060208201525f6131896080830186612abe565b90506001600160401b038416604083015263ffffffff8316606083015295945050505050565b5f602082840312156131bf575f80fd5b8151612ab781612d21565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6001600160a01b03831681526040602082018190525f90612b7890830184612abe565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061324190830184612abe565b95945050505050565b5f6020828403121561325a575f80fd5b8151612ab781612e8c565b5f60208284031215613275575f80fd5b8151612ab781612b80565b5f8151808452602084019350602083015f5b828110156132da578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101613292565b5093949350505050565b6001600160a01b03831681526040602082018190525f90612b7890830184613280565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061324190830184613280565b5f8085851115613347575f80fd5b83861115613353575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613391576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561341b57805f5260205f20601f840160051c810160208510156133fc5750805b601f840160051c820191505b8181101561080d575f8155600101613408565b505050565b81516001600160401b0381111561343957613439612bc6565b61344d8161344784546130ca565b846133d7565b6020601f82116001811461347f575f83156134685750848201515b5f19600385901b1c1916600184901b17845561080d565b5f84815260208120601f198516915b828110156134ae578785015182556020948501946001909201910161348e565b50848210156134cb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613501575f80fd5b825161350c81612d21565b6020840151909250612d5a81612cb156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208675e4063e5330061fae575919d55b1332ab4a87f91ea4d87d0e0b256752cdbc64736f6c634300081a0033",
2904
1246
  "linkReferences": {
2905
- "contracts/types/ClaimId.sol": {
2906
- "ClaimIdLib": [
2907
- {
2908
- "length": 20,
2909
- "start": 11288
2910
- }
2911
- ]
2912
- },
2913
- "contracts/types/DistributorType.sol": {
2914
- "DistributorTypeLib": [
2915
- {
2916
- "length": 20,
2917
- "start": 4790
2918
- },
2919
- {
2920
- "length": 20,
2921
- "start": 5892
2922
- },
2923
- {
2924
- "length": 20,
2925
- "start": 7640
2926
- }
2927
- ]
2928
- },
2929
- "contracts/types/Key32.sol": {
2930
- "Key32Lib": [
2931
- {
2932
- "length": 20,
2933
- "start": 10179
2934
- },
2935
- {
2936
- "length": 20,
2937
- "start": 13621
2938
- },
2939
- {
2940
- "length": 20,
2941
- "start": 13737
2942
- },
2943
- {
2944
- "length": 20,
2945
- "start": 13919
2946
- },
2947
- {
2948
- "length": 20,
2949
- "start": 14035
2950
- },
2951
- {
2952
- "length": 20,
2953
- "start": 14801
2954
- },
2955
- {
2956
- "length": 20,
2957
- "start": 14917
2958
- },
2959
- {
2960
- "length": 20,
2961
- "start": 15076
2962
- },
1247
+ "contracts/shared/ContractLib.sol": {
1248
+ "ContractLib": [
2963
1249
  {
2964
1250
  "length": 20,
2965
- "start": 15829
1251
+ "start": 9808
2966
1252
  },
2967
1253
  {
2968
1254
  "length": 20,
2969
- "start": 15945
1255
+ "start": 10749
2970
1256
  }
2971
1257
  ]
2972
1258
  },
2973
- "contracts/types/NftId.sol": {
1259
+ "contracts/type/NftId.sol": {
2974
1260
  "NftIdLib": [
2975
1261
  {
2976
1262
  "length": 20,
2977
- "start": 3897
2978
- },
2979
- {
2980
- "length": 20,
2981
- "start": 6859
2982
- },
2983
- {
2984
- "length": 20,
2985
- "start": 11039
2986
- }
2987
- ]
2988
- },
2989
- "contracts/types/ObjectType.sol": {
2990
- "ObjectTypeLib": [
2991
- {
2992
- "length": 20,
2993
- "start": 15197
2994
- }
2995
- ]
2996
- },
2997
- "contracts/types/PayoutId.sol": {
2998
- "PayoutIdLib": [
2999
- {
3000
- "length": 20,
3001
- "start": 11138
3002
- }
3003
- ]
3004
- },
3005
- "contracts/types/Referral.sol": {
3006
- "ReferralLib": [
3007
- {
3008
- "length": 20,
3009
- "start": 6092
3010
- },
3011
- {
3012
- "length": 20,
3013
- "start": 8239
3014
- },
3015
- {
3016
- "length": 20,
3017
- "start": 9326
3018
- }
3019
- ]
3020
- },
3021
- "contracts/types/RiskId.sol": {
3022
- "RiskIdLib": [
3023
- {
3024
- "length": 20,
3025
- "start": 4610
3026
- },
3027
- {
3028
- "length": 20,
3029
- "start": 6651
3030
- },
3031
- {
3032
- "length": 20,
3033
- "start": 7838
3034
- }
3035
- ]
3036
- },
3037
- "contracts/types/RoleId.sol": {
3038
- "RoleIdLib": [
3039
- {
3040
- "length": 20,
3041
- "start": 12635
3042
- }
3043
- ]
3044
- },
3045
- "contracts/types/StateId.sol": {
3046
- "StateIdLib": [
3047
- {
3048
- "length": 20,
3049
- "start": 5062
1263
+ "start": 1587
3050
1264
  },
3051
1265
  {
3052
1266
  "length": 20,
3053
- "start": 8013
1267
+ "start": 4803
3054
1268
  },
3055
1269
  {
3056
1270
  "length": 20,
3057
- "start": 8807
3058
- },
3059
- {
3060
- "length": 20,
3061
- "start": 13038
3062
- },
3063
- {
3064
- "length": 20,
3065
- "start": 13258
3066
- },
3067
- {
3068
- "length": 20,
3069
- "start": 14239
3070
- },
3071
- {
3072
- "length": 20,
3073
- "start": 14459
3074
- },
3075
- {
3076
- "length": 20,
3077
- "start": 15418
3078
- }
3079
- ]
3080
- },
3081
- "contracts/types/Version.sol": {
3082
- "VersionPartLib": [
3083
- {
3084
- "length": 20,
3085
- "start": 9483
1271
+ "start": 9135
3086
1272
  }
3087
1273
  ]
3088
1274
  }
3089
1275
  },
3090
1276
  "deployedLinkReferences": {
3091
- "contracts/types/ClaimId.sol": {
3092
- "ClaimIdLib": [
3093
- {
3094
- "length": 20,
3095
- "start": 11255
3096
- }
3097
- ]
3098
- },
3099
- "contracts/types/DistributorType.sol": {
3100
- "DistributorTypeLib": [
3101
- {
3102
- "length": 20,
3103
- "start": 4757
3104
- },
3105
- {
3106
- "length": 20,
3107
- "start": 5859
3108
- },
3109
- {
3110
- "length": 20,
3111
- "start": 7607
3112
- }
3113
- ]
3114
- },
3115
- "contracts/types/Key32.sol": {
3116
- "Key32Lib": [
3117
- {
3118
- "length": 20,
3119
- "start": 10146
3120
- },
3121
- {
3122
- "length": 20,
3123
- "start": 13588
3124
- },
3125
- {
3126
- "length": 20,
3127
- "start": 13704
3128
- },
3129
- {
3130
- "length": 20,
3131
- "start": 13886
3132
- },
1277
+ "contracts/shared/ContractLib.sol": {
1278
+ "ContractLib": [
3133
1279
  {
3134
1280
  "length": 20,
3135
- "start": 14002
1281
+ "start": 9780
3136
1282
  },
3137
1283
  {
3138
1284
  "length": 20,
3139
- "start": 14768
3140
- },
3141
- {
3142
- "length": 20,
3143
- "start": 14884
3144
- },
3145
- {
3146
- "length": 20,
3147
- "start": 15043
3148
- },
3149
- {
3150
- "length": 20,
3151
- "start": 15796
3152
- },
3153
- {
3154
- "length": 20,
3155
- "start": 15912
1285
+ "start": 10721
3156
1286
  }
3157
1287
  ]
3158
1288
  },
3159
- "contracts/types/NftId.sol": {
1289
+ "contracts/type/NftId.sol": {
3160
1290
  "NftIdLib": [
3161
1291
  {
3162
1292
  "length": 20,
3163
- "start": 3864
3164
- },
3165
- {
3166
- "length": 20,
3167
- "start": 6826
3168
- },
3169
- {
3170
- "length": 20,
3171
- "start": 11006
3172
- }
3173
- ]
3174
- },
3175
- "contracts/types/ObjectType.sol": {
3176
- "ObjectTypeLib": [
3177
- {
3178
- "length": 20,
3179
- "start": 15164
3180
- }
3181
- ]
3182
- },
3183
- "contracts/types/PayoutId.sol": {
3184
- "PayoutIdLib": [
3185
- {
3186
- "length": 20,
3187
- "start": 11105
3188
- }
3189
- ]
3190
- },
3191
- "contracts/types/Referral.sol": {
3192
- "ReferralLib": [
3193
- {
3194
- "length": 20,
3195
- "start": 6059
3196
- },
3197
- {
3198
- "length": 20,
3199
- "start": 8206
3200
- },
3201
- {
3202
- "length": 20,
3203
- "start": 9293
3204
- }
3205
- ]
3206
- },
3207
- "contracts/types/RiskId.sol": {
3208
- "RiskIdLib": [
3209
- {
3210
- "length": 20,
3211
- "start": 4577
3212
- },
3213
- {
3214
- "length": 20,
3215
- "start": 6618
3216
- },
3217
- {
3218
- "length": 20,
3219
- "start": 7805
3220
- }
3221
- ]
3222
- },
3223
- "contracts/types/RoleId.sol": {
3224
- "RoleIdLib": [
3225
- {
3226
- "length": 20,
3227
- "start": 12602
3228
- }
3229
- ]
3230
- },
3231
- "contracts/types/StateId.sol": {
3232
- "StateIdLib": [
3233
- {
3234
- "length": 20,
3235
- "start": 5029
3236
- },
3237
- {
3238
- "length": 20,
3239
- "start": 7980
3240
- },
3241
- {
3242
- "length": 20,
3243
- "start": 8774
3244
- },
3245
- {
3246
- "length": 20,
3247
- "start": 13005
3248
- },
3249
- {
3250
- "length": 20,
3251
- "start": 13225
1293
+ "start": 1559
3252
1294
  },
3253
1295
  {
3254
1296
  "length": 20,
3255
- "start": 14206
1297
+ "start": 4775
3256
1298
  },
3257
1299
  {
3258
1300
  "length": 20,
3259
- "start": 14426
3260
- },
3261
- {
3262
- "length": 20,
3263
- "start": 15385
3264
- }
3265
- ]
3266
- },
3267
- "contracts/types/Version.sol": {
3268
- "VersionPartLib": [
3269
- {
3270
- "length": 20,
3271
- "start": 9450
1301
+ "start": 9107
3272
1302
  }
3273
1303
  ]
3274
1304
  }