@etherisc/gif-next 0.0.2-f831797-539 → 0.0.2-f946ccd-184

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