@etherisc/gif-next 0.0.2-d60aa51-726 → 0.0.2-d62f29e-108

Sign up to get free protection for your applications and to get access to all the features.
Files changed (682) hide show
  1. package/README.md +59 -18
  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/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +499 -549
  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 +1489 -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/distribution/Distribution.sol/Distribution.json +1159 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1512 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +838 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +906 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +274 -1320
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +444 -172
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +364 -3003
  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 +846 -413
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +587 -397
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +349 -127
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3607 -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 +30 -112
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1126 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  83. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +403 -366
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1018 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  93. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1395 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  95. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  97. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1474 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  101. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +907 -0
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +909 -0
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1208 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  107. package/artifacts/contracts/pool/Pool.sol/Pool.json +1181 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1591 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +746 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  113. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +852 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  117. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1243 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  119. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  121. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1437 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +241 -190
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  127. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +886 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPolicyService.sol/IPolicyService.json} +406 -371
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  131. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IPricingService.sol/IPricingService.json} +290 -187
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  133. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +948 -0
  134. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  135. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → product/IRiskService.sol/IRiskService.json} +144 -112
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1234 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +770 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PricingService.sol/PricingService.json +972 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +766 -0
  144. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  145. package/artifacts/contracts/product/Product.sol/Product.json +1201 -0
  146. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  147. package/artifacts/contracts/product/RiskService.sol/RiskService.json +695 -0
  148. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +702 -0
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  151. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +378 -113
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +290 -297
  156. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  158. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/Registry.sol/Registry.json +612 -190
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +477 -318
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +337 -133
  166. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  168. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  170. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  171. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  172. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  174. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  175. package/artifacts/contracts/shared/Component.sol/Component.json +832 -0
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1680 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +804 -0
  180. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +208 -209
  182. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  183. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +276 -124
  184. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  188. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +60 -34
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  196. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  198. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  199. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  200. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
  202. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  204. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  205. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +940 -0
  208. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +88 -20
  210. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  212. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  213. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  214. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
  216. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  217. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  218. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
  220. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  221. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  222. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Service.sol/Service.json +201 -162
  224. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  225. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  226. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  228. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  229. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  230. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  231. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  232. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  233. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  234. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  235. package/artifacts/contracts/staking/Staking.sol/Staking.json +1975 -0
  236. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  238. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +765 -0
  240. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  242. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  244. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  246. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  248. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  249. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  250. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  251. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  252. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  254. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  256. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  258. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  260. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  262. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  264. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  266. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  267. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  268. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  270. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  272. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  274. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  276. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  278. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  280. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  282. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  284. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  286. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  287. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  288. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  290. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  292. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  294. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  296. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  298. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  300. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  301. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  302. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  303. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  304. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  305. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  306. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  307. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  308. package/contracts/authorization/AccessAdmin.sol +591 -0
  309. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  310. package/contracts/authorization/Authorization.sol +217 -0
  311. package/contracts/authorization/IAccess.sol +48 -0
  312. package/contracts/authorization/IAccessAdmin.sol +136 -0
  313. package/contracts/authorization/IAuthorization.sol +54 -0
  314. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  315. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  316. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  317. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  318. package/contracts/distribution/BasicDistribution.sol +138 -0
  319. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  320. package/contracts/distribution/Distribution.sol +295 -0
  321. package/contracts/distribution/DistributionService.sol +336 -0
  322. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  323. package/contracts/distribution/IDistributionComponent.sol +52 -0
  324. package/contracts/distribution/IDistributionService.sol +101 -0
  325. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +40 -43
  326. package/contracts/instance/IInstance.sol +56 -49
  327. package/contracts/instance/IInstanceService.sol +78 -18
  328. package/contracts/instance/Instance.sol +157 -381
  329. package/contracts/instance/InstanceAdmin.sol +285 -0
  330. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  331. package/contracts/instance/InstanceReader.sol +202 -87
  332. package/contracts/instance/InstanceService.sol +410 -176
  333. package/contracts/instance/InstanceServiceManager.sol +13 -30
  334. package/contracts/instance/InstanceStore.sol +287 -0
  335. package/contracts/instance/base/BalanceStore.sol +123 -0
  336. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  337. package/contracts/instance/base/ObjectCounter.sol +21 -0
  338. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  339. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +21 -37
  340. package/contracts/instance/module/IAccess.sol +29 -21
  341. package/contracts/instance/module/IBundle.sol +8 -8
  342. package/contracts/instance/module/IComponents.sol +46 -0
  343. package/contracts/instance/module/IDistribution.sol +6 -4
  344. package/contracts/instance/module/IPolicy.sol +59 -19
  345. package/contracts/instance/module/IRisk.sol +1 -1
  346. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  347. package/contracts/oracle/BasicOracle.sol +48 -0
  348. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  349. package/contracts/oracle/IOracle.sol +36 -0
  350. package/contracts/oracle/IOracleComponent.sol +33 -0
  351. package/contracts/oracle/IOracleService.sol +65 -0
  352. package/contracts/oracle/Oracle.sol +167 -0
  353. package/contracts/oracle/OracleService.sol +279 -0
  354. package/contracts/oracle/OracleServiceManager.sol +39 -0
  355. package/contracts/pool/BasicPool.sol +166 -0
  356. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  357. package/contracts/pool/BundleService.sol +438 -0
  358. package/contracts/pool/BundleServiceManager.sol +39 -0
  359. package/contracts/pool/IBundleService.sol +134 -0
  360. package/contracts/pool/IPoolComponent.sol +58 -0
  361. package/contracts/pool/IPoolService.sol +160 -0
  362. package/contracts/pool/Pool.sol +326 -0
  363. package/contracts/pool/PoolService.sol +509 -0
  364. package/contracts/pool/PoolServiceManager.sol +39 -0
  365. package/contracts/product/ApplicationService.sol +249 -0
  366. package/contracts/product/ApplicationServiceManager.sol +38 -0
  367. package/contracts/product/BasicProduct.sol +53 -0
  368. package/contracts/product/BasicProductAuthorization.sol +43 -0
  369. package/contracts/product/ClaimService.sol +487 -0
  370. package/contracts/product/ClaimServiceManager.sol +38 -0
  371. package/contracts/product/IApplicationService.sol +63 -0
  372. package/contracts/product/IClaimService.sol +122 -0
  373. package/contracts/product/IPolicyService.sol +73 -0
  374. package/contracts/product/IPricingService.sol +39 -0
  375. package/contracts/product/IProductComponent.sol +39 -0
  376. package/contracts/product/IRiskService.sol +33 -0
  377. package/contracts/product/PolicyService.sol +574 -0
  378. package/contracts/product/PolicyServiceManager.sol +39 -0
  379. package/contracts/product/PricingService.sol +301 -0
  380. package/contracts/product/PricingServiceManager.sol +39 -0
  381. package/contracts/product/Product.sol +425 -0
  382. package/contracts/product/RiskService.sol +97 -0
  383. package/contracts/product/RiskServiceManager.sol +39 -0
  384. package/contracts/registry/ChainNft.sol +15 -0
  385. package/contracts/registry/IRegistry.sol +86 -33
  386. package/contracts/registry/IRegistryService.sol +47 -28
  387. package/contracts/registry/ITransferInterceptor.sol +1 -0
  388. package/contracts/registry/Registry.sol +376 -248
  389. package/contracts/registry/RegistryAdmin.sol +374 -0
  390. package/contracts/registry/RegistryService.sol +111 -217
  391. package/contracts/registry/RegistryServiceManager.sol +26 -53
  392. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  393. package/contracts/registry/ReleaseRegistry.sol +485 -0
  394. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  395. package/contracts/registry/TokenRegistry.sol +261 -57
  396. package/contracts/shared/Component.sol +268 -0
  397. package/contracts/shared/ComponentService.sol +641 -0
  398. package/contracts/shared/ComponentServiceManager.sol +35 -0
  399. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  400. package/contracts/shared/IComponent.sol +70 -0
  401. package/contracts/shared/IComponentService.sol +108 -0
  402. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  403. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  404. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  405. package/contracts/shared/INftOwnable.sol +13 -12
  406. package/contracts/shared/IPolicyHolder.sol +45 -0
  407. package/contracts/shared/IRegisterable.sol +4 -6
  408. package/contracts/shared/IRegistryLinked.sol +11 -0
  409. package/contracts/shared/IService.sol +16 -6
  410. package/contracts/shared/InitializableCustom.sol +177 -0
  411. package/contracts/shared/InitializableERC165.sol +27 -0
  412. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  413. package/contracts/shared/KeyValueStore.sol +131 -0
  414. package/contracts/shared/Lifecycle.sol +77 -0
  415. package/contracts/shared/NftIdSet.sol +65 -0
  416. package/contracts/shared/NftOwnable.sol +59 -86
  417. package/contracts/shared/PolicyHolder.sol +99 -0
  418. package/contracts/shared/Registerable.sol +26 -41
  419. package/contracts/shared/RegistryLinked.sol +43 -0
  420. package/contracts/shared/Service.sol +58 -31
  421. package/contracts/shared/TokenHandler.sol +122 -10
  422. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  423. package/contracts/staking/IStaking.sol +168 -0
  424. package/contracts/staking/IStakingService.sol +160 -0
  425. package/contracts/staking/StakeManagerLib.sol +224 -0
  426. package/contracts/staking/Staking.sol +498 -0
  427. package/contracts/staking/StakingLifecycle.sol +23 -0
  428. package/contracts/staking/StakingManager.sol +50 -0
  429. package/contracts/staking/StakingReader.sol +183 -0
  430. package/contracts/staking/StakingService.sol +407 -0
  431. package/contracts/staking/StakingServiceManager.sol +44 -0
  432. package/contracts/staking/StakingStore.sol +605 -0
  433. package/contracts/staking/TargetManagerLib.sol +211 -0
  434. package/contracts/{types → type}/AddressSet.sol +1 -1
  435. package/contracts/type/Amount.sol +135 -0
  436. package/contracts/{types → type}/Blocknumber.sol +27 -3
  437. package/contracts/type/ClaimId.sol +75 -0
  438. package/contracts/{types → type}/DistributorType.sol +2 -2
  439. package/contracts/{types → type}/Fee.sol +33 -23
  440. package/contracts/{types → type}/NftId.sol +21 -15
  441. package/contracts/{types → type}/NftIdSet.sol +2 -2
  442. package/contracts/type/ObjectType.sol +275 -0
  443. package/contracts/type/PayoutId.sol +82 -0
  444. package/contracts/{types → type}/Referral.sol +6 -1
  445. package/contracts/type/RequestId.sol +75 -0
  446. package/contracts/{types → type}/RiskId.sol +1 -1
  447. package/contracts/type/RoleId.sol +174 -0
  448. package/contracts/type/Seconds.sol +101 -0
  449. package/contracts/type/Selector.sol +102 -0
  450. package/contracts/{types → type}/StateId.sol +35 -4
  451. package/contracts/type/String.sol +53 -0
  452. package/contracts/{types → type}/Timestamp.sol +34 -15
  453. package/contracts/{types → type}/UFixed.sol +35 -9
  454. package/contracts/{types → type}/Version.sol +5 -2
  455. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  456. package/contracts/upgradeability/ProxyManager.sol +198 -0
  457. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  458. package/contracts/upgradeability/Versionable.sol +59 -0
  459. package/package.json +10 -7
  460. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  461. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  462. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  463. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  464. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  465. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  466. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  467. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  468. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  469. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  470. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  471. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  472. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  473. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  474. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  475. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  476. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  477. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  478. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  479. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  480. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  481. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  482. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  483. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  484. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  485. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  486. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  487. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  488. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  489. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  490. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  491. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  492. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  493. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  494. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  495. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  496. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  497. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  498. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  499. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  500. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  501. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  502. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  503. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  504. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  505. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  506. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  508. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  510. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  512. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  513. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  514. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  515. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -775
  516. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  517. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  518. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  519. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  520. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -940
  521. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  522. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  523. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  524. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -272
  525. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  526. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  527. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  528. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  529. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  530. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  531. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  532. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  533. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  534. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  535. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  536. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  537. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  538. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  539. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  540. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  541. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  542. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  543. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  544. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  545. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  546. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  547. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1049
  548. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -464
  550. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  551. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
  552. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  553. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
  554. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  555. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  556. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  557. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  558. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  559. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  560. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  561. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  562. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  563. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  564. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  565. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  566. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  567. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  568. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  570. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  572. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  573. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  574. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  575. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  576. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  577. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  578. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  579. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  580. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  581. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  582. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  583. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  584. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  585. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  586. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  588. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  590. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  591. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  592. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  593. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  594. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  595. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  596. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  598. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  599. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  600. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  601. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  602. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  603. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  604. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  605. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  606. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  607. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  608. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  609. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  610. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  611. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  613. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  614. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  615. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  616. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  617. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  618. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  619. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  620. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  621. package/contracts/components/BaseComponent.sol +0 -132
  622. package/contracts/components/Distribution.sol +0 -163
  623. package/contracts/components/IBaseComponent.sol +0 -31
  624. package/contracts/components/IDistributionComponent.sol +0 -44
  625. package/contracts/components/IPoolComponent.sol +0 -66
  626. package/contracts/components/IProductComponent.sol +0 -35
  627. package/contracts/components/Pool.sol +0 -267
  628. package/contracts/components/Product.sol +0 -289
  629. package/contracts/experiment/cloning/Cloner.sol +0 -47
  630. package/contracts/experiment/errors/Require.sol +0 -38
  631. package/contracts/experiment/errors/Revert.sol +0 -44
  632. package/contracts/experiment/inheritance/A.sol +0 -53
  633. package/contracts/experiment/inheritance/B.sol +0 -28
  634. package/contracts/experiment/inheritance/C.sol +0 -34
  635. package/contracts/experiment/inheritance/IA.sol +0 -13
  636. package/contracts/experiment/inheritance/IB.sol +0 -10
  637. package/contracts/experiment/inheritance/IC.sol +0 -12
  638. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  639. package/contracts/experiment/statemachine/ISM.sol +0 -25
  640. package/contracts/experiment/statemachine/SM.sol +0 -57
  641. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  642. package/contracts/experiment/types/TypeA.sol +0 -47
  643. package/contracts/experiment/types/TypeB.sol +0 -29
  644. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  645. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  646. package/contracts/instance/IInstanceBase.sol +0 -26
  647. package/contracts/instance/InstanceAccessManager.sol +0 -288
  648. package/contracts/instance/InstanceBase.sol +0 -41
  649. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  650. package/contracts/instance/base/IInstanceBase.sol +0 -23
  651. package/contracts/instance/base/KeyValueStore.sol +0 -172
  652. package/contracts/instance/base/Lifecycle.sol +0 -100
  653. package/contracts/instance/module/ISetup.sol +0 -46
  654. package/contracts/instance/module/ITreasury.sol +0 -23
  655. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  656. package/contracts/instance/service/DistributionService.sol +0 -88
  657. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  658. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  659. package/contracts/instance/service/IDistributionService.sol +0 -12
  660. package/contracts/instance/service/IPoolService.sol +0 -51
  661. package/contracts/instance/service/IProductService.sol +0 -110
  662. package/contracts/instance/service/PoolService.sol +0 -287
  663. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  664. package/contracts/instance/service/ProductService.sol +0 -570
  665. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  666. package/contracts/shared/ContractDeployerLib.sol +0 -72
  667. package/contracts/shared/ERC165.sol +0 -25
  668. package/contracts/shared/ProxyManager.sol +0 -94
  669. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  670. package/contracts/shared/Versionable.sol +0 -147
  671. package/contracts/test/TestFee.sol +0 -25
  672. package/contracts/test/TestRegisterable.sol +0 -18
  673. package/contracts/test/TestRoleId.sol +0 -14
  674. package/contracts/test/TestService.sol +0 -24
  675. package/contracts/test/TestToken.sol +0 -26
  676. package/contracts/test/TestVersion.sol +0 -44
  677. package/contracts/test/TestVersionable.sol +0 -17
  678. package/contracts/types/ChainId.sol +0 -38
  679. package/contracts/types/NumberId.sol +0 -52
  680. package/contracts/types/ObjectType.sol +0 -152
  681. package/contracts/types/RoleId.sol +0 -90
  682. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,21 +3,34 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
18
  {
14
19
  "internalType": "NftId",
15
- "name": "instanceNftId",
20
+ "name": "targetNftId",
16
21
  "type": "uint96"
17
22
  }
18
23
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
24
+ "name": "getBalanceAmount",
25
+ "outputs": [
26
+ {
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
21
34
  },
22
35
  {
23
36
  "inputs": [
@@ -59,24 +72,9 @@
59
72
  "type": "bytes"
60
73
  },
61
74
  {
62
- "internalType": "uint256",
63
- "name": "capitalAmount",
64
- "type": "uint256"
65
- },
66
- {
67
- "internalType": "uint256",
68
- "name": "lockedAmount",
69
- "type": "uint256"
70
- },
71
- {
72
- "internalType": "uint256",
73
- "name": "balanceAmount",
74
- "type": "uint256"
75
- },
76
- {
77
- "internalType": "uint256",
78
- "name": "lifetime",
79
- "type": "uint256"
75
+ "internalType": "Timestamp",
76
+ "name": "activatedAt",
77
+ "type": "uint40"
80
78
  },
81
79
  {
82
80
  "internalType": "Timestamp",
@@ -100,21 +98,101 @@
100
98
  {
101
99
  "inputs": [
102
100
  {
103
- "internalType": "ReferralId",
104
- "name": "referralId",
105
- "type": "bytes8"
101
+ "internalType": "NftId",
102
+ "name": "bundleNftId",
103
+ "type": "uint96"
106
104
  }
107
105
  ],
108
- "name": "getDiscountPercentage",
106
+ "name": "getBundleState",
109
107
  "outputs": [
110
108
  {
111
- "internalType": "UFixed",
112
- "name": "discountPercentage",
113
- "type": "uint256"
109
+ "internalType": "StateId",
110
+ "name": "state",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "stateMutability": "view",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "policyNftId",
122
+ "type": "uint96"
114
123
  },
115
124
  {
116
- "internalType": "ReferralStatus",
117
- "name": "status",
125
+ "internalType": "ClaimId",
126
+ "name": "claimId",
127
+ "type": "uint16"
128
+ }
129
+ ],
130
+ "name": "getClaimInfo",
131
+ "outputs": [
132
+ {
133
+ "components": [
134
+ {
135
+ "internalType": "Amount",
136
+ "name": "claimAmount",
137
+ "type": "uint96"
138
+ },
139
+ {
140
+ "internalType": "Amount",
141
+ "name": "paidAmount",
142
+ "type": "uint96"
143
+ },
144
+ {
145
+ "internalType": "uint8",
146
+ "name": "payoutsCount",
147
+ "type": "uint8"
148
+ },
149
+ {
150
+ "internalType": "uint8",
151
+ "name": "openPayoutsCount",
152
+ "type": "uint8"
153
+ },
154
+ {
155
+ "internalType": "bytes",
156
+ "name": "submissionData",
157
+ "type": "bytes"
158
+ },
159
+ {
160
+ "internalType": "bytes",
161
+ "name": "processData",
162
+ "type": "bytes"
163
+ },
164
+ {
165
+ "internalType": "Timestamp",
166
+ "name": "closedAt",
167
+ "type": "uint40"
168
+ }
169
+ ],
170
+ "internalType": "struct IPolicy.ClaimInfo",
171
+ "name": "info",
172
+ "type": "tuple"
173
+ }
174
+ ],
175
+ "stateMutability": "view",
176
+ "type": "function"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "NftId",
182
+ "name": "policyNftId",
183
+ "type": "uint96"
184
+ },
185
+ {
186
+ "internalType": "ClaimId",
187
+ "name": "claimId",
188
+ "type": "uint16"
189
+ }
190
+ ],
191
+ "name": "getClaimState",
192
+ "outputs": [
193
+ {
194
+ "internalType": "StateId",
195
+ "name": "state",
118
196
  "type": "uint8"
119
197
  }
120
198
  ],
@@ -125,53 +203,46 @@
125
203
  "inputs": [
126
204
  {
127
205
  "internalType": "NftId",
128
- "name": "distributionNftId",
206
+ "name": "componentNftId",
129
207
  "type": "uint96"
130
208
  }
131
209
  ],
132
- "name": "getDistributionSetupInfo",
210
+ "name": "getComponentInfo",
133
211
  "outputs": [
134
212
  {
135
213
  "components": [
214
+ {
215
+ "internalType": "string",
216
+ "name": "name",
217
+ "type": "string"
218
+ },
136
219
  {
137
220
  "internalType": "NftId",
138
221
  "name": "productNftId",
139
222
  "type": "uint96"
140
223
  },
141
224
  {
142
- "internalType": "contract TokenHandler",
143
- "name": "tokenHandler",
225
+ "internalType": "contract IERC20Metadata",
226
+ "name": "token",
144
227
  "type": "address"
145
228
  },
146
229
  {
147
- "components": [
148
- {
149
- "internalType": "UFixed",
150
- "name": "fractionalFee",
151
- "type": "uint256"
152
- },
153
- {
154
- "internalType": "uint256",
155
- "name": "fixedFee",
156
- "type": "uint256"
157
- }
158
- ],
159
- "internalType": "struct Fee",
160
- "name": "distributionFee",
161
- "type": "tuple"
162
- },
163
- {
164
- "internalType": "bool",
165
- "name": "isIntercepting",
166
- "type": "bool"
230
+ "internalType": "contract TokenHandler",
231
+ "name": "tokenHandler",
232
+ "type": "address"
167
233
  },
168
234
  {
169
235
  "internalType": "address",
170
236
  "name": "wallet",
171
237
  "type": "address"
238
+ },
239
+ {
240
+ "internalType": "bytes",
241
+ "name": "data",
242
+ "type": "bytes"
172
243
  }
173
244
  ],
174
- "internalType": "struct ISetup.DistributionSetupInfo",
245
+ "internalType": "struct IComponents.ComponentInfo",
175
246
  "name": "info",
176
247
  "type": "tuple"
177
248
  }
@@ -179,6 +250,30 @@
179
250
  "stateMutability": "view",
180
251
  "type": "function"
181
252
  },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "ReferralId",
257
+ "name": "referralId",
258
+ "type": "bytes8"
259
+ }
260
+ ],
261
+ "name": "getDiscountPercentage",
262
+ "outputs": [
263
+ {
264
+ "internalType": "UFixed",
265
+ "name": "discountPercentage",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "internalType": "ReferralStatus",
270
+ "name": "status",
271
+ "type": "uint8"
272
+ }
273
+ ],
274
+ "stateMutability": "view",
275
+ "type": "function"
276
+ },
182
277
  {
183
278
  "inputs": [
184
279
  {
@@ -205,6 +300,11 @@
205
300
  "internalType": "bytes",
206
301
  "name": "data",
207
302
  "type": "bytes"
303
+ },
304
+ {
305
+ "internalType": "uint32",
306
+ "name": "numPoliciesSold",
307
+ "type": "uint32"
208
308
  }
209
309
  ],
210
310
  "internalType": "struct IDistribution.DistributorInfo",
@@ -282,13 +382,19 @@
282
382
  "type": "function"
283
383
  },
284
384
  {
285
- "inputs": [],
286
- "name": "getInstance",
385
+ "inputs": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "targetNftId",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "name": "getFeeAmount",
287
393
  "outputs": [
288
394
  {
289
- "internalType": "contract IInstance",
290
- "name": "instance",
291
- "type": "address"
395
+ "internalType": "Amount",
396
+ "name": "",
397
+ "type": "uint96"
292
398
  }
293
399
  ],
294
400
  "stateMutability": "view",
@@ -296,12 +402,12 @@
296
402
  },
297
403
  {
298
404
  "inputs": [],
299
- "name": "getInstanceNftId",
405
+ "name": "getInstance",
300
406
  "outputs": [
301
407
  {
302
- "internalType": "NftId",
303
- "name": "nftId",
304
- "type": "uint96"
408
+ "internalType": "contract IInstance",
409
+ "name": "instance",
410
+ "type": "address"
305
411
  }
306
412
  ],
307
413
  "stateMutability": "view",
@@ -320,6 +426,25 @@
320
426
  "stateMutability": "view",
321
427
  "type": "function"
322
428
  },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "targetNftId",
434
+ "type": "uint96"
435
+ }
436
+ ],
437
+ "name": "getLockedAmount",
438
+ "outputs": [
439
+ {
440
+ "internalType": "Amount",
441
+ "name": "",
442
+ "type": "uint96"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
323
448
  {
324
449
  "inputs": [
325
450
  {
@@ -342,11 +467,6 @@
342
467
  "name": "state",
343
468
  "type": "uint8"
344
469
  },
345
- {
346
- "internalType": "address",
347
- "name": "updatedBy",
348
- "type": "address"
349
- },
350
470
  {
351
471
  "internalType": "Blocknumber",
352
472
  "name": "updatedIn",
@@ -372,60 +492,135 @@
372
492
  "internalType": "NftId",
373
493
  "name": "policyNftId",
374
494
  "type": "uint96"
495
+ },
496
+ {
497
+ "internalType": "PayoutId",
498
+ "name": "payoutId",
499
+ "type": "uint24"
375
500
  }
376
501
  ],
377
- "name": "getPolicyInfo",
502
+ "name": "getPayoutInfo",
378
503
  "outputs": [
379
504
  {
380
505
  "components": [
381
506
  {
382
- "internalType": "NftId",
383
- "name": "productNftId",
384
- "type": "uint96"
507
+ "internalType": "ClaimId",
508
+ "name": "claimId",
509
+ "type": "uint16"
385
510
  },
386
511
  {
387
- "internalType": "NftId",
388
- "name": "bundleNftId",
512
+ "internalType": "Amount",
513
+ "name": "amount",
389
514
  "type": "uint96"
390
515
  },
391
516
  {
392
- "internalType": "ReferralId",
393
- "name": "referralId",
394
- "type": "bytes8"
395
- },
396
- {
397
- "internalType": "RiskId",
398
- "name": "riskId",
399
- "type": "bytes8"
400
- },
401
- {
402
- "internalType": "uint256",
403
- "name": "sumInsuredAmount",
404
- "type": "uint256"
405
- },
406
- {
407
- "internalType": "uint256",
408
- "name": "premiumAmount",
409
- "type": "uint256"
410
- },
411
- {
412
- "internalType": "uint256",
413
- "name": "premiumPaidAmount",
414
- "type": "uint256"
415
- },
416
- {
417
- "internalType": "uint256",
418
- "name": "lifetime",
419
- "type": "uint256"
420
- },
421
- {
422
- "internalType": "bytes",
423
- "name": "applicationData",
424
- "type": "bytes"
517
+ "internalType": "address",
518
+ "name": "beneficiary",
519
+ "type": "address"
425
520
  },
426
521
  {
427
522
  "internalType": "bytes",
428
- "name": "policyData",
523
+ "name": "data",
524
+ "type": "bytes"
525
+ },
526
+ {
527
+ "internalType": "Timestamp",
528
+ "name": "paidAt",
529
+ "type": "uint40"
530
+ }
531
+ ],
532
+ "internalType": "struct IPolicy.PayoutInfo",
533
+ "name": "info",
534
+ "type": "tuple"
535
+ }
536
+ ],
537
+ "stateMutability": "view",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [
542
+ {
543
+ "internalType": "NftId",
544
+ "name": "policyNftId",
545
+ "type": "uint96"
546
+ },
547
+ {
548
+ "internalType": "PayoutId",
549
+ "name": "payoutId",
550
+ "type": "uint24"
551
+ }
552
+ ],
553
+ "name": "getPayoutState",
554
+ "outputs": [
555
+ {
556
+ "internalType": "StateId",
557
+ "name": "state",
558
+ "type": "uint8"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [
566
+ {
567
+ "internalType": "NftId",
568
+ "name": "policyNftId",
569
+ "type": "uint96"
570
+ }
571
+ ],
572
+ "name": "getPolicyInfo",
573
+ "outputs": [
574
+ {
575
+ "components": [
576
+ {
577
+ "internalType": "NftId",
578
+ "name": "productNftId",
579
+ "type": "uint96"
580
+ },
581
+ {
582
+ "internalType": "NftId",
583
+ "name": "bundleNftId",
584
+ "type": "uint96"
585
+ },
586
+ {
587
+ "internalType": "ReferralId",
588
+ "name": "referralId",
589
+ "type": "bytes8"
590
+ },
591
+ {
592
+ "internalType": "RiskId",
593
+ "name": "riskId",
594
+ "type": "bytes8"
595
+ },
596
+ {
597
+ "internalType": "Amount",
598
+ "name": "sumInsuredAmount",
599
+ "type": "uint96"
600
+ },
601
+ {
602
+ "internalType": "Amount",
603
+ "name": "premiumAmount",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "internalType": "Amount",
608
+ "name": "premiumPaidAmount",
609
+ "type": "uint96"
610
+ },
611
+ {
612
+ "internalType": "Seconds",
613
+ "name": "lifetime",
614
+ "type": "uint40"
615
+ },
616
+ {
617
+ "internalType": "bytes",
618
+ "name": "applicationData",
619
+ "type": "bytes"
620
+ },
621
+ {
622
+ "internalType": "bytes",
623
+ "name": "processData",
429
624
  "type": "bytes"
430
625
  },
431
626
  {
@@ -439,9 +634,14 @@
439
634
  "type": "uint16"
440
635
  },
441
636
  {
442
- "internalType": "uint256",
637
+ "internalType": "Amount",
638
+ "name": "claimAmount",
639
+ "type": "uint96"
640
+ },
641
+ {
642
+ "internalType": "Amount",
443
643
  "name": "payoutAmount",
444
- "type": "uint256"
644
+ "type": "uint96"
445
645
  },
446
646
  {
447
647
  "internalType": "Timestamp",
@@ -494,19 +694,34 @@
494
694
  "type": "uint96"
495
695
  }
496
696
  ],
497
- "name": "getPoolSetupInfo",
697
+ "name": "getPoolInfo",
498
698
  "outputs": [
499
699
  {
500
700
  "components": [
501
701
  {
502
- "internalType": "NftId",
503
- "name": "productNftId",
702
+ "internalType": "Amount",
703
+ "name": "maxBalanceAmount",
504
704
  "type": "uint96"
505
705
  },
506
706
  {
507
- "internalType": "contract TokenHandler",
508
- "name": "tokenHandler",
509
- "type": "address"
707
+ "internalType": "RoleId",
708
+ "name": "bundleOwnerRole",
709
+ "type": "uint64"
710
+ },
711
+ {
712
+ "internalType": "bool",
713
+ "name": "isInterceptingBundleTransfers",
714
+ "type": "bool"
715
+ },
716
+ {
717
+ "internalType": "bool",
718
+ "name": "isExternallyManaged",
719
+ "type": "bool"
720
+ },
721
+ {
722
+ "internalType": "bool",
723
+ "name": "isVerifyingApplications",
724
+ "type": "bool"
510
725
  },
511
726
  {
512
727
  "internalType": "UFixed",
@@ -514,73 +729,123 @@
514
729
  "type": "uint256"
515
730
  },
516
731
  {
517
- "components": [
518
- {
519
- "internalType": "UFixed",
520
- "name": "fractionalFee",
521
- "type": "uint256"
522
- },
523
- {
524
- "internalType": "uint256",
525
- "name": "fixedFee",
526
- "type": "uint256"
527
- }
528
- ],
529
- "internalType": "struct Fee",
530
- "name": "poolFee",
531
- "type": "tuple"
732
+ "internalType": "UFixed",
733
+ "name": "retentionLevel",
734
+ "type": "uint256"
735
+ }
736
+ ],
737
+ "internalType": "struct IComponents.PoolInfo",
738
+ "name": "info",
739
+ "type": "tuple"
740
+ }
741
+ ],
742
+ "stateMutability": "view",
743
+ "type": "function"
744
+ },
745
+ {
746
+ "inputs": [
747
+ {
748
+ "internalType": "NftId",
749
+ "name": "policyNftId",
750
+ "type": "uint96"
751
+ }
752
+ ],
753
+ "name": "getPremiumInfo",
754
+ "outputs": [
755
+ {
756
+ "components": [
757
+ {
758
+ "internalType": "Amount",
759
+ "name": "productFeeAmount",
760
+ "type": "uint96"
532
761
  },
533
762
  {
534
- "components": [
535
- {
536
- "internalType": "UFixed",
537
- "name": "fractionalFee",
538
- "type": "uint256"
539
- },
540
- {
541
- "internalType": "uint256",
542
- "name": "fixedFee",
543
- "type": "uint256"
544
- }
545
- ],
546
- "internalType": "struct Fee",
547
- "name": "stakingFee",
548
- "type": "tuple"
763
+ "internalType": "Amount",
764
+ "name": "distributionFeeAndCommissionAmount",
765
+ "type": "uint96"
549
766
  },
550
767
  {
551
- "components": [
552
- {
553
- "internalType": "UFixed",
554
- "name": "fractionalFee",
555
- "type": "uint256"
556
- },
557
- {
558
- "internalType": "uint256",
559
- "name": "fixedFee",
560
- "type": "uint256"
561
- }
562
- ],
563
- "internalType": "struct Fee",
564
- "name": "performanceFee",
565
- "type": "tuple"
768
+ "internalType": "Amount",
769
+ "name": "poolPremiumAndFeeAmount",
770
+ "type": "uint96"
566
771
  },
567
772
  {
568
- "internalType": "bool",
569
- "name": "isIntercepting",
570
- "type": "bool"
773
+ "internalType": "Amount",
774
+ "name": "netPremiumAmount",
775
+ "type": "uint96"
571
776
  },
572
777
  {
573
- "internalType": "bool",
574
- "name": "isConfirmingApplication",
575
- "type": "bool"
778
+ "internalType": "Amount",
779
+ "name": "fullPremiumAmount",
780
+ "type": "uint96"
576
781
  },
577
782
  {
578
- "internalType": "address",
579
- "name": "wallet",
580
- "type": "address"
783
+ "internalType": "Amount",
784
+ "name": "premiumAmount",
785
+ "type": "uint96"
786
+ },
787
+ {
788
+ "internalType": "Amount",
789
+ "name": "productFeeFixAmount",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "Amount",
794
+ "name": "poolFeeFixAmount",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "internalType": "Amount",
799
+ "name": "bundleFeeFixAmount",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "Amount",
804
+ "name": "distributionFeeFixAmount",
805
+ "type": "uint96"
806
+ },
807
+ {
808
+ "internalType": "Amount",
809
+ "name": "productFeeVarAmount",
810
+ "type": "uint96"
811
+ },
812
+ {
813
+ "internalType": "Amount",
814
+ "name": "poolFeeVarAmount",
815
+ "type": "uint96"
816
+ },
817
+ {
818
+ "internalType": "Amount",
819
+ "name": "bundleFeeVarAmount",
820
+ "type": "uint96"
821
+ },
822
+ {
823
+ "internalType": "Amount",
824
+ "name": "distributionFeeVarAmount",
825
+ "type": "uint96"
826
+ },
827
+ {
828
+ "internalType": "Amount",
829
+ "name": "distributionOwnerFeeFixAmount",
830
+ "type": "uint96"
831
+ },
832
+ {
833
+ "internalType": "Amount",
834
+ "name": "distributionOwnerFeeVarAmount",
835
+ "type": "uint96"
836
+ },
837
+ {
838
+ "internalType": "Amount",
839
+ "name": "commissionAmount",
840
+ "type": "uint96"
841
+ },
842
+ {
843
+ "internalType": "Amount",
844
+ "name": "discountAmount",
845
+ "type": "uint96"
581
846
  }
582
847
  ],
583
- "internalType": "struct ISetup.PoolSetupInfo",
848
+ "internalType": "struct IPolicy.PremiumInfo",
584
849
  "name": "info",
585
850
  "type": "tuple"
586
851
  }
@@ -588,6 +853,25 @@
588
853
  "stateMutability": "view",
589
854
  "type": "function"
590
855
  },
856
+ {
857
+ "inputs": [
858
+ {
859
+ "internalType": "NftId",
860
+ "name": "policyNftId",
861
+ "type": "uint96"
862
+ }
863
+ ],
864
+ "name": "getPremiumInfoState",
865
+ "outputs": [
866
+ {
867
+ "internalType": "StateId",
868
+ "name": "state",
869
+ "type": "uint8"
870
+ }
871
+ ],
872
+ "stateMutability": "view",
873
+ "type": "function"
874
+ },
591
875
  {
592
876
  "inputs": [
593
877
  {
@@ -596,20 +880,10 @@
596
880
  "type": "uint96"
597
881
  }
598
882
  ],
599
- "name": "getProductSetupInfo",
883
+ "name": "getProductInfo",
600
884
  "outputs": [
601
885
  {
602
886
  "components": [
603
- {
604
- "internalType": "contract IERC20Metadata",
605
- "name": "token",
606
- "type": "address"
607
- },
608
- {
609
- "internalType": "contract TokenHandler",
610
- "name": "tokenHandler",
611
- "type": "address"
612
- },
613
887
  {
614
888
  "internalType": "NftId",
615
889
  "name": "distributionNftId",
@@ -634,7 +908,7 @@
634
908
  }
635
909
  ],
636
910
  "internalType": "struct Fee",
637
- "name": "distributionFee",
911
+ "name": "productFee",
638
912
  "type": "tuple"
639
913
  },
640
914
  {
@@ -651,7 +925,7 @@
651
925
  }
652
926
  ],
653
927
  "internalType": "struct Fee",
654
- "name": "productFee",
928
+ "name": "processingFee",
655
929
  "type": "tuple"
656
930
  },
657
931
  {
@@ -668,7 +942,24 @@
668
942
  }
669
943
  ],
670
944
  "internalType": "struct Fee",
671
- "name": "processingFee",
945
+ "name": "distributionFee",
946
+ "type": "tuple"
947
+ },
948
+ {
949
+ "components": [
950
+ {
951
+ "internalType": "UFixed",
952
+ "name": "fractionalFee",
953
+ "type": "uint256"
954
+ },
955
+ {
956
+ "internalType": "uint256",
957
+ "name": "fixedFee",
958
+ "type": "uint256"
959
+ }
960
+ ],
961
+ "internalType": "struct Fee",
962
+ "name": "minDistributionOwnerFee",
672
963
  "type": "tuple"
673
964
  },
674
965
  {
@@ -721,19 +1012,9 @@
721
1012
  "internalType": "struct Fee",
722
1013
  "name": "performanceFee",
723
1014
  "type": "tuple"
724
- },
725
- {
726
- "internalType": "bool",
727
- "name": "isIntercepting",
728
- "type": "bool"
729
- },
730
- {
731
- "internalType": "address",
732
- "name": "wallet",
733
- "type": "address"
734
1015
  }
735
1016
  ],
736
- "internalType": "struct ISetup.ProductSetupInfo",
1017
+ "internalType": "struct IComponents.ProductInfo",
737
1018
  "name": "info",
738
1019
  "type": "tuple"
739
1020
  }
@@ -797,6 +1078,67 @@
797
1078
  "stateMutability": "view",
798
1079
  "type": "function"
799
1080
  },
1081
+ {
1082
+ "inputs": [
1083
+ {
1084
+ "internalType": "RequestId",
1085
+ "name": "requestId",
1086
+ "type": "uint64"
1087
+ }
1088
+ ],
1089
+ "name": "getRequestInfo",
1090
+ "outputs": [
1091
+ {
1092
+ "components": [
1093
+ {
1094
+ "internalType": "NftId",
1095
+ "name": "requesterNftId",
1096
+ "type": "uint96"
1097
+ },
1098
+ {
1099
+ "internalType": "string",
1100
+ "name": "callbackMethodName",
1101
+ "type": "string"
1102
+ },
1103
+ {
1104
+ "internalType": "NftId",
1105
+ "name": "oracleNftId",
1106
+ "type": "uint96"
1107
+ },
1108
+ {
1109
+ "internalType": "bytes",
1110
+ "name": "requestData",
1111
+ "type": "bytes"
1112
+ },
1113
+ {
1114
+ "internalType": "bytes",
1115
+ "name": "responseData",
1116
+ "type": "bytes"
1117
+ },
1118
+ {
1119
+ "internalType": "Timestamp",
1120
+ "name": "respondedAt",
1121
+ "type": "uint40"
1122
+ },
1123
+ {
1124
+ "internalType": "Timestamp",
1125
+ "name": "expiredAt",
1126
+ "type": "uint40"
1127
+ },
1128
+ {
1129
+ "internalType": "bool",
1130
+ "name": "isCancelled",
1131
+ "type": "bool"
1132
+ }
1133
+ ],
1134
+ "internalType": "struct IOracle.RequestInfo",
1135
+ "name": "requestInfo",
1136
+ "type": "tuple"
1137
+ }
1138
+ ],
1139
+ "stateMutability": "view",
1140
+ "type": "function"
1141
+ },
800
1142
  {
801
1143
  "inputs": [
802
1144
  {
@@ -828,11 +1170,30 @@
828
1170
  "stateMutability": "view",
829
1171
  "type": "function"
830
1172
  },
1173
+ {
1174
+ "inputs": [
1175
+ {
1176
+ "internalType": "Key32",
1177
+ "name": "key",
1178
+ "type": "bytes32"
1179
+ }
1180
+ ],
1181
+ "name": "getState",
1182
+ "outputs": [
1183
+ {
1184
+ "internalType": "StateId",
1185
+ "name": "state",
1186
+ "type": "uint8"
1187
+ }
1188
+ ],
1189
+ "stateMutability": "view",
1190
+ "type": "function"
1191
+ },
831
1192
  {
832
1193
  "inputs": [
833
1194
  {
834
1195
  "internalType": "NftId",
835
- "name": "productNftId",
1196
+ "name": "componentNftId",
836
1197
  "type": "uint96"
837
1198
  }
838
1199
  ],
@@ -847,144 +1208,107 @@
847
1208
  "stateMutability": "view",
848
1209
  "type": "function"
849
1210
  },
1211
+ {
1212
+ "inputs": [
1213
+ {
1214
+ "internalType": "address",
1215
+ "name": "account",
1216
+ "type": "address"
1217
+ },
1218
+ {
1219
+ "internalType": "RoleId",
1220
+ "name": "roleId",
1221
+ "type": "uint64"
1222
+ }
1223
+ ],
1224
+ "name": "hasAdminRole",
1225
+ "outputs": [
1226
+ {
1227
+ "internalType": "bool",
1228
+ "name": "isMember",
1229
+ "type": "bool"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [
1237
+ {
1238
+ "internalType": "address",
1239
+ "name": "account",
1240
+ "type": "address"
1241
+ },
1242
+ {
1243
+ "internalType": "RoleId",
1244
+ "name": "roleId",
1245
+ "type": "uint64"
1246
+ }
1247
+ ],
1248
+ "name": "hasRole",
1249
+ "outputs": [
1250
+ {
1251
+ "internalType": "bool",
1252
+ "name": "isMember",
1253
+ "type": "bool"
1254
+ }
1255
+ ],
1256
+ "stateMutability": "view",
1257
+ "type": "function"
1258
+ },
1259
+ {
1260
+ "inputs": [],
1261
+ "name": "initialize",
1262
+ "outputs": [],
1263
+ "stateMutability": "nonpayable",
1264
+ "type": "function"
1265
+ },
1266
+ {
1267
+ "inputs": [
1268
+ {
1269
+ "internalType": "address",
1270
+ "name": "instanceAddress",
1271
+ "type": "address"
1272
+ }
1273
+ ],
1274
+ "name": "initializeWithInstance",
1275
+ "outputs": [],
1276
+ "stateMutability": "nonpayable",
1277
+ "type": "function"
1278
+ },
1279
+ {
1280
+ "inputs": [
1281
+ {
1282
+ "internalType": "address",
1283
+ "name": "target",
1284
+ "type": "address"
1285
+ }
1286
+ ],
1287
+ "name": "isTargetLocked",
1288
+ "outputs": [
1289
+ {
1290
+ "internalType": "bool",
1291
+ "name": "",
1292
+ "type": "bool"
1293
+ }
1294
+ ],
1295
+ "stateMutability": "view",
1296
+ "type": "function"
1297
+ },
850
1298
  {
851
1299
  "inputs": [
852
1300
  {
853
1301
  "internalType": "NftId",
854
- "name": "productNftId",
1302
+ "name": "policyNftId",
855
1303
  "type": "uint96"
856
1304
  }
857
1305
  ],
858
- "name": "getTreasuryInfo",
1306
+ "name": "policyIsCloseable",
859
1307
  "outputs": [
860
1308
  {
861
- "components": [
862
- {
863
- "internalType": "contract IERC20Metadata",
864
- "name": "token",
865
- "type": "address"
866
- },
867
- {
868
- "internalType": "contract TokenHandler",
869
- "name": "tokenHandler",
870
- "type": "address"
871
- },
872
- {
873
- "internalType": "NftId",
874
- "name": "distributionNftId",
875
- "type": "uint96"
876
- },
877
- {
878
- "internalType": "NftId",
879
- "name": "poolNftId",
880
- "type": "uint96"
881
- },
882
- {
883
- "components": [
884
- {
885
- "internalType": "UFixed",
886
- "name": "fractionalFee",
887
- "type": "uint256"
888
- },
889
- {
890
- "internalType": "uint256",
891
- "name": "fixedFee",
892
- "type": "uint256"
893
- }
894
- ],
895
- "internalType": "struct Fee",
896
- "name": "distributionFee",
897
- "type": "tuple"
898
- },
899
- {
900
- "components": [
901
- {
902
- "internalType": "UFixed",
903
- "name": "fractionalFee",
904
- "type": "uint256"
905
- },
906
- {
907
- "internalType": "uint256",
908
- "name": "fixedFee",
909
- "type": "uint256"
910
- }
911
- ],
912
- "internalType": "struct Fee",
913
- "name": "productFee",
914
- "type": "tuple"
915
- },
916
- {
917
- "components": [
918
- {
919
- "internalType": "UFixed",
920
- "name": "fractionalFee",
921
- "type": "uint256"
922
- },
923
- {
924
- "internalType": "uint256",
925
- "name": "fixedFee",
926
- "type": "uint256"
927
- }
928
- ],
929
- "internalType": "struct Fee",
930
- "name": "processingFee",
931
- "type": "tuple"
932
- },
933
- {
934
- "components": [
935
- {
936
- "internalType": "UFixed",
937
- "name": "fractionalFee",
938
- "type": "uint256"
939
- },
940
- {
941
- "internalType": "uint256",
942
- "name": "fixedFee",
943
- "type": "uint256"
944
- }
945
- ],
946
- "internalType": "struct Fee",
947
- "name": "poolFee",
948
- "type": "tuple"
949
- },
950
- {
951
- "components": [
952
- {
953
- "internalType": "UFixed",
954
- "name": "fractionalFee",
955
- "type": "uint256"
956
- },
957
- {
958
- "internalType": "uint256",
959
- "name": "fixedFee",
960
- "type": "uint256"
961
- }
962
- ],
963
- "internalType": "struct Fee",
964
- "name": "stakingFee",
965
- "type": "tuple"
966
- },
967
- {
968
- "components": [
969
- {
970
- "internalType": "UFixed",
971
- "name": "fractionalFee",
972
- "type": "uint256"
973
- },
974
- {
975
- "internalType": "uint256",
976
- "name": "fixedFee",
977
- "type": "uint256"
978
- }
979
- ],
980
- "internalType": "struct Fee",
981
- "name": "performanceFee",
982
- "type": "tuple"
983
- }
984
- ],
985
- "internalType": "struct ITreasury.TreasuryInfo",
986
- "name": "info",
987
- "type": "tuple"
1309
+ "internalType": "bool",
1310
+ "name": "isCloseable",
1311
+ "type": "bool"
988
1312
  }
989
1313
  ],
990
1314
  "stateMutability": "view",
@@ -992,31 +1316,32 @@
992
1316
  },
993
1317
  {
994
1318
  "inputs": [
995
- {
996
- "internalType": "address",
997
- "name": "registry",
998
- "type": "address"
999
- },
1000
1319
  {
1001
1320
  "internalType": "NftId",
1002
- "name": "instanceNftId",
1321
+ "name": "poolNftId",
1003
1322
  "type": "uint96"
1004
1323
  }
1005
1324
  ],
1006
- "name": "initialize",
1007
- "outputs": [],
1008
- "stateMutability": "nonpayable",
1325
+ "name": "toBundleKey",
1326
+ "outputs": [
1327
+ {
1328
+ "internalType": "Key32",
1329
+ "name": "",
1330
+ "type": "bytes32"
1331
+ }
1332
+ ],
1333
+ "stateMutability": "pure",
1009
1334
  "type": "function"
1010
1335
  },
1011
1336
  {
1012
1337
  "inputs": [
1013
1338
  {
1014
1339
  "internalType": "NftId",
1015
- "name": "poolNftId",
1340
+ "name": "componentNftId",
1016
1341
  "type": "uint96"
1017
1342
  }
1018
1343
  ],
1019
- "name": "toBundleKey",
1344
+ "name": "toComponentKey",
1020
1345
  "outputs": [
1021
1346
  {
1022
1347
  "internalType": "Key32",
@@ -1126,11 +1451,11 @@
1126
1451
  "inputs": [
1127
1452
  {
1128
1453
  "internalType": "NftId",
1129
- "name": "productNftId",
1454
+ "name": "policyNftId",
1130
1455
  "type": "uint96"
1131
1456
  }
1132
1457
  ],
1133
- "name": "toProductKey",
1458
+ "name": "toPremiumKey",
1134
1459
  "outputs": [
1135
1460
  {
1136
1461
  "internalType": "Key32",
@@ -1145,21 +1470,16 @@
1145
1470
  "inputs": [
1146
1471
  {
1147
1472
  "internalType": "NftId",
1148
- "name": "distributionNftId",
1473
+ "name": "productNftId",
1149
1474
  "type": "uint96"
1150
- },
1151
- {
1152
- "internalType": "string",
1153
- "name": "referralCode",
1154
- "type": "string"
1155
1475
  }
1156
1476
  ],
1157
- "name": "toReferralId",
1477
+ "name": "toProductKey",
1158
1478
  "outputs": [
1159
1479
  {
1160
- "internalType": "ReferralId",
1161
- "name": "referralId",
1162
- "type": "bytes8"
1480
+ "internalType": "Key32",
1481
+ "name": "",
1482
+ "type": "bytes32"
1163
1483
  }
1164
1484
  ],
1165
1485
  "stateMutability": "pure",
@@ -1169,16 +1489,21 @@
1169
1489
  "inputs": [
1170
1490
  {
1171
1491
  "internalType": "NftId",
1172
- "name": "productNftId",
1492
+ "name": "distributionNftId",
1173
1493
  "type": "uint96"
1494
+ },
1495
+ {
1496
+ "internalType": "string",
1497
+ "name": "referralCode",
1498
+ "type": "string"
1174
1499
  }
1175
1500
  ],
1176
- "name": "toTreasuryKey",
1501
+ "name": "toReferralId",
1177
1502
  "outputs": [
1178
1503
  {
1179
- "internalType": "Key32",
1180
- "name": "",
1181
- "type": "bytes32"
1504
+ "internalType": "ReferralId",
1505
+ "name": "referralId",
1506
+ "type": "bytes8"
1182
1507
  }
1183
1508
  ],
1184
1509
  "stateMutability": "pure",
@@ -1209,212 +1534,320 @@
1209
1534
  "type": "function"
1210
1535
  }
1211
1536
  ],
1212
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620036ab380380620036ab83398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b6130a680620006056000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80639096a1f3116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610525578063f2a413741461053d578063f2b246c314610552578063f7f318d31461057257600080fd5b8063d06458c6146104e1578063d4cda0d814610501578063dd26287a1461051257600080fd5b8063a310e2a3116100d3578063a310e2a3146103ff578063a5961b4c1461042a578063b82d7ef514610497578063bd7d9d85146104c157600080fd5b80639096a1f31461034857806390af70641461036d5780639ad69c671461038d57600080fd5b80634793b4ab116101665780637bfd3217116101405780637bfd3217146102e75780637e54602a146102fa5780637e7986691461030d578063887b1fa91461032857600080fd5b80634793b4ab1461029457806355e343a9146102b457806364eb3a9b146102d457600080fd5b806327b1d792116101a257806327b1d7921461022257806335898f5d146102425780633f093cd61461025557806344aa68361461028157600080fd5b80631488c845146101c95780631d3be477146101ef57806325d037431461020f575b600080fd5b6101dc6101d7366004611b67565b610585565b6040519081526020015b60405180910390f35b6102026101fd366004611bb6565b61060b565b6040516101e69190611c23565b6101dc61021d366004611cd3565b61075d565b610235610230366004611cd3565b6107fd565b6040516101e69190611cf0565b6101dc610250366004611cd3565b6108b7565b610268610263366004611e9a565b6108e4565b6040516001600160c01b031990911681526020016101e6565b6101dc61028f366004611f2c565b610961565b6102a76102a2366004611cd3565b61099c565b6040516101e69190611f45565b6102c76102c2366004611cd3565b610a42565b6040516101e69190611ff9565b6101dc6102e2366004611cd3565b610b5a565b6101dc6102f5366004611cd3565b610b87565b6101dc610308366004611cd3565b610bb4565b6001546040516001600160601b0390911681526020016101e6565b61033b610336366004611bb6565b610be1565b6040516101e691906120b9565b61035b610356366004611cd3565b610d0a565b60405160ff90911681526020016101e6565b61038061037b366004611cd3565b610d8d565b6040516101e691906120e7565b6103a061039b366004611cd3565b610e33565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101e6565b61041261040d366004611cd3565b610ed9565b6040516001600160a01b0390911681526020016101e6565b61043d610438366004611f2c565b610f87565b6040516101e69190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a5366004611bb6565b61101b565b6040805192835260ff9091166020830152016101e6565b6104d46104cf366004611cd3565b6112c3565b6040516101e69190612211565b6104f46104ef366004611bb6565b6113e1565b6040516101e69190612352565b6002546001600160a01b0316610412565b6101dc610520366004611cd3565b611554565b600154600160601b90046001600160a01b0316610412565b61055061054b366004612417565b611581565b005b610565610560366004611cd3565b611873565b6040516101e69190612445565b6101dc610580366004611cd3565b6119bb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106049190612547565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d69190612547565b6040518263ffffffff1660e01b81526004016106f491815260200190565b600060405180830381865afa158015610711573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261073991908101906125a5565b8051909150156107575780806020019051810190610604919061261b565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612547565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61083685610bb4565b6040518263ffffffff1660e01b815260040161085491815260200190565b600060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261089991908101906125a5565b80519091501561075757808060200190518101906106049190612714565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610786565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092090869086906004016127ba565b602060405180830381865af415801561093d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060491906127dc565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107b6565b6109a46119e8565b6002546000906001600160a01b03166354f6127f6109c1856119bb565b6040518263ffffffff1660e01b81526004016109df91815260200190565b600060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2491908101906125a5565b80519091501561075757808060200190518101906106049190612829565b610abc60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ad985611554565b6040518263ffffffff1660e01b8152600401610af791815260200190565b600060405180830381865afa158015610b14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b3c91908101906125a5565b80519091501561075757808060200190518101906106049190612914565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610786565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610786565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610786565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c899190612547565b6040518263ffffffff1660e01b8152600401610ca791815260200190565b600060405180830381865afa158015610cc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cec91908101906125a5565b805190915015610757578080602001905181019061060491906129c9565b600154600090600160601b90046001600160a01b03166309648a9d610d2e84610b5a565b6040518263ffffffff1660e01b8152600401610d4c91815260200190565b602060405180830381865afa158015610d69573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612a62565b610d95611a66565b6002546000906001600160a01b03166354f6127f610db285610b87565b6040518263ffffffff1660e01b8152600401610dd091815260200190565b600060405180830381865afa158015610ded573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1591908101906125a5565b80519091501561075757808060200190518101906106049190612a7f565b610e3b611b1f565b6002546000906001600160a01b03166354f6127f610e58856108b7565b6040518263ffffffff1660e01b8152600401610e7691815260200190565b600060405180830381865afa158015610e93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ebb91908101906125a5565b80519091501561075757808060200190518101906106049190612b76565b60025460009081906001600160a01b03166354f6127f610ef88561075d565b6040518263ffffffff1660e01b8152600401610f1691815260200190565b600060405180830381865afa158015610f33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5b91908101906125a5565b80519091501561075757600081806020019051810190610f7b9190612bed565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ff7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612cbe565b60008060006110298461060b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611088573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ac9190612d2c565b1561112b5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111e9190612547565b60645b9250925050915091565b6111af8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561117c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a09190612d47565b64ffffffffff90811691161090565b156112285773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112219190612547565b606e611121565b806060015163ffffffff16816080015163ffffffff16106112b75773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b09190612547565b6078611121565b6040810151600a611121565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61136085610b5a565b6040518263ffffffff1660e01b815260040161137e91815260200190565b600060405180830381865afa15801561139b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113c391908101906125a5565b80519091501561075757808060200190518101906106049190612d74565b61144060405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156114af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d39190612547565b6040518263ffffffff1660e01b81526004016114f191815260200190565b600060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261153691908101906125a5565b80519091501561075757808060200190518101906106049190612ed9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610786565b60005460ff16156115e35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166116395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064016115da565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b59190612d2c565b6117015760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f0000000000000060448201526064016115da565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561178c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117b49190810190612fd0565b90506117d181604001516117c6604690565b60ff90811691161490565b6118275760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b60648201526084016115da565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61191d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61193a8561075d565b6040518263ffffffff1660e01b815260040161195891815260200190565b600060405180830381865afa158015611975573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261199d91908101906125a5565b80519091501561075757808060200190518101906106049190612bed565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610786565b60405180610120016040528060006001600160601b03168152602001611a21604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611b0b604051806040016040528060008152602001600081525090565b60008060408385031215611b7a57600080fd5b8235915060208301358060000b8114611b9257600080fd5b809150509250929050565b6001600160c01b031981168114611bb357600080fd5b50565b600060208284031215611bc857600080fd5b813561060481611b9d565b60005b83811015611bee578181015183820152602001611bd6565b50506000910152565b60008151808452611c0f816020860160208601611bd3565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c53610100840182611bf7565b90506040840151606084015263ffffffff60608501511660808401526080840151611c8660a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611cb58282611bf7565b95945050505050565b6001600160601b0381168114611bb357600080fd5b600060208284031215611ce557600080fd5b813561060481611cbe565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611d2d6080840182611bf7565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d6d57611d6d611d35565b60405290565b604080519081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161012081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161018081016001600160401b0381118282101715611d6d57611d6d611d35565b60405160a081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161014081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161020081016001600160401b0381118282101715611d6d57611d6d611d35565b604051601f8201601f191681016001600160401b0381118282101715611e6b57611e6b611d35565b604052919050565b60006001600160401b03821115611e8c57611e8c611d35565b50601f01601f191660200190565b60008060408385031215611ead57600080fd5b8235611eb881611cbe565b915060208301356001600160401b03811115611ed357600080fd5b8301601f81018513611ee457600080fd5b8035611ef7611ef282611e73565b611e43565b818152866020838501011115611f0c57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f3e57600080fd5b5035919050565b60208152611f5f6020820183516001600160601b03169052565b60006020830151611f7d604084018280518252602090810151910152565b506040830151610140806080850152611f9a610160850183611bf7565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611fe261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b03168152602080830151610180830191612026908401826001600160a01b03169052565b5060408301516040830152606083015161204d606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611d2d6060840182611bf7565b81516001600160a01b031681526102408101602083015161211360208401826001600160a01b03169052565b50604083015161212e60408401826001600160601b03169052565b50606083015161214960608401826001600160601b03169052565b506080830151612166608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061219c8185018380518252602090810151910152565b60e085015191506101406121bc8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b0381166102208401526120b2565b6020815261222b6020820183516001600160601b03169052565b6000602083015161224760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526122bf610220860184611bf7565b9250808601519050610140601f1986850301818701526122df8483611bf7565b9350808701519150506101606122fa8187018361ffff169052565b86015190506101806123118682018361ffff169052565b8601516101a08681019190915286015190506101c06123388187018364ffffffffff169052565b86015190506101e0611fe28682018364ffffffffff169052565b6020815260008251610120806020850152612371610140850183611bf7565b915060208501516040850152604085015160608501526060850151608085015260808501516123a860a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123de8187018315159052565b860151858403601f19018387015290506123f88382611bf7565b9695505050505050565b6001600160a01b0381168114611bb357600080fd5b6000806040838503121561242a57600080fd5b823561243581612402565b91506020830135611b9281611cbe565b81516001600160a01b031681526102008101602083015161247160208401826001600160a01b03169052565b50604083015161248c60408401826001600160601b03169052565b5060608301516124a760608401826001600160601b03169052565b5060808301516124c4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006124fa8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506120b2565b60006020828403121561255957600080fd5b5051919050565b600082601f83011261257157600080fd5b815161257f611ef282611e73565b81815284602083860101111561259457600080fd5b611d2d826020830160208701611bd3565b6000602082840312156125b757600080fd5b81516001600160401b038111156125cd57600080fd5b611d2d84828501612560565b80516125e481611cbe565b919050565b63ffffffff81168114611bb357600080fd5b80516125e4816125e9565b805164ffffffffff811681146125e457600080fd5b60006020828403121561262d57600080fd5b81516001600160401b038082111561264457600080fd5b9083019060e0828603121561265857600080fd5b612660611d4b565b612669836125d9565b815260208301518281111561267d57600080fd5b61268987828601612560565b602083015250604083015160408201526126a5606084016125fb565b60608201526126b6608084016125fb565b60808201526126c760a08401612606565b60a082015260c0830151828111156126de57600080fd5b6126ea87828601612560565b60c08301525095945050505050565b80516125e481611b9d565b805180151581146125e457600080fd5b60006020828403121561272657600080fd5b81516001600160401b038082111561273d57600080fd5b908301906060828603121561275157600080fd5b60405160608101818110838211171561276c5761276c611d35565b604052825161277a81611b9d565b815261278860208401612704565b602082015260408301518281111561279f57600080fd5b6127ab87828601612560565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611d2d6040830184611bf7565b6000602082840312156127ee57600080fd5b815161060481611b9d565b60006040828403121561280b57600080fd5b612813611d73565b9050815181526020820151602082015292915050565b60006020828403121561283b57600080fd5b81516001600160401b038082111561285257600080fd5b90830190610140828603121561286757600080fd5b61286f611d95565b612878836125d9565b815261288786602085016127f9565b602082015260608301518281111561289e57600080fd5b6128aa87828601612560565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506128e8828401612606565b60e08201526128fa6101208401612606565b91810191909152949350505050565b80516125e481612402565b6000610180828403121561292757600080fd5b61292f611d95565b612938836125d9565b815261294660208401612909565b60208201526040830151604082015261296284606085016127f9565b60608201526129748460a085016127f9565b60808201526129868460e085016127f9565b60a08201526129986101208401612704565b60c08201526129aa6101408401612704565b60e08201526129bc6101608401612909565b6101008201529392505050565b6000602082840312156129db57600080fd5b81516001600160401b03808211156129f257600080fd5b9083019060408286031215612a0657600080fd5b612a0e611d73565b8251612a1981611cbe565b8152602083015182811115612a2d57600080fd5b612a3987828601612560565b60208301525095945050505050565b60ff81168114611bb357600080fd5b80516125e481612a48565b600060208284031215612a7457600080fd5b815161060481612a48565b60006102408284031215612a9257600080fd5b612a9a611db8565b612aa383612909565b8152612ab160208401612909565b6020820152612ac2604084016125d9565b6040820152612ad3606084016125d9565b6060820152612ae584608085016127f9565b6080820152612af78460c085016127f9565b60a0820152610100612b0b858286016127f9565b60c0830152610140612b1f868287016127f9565b60e0840152612b328661018087016127f9565b82840152612b44866101c087016127f9565b610120840152612b576102008601612704565b9083015250612b696102208401612909565b6101608201529392505050565b600060c08284031215612b8857600080fd5b612b90611ddb565b8251612b9b81611cbe565b81526020830151612bab81612402565b6020820152612bbd84604085016127f9565b6040820152612bce60808401612704565b606082015260a0830151612be181612402565b60808201529392505050565b60006102008284031215612c0057600080fd5b612c08611dfd565b612c1183612909565b8152612c1f60208401612909565b6020820152612c30604084016125d9565b6040820152612c41606084016125d9565b6060820152612c5384608085016127f9565b6080820152612c658460c085016127f9565b60a0820152610100612c79858286016127f9565b60c0830152612c8c8561014086016127f9565b60e0830152612c9f8561018086016127f9565b90820152612cb1846101c085016127f9565b6101208201529392505050565b600060a08284031215612cd057600080fd5b612cd8611ddb565b8251612ce381612a48565b81526020830151612cf381612a48565b60208201526040830151612d0681612402565b60408201526060830151612d19816125e9565b60608201526080830151612be1816125e9565b600060208284031215612d3e57600080fd5b61060482612704565b600060208284031215612d5957600080fd5b61060482612606565b805161ffff811681146125e457600080fd5b600060208284031215612d8657600080fd5b81516001600160401b0380821115612d9d57600080fd5b908301906102008286031215612db257600080fd5b612dba611e20565b612dc3836125d9565b8152612dd1602084016125d9565b6020820152612de2604084016126f9565b6040820152612df3606084016126f9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612e3457600080fd5b612e4088828701612560565b8284015250506101208084015183811115612e5a57600080fd5b612e6688828701612560565b8284015250506101409150612e7c828401612d62565b828201526101609150612e90828401612d62565b82820152610180915081830151828201526101a09150612eb1828401612606565b828201526101c09150612ec5828401612606565b828201526101e091506128fa828401612606565b600060208284031215612eeb57600080fd5b81516001600160401b0380821115612f0257600080fd5b908301906101208286031215612f1757600080fd5b612f1f611d95565b825182811115612f2e57600080fd5b612f3a87828601612560565b825250602083015160208201526040830151604082015260608301516060820152612f67608084016125fb565b6080820152612f7860a084016125fb565b60a0820152612f8960c08401612704565b60c0820152612f9a60e08401612704565b60e08201526101008084015183811115612fb357600080fd5b612fbf88828701612560565b918301919091525095945050505050565b600060208284031215612fe257600080fd5b81516001600160401b0380821115612ff957600080fd5b9083019060e0828603121561300d57600080fd5b613015611d4b565b61301e836125d9565b815261302c602084016125d9565b602082015261303d60408401612a57565b604082015261304e60608401612704565b606082015261305f60808401612909565b60808201526126c760a0840161290956fea2646970667358221220d00282967c1cc8ff77bd3b4c61abfc50308f491efb29cccf608ba9050105e27c64736f6c63430008140033",
1213
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80639096a1f3116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610525578063f2a413741461053d578063f2b246c314610552578063f7f318d31461057257600080fd5b8063d06458c6146104e1578063d4cda0d814610501578063dd26287a1461051257600080fd5b8063a310e2a3116100d3578063a310e2a3146103ff578063a5961b4c1461042a578063b82d7ef514610497578063bd7d9d85146104c157600080fd5b80639096a1f31461034857806390af70641461036d5780639ad69c671461038d57600080fd5b80634793b4ab116101665780637bfd3217116101405780637bfd3217146102e75780637e54602a146102fa5780637e7986691461030d578063887b1fa91461032857600080fd5b80634793b4ab1461029457806355e343a9146102b457806364eb3a9b146102d457600080fd5b806327b1d792116101a257806327b1d7921461022257806335898f5d146102425780633f093cd61461025557806344aa68361461028157600080fd5b80631488c845146101c95780631d3be477146101ef57806325d037431461020f575b600080fd5b6101dc6101d7366004611b67565b610585565b6040519081526020015b60405180910390f35b6102026101fd366004611bb6565b61060b565b6040516101e69190611c23565b6101dc61021d366004611cd3565b61075d565b610235610230366004611cd3565b6107fd565b6040516101e69190611cf0565b6101dc610250366004611cd3565b6108b7565b610268610263366004611e9a565b6108e4565b6040516001600160c01b031990911681526020016101e6565b6101dc61028f366004611f2c565b610961565b6102a76102a2366004611cd3565b61099c565b6040516101e69190611f45565b6102c76102c2366004611cd3565b610a42565b6040516101e69190611ff9565b6101dc6102e2366004611cd3565b610b5a565b6101dc6102f5366004611cd3565b610b87565b6101dc610308366004611cd3565b610bb4565b6001546040516001600160601b0390911681526020016101e6565b61033b610336366004611bb6565b610be1565b6040516101e691906120b9565b61035b610356366004611cd3565b610d0a565b60405160ff90911681526020016101e6565b61038061037b366004611cd3565b610d8d565b6040516101e691906120e7565b6103a061039b366004611cd3565b610e33565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101e6565b61041261040d366004611cd3565b610ed9565b6040516001600160a01b0390911681526020016101e6565b61043d610438366004611f2c565b610f87565b6040516101e69190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a5366004611bb6565b61101b565b6040805192835260ff9091166020830152016101e6565b6104d46104cf366004611cd3565b6112c3565b6040516101e69190612211565b6104f46104ef366004611bb6565b6113e1565b6040516101e69190612352565b6002546001600160a01b0316610412565b6101dc610520366004611cd3565b611554565b600154600160601b90046001600160a01b0316610412565b61055061054b366004612417565b611581565b005b610565610560366004611cd3565b611873565b6040516101e69190612445565b6101dc610580366004611cd3565b6119bb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106049190612547565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d69190612547565b6040518263ffffffff1660e01b81526004016106f491815260200190565b600060405180830381865afa158015610711573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261073991908101906125a5565b8051909150156107575780806020019051810190610604919061261b565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612547565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61083685610bb4565b6040518263ffffffff1660e01b815260040161085491815260200190565b600060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261089991908101906125a5565b80519091501561075757808060200190518101906106049190612714565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610786565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092090869086906004016127ba565b602060405180830381865af415801561093d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060491906127dc565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107b6565b6109a46119e8565b6002546000906001600160a01b03166354f6127f6109c1856119bb565b6040518263ffffffff1660e01b81526004016109df91815260200190565b600060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2491908101906125a5565b80519091501561075757808060200190518101906106049190612829565b610abc60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ad985611554565b6040518263ffffffff1660e01b8152600401610af791815260200190565b600060405180830381865afa158015610b14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b3c91908101906125a5565b80519091501561075757808060200190518101906106049190612914565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610786565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610786565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610786565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c899190612547565b6040518263ffffffff1660e01b8152600401610ca791815260200190565b600060405180830381865afa158015610cc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cec91908101906125a5565b805190915015610757578080602001905181019061060491906129c9565b600154600090600160601b90046001600160a01b03166309648a9d610d2e84610b5a565b6040518263ffffffff1660e01b8152600401610d4c91815260200190565b602060405180830381865afa158015610d69573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612a62565b610d95611a66565b6002546000906001600160a01b03166354f6127f610db285610b87565b6040518263ffffffff1660e01b8152600401610dd091815260200190565b600060405180830381865afa158015610ded573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1591908101906125a5565b80519091501561075757808060200190518101906106049190612a7f565b610e3b611b1f565b6002546000906001600160a01b03166354f6127f610e58856108b7565b6040518263ffffffff1660e01b8152600401610e7691815260200190565b600060405180830381865afa158015610e93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ebb91908101906125a5565b80519091501561075757808060200190518101906106049190612b76565b60025460009081906001600160a01b03166354f6127f610ef88561075d565b6040518263ffffffff1660e01b8152600401610f1691815260200190565b600060405180830381865afa158015610f33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5b91908101906125a5565b80519091501561075757600081806020019051810190610f7b9190612bed565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ff7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612cbe565b60008060006110298461060b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611088573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ac9190612d2c565b1561112b5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111e9190612547565b60645b9250925050915091565b6111af8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561117c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a09190612d47565b64ffffffffff90811691161090565b156112285773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112219190612547565b606e611121565b806060015163ffffffff16816080015163ffffffff16106112b75773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b09190612547565b6078611121565b6040810151600a611121565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61136085610b5a565b6040518263ffffffff1660e01b815260040161137e91815260200190565b600060405180830381865afa15801561139b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113c391908101906125a5565b80519091501561075757808060200190518101906106049190612d74565b61144060405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156114af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d39190612547565b6040518263ffffffff1660e01b81526004016114f191815260200190565b600060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261153691908101906125a5565b80519091501561075757808060200190518101906106049190612ed9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610786565b60005460ff16156115e35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166116395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064016115da565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b59190612d2c565b6117015760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f0000000000000060448201526064016115da565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561178c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117b49190810190612fd0565b90506117d181604001516117c6604690565b60ff90811691161490565b6118275760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b60648201526084016115da565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61191d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61193a8561075d565b6040518263ffffffff1660e01b815260040161195891815260200190565b600060405180830381865afa158015611975573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261199d91908101906125a5565b80519091501561075757808060200190518101906106049190612bed565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610786565b60405180610120016040528060006001600160601b03168152602001611a21604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611b0b604051806040016040528060008152602001600081525090565b60008060408385031215611b7a57600080fd5b8235915060208301358060000b8114611b9257600080fd5b809150509250929050565b6001600160c01b031981168114611bb357600080fd5b50565b600060208284031215611bc857600080fd5b813561060481611b9d565b60005b83811015611bee578181015183820152602001611bd6565b50506000910152565b60008151808452611c0f816020860160208601611bd3565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c53610100840182611bf7565b90506040840151606084015263ffffffff60608501511660808401526080840151611c8660a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611cb58282611bf7565b95945050505050565b6001600160601b0381168114611bb357600080fd5b600060208284031215611ce557600080fd5b813561060481611cbe565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611d2d6080840182611bf7565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d6d57611d6d611d35565b60405290565b604080519081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161012081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161018081016001600160401b0381118282101715611d6d57611d6d611d35565b60405160a081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161014081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161020081016001600160401b0381118282101715611d6d57611d6d611d35565b604051601f8201601f191681016001600160401b0381118282101715611e6b57611e6b611d35565b604052919050565b60006001600160401b03821115611e8c57611e8c611d35565b50601f01601f191660200190565b60008060408385031215611ead57600080fd5b8235611eb881611cbe565b915060208301356001600160401b03811115611ed357600080fd5b8301601f81018513611ee457600080fd5b8035611ef7611ef282611e73565b611e43565b818152866020838501011115611f0c57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f3e57600080fd5b5035919050565b60208152611f5f6020820183516001600160601b03169052565b60006020830151611f7d604084018280518252602090810151910152565b506040830151610140806080850152611f9a610160850183611bf7565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611fe261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b03168152602080830151610180830191612026908401826001600160a01b03169052565b5060408301516040830152606083015161204d606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611d2d6060840182611bf7565b81516001600160a01b031681526102408101602083015161211360208401826001600160a01b03169052565b50604083015161212e60408401826001600160601b03169052565b50606083015161214960608401826001600160601b03169052565b506080830151612166608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061219c8185018380518252602090810151910152565b60e085015191506101406121bc8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b0381166102208401526120b2565b6020815261222b6020820183516001600160601b03169052565b6000602083015161224760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526122bf610220860184611bf7565b9250808601519050610140601f1986850301818701526122df8483611bf7565b9350808701519150506101606122fa8187018361ffff169052565b86015190506101806123118682018361ffff169052565b8601516101a08681019190915286015190506101c06123388187018364ffffffffff169052565b86015190506101e0611fe28682018364ffffffffff169052565b6020815260008251610120806020850152612371610140850183611bf7565b915060208501516040850152604085015160608501526060850151608085015260808501516123a860a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123de8187018315159052565b860151858403601f19018387015290506123f88382611bf7565b9695505050505050565b6001600160a01b0381168114611bb357600080fd5b6000806040838503121561242a57600080fd5b823561243581612402565b91506020830135611b9281611cbe565b81516001600160a01b031681526102008101602083015161247160208401826001600160a01b03169052565b50604083015161248c60408401826001600160601b03169052565b5060608301516124a760608401826001600160601b03169052565b5060808301516124c4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006124fa8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506120b2565b60006020828403121561255957600080fd5b5051919050565b600082601f83011261257157600080fd5b815161257f611ef282611e73565b81815284602083860101111561259457600080fd5b611d2d826020830160208701611bd3565b6000602082840312156125b757600080fd5b81516001600160401b038111156125cd57600080fd5b611d2d84828501612560565b80516125e481611cbe565b919050565b63ffffffff81168114611bb357600080fd5b80516125e4816125e9565b805164ffffffffff811681146125e457600080fd5b60006020828403121561262d57600080fd5b81516001600160401b038082111561264457600080fd5b9083019060e0828603121561265857600080fd5b612660611d4b565b612669836125d9565b815260208301518281111561267d57600080fd5b61268987828601612560565b602083015250604083015160408201526126a5606084016125fb565b60608201526126b6608084016125fb565b60808201526126c760a08401612606565b60a082015260c0830151828111156126de57600080fd5b6126ea87828601612560565b60c08301525095945050505050565b80516125e481611b9d565b805180151581146125e457600080fd5b60006020828403121561272657600080fd5b81516001600160401b038082111561273d57600080fd5b908301906060828603121561275157600080fd5b60405160608101818110838211171561276c5761276c611d35565b604052825161277a81611b9d565b815261278860208401612704565b602082015260408301518281111561279f57600080fd5b6127ab87828601612560565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611d2d6040830184611bf7565b6000602082840312156127ee57600080fd5b815161060481611b9d565b60006040828403121561280b57600080fd5b612813611d73565b9050815181526020820151602082015292915050565b60006020828403121561283b57600080fd5b81516001600160401b038082111561285257600080fd5b90830190610140828603121561286757600080fd5b61286f611d95565b612878836125d9565b815261288786602085016127f9565b602082015260608301518281111561289e57600080fd5b6128aa87828601612560565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506128e8828401612606565b60e08201526128fa6101208401612606565b91810191909152949350505050565b80516125e481612402565b6000610180828403121561292757600080fd5b61292f611d95565b612938836125d9565b815261294660208401612909565b60208201526040830151604082015261296284606085016127f9565b60608201526129748460a085016127f9565b60808201526129868460e085016127f9565b60a08201526129986101208401612704565b60c08201526129aa6101408401612704565b60e08201526129bc6101608401612909565b6101008201529392505050565b6000602082840312156129db57600080fd5b81516001600160401b03808211156129f257600080fd5b9083019060408286031215612a0657600080fd5b612a0e611d73565b8251612a1981611cbe565b8152602083015182811115612a2d57600080fd5b612a3987828601612560565b60208301525095945050505050565b60ff81168114611bb357600080fd5b80516125e481612a48565b600060208284031215612a7457600080fd5b815161060481612a48565b60006102408284031215612a9257600080fd5b612a9a611db8565b612aa383612909565b8152612ab160208401612909565b6020820152612ac2604084016125d9565b6040820152612ad3606084016125d9565b6060820152612ae584608085016127f9565b6080820152612af78460c085016127f9565b60a0820152610100612b0b858286016127f9565b60c0830152610140612b1f868287016127f9565b60e0840152612b328661018087016127f9565b82840152612b44866101c087016127f9565b610120840152612b576102008601612704565b9083015250612b696102208401612909565b6101608201529392505050565b600060c08284031215612b8857600080fd5b612b90611ddb565b8251612b9b81611cbe565b81526020830151612bab81612402565b6020820152612bbd84604085016127f9565b6040820152612bce60808401612704565b606082015260a0830151612be181612402565b60808201529392505050565b60006102008284031215612c0057600080fd5b612c08611dfd565b612c1183612909565b8152612c1f60208401612909565b6020820152612c30604084016125d9565b6040820152612c41606084016125d9565b6060820152612c5384608085016127f9565b6080820152612c658460c085016127f9565b60a0820152610100612c79858286016127f9565b60c0830152612c8c8561014086016127f9565b60e0830152612c9f8561018086016127f9565b90820152612cb1846101c085016127f9565b6101208201529392505050565b600060a08284031215612cd057600080fd5b612cd8611ddb565b8251612ce381612a48565b81526020830151612cf381612a48565b60208201526040830151612d0681612402565b60408201526060830151612d19816125e9565b60608201526080830151612be1816125e9565b600060208284031215612d3e57600080fd5b61060482612704565b600060208284031215612d5957600080fd5b61060482612606565b805161ffff811681146125e457600080fd5b600060208284031215612d8657600080fd5b81516001600160401b0380821115612d9d57600080fd5b908301906102008286031215612db257600080fd5b612dba611e20565b612dc3836125d9565b8152612dd1602084016125d9565b6020820152612de2604084016126f9565b6040820152612df3606084016126f9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612e3457600080fd5b612e4088828701612560565b8284015250506101208084015183811115612e5a57600080fd5b612e6688828701612560565b8284015250506101409150612e7c828401612d62565b828201526101609150612e90828401612d62565b82820152610180915081830151828201526101a09150612eb1828401612606565b828201526101c09150612ec5828401612606565b828201526101e091506128fa828401612606565b600060208284031215612eeb57600080fd5b81516001600160401b0380821115612f0257600080fd5b908301906101208286031215612f1757600080fd5b612f1f611d95565b825182811115612f2e57600080fd5b612f3a87828601612560565b825250602083015160208201526040830151604082015260608301516060820152612f67608084016125fb565b6080820152612f7860a084016125fb565b60a0820152612f8960c08401612704565b60c0820152612f9a60e08401612704565b60e08201526101008084015183811115612fb357600080fd5b612fbf88828701612560565b918301919091525095945050505050565b600060208284031215612fe257600080fd5b81516001600160401b0380821115612ff957600080fd5b9083019060e0828603121561300d57600080fd5b613015611d4b565b61301e836125d9565b815261302c602084016125d9565b602082015261303d60408401612a57565b604082015261304e60608401612704565b606082015261305f60808401612909565b60808201526126c760a0840161290956fea2646970667358221220d00282967c1cc8ff77bd3b4c61abfc50308f491efb29cccf608ba9050105e27c64736f6c63430008140033",
1537
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b506142b2806100255f395ff3fe608060405234801561000f575f80fd5b506004361061026b575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610696578063de7b5d14146106a9578063e444c3df146106be578063f0ea17c3146106de578063f7f318d3146106fe578063febe92af14610711575f80fd5b8063b82d7ef514610608578063bd7d9d8514610632578063cd55e51b14610652578063d06458c614610665578063d4cda0d814610685575f80fd5b8063887b1fa911610110578063887b1fa91461051b5780638eb9000d1461053b5780639096a1f31461054e578063a310e2a314610561578063a5961b4c1461058c578063a7ef3d21146105e8575f80fd5b806378ae9350146104c75780637bfd3217146104da5780637d8f1e81146104ed5780637e54602a146105005780638129fc1c14610513575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104465780635da894021461046657806364eb3a9b1461047957806364fc31421461048c5780636791f7ab1461049f57806375d357df146104b4575f80fd5b806339bb60cd146103b45780633f093cd6146103d457806344aa6836146104005780634793b4ab146104135780634fb784f514610433575f80fd5b80631d3be477116102335780631d3be47714610318578063228e42ec1461033857806326decd401461034b57806327b1d7921461036e57806334bd5be31461038e57806335898f5d146103a1575f80fd5b80630232ca491461026f57806309648a9d1461029f57806309c5844f146102c45780630b5d931c146102d75780631488c845146102f7575b5f80fd5b61028261027d3660046126e1565b610731565b6040516001600160601b0390911681526020015b60405180910390f35b6102b26102ad3660046126fc565b6107ab565b60405160ff9091168152602001610296565b6102b26102d23660046126e1565b610820565b6102ea6102e53660046126e1565b610899565b6040516102969190612713565b61030a6103053660046127f5565b610947565b604051908152602001610296565b61032b61032636600461283d565b6109c3565b6040516102969190612886565b6102826103463660046126e1565b610b07565b61035e610359366004612934565b610b40565b6040519015158152602001610296565b61038161037c3660046126e1565b610c1e565b604051610296919061294f565b61030a61039c3660046126e1565b610cdb565b61030a6103af3660046126e1565b610d72565b6103c76103c23660046129a8565b610d9e565b60405161029691906129db565b6103e76103e2366004612bec565b610eed565b6040516001600160c01b03199091168152602001610296565b61030a61040e3660046126fc565b610f67565b6104266104213660046126e1565b610fa1565b6040516102969190612c78565b61030a6104413660046126e1565b611042565b6104596104543660046126e1565b61106e565b6040516102969190612d03565b6102b26104743660046129a8565b61113f565b61030a6104873660046126e1565b611237565b61035e61049a366004612d84565b611263565b6104b26104ad366004612934565b611352565b005b61035e6104c23660046126e1565b611425565b6102b26104d5366004612dbf565b6116a6565b61030a6104e83660046126e1565b611705565b6102b26104fb3660046126e1565b611731565b61030a61050e3660046126e1565b61174d565b6104b2611779565b61052e61052936600461283d565b6117a7565b6040516102969190612deb565b6102826105493660046126e1565b6118c8565b6102b261055c3660046126e1565b611901565b61057461056f3660046126e1565b61191d565b6040516001600160a01b039091168152602001610296565b61059f61059a3660046126fc565b6119c5565b60405161029691905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105fb6105f6366004612dbf565b611a4f565b6040516102969190612e20565b61061b61061636600461283d565b611b9c565b6040805192835260ff909116602083015201610296565b6106456106403660046126e1565b611e38565b6040516102969190612ec6565b61035e610660366004612d84565b611f58565b61067861067336600461283d565b61200c565b6040516102969190613055565b6001546001600160a01b0316610574565b61030a6106a43660046126e1565b612171565b5f5461010090046001600160a01b0316610574565b6106d16106cc3660046126e1565b61219d565b60405161029691906130f6565b6106f16106ec3660046126e1565b6122c6565b60405161029691906132e6565b61030a61070c3660046126e1565b61238f565b61072461071f366004613370565b6123bb565b604051610296919061338b565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190613469565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081691906134b9565b6020015192915050565b6001545f906001600160a01b03166309648a9d61083c84610cdb565b6040518263ffffffff1660e01b815260040161085a91815260200190565b602060405180830381865afa158015610875573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190613520565b6108a1612569565b6001545f906001600160a01b03166354f6127f6108bd85611705565b6040518263ffffffff1660e01b81526004016108db91815260200190565b5f60405180830381865afa1580156108f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261091c919081019061358a565b805190915015610941578080602001905181019061093a91906135ea565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561099f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a91906136ab565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8a91906136ab565b6040518263ffffffff1660e01b8152600401610aa891815260200190565b5f60405180830381865afa158015610ac2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ae9919081019061358a565b805190915015610941578080602001905181019061093a91906136df565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610766565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb591906137c1565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610bfa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906137eb565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610c5e8561174d565b6040518263ffffffff1660e01b8152600401610c7c91815260200190565b5f60405180830381865afa158015610c96573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cbd919081019061358a565b805190915015610941578080602001905181019061093a919061380f565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610d4e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906136ab565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610d03565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610e3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e6191906136ab565b6040518263ffffffff1660e01b8152600401610e7f91815260200190565b5f60405180830381865afa158015610e99573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ec0919081019061358a565b805190915015610ee65780806020019051810190610ede91906138ca565b9150506107a5565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610f289086908690600401613984565b602060405180830381865af4158015610f43573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a91906139a5565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610d33565b610fa9612673565b6001545f906001600160a01b03166354f6127f610fc58561238f565b6040518263ffffffff1660e01b8152600401610fe391815260200190565b5f60405180830381865afa158015610ffd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611024919081019061358a565b805190915015610941578080602001905181019061093a91906139c0565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610d03565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f6110c285612171565b6040518263ffffffff1660e01b81526004016110e091815260200190565b5f60405180830381865afa1580156110fa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611121919081019061358a565b805190915015610941578080602001905181019061093a9190613a84565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af41580156111b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111da91906136ab565b6040518263ffffffff1660e01b81526004016111f891815260200190565b602060405180830381865afa158015611213573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a9190613520565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610d03565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d891906137c1565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa15801561132e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a91906137eb565b5f5460ff16156113755760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156113de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140291906137c1565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061143083611e38565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561148c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b091906137eb565b156114bd57505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c91906137eb565b1561154957505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156115a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c891906137eb565b156115d557505f92915050565b61016081015161ffff16156115ec57505f92915050565b6115ff8161018001518260800151612509565b1561160d5750600192915050565b61169073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611657573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167b9190613b0e565b826101e0015164ffffffffff90811691161090565b1561169d57505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161119b565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610d03565b6001545f906001600160a01b03166309648a9d61083c8461238f565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610d03565b5f5460ff161561179c5760405163ae9eff1b60e01b815260040160405180910390fd5b6117a533611352565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611827573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061184b91906136ab565b6040518263ffffffff1660e01b815260040161186991815260200190565b5f60405180830381865afa158015611883573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118aa919081019061358a565b805190915015610941578080602001905181019061093a9190613b29565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610766565b6001545f906001600160a01b03166309648a9d61083c84611237565b6001545f9081906001600160a01b03166354f6127f61193b85611042565b6040518263ffffffff1660e01b815260040161195991815260200190565b5f60405180830381865afa158015611973573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261199a919081019061358a565b805190915015610941575f818060200190518101906119b99190613ba6565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611a2b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906134b9565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611afb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1f91906136ab565b6040518263ffffffff1660e01b8152600401611b3d91815260200190565b5f60405180830381865afa158015611b57573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b7e919081019061358a565b805190915015610ee65780806020019051810190610ede9190613c7e565b5f805f611ba8846109c3565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611c05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c2991906137eb565b15611ca65773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9991906136ab565b60645b9250925050915091565b611d288160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d199190613b0e565b64ffffffffff90811691161090565b15611d9f5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d9891906136ab565b606e611c9c565b806060015163ffffffff16816080015163ffffffff1610611e2c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2591906136ab565b6078611c9c565b6040810151600a611c9c565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611edb85611237565b6040518263ffffffff1660e01b8152600401611ef991815260200190565b5f60405180830381865afa158015611f13573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f3a919081019061358a565b805190915015610941578080602001905181019061093a9190613d67565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fcd91906137c1565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611313565b612064604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af41580156120d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f491906136ab565b6040518263ffffffff1660e01b815260040161211291815260200190565b5f60405180830381865afa15801561212c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612153919081019061358a565b805190915015610941578080602001905181019061093a9190613f0d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610d03565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61224985610cdb565b6040518263ffffffff1660e01b815260040161226791815260200190565b5f60405180830381865afa158015612281573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122a8919081019061358a565b805190915015610941578080602001905181019061093a9190614006565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61231285611042565b6040518263ffffffff1660e01b815260040161233091815260200190565b5f60405180830381865afa15801561234a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612371919081019061358a565b805190915015610941578080602001905181019061093a9190613ba6565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610d03565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612468573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248c91906136ab565b6040518263ffffffff1660e01b81526004016124aa91815260200190565b5f60405180830381865afa1580156124c4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124eb919081019061358a565b805190915015610941578080602001905181019061093a9190614168565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561132e573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b031681526020016125ae60405180604001604052805f81526020015f81525090565b81526020016125ce60405180604001604052805f81526020015f81525090565b81526020016125ee60405180604001604052805f81526020015f81525090565b815260200161260e60405180604001604052805f81526020015f81525090565b815260200161262e60405180604001604052805f81526020015f81525090565b815260200161264e60405180604001604052805f81526020015f81525090565b815260200161266e60405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b031681526020016126a860405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b03811681146126de575f80fd5b50565b5f602082840312156126f1575f80fd5b813561093a816126ca565b5f6020828403121561270c575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612740908401826001600160601b03169052565b50604083015161275d604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610ee6565b5f8060408385031215612806575f80fd5b8235915060208301355f81900b811461281d575f80fd5b809150509250929050565b6001600160c01b0319811681146126de575f80fd5b5f6020828403121561284d575f80fd5b813561093a81612828565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526128b5610100840182612858565b90506040840151606084015263ffffffff606085015116608084015260808401516128e860a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526129178282612858565b95945050505050565b6001600160a01b03811681146126de575f80fd5b5f60208284031215612944575f80fd5b813561093a81612920565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261298c60a0840182612858565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156129b9575f80fd5b82356129c4816126ca565b9150602083013562ffffff8116811461281d575f80fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a06080840152612a2960c0840182612858565b905064ffffffffff60808501511660a08401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a7c57612a7c612a46565b60405290565b604080519081016001600160401b0381118282101715612a7c57612a7c612a46565b60405161012081016001600160401b0381118282101715612a7c57612a7c612a46565b60405160e081016001600160401b0381118282101715612a7c57612a7c612a46565b60405160a081016001600160401b0381118282101715612a7c57612a7c612a46565b60405160c081016001600160401b0381118282101715612a7c57612a7c612a46565b60405161022081016001600160401b0381118282101715612a7c57612a7c612a46565b60405161024081016001600160401b0381118282101715612a7c57612a7c612a46565b60405161010081016001600160401b0381118282101715612a7c57612a7c612a46565b604051601f8201601f191681016001600160401b0381118282101715612bbe57612bbe612a46565b604052919050565b5f6001600160401b03821115612bde57612bde612a46565b50601f01601f191660200190565b5f8060408385031215612bfd575f80fd5b8235612c08816126ca565b915060208301356001600160401b03811115612c22575f80fd5b8301601f81018513612c32575f80fd5b8035612c45612c4082612bc6565b612b96565b818152866020838501011115612c59575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612ca9604084018280518252602090810151910152565b50604083015160e06080840152612cc4610100840182612858565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612d55608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b03811681146126de575f80fd5b5f8060408385031215612d95575f80fd5b8235612da081612920565b9150602083013561281d81612d70565b61ffff811681146126de575f80fd5b5f8060408385031215612dd0575f80fd5b8235612ddb816126ca565b9150602083013561281d81612db0565b602081526001600160601b0382511660208201525f6020830151604080840152612e186060840182612858565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612e5c606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e86610100840182612858565b905060a0840151601f198483030160c0850152612ea38282612858565b91505060c0840151612ebe60e085018264ffffffffff169052565b509392505050565b60208152612ee06020820183516001600160601b03169052565b5f6020830151612efb60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612f98610240840182612858565b9050610120840151601f1984830301610140850152612fb78282612858565b915050610140840151612fd161016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612ebe565b602081525f82516101206020840152613072610140840182612858565b905060208401516040840152604084015160608401526060840151608084015260808401516130a960a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526129178282612858565b81516001600160601b031681526102408101602083015161312260208401826001600160601b03169052565b50604083015161313d60408401826001600160601b03169052565b50606083015161315860608401826001600160601b03169052565b50608083015161317360808401826001600160601b03169052565b5060a083015161318e60a08401826001600160601b03169052565b5060c08301516131a960c08401826001600160601b03169052565b5060e08301516131c460e08401826001600160601b03169052565b506101008301516131e16101008401826001600160601b03169052565b506101208301516131fe6101208401826001600160601b03169052565b5061014083015161321b6101408401826001600160601b03169052565b506101608301516132386101608401826001600160601b03169052565b506101808301516132556101808401826001600160601b03169052565b506101a08301516132726101a08401826001600160601b03169052565b506101c083015161328f6101c08401826001600160601b03169052565b506101e08301516132ac6101e08401826001600160601b03169052565b506102008301516132c96102008401826001600160601b03169052565b50610220830151610ee66102208401826001600160601b03169052565b602081525f825160c0602084015261330160e0840182612858565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161335460a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526129178282612858565b5f60208284031215613380575f80fd5b813561093a81612d70565b602081526133a56020820183516001600160601b03169052565b5f602083015161010060408401526133c1610120840182612858565b905060408401516133dd60608501826001600160601b03169052565b506060840151838203601f190160808501526133f98282612858565b9150506080840151601f198483030160a08501526134178282612858565b91505060a084015161343260c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612ebe565b8051613464816126ca565b919050565b5f60208284031215613479575f80fd5b815161093a816126ca565b60ff811681146126de575f80fd5b805161346481613484565b63ffffffff811681146126de575f80fd5b80516134648161349d565b5f60808284031280156134ca575f80fd5b506134d3612a5a565b82516134de81613484565b815260208301516134ee81613484565b602082015260408301516135018161349d565b604082015260608301516135148161349d565b60608201529392505050565b5f60208284031215613530575f80fd5b815161093a81613484565b5f82601f83011261354a575f80fd5b8151602083015f61355d612c4084612bc6565b9050828152858383011115613570575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561359a575f80fd5b81516001600160401b038111156135af575f80fd5b612e188482850161353b565b5f604082840312156135cb575f80fd5b6135d3612a82565b825181526020928301519281019290925250919050565b5f6102008284031280156135fc575f80fd5b50613605612aa4565b61360e83613459565b815261361c60208401613459565b602082015261362e84604085016135bb565b604082015261364084608085016135bb565b60608201526136528460c085016135bb565b60808201526136658461010085016135bb565b60a08201526136788461014085016135bb565b60c082015261368b8461018085016135bb565b60e082015261369e846101c085016135bb565b6101008201529392505050565b5f602082840312156136bb575f80fd5b5051919050565b64ffffffffff811681146126de575f80fd5b8051613464816136c2565b5f602082840312156136ef575f80fd5b81516001600160401b03811115613704575f80fd5b820160e08185031215613715575f80fd5b61371d612ac7565b61372682613459565b815260208201516001600160401b03811115613740575f80fd5b61374c8682850161353b565b60208301525060408281015190820152613768606083016134ae565b6060820152613779608083016134ae565b608082015261378a60a083016136d4565b60a082015260c08201516001600160401b038111156137a7575f80fd5b6137b38682850161353b565b60c083015250949350505050565b5f602082840312156137d1575f80fd5b815161093a81612920565b80518015158114613464575f80fd5b5f602082840312156137fb575f80fd5b61093a826137dc565b805161346481612828565b5f6020828403121561381f575f80fd5b81516001600160401b03811115613834575f80fd5b820160808185031215613845575f80fd5b61384d612a5a565b815161385881612828565b8152613866602083016137dc565b602082015260408201516001600160401b03811115613883575f80fd5b61388f8682850161353b565b604083015250606082015191506138a58261349d565b60608101919091529392505050565b805161346481612db0565b805161346481612920565b5f602082840312156138da575f80fd5b81516001600160401b038111156138ef575f80fd5b820160a08185031215613900575f80fd5b613908612ae9565b815161391381612db0565b81526020820151613923816126ca565b6020820152604082015161393681612920565b604082015260608201516001600160401b03811115613953575f80fd5b61395f8682850161353b565b60608301525060808201519150613975826136c2565b60808101919091529392505050565b6001600160601b0383168152604060208201525f612e186040830184612858565b5f602082840312156139b5575f80fd5b815161093a81612828565b5f602082840312156139d0575f80fd5b81516001600160401b038111156139e5575f80fd5b820160e081850312156139f6575f80fd5b6139fe612b0b565b8151613a09816126ca565b8152613a1885602084016135bb565b602082015260608201516001600160401b03811115613a35575f80fd5b613a418682850161353b565b6040830152506080820151613a55816136c2565b6060820152613a6660a083016136d4565b6080820152613a7760c083016136d4565b60a0820152949350505050565b5f60e0828403128015613a95575f80fd5b50613a9e612ac7565b8251613aa9816126ca565b81526020830151613ab981612d70565b6020820152613aca604084016137dc565b6040820152613adb606084016137dc565b6060820152613aec608084016137dc565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613b1e575f80fd5b815161093a816136c2565b5f60208284031215613b39575f80fd5b81516001600160401b03811115613b4e575f80fd5b820160408185031215613b5f575f80fd5b613b67612a82565b8151613b72816126ca565b815260208201516001600160401b03811115613b8c575f80fd5b613b988682850161353b565b602083015250949350505050565b5f60208284031215613bb6575f80fd5b81516001600160401b03811115613bcb575f80fd5b820160c08185031215613bdc575f80fd5b613be4612b0b565b81516001600160401b03811115613bf9575f80fd5b613c058682850161353b565b825250613c1460208301613459565b6020820152613c25604083016138bf565b6040820152613c36606083016138bf565b6060820152613c47608083016138bf565b608082015260a08201516001600160401b03811115613c64575f80fd5b613c708682850161353b565b60a083015250949350505050565b5f60208284031215613c8e575f80fd5b81516001600160401b03811115613ca3575f80fd5b820160e08185031215613cb4575f80fd5b613cbc612ac7565b613cc582613459565b8152613cd360208301613459565b6020820152613ce460408301613492565b6040820152613cf560608301613492565b606082015260808201516001600160401b03811115613d12575f80fd5b613d1e8682850161353b565b60808301525060a08201516001600160401b03811115613d3c575f80fd5b613d488682850161353b565b60a083015250613d5a60c083016136d4565b60c0820152949350505050565b5f60208284031215613d77575f80fd5b81516001600160401b03811115613d8c575f80fd5b82016102208185031215613d9e575f80fd5b613da6612b2d565b613daf82613459565b8152613dbd60208301613459565b6020820152613dce60408301613804565b6040820152613ddf60608301613804565b6060820152613df060808301613459565b6080820152613e0160a08301613459565b60a0820152613e1260c08301613459565b60c0820152613e2360e083016136d4565b60e08201526101008201516001600160401b03811115613e41575f80fd5b613e4d8682850161353b565b610100830152506101208201516001600160401b03811115613e6d575f80fd5b613e798682850161353b565b61012083015250613e8d61014083016138b4565b610140820152613ea061016083016138b4565b610160820152613eb36101808301613459565b610180820152613ec66101a08301613459565b6101a0820152613ed96101c083016136d4565b6101c0820152613eec6101e083016136d4565b6101e0820152613eff61020083016136d4565b610200820152949350505050565b5f60208284031215613f1d575f80fd5b81516001600160401b03811115613f32575f80fd5b82016101208185031215613f44575f80fd5b613f4c612aa4565b81516001600160401b03811115613f61575f80fd5b613f6d8682850161353b565b825250602082810151908201526040808301519082015260608083015190820152613f9a608083016134ae565b6080820152613fab60a083016134ae565b60a0820152613fbc60c083016137dc565b60c0820152613fcd60e083016137dc565b60e08201526101008201516001600160401b03811115613feb575f80fd5b613ff78682850161353b565b61010083015250949350505050565b5f610240828403128015614018575f80fd5b50614021612b50565b61402a83613459565b815261403860208401613459565b602082015261404960408401613459565b604082015261405a60608401613459565b606082015261406b60808401613459565b608082015261407c60a08401613459565b60a082015261408d60c08401613459565b60c082015261409e60e08401613459565b60e08201526140b06101008401613459565b6101008201526140c36101208401613459565b6101208201526140d66101408401613459565b6101408201526140e96101608401613459565b6101608201526140fc6101808401613459565b61018082015261410f6101a08401613459565b6101a08201526141226101c08401613459565b6101c08201526141356101e08401613459565b6101e08201526141486102008401613459565b61020082015261415b6102208401613459565b6102208201529392505050565b5f60208284031215614178575f80fd5b81516001600160401b0381111561418d575f80fd5b8201610100818503121561419f575f80fd5b6141a7612b73565b6141b082613459565b815260208201516001600160401b038111156141ca575f80fd5b6141d68682850161353b565b6020830152506141e860408301613459565b604082015260608201516001600160401b03811115614205575f80fd5b6142118682850161353b565b60608301525060808201516001600160401b0381111561422f575f80fd5b61423b8682850161353b565b60808301525061424d60a083016136d4565b60a082015261425e60c083016136d4565b60c082015261426f60e083016137dc565b60e082015294935050505056fea26469706673582212208779acf3e9db4e0c5a71b23744d06dfc524f81d3845d25c76ccff2e3ecb8b9b164736f6c634300081a0033",
1538
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061026b575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610696578063de7b5d14146106a9578063e444c3df146106be578063f0ea17c3146106de578063f7f318d3146106fe578063febe92af14610711575f80fd5b8063b82d7ef514610608578063bd7d9d8514610632578063cd55e51b14610652578063d06458c614610665578063d4cda0d814610685575f80fd5b8063887b1fa911610110578063887b1fa91461051b5780638eb9000d1461053b5780639096a1f31461054e578063a310e2a314610561578063a5961b4c1461058c578063a7ef3d21146105e8575f80fd5b806378ae9350146104c75780637bfd3217146104da5780637d8f1e81146104ed5780637e54602a146105005780638129fc1c14610513575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104465780635da894021461046657806364eb3a9b1461047957806364fc31421461048c5780636791f7ab1461049f57806375d357df146104b4575f80fd5b806339bb60cd146103b45780633f093cd6146103d457806344aa6836146104005780634793b4ab146104135780634fb784f514610433575f80fd5b80631d3be477116102335780631d3be47714610318578063228e42ec1461033857806326decd401461034b57806327b1d7921461036e57806334bd5be31461038e57806335898f5d146103a1575f80fd5b80630232ca491461026f57806309648a9d1461029f57806309c5844f146102c45780630b5d931c146102d75780631488c845146102f7575b5f80fd5b61028261027d3660046126e1565b610731565b6040516001600160601b0390911681526020015b60405180910390f35b6102b26102ad3660046126fc565b6107ab565b60405160ff9091168152602001610296565b6102b26102d23660046126e1565b610820565b6102ea6102e53660046126e1565b610899565b6040516102969190612713565b61030a6103053660046127f5565b610947565b604051908152602001610296565b61032b61032636600461283d565b6109c3565b6040516102969190612886565b6102826103463660046126e1565b610b07565b61035e610359366004612934565b610b40565b6040519015158152602001610296565b61038161037c3660046126e1565b610c1e565b604051610296919061294f565b61030a61039c3660046126e1565b610cdb565b61030a6103af3660046126e1565b610d72565b6103c76103c23660046129a8565b610d9e565b60405161029691906129db565b6103e76103e2366004612bec565b610eed565b6040516001600160c01b03199091168152602001610296565b61030a61040e3660046126fc565b610f67565b6104266104213660046126e1565b610fa1565b6040516102969190612c78565b61030a6104413660046126e1565b611042565b6104596104543660046126e1565b61106e565b6040516102969190612d03565b6102b26104743660046129a8565b61113f565b61030a6104873660046126e1565b611237565b61035e61049a366004612d84565b611263565b6104b26104ad366004612934565b611352565b005b61035e6104c23660046126e1565b611425565b6102b26104d5366004612dbf565b6116a6565b61030a6104e83660046126e1565b611705565b6102b26104fb3660046126e1565b611731565b61030a61050e3660046126e1565b61174d565b6104b2611779565b61052e61052936600461283d565b6117a7565b6040516102969190612deb565b6102826105493660046126e1565b6118c8565b6102b261055c3660046126e1565b611901565b61057461056f3660046126e1565b61191d565b6040516001600160a01b039091168152602001610296565b61059f61059a3660046126fc565b6119c5565b60405161029691905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105fb6105f6366004612dbf565b611a4f565b6040516102969190612e20565b61061b61061636600461283d565b611b9c565b6040805192835260ff909116602083015201610296565b6106456106403660046126e1565b611e38565b6040516102969190612ec6565b61035e610660366004612d84565b611f58565b61067861067336600461283d565b61200c565b6040516102969190613055565b6001546001600160a01b0316610574565b61030a6106a43660046126e1565b612171565b5f5461010090046001600160a01b0316610574565b6106d16106cc3660046126e1565b61219d565b60405161029691906130f6565b6106f16106ec3660046126e1565b6122c6565b60405161029691906132e6565b61030a61070c3660046126e1565b61238f565b61072461071f366004613370565b6123bb565b604051610296919061338b565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190613469565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081691906134b9565b6020015192915050565b6001545f906001600160a01b03166309648a9d61083c84610cdb565b6040518263ffffffff1660e01b815260040161085a91815260200190565b602060405180830381865afa158015610875573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190613520565b6108a1612569565b6001545f906001600160a01b03166354f6127f6108bd85611705565b6040518263ffffffff1660e01b81526004016108db91815260200190565b5f60405180830381865afa1580156108f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261091c919081019061358a565b805190915015610941578080602001905181019061093a91906135ea565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561099f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a91906136ab565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8a91906136ab565b6040518263ffffffff1660e01b8152600401610aa891815260200190565b5f60405180830381865afa158015610ac2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ae9919081019061358a565b805190915015610941578080602001905181019061093a91906136df565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610766565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb591906137c1565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610bfa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906137eb565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610c5e8561174d565b6040518263ffffffff1660e01b8152600401610c7c91815260200190565b5f60405180830381865afa158015610c96573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cbd919081019061358a565b805190915015610941578080602001905181019061093a919061380f565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610d4e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906136ab565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610d03565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610e3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e6191906136ab565b6040518263ffffffff1660e01b8152600401610e7f91815260200190565b5f60405180830381865afa158015610e99573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ec0919081019061358a565b805190915015610ee65780806020019051810190610ede91906138ca565b9150506107a5565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610f289086908690600401613984565b602060405180830381865af4158015610f43573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a91906139a5565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610d33565b610fa9612673565b6001545f906001600160a01b03166354f6127f610fc58561238f565b6040518263ffffffff1660e01b8152600401610fe391815260200190565b5f60405180830381865afa158015610ffd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611024919081019061358a565b805190915015610941578080602001905181019061093a91906139c0565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610d03565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f6110c285612171565b6040518263ffffffff1660e01b81526004016110e091815260200190565b5f60405180830381865afa1580156110fa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611121919081019061358a565b805190915015610941578080602001905181019061093a9190613a84565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af41580156111b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111da91906136ab565b6040518263ffffffff1660e01b81526004016111f891815260200190565b602060405180830381865afa158015611213573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a9190613520565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610d03565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d891906137c1565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa15801561132e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a91906137eb565b5f5460ff16156113755760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156113de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140291906137c1565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061143083611e38565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561148c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b091906137eb565b156114bd57505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c91906137eb565b1561154957505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156115a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c891906137eb565b156115d557505f92915050565b61016081015161ffff16156115ec57505f92915050565b6115ff8161018001518260800151612509565b1561160d5750600192915050565b61169073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611657573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167b9190613b0e565b826101e0015164ffffffffff90811691161090565b1561169d57505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161119b565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610d03565b6001545f906001600160a01b03166309648a9d61083c8461238f565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610d03565b5f5460ff161561179c5760405163ae9eff1b60e01b815260040160405180910390fd5b6117a533611352565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611827573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061184b91906136ab565b6040518263ffffffff1660e01b815260040161186991815260200190565b5f60405180830381865afa158015611883573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118aa919081019061358a565b805190915015610941578080602001905181019061093a9190613b29565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610766565b6001545f906001600160a01b03166309648a9d61083c84611237565b6001545f9081906001600160a01b03166354f6127f61193b85611042565b6040518263ffffffff1660e01b815260040161195991815260200190565b5f60405180830381865afa158015611973573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261199a919081019061358a565b805190915015610941575f818060200190518101906119b99190613ba6565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611a2b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906134b9565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611afb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1f91906136ab565b6040518263ffffffff1660e01b8152600401611b3d91815260200190565b5f60405180830381865afa158015611b57573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b7e919081019061358a565b805190915015610ee65780806020019051810190610ede9190613c7e565b5f805f611ba8846109c3565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611c05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c2991906137eb565b15611ca65773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9991906136ab565b60645b9250925050915091565b611d288160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d199190613b0e565b64ffffffffff90811691161090565b15611d9f5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d9891906136ab565b606e611c9c565b806060015163ffffffff16816080015163ffffffff1610611e2c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2591906136ab565b6078611c9c565b6040810151600a611c9c565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611edb85611237565b6040518263ffffffff1660e01b8152600401611ef991815260200190565b5f60405180830381865afa158015611f13573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f3a919081019061358a565b805190915015610941578080602001905181019061093a9190613d67565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fcd91906137c1565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611313565b612064604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af41580156120d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f491906136ab565b6040518263ffffffff1660e01b815260040161211291815260200190565b5f60405180830381865afa15801561212c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612153919081019061358a565b805190915015610941578080602001905181019061093a9190613f0d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610d03565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61224985610cdb565b6040518263ffffffff1660e01b815260040161226791815260200190565b5f60405180830381865afa158015612281573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122a8919081019061358a565b805190915015610941578080602001905181019061093a9190614006565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61231285611042565b6040518263ffffffff1660e01b815260040161233091815260200190565b5f60405180830381865afa15801561234a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612371919081019061358a565b805190915015610941578080602001905181019061093a9190613ba6565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610d03565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612468573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248c91906136ab565b6040518263ffffffff1660e01b81526004016124aa91815260200190565b5f60405180830381865afa1580156124c4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124eb919081019061358a565b805190915015610941578080602001905181019061093a9190614168565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561132e573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b031681526020016125ae60405180604001604052805f81526020015f81525090565b81526020016125ce60405180604001604052805f81526020015f81525090565b81526020016125ee60405180604001604052805f81526020015f81525090565b815260200161260e60405180604001604052805f81526020015f81525090565b815260200161262e60405180604001604052805f81526020015f81525090565b815260200161264e60405180604001604052805f81526020015f81525090565b815260200161266e60405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b031681526020016126a860405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b03811681146126de575f80fd5b50565b5f602082840312156126f1575f80fd5b813561093a816126ca565b5f6020828403121561270c575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612740908401826001600160601b03169052565b50604083015161275d604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610ee6565b5f8060408385031215612806575f80fd5b8235915060208301355f81900b811461281d575f80fd5b809150509250929050565b6001600160c01b0319811681146126de575f80fd5b5f6020828403121561284d575f80fd5b813561093a81612828565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526128b5610100840182612858565b90506040840151606084015263ffffffff606085015116608084015260808401516128e860a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526129178282612858565b95945050505050565b6001600160a01b03811681146126de575f80fd5b5f60208284031215612944575f80fd5b813561093a81612920565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261298c60a0840182612858565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156129b9575f80fd5b82356129c4816126ca565b9150602083013562ffffff8116811461281d575f80fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a06080840152612a2960c0840182612858565b905064ffffffffff60808501511660a08401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a7c57612a7c612a46565b60405290565b604080519081016001600160401b0381118282101715612a7c57612a7c612a46565b60405161012081016001600160401b0381118282101715612a7c57612a7c612a46565b60405160e081016001600160401b0381118282101715612a7c57612a7c612a46565b60405160a081016001600160401b0381118282101715612a7c57612a7c612a46565b60405160c081016001600160401b0381118282101715612a7c57612a7c612a46565b60405161022081016001600160401b0381118282101715612a7c57612a7c612a46565b60405161024081016001600160401b0381118282101715612a7c57612a7c612a46565b60405161010081016001600160401b0381118282101715612a7c57612a7c612a46565b604051601f8201601f191681016001600160401b0381118282101715612bbe57612bbe612a46565b604052919050565b5f6001600160401b03821115612bde57612bde612a46565b50601f01601f191660200190565b5f8060408385031215612bfd575f80fd5b8235612c08816126ca565b915060208301356001600160401b03811115612c22575f80fd5b8301601f81018513612c32575f80fd5b8035612c45612c4082612bc6565b612b96565b818152866020838501011115612c59575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612ca9604084018280518252602090810151910152565b50604083015160e06080840152612cc4610100840182612858565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612d55608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b03811681146126de575f80fd5b5f8060408385031215612d95575f80fd5b8235612da081612920565b9150602083013561281d81612d70565b61ffff811681146126de575f80fd5b5f8060408385031215612dd0575f80fd5b8235612ddb816126ca565b9150602083013561281d81612db0565b602081526001600160601b0382511660208201525f6020830151604080840152612e186060840182612858565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612e5c606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e86610100840182612858565b905060a0840151601f198483030160c0850152612ea38282612858565b91505060c0840151612ebe60e085018264ffffffffff169052565b509392505050565b60208152612ee06020820183516001600160601b03169052565b5f6020830151612efb60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612f98610240840182612858565b9050610120840151601f1984830301610140850152612fb78282612858565b915050610140840151612fd161016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612ebe565b602081525f82516101206020840152613072610140840182612858565b905060208401516040840152604084015160608401526060840151608084015260808401516130a960a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526129178282612858565b81516001600160601b031681526102408101602083015161312260208401826001600160601b03169052565b50604083015161313d60408401826001600160601b03169052565b50606083015161315860608401826001600160601b03169052565b50608083015161317360808401826001600160601b03169052565b5060a083015161318e60a08401826001600160601b03169052565b5060c08301516131a960c08401826001600160601b03169052565b5060e08301516131c460e08401826001600160601b03169052565b506101008301516131e16101008401826001600160601b03169052565b506101208301516131fe6101208401826001600160601b03169052565b5061014083015161321b6101408401826001600160601b03169052565b506101608301516132386101608401826001600160601b03169052565b506101808301516132556101808401826001600160601b03169052565b506101a08301516132726101a08401826001600160601b03169052565b506101c083015161328f6101c08401826001600160601b03169052565b506101e08301516132ac6101e08401826001600160601b03169052565b506102008301516132c96102008401826001600160601b03169052565b50610220830151610ee66102208401826001600160601b03169052565b602081525f825160c0602084015261330160e0840182612858565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161335460a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526129178282612858565b5f60208284031215613380575f80fd5b813561093a81612d70565b602081526133a56020820183516001600160601b03169052565b5f602083015161010060408401526133c1610120840182612858565b905060408401516133dd60608501826001600160601b03169052565b506060840151838203601f190160808501526133f98282612858565b9150506080840151601f198483030160a08501526134178282612858565b91505060a084015161343260c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612ebe565b8051613464816126ca565b919050565b5f60208284031215613479575f80fd5b815161093a816126ca565b60ff811681146126de575f80fd5b805161346481613484565b63ffffffff811681146126de575f80fd5b80516134648161349d565b5f60808284031280156134ca575f80fd5b506134d3612a5a565b82516134de81613484565b815260208301516134ee81613484565b602082015260408301516135018161349d565b604082015260608301516135148161349d565b60608201529392505050565b5f60208284031215613530575f80fd5b815161093a81613484565b5f82601f83011261354a575f80fd5b8151602083015f61355d612c4084612bc6565b9050828152858383011115613570575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561359a575f80fd5b81516001600160401b038111156135af575f80fd5b612e188482850161353b565b5f604082840312156135cb575f80fd5b6135d3612a82565b825181526020928301519281019290925250919050565b5f6102008284031280156135fc575f80fd5b50613605612aa4565b61360e83613459565b815261361c60208401613459565b602082015261362e84604085016135bb565b604082015261364084608085016135bb565b60608201526136528460c085016135bb565b60808201526136658461010085016135bb565b60a08201526136788461014085016135bb565b60c082015261368b8461018085016135bb565b60e082015261369e846101c085016135bb565b6101008201529392505050565b5f602082840312156136bb575f80fd5b5051919050565b64ffffffffff811681146126de575f80fd5b8051613464816136c2565b5f602082840312156136ef575f80fd5b81516001600160401b03811115613704575f80fd5b820160e08185031215613715575f80fd5b61371d612ac7565b61372682613459565b815260208201516001600160401b03811115613740575f80fd5b61374c8682850161353b565b60208301525060408281015190820152613768606083016134ae565b6060820152613779608083016134ae565b608082015261378a60a083016136d4565b60a082015260c08201516001600160401b038111156137a7575f80fd5b6137b38682850161353b565b60c083015250949350505050565b5f602082840312156137d1575f80fd5b815161093a81612920565b80518015158114613464575f80fd5b5f602082840312156137fb575f80fd5b61093a826137dc565b805161346481612828565b5f6020828403121561381f575f80fd5b81516001600160401b03811115613834575f80fd5b820160808185031215613845575f80fd5b61384d612a5a565b815161385881612828565b8152613866602083016137dc565b602082015260408201516001600160401b03811115613883575f80fd5b61388f8682850161353b565b604083015250606082015191506138a58261349d565b60608101919091529392505050565b805161346481612db0565b805161346481612920565b5f602082840312156138da575f80fd5b81516001600160401b038111156138ef575f80fd5b820160a08185031215613900575f80fd5b613908612ae9565b815161391381612db0565b81526020820151613923816126ca565b6020820152604082015161393681612920565b604082015260608201516001600160401b03811115613953575f80fd5b61395f8682850161353b565b60608301525060808201519150613975826136c2565b60808101919091529392505050565b6001600160601b0383168152604060208201525f612e186040830184612858565b5f602082840312156139b5575f80fd5b815161093a81612828565b5f602082840312156139d0575f80fd5b81516001600160401b038111156139e5575f80fd5b820160e081850312156139f6575f80fd5b6139fe612b0b565b8151613a09816126ca565b8152613a1885602084016135bb565b602082015260608201516001600160401b03811115613a35575f80fd5b613a418682850161353b565b6040830152506080820151613a55816136c2565b6060820152613a6660a083016136d4565b6080820152613a7760c083016136d4565b60a0820152949350505050565b5f60e0828403128015613a95575f80fd5b50613a9e612ac7565b8251613aa9816126ca565b81526020830151613ab981612d70565b6020820152613aca604084016137dc565b6040820152613adb606084016137dc565b6060820152613aec608084016137dc565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613b1e575f80fd5b815161093a816136c2565b5f60208284031215613b39575f80fd5b81516001600160401b03811115613b4e575f80fd5b820160408185031215613b5f575f80fd5b613b67612a82565b8151613b72816126ca565b815260208201516001600160401b03811115613b8c575f80fd5b613b988682850161353b565b602083015250949350505050565b5f60208284031215613bb6575f80fd5b81516001600160401b03811115613bcb575f80fd5b820160c08185031215613bdc575f80fd5b613be4612b0b565b81516001600160401b03811115613bf9575f80fd5b613c058682850161353b565b825250613c1460208301613459565b6020820152613c25604083016138bf565b6040820152613c36606083016138bf565b6060820152613c47608083016138bf565b608082015260a08201516001600160401b03811115613c64575f80fd5b613c708682850161353b565b60a083015250949350505050565b5f60208284031215613c8e575f80fd5b81516001600160401b03811115613ca3575f80fd5b820160e08185031215613cb4575f80fd5b613cbc612ac7565b613cc582613459565b8152613cd360208301613459565b6020820152613ce460408301613492565b6040820152613cf560608301613492565b606082015260808201516001600160401b03811115613d12575f80fd5b613d1e8682850161353b565b60808301525060a08201516001600160401b03811115613d3c575f80fd5b613d488682850161353b565b60a083015250613d5a60c083016136d4565b60c0820152949350505050565b5f60208284031215613d77575f80fd5b81516001600160401b03811115613d8c575f80fd5b82016102208185031215613d9e575f80fd5b613da6612b2d565b613daf82613459565b8152613dbd60208301613459565b6020820152613dce60408301613804565b6040820152613ddf60608301613804565b6060820152613df060808301613459565b6080820152613e0160a08301613459565b60a0820152613e1260c08301613459565b60c0820152613e2360e083016136d4565b60e08201526101008201516001600160401b03811115613e41575f80fd5b613e4d8682850161353b565b610100830152506101208201516001600160401b03811115613e6d575f80fd5b613e798682850161353b565b61012083015250613e8d61014083016138b4565b610140820152613ea061016083016138b4565b610160820152613eb36101808301613459565b610180820152613ec66101a08301613459565b6101a0820152613ed96101c083016136d4565b6101c0820152613eec6101e083016136d4565b6101e0820152613eff61020083016136d4565b610200820152949350505050565b5f60208284031215613f1d575f80fd5b81516001600160401b03811115613f32575f80fd5b82016101208185031215613f44575f80fd5b613f4c612aa4565b81516001600160401b03811115613f61575f80fd5b613f6d8682850161353b565b825250602082810151908201526040808301519082015260608083015190820152613f9a608083016134ae565b6080820152613fab60a083016134ae565b60a0820152613fbc60c083016137dc565b60c0820152613fcd60e083016137dc565b60e08201526101008201516001600160401b03811115613feb575f80fd5b613ff78682850161353b565b61010083015250949350505050565b5f610240828403128015614018575f80fd5b50614021612b50565b61402a83613459565b815261403860208401613459565b602082015261404960408401613459565b604082015261405a60608401613459565b606082015261406b60808401613459565b608082015261407c60a08401613459565b60a082015261408d60c08401613459565b60c082015261409e60e08401613459565b60e08201526140b06101008401613459565b6101008201526140c36101208401613459565b6101208201526140d66101408401613459565b6101408201526140e96101608401613459565b6101608201526140fc6101808401613459565b61018082015261410f6101a08401613459565b6101a08201526141226101c08401613459565b6101c08201526141356101e08401613459565b6101e08201526141486102008401613459565b61020082015261415b6102208401613459565b6102208201529392505050565b5f60208284031215614178575f80fd5b81516001600160401b0381111561418d575f80fd5b8201610100818503121561419f575f80fd5b6141a7612b73565b6141b082613459565b815260208201516001600160401b038111156141ca575f80fd5b6141d68682850161353b565b6020830152506141e860408301613459565b604082015260608201516001600160401b03811115614205575f80fd5b6142118682850161353b565b60608301525060808201516001600160401b0381111561422f575f80fd5b61423b8682850161353b565b60808301525061424d60a083016136d4565b60a082015261425e60c083016136d4565b60c082015261426f60e083016137dc565b60e082015294935050505056fea26469706673582212208779acf3e9db4e0c5a71b23744d06dfc524f81d3845d25c76ccff2e3ecb8b9b164736f6c634300081a0033",
1214
1539
  "linkReferences": {
1215
- "contracts/types/DistributorType.sol": {
1540
+ "contracts/type/Amount.sol": {
1541
+ "AmountLib": [
1542
+ {
1543
+ "length": 20,
1544
+ "start": 9558
1545
+ }
1546
+ ]
1547
+ },
1548
+ "contracts/type/ClaimId.sol": {
1549
+ "ClaimIdLib": [
1550
+ {
1551
+ "length": 20,
1552
+ "start": 5896
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 6888
1557
+ }
1558
+ ]
1559
+ },
1560
+ "contracts/type/DistributorType.sol": {
1216
1561
  "DistributorTypeLib": [
1217
1562
  {
1218
1563
  "length": 20,
1219
- "start": 6778
1564
+ "start": 8381
1220
1565
  }
1221
1566
  ]
1222
1567
  },
1223
- "contracts/types/NftId.sol": {
1568
+ "contracts/type/NftId.sol": {
1224
1569
  "NftIdLib": [
1225
1570
  {
1226
1571
  "length": 20,
1227
- "start": 289
1572
+ "start": 3331
1573
+ },
1574
+ {
1575
+ "length": 20,
1576
+ "start": 3482
1228
1577
  },
1229
1578
  {
1230
1579
  "length": 20,
1231
- "start": 3430
1580
+ "start": 4202
1232
1581
  },
1233
1582
  {
1234
1583
  "length": 20,
1235
- "start": 3776
1584
+ "start": 4703
1236
1585
  },
1237
1586
  {
1238
1587
  "length": 20,
1239
- "start": 4451
1588
+ "start": 5241
1240
1589
  },
1241
1590
  {
1242
1591
  "length": 20,
1243
- "start": 4496
1592
+ "start": 5933
1244
1593
  },
1245
1594
  {
1246
1595
  "length": 20,
1247
- "start": 4541
1596
+ "start": 6005
1248
1597
  },
1249
1598
  {
1250
1599
  "length": 20,
1251
- "start": 7005
1600
+ "start": 8601
1252
1601
  },
1253
1602
  {
1254
1603
  "length": 20,
1255
- "start": 7260
1604
+ "start": 9143
1605
+ }
1606
+ ]
1607
+ },
1608
+ "contracts/type/PayoutId.sol": {
1609
+ "PayoutIdLib": [
1610
+ {
1611
+ "length": 20,
1612
+ "start": 3626
1256
1613
  },
1257
1614
  {
1258
1615
  "length": 20,
1259
- "start": 8132
1616
+ "start": 4514
1260
1617
  }
1261
1618
  ]
1262
1619
  },
1263
- "contracts/types/Referral.sol": {
1620
+ "contracts/type/Referral.sol": {
1264
1621
  "ReferralLib": [
1265
1622
  {
1266
1623
  "length": 20,
1267
- "start": 3197
1624
+ "start": 2643
1268
1625
  },
1269
1626
  {
1270
1627
  "length": 20,
1271
- "start": 3835
1628
+ "start": 3875
1629
+ }
1630
+ ]
1631
+ },
1632
+ "contracts/type/RequestId.sol": {
1633
+ "RequestIdLib": [
1634
+ {
1635
+ "length": 20,
1636
+ "start": 9301
1272
1637
  }
1273
1638
  ]
1274
1639
  },
1275
- "contracts/types/RiskId.sol": {
1640
+ "contracts/type/RiskId.sol": {
1276
1641
  "RiskIdLib": [
1277
1642
  {
1278
1643
  "length": 20,
1279
- "start": 4656
1644
+ "start": 6164
1280
1645
  }
1281
1646
  ]
1282
1647
  },
1283
- "contracts/types/Timestamp.sol": {
1648
+ "contracts/type/Timestamp.sol": {
1284
1649
  "TimestampLib": [
1285
1650
  {
1286
1651
  "length": 20,
1287
- "start": 5715
1652
+ "start": 5381
1653
+ },
1654
+ {
1655
+ "length": 20,
1656
+ "start": 5521
1657
+ },
1658
+ {
1659
+ "length": 20,
1660
+ "start": 5687
1661
+ },
1662
+ {
1663
+ "length": 20,
1664
+ "start": 7154
1288
1665
  },
1289
1666
  {
1290
1667
  "length": 20,
1291
- "start": 5946
1668
+ "start": 7381
1292
1669
  }
1293
1670
  ]
1294
1671
  },
1295
- "contracts/types/UFixed.sol": {
1672
+ "contracts/type/UFixed.sol": {
1296
1673
  "UFixedLib": [
1297
1674
  {
1298
1675
  "length": 20,
1299
- "start": 2987
1676
+ "start": 2444
1300
1677
  },
1301
1678
  {
1302
1679
  "length": 20,
1303
- "start": 3967
1680
+ "start": 4004
1304
1681
  },
1305
1682
  {
1306
1683
  "length": 20,
1307
- "start": 5816
1684
+ "start": 7253
1308
1685
  },
1309
1686
  {
1310
1687
  "length": 20,
1311
- "start": 6075
1688
+ "start": 7508
1312
1689
  },
1313
1690
  {
1314
1691
  "length": 20,
1315
- "start": 6218
1692
+ "start": 7649
1316
1693
  }
1317
1694
  ]
1318
1695
  }
1319
1696
  },
1320
1697
  "deployedLinkReferences": {
1321
- "contracts/types/DistributorType.sol": {
1698
+ "contracts/type/Amount.sol": {
1699
+ "AmountLib": [
1700
+ {
1701
+ "length": 20,
1702
+ "start": 9521
1703
+ }
1704
+ ]
1705
+ },
1706
+ "contracts/type/ClaimId.sol": {
1707
+ "ClaimIdLib": [
1708
+ {
1709
+ "length": 20,
1710
+ "start": 5859
1711
+ },
1712
+ {
1713
+ "length": 20,
1714
+ "start": 6851
1715
+ }
1716
+ ]
1717
+ },
1718
+ "contracts/type/DistributorType.sol": {
1322
1719
  "DistributorTypeLib": [
1323
1720
  {
1324
1721
  "length": 20,
1325
- "start": 5237
1722
+ "start": 8344
1326
1723
  }
1327
1724
  ]
1328
1725
  },
1329
- "contracts/types/NftId.sol": {
1726
+ "contracts/type/NftId.sol": {
1330
1727
  "NftIdLib": [
1331
1728
  {
1332
1729
  "length": 20,
1333
- "start": 1889
1730
+ "start": 3294
1731
+ },
1732
+ {
1733
+ "length": 20,
1734
+ "start": 3445
1735
+ },
1736
+ {
1737
+ "length": 20,
1738
+ "start": 4165
1334
1739
  },
1335
1740
  {
1336
1741
  "length": 20,
1337
- "start": 2235
1742
+ "start": 4666
1338
1743
  },
1339
1744
  {
1340
1745
  "length": 20,
1341
- "start": 2910
1746
+ "start": 5204
1342
1747
  },
1343
1748
  {
1344
1749
  "length": 20,
1345
- "start": 2955
1750
+ "start": 5896
1346
1751
  },
1347
1752
  {
1348
1753
  "length": 20,
1349
- "start": 3000
1754
+ "start": 5968
1350
1755
  },
1351
1756
  {
1352
1757
  "length": 20,
1353
- "start": 5464
1758
+ "start": 8564
1354
1759
  },
1355
1760
  {
1356
1761
  "length": 20,
1357
- "start": 5719
1762
+ "start": 9106
1763
+ }
1764
+ ]
1765
+ },
1766
+ "contracts/type/PayoutId.sol": {
1767
+ "PayoutIdLib": [
1768
+ {
1769
+ "length": 20,
1770
+ "start": 3589
1358
1771
  },
1359
1772
  {
1360
1773
  "length": 20,
1361
- "start": 6591
1774
+ "start": 4477
1362
1775
  }
1363
1776
  ]
1364
1777
  },
1365
- "contracts/types/Referral.sol": {
1778
+ "contracts/type/Referral.sol": {
1366
1779
  "ReferralLib": [
1367
1780
  {
1368
1781
  "length": 20,
1369
- "start": 1656
1782
+ "start": 2606
1370
1783
  },
1371
1784
  {
1372
1785
  "length": 20,
1373
- "start": 2294
1786
+ "start": 3838
1787
+ }
1788
+ ]
1789
+ },
1790
+ "contracts/type/RequestId.sol": {
1791
+ "RequestIdLib": [
1792
+ {
1793
+ "length": 20,
1794
+ "start": 9264
1374
1795
  }
1375
1796
  ]
1376
1797
  },
1377
- "contracts/types/RiskId.sol": {
1798
+ "contracts/type/RiskId.sol": {
1378
1799
  "RiskIdLib": [
1379
1800
  {
1380
1801
  "length": 20,
1381
- "start": 3115
1802
+ "start": 6127
1382
1803
  }
1383
1804
  ]
1384
1805
  },
1385
- "contracts/types/Timestamp.sol": {
1806
+ "contracts/type/Timestamp.sol": {
1386
1807
  "TimestampLib": [
1387
1808
  {
1388
1809
  "length": 20,
1389
- "start": 4174
1810
+ "start": 5344
1811
+ },
1812
+ {
1813
+ "length": 20,
1814
+ "start": 5484
1815
+ },
1816
+ {
1817
+ "length": 20,
1818
+ "start": 5650
1390
1819
  },
1391
1820
  {
1392
1821
  "length": 20,
1393
- "start": 4405
1822
+ "start": 7117
1823
+ },
1824
+ {
1825
+ "length": 20,
1826
+ "start": 7344
1394
1827
  }
1395
1828
  ]
1396
1829
  },
1397
- "contracts/types/UFixed.sol": {
1830
+ "contracts/type/UFixed.sol": {
1398
1831
  "UFixedLib": [
1399
1832
  {
1400
1833
  "length": 20,
1401
- "start": 1446
1834
+ "start": 2407
1402
1835
  },
1403
1836
  {
1404
1837
  "length": 20,
1405
- "start": 2426
1838
+ "start": 3967
1406
1839
  },
1407
1840
  {
1408
1841
  "length": 20,
1409
- "start": 4275
1842
+ "start": 7216
1410
1843
  },
1411
1844
  {
1412
1845
  "length": 20,
1413
- "start": 4534
1846
+ "start": 7471
1414
1847
  },
1415
1848
  {
1416
1849
  "length": 20,
1417
- "start": 4677
1850
+ "start": 7612
1418
1851
  }
1419
1852
  ]
1420
1853
  }