@etherisc/gif-next 0.0.2-f831797-539 → 0.0.2-f8e07c7-917

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