@etherisc/gif-next 0.0.2-ebf1a6b-485 → 0.0.2-ec4918f-024

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