@etherisc/gif-next 0.0.2-f7c17b4-970 → 0.0.2-f7d1200-068

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