@etherisc/gif-next 0.0.2-f29e479-370 → 0.0.2-f2a5ca7-763

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