@etherisc/gif-next 0.0.2-ef935e0-790 → 0.0.2-efc2128-633

Sign up to get free protection for your applications and to get access to all the features.
Files changed (670) hide show
  1. package/README.md +121 -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 +454 -555
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +447 -170
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +403 -3038
  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 +855 -407
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +603 -334
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +352 -106
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3722 -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/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  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/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +384 -370
  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/product/IPolicyService.sol/IPolicyService.json +795 -0
  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/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → product/IRiskService.sol/IRiskService.json} +124 -166
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1226 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PricingService.sol/PricingService.json +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 +397 -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 +764 -315
  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 -129
  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/{instance/service/IPoolService.sol/IPoolService.json → shared/IComponent.sol/IComponent.json} +300 -256
  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/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +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/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  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 +1422 -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 +387 -0
  234. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  235. package/artifacts/contracts/staking/Staking.sol/Staking.json +1951 -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 +761 -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/BundleSet.sol +126 -0
  326. package/contracts/instance/IInstance.sol +56 -32
  327. package/contracts/instance/IInstanceService.sol +78 -16
  328. package/contracts/instance/Instance.sol +159 -373
  329. package/contracts/instance/InstanceAdmin.sol +285 -0
  330. package/contracts/instance/InstanceAuthorizationV3.sol +203 -0
  331. package/contracts/instance/InstanceReader.sol +201 -85
  332. package/contracts/instance/InstanceService.sol +407 -123
  333. package/contracts/instance/InstanceServiceManager.sol +13 -30
  334. package/contracts/instance/InstanceStore.sol +291 -0
  335. package/contracts/instance/base/BalanceStore.sol +123 -0
  336. package/contracts/instance/base/Cloneable.sol +28 -0
  337. package/contracts/instance/base/ObjectCounter.sol +21 -0
  338. package/contracts/instance/base/ObjectLifecycle.sol +110 -0
  339. package/contracts/instance/base/ObjectSet.sol +79 -0
  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 +88 -33
  386. package/contracts/registry/IRegistryService.sol +47 -28
  387. package/contracts/registry/ITransferInterceptor.sol +1 -0
  388. package/contracts/registry/Registry.sol +378 -246
  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 +167 -0
  424. package/contracts/staking/IStakingService.sol +160 -0
  425. package/contracts/staking/StakeManagerLib.sol +206 -0
  426. package/contracts/staking/Staking.sol +497 -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/type/NftIdSet.sol +62 -0
  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 +34 -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/BaseComponent.sol/BaseComponent.json +0 -327
  462. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  463. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  464. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  465. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  466. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  467. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  468. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  469. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  470. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  471. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  472. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  473. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  474. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  475. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  476. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  477. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  478. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  479. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  480. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  481. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  482. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  483. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  484. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  485. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  486. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  487. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  488. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  489. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  490. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  491. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  492. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  493. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  494. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  495. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  496. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  497. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  498. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  499. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  500. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  501. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  502. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  503. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  504. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  505. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  506. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  508. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  510. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  512. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  514. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  515. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  516. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  517. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  518. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  519. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  520. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  521. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  522. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  523. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  524. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  525. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  526. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  527. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  528. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  529. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  530. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  531. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  532. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  533. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  534. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  535. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  536. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  537. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  538. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  539. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  540. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  541. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  542. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -839
  543. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  544. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  545. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  546. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  547. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  548. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  549. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  550. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  551. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  552. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  553. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  554. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  555. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  556. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  557. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  558. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  559. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  560. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  561. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  562. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  563. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  564. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  565. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  566. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  567. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  568. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  570. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  572. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  573. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  574. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  575. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  576. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  577. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  578. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  579. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  580. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  581. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  582. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  584. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  585. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  586. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  588. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  589. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  590. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  591. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  592. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  593. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  594. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  595. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  596. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  598. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  599. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  600. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  601. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  602. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  603. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  605. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  607. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  609. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  611. package/contracts/components/BaseComponent.sol +0 -91
  612. package/contracts/components/Distribution.sol +0 -160
  613. package/contracts/components/IBaseComponent.sol +0 -25
  614. package/contracts/components/IDistributionComponent.sol +0 -44
  615. package/contracts/components/IPoolComponent.sol +0 -62
  616. package/contracts/components/IProductComponent.sol +0 -35
  617. package/contracts/components/Pool.sol +0 -243
  618. package/contracts/components/Product.sol +0 -297
  619. package/contracts/experiment/cloning/Cloner.sol +0 -47
  620. package/contracts/experiment/errors/Require.sol +0 -38
  621. package/contracts/experiment/errors/Revert.sol +0 -44
  622. package/contracts/experiment/inheritance/A.sol +0 -53
  623. package/contracts/experiment/inheritance/B.sol +0 -28
  624. package/contracts/experiment/inheritance/C.sol +0 -34
  625. package/contracts/experiment/inheritance/IA.sol +0 -13
  626. package/contracts/experiment/inheritance/IB.sol +0 -10
  627. package/contracts/experiment/inheritance/IC.sol +0 -12
  628. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  629. package/contracts/experiment/statemachine/ISM.sol +0 -25
  630. package/contracts/experiment/statemachine/SM.sol +0 -57
  631. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  632. package/contracts/experiment/types/TypeA.sol +0 -47
  633. package/contracts/experiment/types/TypeB.sol +0 -29
  634. package/contracts/instance/AccessManagedSimple.sol +0 -115
  635. package/contracts/instance/AccessManagerSimple.sol +0 -692
  636. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  637. package/contracts/instance/InstanceAccessManager.sol +0 -288
  638. package/contracts/instance/base/ComponentServiceBase.sol +0 -124
  639. package/contracts/instance/base/IInstanceBase.sol +0 -23
  640. package/contracts/instance/base/KeyValueStore.sol +0 -172
  641. package/contracts/instance/base/Lifecycle.sol +0 -100
  642. package/contracts/instance/module/ISetup.sol +0 -44
  643. package/contracts/instance/module/ITreasury.sol +0 -23
  644. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  645. package/contracts/instance/service/DistributionService.sol +0 -88
  646. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  647. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  648. package/contracts/instance/service/IDistributionService.sol +0 -12
  649. package/contracts/instance/service/IPoolService.sol +0 -37
  650. package/contracts/instance/service/IProductService.sol +0 -107
  651. package/contracts/instance/service/PoolService.sol +0 -194
  652. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  653. package/contracts/shared/ContractDeployerLib.sol +0 -72
  654. package/contracts/shared/ERC165.sol +0 -25
  655. package/contracts/shared/ProxyManager.sol +0 -94
  656. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  657. package/contracts/shared/Versionable.sol +0 -147
  658. package/contracts/test/TestFee.sol +0 -25
  659. package/contracts/test/TestRegisterable.sol +0 -18
  660. package/contracts/test/TestRoleId.sol +0 -14
  661. package/contracts/test/TestService.sol +0 -24
  662. package/contracts/test/TestToken.sol +0 -26
  663. package/contracts/test/TestVersion.sol +0 -44
  664. package/contracts/test/TestVersionable.sol +0 -17
  665. package/contracts/types/ChainId.sol +0 -38
  666. package/contracts/types/NftIdSet.sol +0 -60
  667. package/contracts/types/NumberId.sol +0 -52
  668. package/contracts/types/ObjectType.sol +0 -152
  669. package/contracts/types/RoleId.sol +0 -89
  670. /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,76 +492,156 @@
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",
429
524
  "type": "bytes"
430
525
  },
431
526
  {
432
- "internalType": "uint16",
433
- "name": "claimsCount",
434
- "type": "uint16"
435
- },
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",
624
+ "type": "bytes"
625
+ },
626
+ {
627
+ "internalType": "uint16",
628
+ "name": "claimsCount",
629
+ "type": "uint16"
630
+ },
436
631
  {
437
632
  "internalType": "uint16",
438
633
  "name": "openClaimsCount",
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",
@@ -467,6 +667,25 @@
467
667
  "stateMutability": "view",
468
668
  "type": "function"
469
669
  },
670
+ {
671
+ "inputs": [
672
+ {
673
+ "internalType": "NftId",
674
+ "name": "policyNftId",
675
+ "type": "uint96"
676
+ }
677
+ ],
678
+ "name": "getPolicyState",
679
+ "outputs": [
680
+ {
681
+ "internalType": "StateId",
682
+ "name": "state",
683
+ "type": "uint8"
684
+ }
685
+ ],
686
+ "stateMutability": "view",
687
+ "type": "function"
688
+ },
470
689
  {
471
690
  "inputs": [
472
691
  {
@@ -475,19 +694,34 @@
475
694
  "type": "uint96"
476
695
  }
477
696
  ],
478
- "name": "getPoolSetupInfo",
697
+ "name": "getPoolInfo",
479
698
  "outputs": [
480
699
  {
481
700
  "components": [
482
701
  {
483
- "internalType": "NftId",
484
- "name": "productNftId",
702
+ "internalType": "Amount",
703
+ "name": "maxBalanceAmount",
485
704
  "type": "uint96"
486
705
  },
487
706
  {
488
- "internalType": "contract TokenHandler",
489
- "name": "tokenHandler",
490
- "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"
491
725
  },
492
726
  {
493
727
  "internalType": "UFixed",
@@ -495,68 +729,123 @@
495
729
  "type": "uint256"
496
730
  },
497
731
  {
498
- "components": [
499
- {
500
- "internalType": "UFixed",
501
- "name": "fractionalFee",
502
- "type": "uint256"
503
- },
504
- {
505
- "internalType": "uint256",
506
- "name": "fixedFee",
507
- "type": "uint256"
508
- }
509
- ],
510
- "internalType": "struct Fee",
511
- "name": "poolFee",
512
- "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"
513
761
  },
514
762
  {
515
- "components": [
516
- {
517
- "internalType": "UFixed",
518
- "name": "fractionalFee",
519
- "type": "uint256"
520
- },
521
- {
522
- "internalType": "uint256",
523
- "name": "fixedFee",
524
- "type": "uint256"
525
- }
526
- ],
527
- "internalType": "struct Fee",
528
- "name": "stakingFee",
529
- "type": "tuple"
763
+ "internalType": "Amount",
764
+ "name": "distributionFeeAndCommissionAmount",
765
+ "type": "uint96"
530
766
  },
531
767
  {
532
- "components": [
533
- {
534
- "internalType": "UFixed",
535
- "name": "fractionalFee",
536
- "type": "uint256"
537
- },
538
- {
539
- "internalType": "uint256",
540
- "name": "fixedFee",
541
- "type": "uint256"
542
- }
543
- ],
544
- "internalType": "struct Fee",
545
- "name": "performanceFee",
546
- "type": "tuple"
768
+ "internalType": "Amount",
769
+ "name": "poolPremiumAndFeeAmount",
770
+ "type": "uint96"
547
771
  },
548
772
  {
549
- "internalType": "bool",
550
- "name": "isIntercepting",
551
- "type": "bool"
773
+ "internalType": "Amount",
774
+ "name": "netPremiumAmount",
775
+ "type": "uint96"
552
776
  },
553
777
  {
554
- "internalType": "address",
555
- "name": "wallet",
556
- "type": "address"
778
+ "internalType": "Amount",
779
+ "name": "fullPremiumAmount",
780
+ "type": "uint96"
781
+ },
782
+ {
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"
557
846
  }
558
847
  ],
559
- "internalType": "struct ISetup.PoolSetupInfo",
848
+ "internalType": "struct IPolicy.PremiumInfo",
560
849
  "name": "info",
561
850
  "type": "tuple"
562
851
  }
@@ -572,20 +861,10 @@
572
861
  "type": "uint96"
573
862
  }
574
863
  ],
575
- "name": "getProductSetupInfo",
864
+ "name": "getProductInfo",
576
865
  "outputs": [
577
866
  {
578
867
  "components": [
579
- {
580
- "internalType": "contract IERC20Metadata",
581
- "name": "token",
582
- "type": "address"
583
- },
584
- {
585
- "internalType": "contract TokenHandler",
586
- "name": "tokenHandler",
587
- "type": "address"
588
- },
589
868
  {
590
869
  "internalType": "NftId",
591
870
  "name": "distributionNftId",
@@ -610,7 +889,7 @@
610
889
  }
611
890
  ],
612
891
  "internalType": "struct Fee",
613
- "name": "distributionFee",
892
+ "name": "productFee",
614
893
  "type": "tuple"
615
894
  },
616
895
  {
@@ -627,7 +906,7 @@
627
906
  }
628
907
  ],
629
908
  "internalType": "struct Fee",
630
- "name": "productFee",
909
+ "name": "processingFee",
631
910
  "type": "tuple"
632
911
  },
633
912
  {
@@ -644,7 +923,24 @@
644
923
  }
645
924
  ],
646
925
  "internalType": "struct Fee",
647
- "name": "processingFee",
926
+ "name": "distributionFee",
927
+ "type": "tuple"
928
+ },
929
+ {
930
+ "components": [
931
+ {
932
+ "internalType": "UFixed",
933
+ "name": "fractionalFee",
934
+ "type": "uint256"
935
+ },
936
+ {
937
+ "internalType": "uint256",
938
+ "name": "fixedFee",
939
+ "type": "uint256"
940
+ }
941
+ ],
942
+ "internalType": "struct Fee",
943
+ "name": "minDistributionOwnerFee",
648
944
  "type": "tuple"
649
945
  },
650
946
  {
@@ -699,7 +995,7 @@
699
995
  "type": "tuple"
700
996
  }
701
997
  ],
702
- "internalType": "struct ISetup.ProductSetupInfo",
998
+ "internalType": "struct IComponents.ProductInfo",
703
999
  "name": "info",
704
1000
  "type": "tuple"
705
1001
  }
@@ -763,6 +1059,67 @@
763
1059
  "stateMutability": "view",
764
1060
  "type": "function"
765
1061
  },
1062
+ {
1063
+ "inputs": [
1064
+ {
1065
+ "internalType": "RequestId",
1066
+ "name": "requestId",
1067
+ "type": "uint64"
1068
+ }
1069
+ ],
1070
+ "name": "getRequestInfo",
1071
+ "outputs": [
1072
+ {
1073
+ "components": [
1074
+ {
1075
+ "internalType": "NftId",
1076
+ "name": "requesterNftId",
1077
+ "type": "uint96"
1078
+ },
1079
+ {
1080
+ "internalType": "string",
1081
+ "name": "callbackMethodName",
1082
+ "type": "string"
1083
+ },
1084
+ {
1085
+ "internalType": "NftId",
1086
+ "name": "oracleNftId",
1087
+ "type": "uint96"
1088
+ },
1089
+ {
1090
+ "internalType": "bytes",
1091
+ "name": "requestData",
1092
+ "type": "bytes"
1093
+ },
1094
+ {
1095
+ "internalType": "bytes",
1096
+ "name": "responseData",
1097
+ "type": "bytes"
1098
+ },
1099
+ {
1100
+ "internalType": "Timestamp",
1101
+ "name": "respondedAt",
1102
+ "type": "uint40"
1103
+ },
1104
+ {
1105
+ "internalType": "Timestamp",
1106
+ "name": "expiredAt",
1107
+ "type": "uint40"
1108
+ },
1109
+ {
1110
+ "internalType": "bool",
1111
+ "name": "isCancelled",
1112
+ "type": "bool"
1113
+ }
1114
+ ],
1115
+ "internalType": "struct IOracle.RequestInfo",
1116
+ "name": "requestInfo",
1117
+ "type": "tuple"
1118
+ }
1119
+ ],
1120
+ "stateMutability": "view",
1121
+ "type": "function"
1122
+ },
766
1123
  {
767
1124
  "inputs": [
768
1125
  {
@@ -794,20 +1151,126 @@
794
1151
  "stateMutability": "view",
795
1152
  "type": "function"
796
1153
  },
1154
+ {
1155
+ "inputs": [
1156
+ {
1157
+ "internalType": "Key32",
1158
+ "name": "key",
1159
+ "type": "bytes32"
1160
+ }
1161
+ ],
1162
+ "name": "getState",
1163
+ "outputs": [
1164
+ {
1165
+ "internalType": "StateId",
1166
+ "name": "state",
1167
+ "type": "uint8"
1168
+ }
1169
+ ],
1170
+ "stateMutability": "view",
1171
+ "type": "function"
1172
+ },
797
1173
  {
798
1174
  "inputs": [
799
1175
  {
800
1176
  "internalType": "NftId",
801
- "name": "productNftId",
1177
+ "name": "componentNftId",
802
1178
  "type": "uint96"
803
1179
  }
804
1180
  ],
805
1181
  "name": "getTokenHandler",
806
1182
  "outputs": [
807
1183
  {
808
- "internalType": "address",
809
- "name": "tokenHandler",
810
- "type": "address"
1184
+ "internalType": "address",
1185
+ "name": "tokenHandler",
1186
+ "type": "address"
1187
+ }
1188
+ ],
1189
+ "stateMutability": "view",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "address",
1196
+ "name": "account",
1197
+ "type": "address"
1198
+ },
1199
+ {
1200
+ "internalType": "RoleId",
1201
+ "name": "roleId",
1202
+ "type": "uint64"
1203
+ }
1204
+ ],
1205
+ "name": "hasAdminRole",
1206
+ "outputs": [
1207
+ {
1208
+ "internalType": "bool",
1209
+ "name": "isMember",
1210
+ "type": "bool"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "view",
1214
+ "type": "function"
1215
+ },
1216
+ {
1217
+ "inputs": [
1218
+ {
1219
+ "internalType": "address",
1220
+ "name": "account",
1221
+ "type": "address"
1222
+ },
1223
+ {
1224
+ "internalType": "RoleId",
1225
+ "name": "roleId",
1226
+ "type": "uint64"
1227
+ }
1228
+ ],
1229
+ "name": "hasRole",
1230
+ "outputs": [
1231
+ {
1232
+ "internalType": "bool",
1233
+ "name": "isMember",
1234
+ "type": "bool"
1235
+ }
1236
+ ],
1237
+ "stateMutability": "view",
1238
+ "type": "function"
1239
+ },
1240
+ {
1241
+ "inputs": [],
1242
+ "name": "initialize",
1243
+ "outputs": [],
1244
+ "stateMutability": "nonpayable",
1245
+ "type": "function"
1246
+ },
1247
+ {
1248
+ "inputs": [
1249
+ {
1250
+ "internalType": "address",
1251
+ "name": "instanceAddress",
1252
+ "type": "address"
1253
+ }
1254
+ ],
1255
+ "name": "initializeWithInstance",
1256
+ "outputs": [],
1257
+ "stateMutability": "nonpayable",
1258
+ "type": "function"
1259
+ },
1260
+ {
1261
+ "inputs": [
1262
+ {
1263
+ "internalType": "address",
1264
+ "name": "target",
1265
+ "type": "address"
1266
+ }
1267
+ ],
1268
+ "name": "isTargetLocked",
1269
+ "outputs": [
1270
+ {
1271
+ "internalType": "bool",
1272
+ "name": "",
1273
+ "type": "bool"
811
1274
  }
812
1275
  ],
813
1276
  "stateMutability": "view",
@@ -817,140 +1280,16 @@
817
1280
  "inputs": [
818
1281
  {
819
1282
  "internalType": "NftId",
820
- "name": "productNftId",
1283
+ "name": "policyNftId",
821
1284
  "type": "uint96"
822
1285
  }
823
1286
  ],
824
- "name": "getTreasuryInfo",
1287
+ "name": "policyIsCloseable",
825
1288
  "outputs": [
826
1289
  {
827
- "components": [
828
- {
829
- "internalType": "contract IERC20Metadata",
830
- "name": "token",
831
- "type": "address"
832
- },
833
- {
834
- "internalType": "contract TokenHandler",
835
- "name": "tokenHandler",
836
- "type": "address"
837
- },
838
- {
839
- "internalType": "NftId",
840
- "name": "distributionNftId",
841
- "type": "uint96"
842
- },
843
- {
844
- "internalType": "NftId",
845
- "name": "poolNftId",
846
- "type": "uint96"
847
- },
848
- {
849
- "components": [
850
- {
851
- "internalType": "UFixed",
852
- "name": "fractionalFee",
853
- "type": "uint256"
854
- },
855
- {
856
- "internalType": "uint256",
857
- "name": "fixedFee",
858
- "type": "uint256"
859
- }
860
- ],
861
- "internalType": "struct Fee",
862
- "name": "distributionFee",
863
- "type": "tuple"
864
- },
865
- {
866
- "components": [
867
- {
868
- "internalType": "UFixed",
869
- "name": "fractionalFee",
870
- "type": "uint256"
871
- },
872
- {
873
- "internalType": "uint256",
874
- "name": "fixedFee",
875
- "type": "uint256"
876
- }
877
- ],
878
- "internalType": "struct Fee",
879
- "name": "productFee",
880
- "type": "tuple"
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": "processingFee",
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": "poolFee",
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": "stakingFee",
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": "performanceFee",
948
- "type": "tuple"
949
- }
950
- ],
951
- "internalType": "struct ITreasury.TreasuryInfo",
952
- "name": "info",
953
- "type": "tuple"
1290
+ "internalType": "bool",
1291
+ "name": "isCloseable",
1292
+ "type": "bool"
954
1293
  }
955
1294
  ],
956
1295
  "stateMutability": "view",
@@ -958,31 +1297,32 @@
958
1297
  },
959
1298
  {
960
1299
  "inputs": [
961
- {
962
- "internalType": "address",
963
- "name": "registry",
964
- "type": "address"
965
- },
966
1300
  {
967
1301
  "internalType": "NftId",
968
- "name": "instanceNftId",
1302
+ "name": "poolNftId",
969
1303
  "type": "uint96"
970
1304
  }
971
1305
  ],
972
- "name": "initialize",
973
- "outputs": [],
974
- "stateMutability": "nonpayable",
1306
+ "name": "toBundleKey",
1307
+ "outputs": [
1308
+ {
1309
+ "internalType": "Key32",
1310
+ "name": "",
1311
+ "type": "bytes32"
1312
+ }
1313
+ ],
1314
+ "stateMutability": "pure",
975
1315
  "type": "function"
976
1316
  },
977
1317
  {
978
1318
  "inputs": [
979
1319
  {
980
1320
  "internalType": "NftId",
981
- "name": "poolNftId",
1321
+ "name": "componentNftId",
982
1322
  "type": "uint96"
983
1323
  }
984
1324
  ],
985
- "name": "toBundleKey",
1325
+ "name": "toComponentKey",
986
1326
  "outputs": [
987
1327
  {
988
1328
  "internalType": "Key32",
@@ -1092,11 +1432,11 @@
1092
1432
  "inputs": [
1093
1433
  {
1094
1434
  "internalType": "NftId",
1095
- "name": "productNftId",
1435
+ "name": "policyNftId",
1096
1436
  "type": "uint96"
1097
1437
  }
1098
1438
  ],
1099
- "name": "toProductKey",
1439
+ "name": "toPremiumKey",
1100
1440
  "outputs": [
1101
1441
  {
1102
1442
  "internalType": "Key32",
@@ -1111,21 +1451,16 @@
1111
1451
  "inputs": [
1112
1452
  {
1113
1453
  "internalType": "NftId",
1114
- "name": "distributionNftId",
1454
+ "name": "productNftId",
1115
1455
  "type": "uint96"
1116
- },
1117
- {
1118
- "internalType": "string",
1119
- "name": "referralCode",
1120
- "type": "string"
1121
1456
  }
1122
1457
  ],
1123
- "name": "toReferralId",
1458
+ "name": "toProductKey",
1124
1459
  "outputs": [
1125
1460
  {
1126
- "internalType": "ReferralId",
1127
- "name": "referralId",
1128
- "type": "bytes8"
1461
+ "internalType": "Key32",
1462
+ "name": "",
1463
+ "type": "bytes32"
1129
1464
  }
1130
1465
  ],
1131
1466
  "stateMutability": "pure",
@@ -1135,16 +1470,21 @@
1135
1470
  "inputs": [
1136
1471
  {
1137
1472
  "internalType": "NftId",
1138
- "name": "productNftId",
1473
+ "name": "distributionNftId",
1139
1474
  "type": "uint96"
1475
+ },
1476
+ {
1477
+ "internalType": "string",
1478
+ "name": "referralCode",
1479
+ "type": "string"
1140
1480
  }
1141
1481
  ],
1142
- "name": "toTreasuryKey",
1482
+ "name": "toReferralId",
1143
1483
  "outputs": [
1144
1484
  {
1145
- "internalType": "Key32",
1146
- "name": "",
1147
- "type": "bytes32"
1485
+ "internalType": "ReferralId",
1486
+ "name": "referralId",
1487
+ "type": "bytes8"
1148
1488
  }
1149
1489
  ],
1150
1490
  "stateMutability": "pure",
@@ -1175,212 +1515,320 @@
1175
1515
  "type": "function"
1176
1516
  }
1177
1517
  ],
1178
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620032643803806200326483398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b612c5f80620006056000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea26469706673582212203da8389e6e5506bc91f00b5a15ac118439903f789f9c2975ccb6f2382092067c64736f6c63430008140033",
1179
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea26469706673582212203da8389e6e5506bc91f00b5a15ac118439903f789f9c2975ccb6f2382092067c64736f6c63430008140033",
1518
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50614278806100255f395ff3fe608060405234801561000f575f80fd5b5060043610610260575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610678578063de7b5d141461068b578063e444c3df146106a0578063f0ea17c3146106c0578063f7f318d3146106e0578063febe92af146106f3575f80fd5b8063b82d7ef5146105ea578063bd7d9d8514610614578063cd55e51b14610634578063d06458c614610647578063d4cda0d814610667575f80fd5b8063887b1fa911610110578063887b1fa9146104fd5780638eb9000d1461051d5780639096a1f314610530578063a310e2a314610543578063a5961b4c1461056e578063a7ef3d21146105ca575f80fd5b806378ae9350146104a95780637bfd3217146104bc5780637d8f1e81146104cf5780637e54602a146104e25780638129fc1c146104f5575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104285780635da894021461044857806364eb3a9b1461045b57806364fc31421461046e5780636791f7ab1461048157806375d357df14610496575f80fd5b806339bb60cd146103965780633f093cd6146103b657806344aa6836146103e25780634793b4ab146103f55780634fb784f514610415575f80fd5b8063228e42ec11610228578063228e42ec1461031a57806326decd401461032d57806327b1d7921461035057806334bd5be31461037057806335898f5d14610383575f80fd5b80630232ca491461026457806309648a9d146102945780630b5d931c146102b95780631488c845146102d95780631d3be477146102fa575b5f80fd5b6102776102723660046126a7565b610713565b6040516001600160601b0390911681526020015b60405180910390f35b6102a76102a23660046126c2565b61078d565b60405160ff909116815260200161028b565b6102cc6102c73660046126a7565b610802565b60405161028b91906126d9565b6102ec6102e73660046127bb565b6108b0565b60405190815260200161028b565b61030d610308366004612803565b61092c565b60405161028b919061284c565b6102776103283660046126a7565b610a70565b61034061033b3660046128fa565b610aa9565b604051901515815260200161028b565b61036361035e3660046126a7565b610b87565b60405161028b9190612915565b6102ec61037e3660046126a7565b610c44565b6102ec6103913660046126a7565b610cdb565b6103a96103a436600461296e565b610d07565b60405161028b91906129a1565b6103c96103c4366004612bb2565b610e56565b6040516001600160c01b0319909116815260200161028b565b6102ec6103f03660046126c2565b610ed0565b6104086104033660046126a7565b610f0a565b60405161028b9190612c3e565b6102ec6104233660046126a7565b610fab565b61043b6104363660046126a7565b610fd7565b60405161028b9190612cc9565b6102a761045636600461296e565b6110a8565b6102ec6104693660046126a7565b6111a0565b61034061047c366004612d4a565b6111cc565b61049461048f3660046128fa565b6112bb565b005b6103406104a43660046126a7565b61138e565b6102a76104b7366004612d85565b61160f565b6102ec6104ca3660046126a7565b61166e565b6102a76104dd3660046126a7565b61169a565b6102ec6104f03660046126a7565b611713565b61049461173f565b61051061050b366004612803565b61176d565b60405161028b9190612db1565b61027761052b3660046126a7565b61188e565b6102a761053e3660046126a7565b6118c7565b6105566105513660046126a7565b6118e3565b6040516001600160a01b03909116815260200161028b565b61058161057c3660046126c2565b61198b565b60405161028b91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105dd6105d8366004612d85565b611a15565b60405161028b9190612de6565b6105fd6105f8366004612803565b611b62565b6040805192835260ff90911660208301520161028b565b6106276106223660046126a7565b611dfe565b60405161028b9190612e8c565b610340610642366004612d4a565b611f1e565b61065a610655366004612803565b611fd2565b60405161028b919061301b565b6001546001600160a01b0316610556565b6102ec6106863660046126a7565b612137565b5f5461010090046001600160a01b0316610556565b6106b36106ae3660046126a7565b612163565b60405161028b91906130bc565b6106d36106ce3660046126a7565b61228c565b60405161028b91906132ac565b6102ec6106ee3660046126a7565b612355565b610706610701366004613336565b612381565b60405161028b9190613351565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610763573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061342f565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f8919061347f565b6020015192915050565b61080a61252f565b6001545f906001600160a01b03166354f6127f6108268561166e565b6040518263ffffffff1660e01b815260040161084491815260200190565b5f60405180830381865afa15801561085e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108859190810190613535565b8051909150156108aa57808060200190518101906108a39190613595565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610908573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613656565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af41580156109cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f39190613656565b6040518263ffffffff1660e01b8152600401610a1191815260200190565b5f60405180830381865afa158015610a2b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a529190810190613535565b8051909150156108aa57808060200190518101906108a3919061368a565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610748565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1e919061376c565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b63573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613796565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610bc785611713565b6040518263ffffffff1660e01b8152600401610be591815260200190565b5f60405180830381865afa158015610bff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c269190810190613535565b8051909150156108aa57808060200190518101906108a391906137ba565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610cb7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613656565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610c6c565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610da6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dca9190613656565b6040518263ffffffff1660e01b8152600401610de891815260200190565b5f60405180830381865afa158015610e02573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e299190810190613535565b805190915015610e4f5780806020019051810190610e479190613875565b915050610787565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e91908690869060040161392f565b602060405180830381865af4158015610eac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613950565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c9c565b610f12612639565b6001545f906001600160a01b03166354f6127f610f2e85612355565b6040518263ffffffff1660e01b8152600401610f4c91815260200190565b5f60405180830381865afa158015610f66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f8d9190810190613535565b8051909150156108aa57808060200190518101906108a3919061396b565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c6c565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61102b85612137565b6040518263ffffffff1660e01b815260040161104991815260200190565b5f60405180830381865afa158015611063573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261108a9190810190613535565b8051909150156108aa57808060200190518101906108a39190613a2f565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af415801561111f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111439190613656565b6040518263ffffffff1660e01b815260040161116191815260200190565b602060405180830381865afa15801561117c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613ab9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c6c565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561121d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611241919061376c565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611297573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613796565b5f5460ff16156112de5760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611347573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136b919061376c565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061139983611dfe565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156113f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114199190613796565b1561142657505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611481573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a59190613796565b156114b257505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af415801561150d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115319190613796565b1561153e57505f92915050565b61016081015161ffff161561155557505f92915050565b61156881610180015182608001516124cf565b156115765750600192915050565b6115f973__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156115c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e49190613ad4565b826101e0015164ffffffffff90811691161090565b1561160657505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611104565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c6c565b6001545f906001600160a01b03166309648a9d6116b684612355565b6040518263ffffffff1660e01b81526004016116d491815260200190565b602060405180830381865afa1580156116ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613ab9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610c6c565b5f5460ff16156117625760405163ae9eff1b60e01b815260040160405180910390fd5b61176b336112bb565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156117ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118119190613656565b6040518263ffffffff1660e01b815260040161182f91815260200190565b5f60405180830381865afa158015611849573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118709190810190613535565b8051909150156108aa57808060200190518101906108a39190613aef565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610748565b6001545f906001600160a01b03166309648a9d6116b6846111a0565b6001545f9081906001600160a01b03166354f6127f61190185610fab565b6040518263ffffffff1660e01b815260040161191f91815260200190565b5f60405180830381865afa158015611939573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119609190810190613535565b8051909150156108aa575f8180602001905181019061197f9190613b6c565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156119f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061347f565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611ac1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae59190613656565b6040518263ffffffff1660e01b8152600401611b0391815260200190565b5f60405180830381865afa158015611b1d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b449190810190613535565b805190915015610e4f5780806020019051810190610e479190613c44565b5f805f611b6e8461092c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611bcb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bef9190613796565b15611c6c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c5f9190613656565b60645b9250925050915091565b611cee8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdf9190613ad4565b64ffffffffff90811691161090565b15611d655773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5e9190613656565b606e611c62565b806060015163ffffffff16816080015163ffffffff1610611df25773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dc7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611deb9190613656565b6078611c62565b6040810151600a611c62565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611ea1856111a0565b6040518263ffffffff1660e01b8152600401611ebf91815260200190565b5f60405180830381865afa158015611ed9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f009190810190613535565b8051909150156108aa57808060200190518101906108a39190613d2d565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f93919061376c565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b9060440161127c565b61202a604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015612096573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ba9190613656565b6040518263ffffffff1660e01b81526004016120d891815260200190565b5f60405180830381865afa1580156120f2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121199190810190613535565b8051909150156108aa57808060200190518101906108a39190613ed3565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c6c565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61220f85610c44565b6040518263ffffffff1660e01b815260040161222d91815260200190565b5f60405180830381865afa158015612247573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261226e9190810190613535565b8051909150156108aa57808060200190518101906108a39190613fcc565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6122d885610fab565b6040518263ffffffff1660e01b81526004016122f691815260200190565b5f60405180830381865afa158015612310573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123379190810190613535565b8051909150156108aa57808060200190518101906108a39190613b6c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610c6c565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af415801561242e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124529190613656565b6040518263ffffffff1660e01b815260040161247091815260200190565b5f60405180830381865afa15801561248a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124b19190810190613535565b8051909150156108aa57808060200190518101906108a3919061412e565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611297573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b0316815260200161257460405180604001604052805f81526020015f81525090565b815260200161259460405180604001604052805f81526020015f81525090565b81526020016125b460405180604001604052805f81526020015f81525090565b81526020016125d460405180604001604052805f81526020015f81525090565b81526020016125f460405180604001604052805f81526020015f81525090565b815260200161261460405180604001604052805f81526020015f81525090565b815260200161263460405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b0316815260200161266e60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b03811681146126a4575f80fd5b50565b5f602082840312156126b7575f80fd5b81356108a381612690565b5f602082840312156126d2575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612706908401826001600160601b03169052565b506040830151612723604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610e4f565b5f80604083850312156127cc575f80fd5b8235915060208301355f81900b81146127e3575f80fd5b809150509250929050565b6001600160c01b0319811681146126a4575f80fd5b5f60208284031215612813575f80fd5b81356108a3816127ee565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e0604084015261287b61010084018261281e565b90506040840151606084015263ffffffff606085015116608084015260808401516128ae60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128dd828261281e565b95945050505050565b6001600160a01b03811681146126a4575f80fd5b5f6020828403121561290a575f80fd5b81356108a3816128e6565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261295260a084018261281e565b905063ffffffff60608501511660808401528091505092915050565b5f806040838503121561297f575f80fd5b823561298a81612690565b9150602083013562ffffff811681146127e3575f80fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a060808401526129ef60c084018261281e565b905064ffffffffff60808501511660a08401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a4257612a42612a0c565b60405290565b604080519081016001600160401b0381118282101715612a4257612a42612a0c565b60405161012081016001600160401b0381118282101715612a4257612a42612a0c565b60405160e081016001600160401b0381118282101715612a4257612a42612a0c565b60405160a081016001600160401b0381118282101715612a4257612a42612a0c565b60405160c081016001600160401b0381118282101715612a4257612a42612a0c565b60405161022081016001600160401b0381118282101715612a4257612a42612a0c565b60405161024081016001600160401b0381118282101715612a4257612a42612a0c565b60405161010081016001600160401b0381118282101715612a4257612a42612a0c565b604051601f8201601f191681016001600160401b0381118282101715612b8457612b84612a0c565b604052919050565b5f6001600160401b03821115612ba457612ba4612a0c565b50601f01601f191660200190565b5f8060408385031215612bc3575f80fd5b8235612bce81612690565b915060208301356001600160401b03811115612be8575f80fd5b8301601f81018513612bf8575f80fd5b8035612c0b612c0682612b8c565b612b5c565b818152866020838501011115612c1f575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612c6f604084018280518252602090810151910152565b50604083015160e06080840152612c8a61010084018261281e565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612d1b608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b03811681146126a4575f80fd5b5f8060408385031215612d5b575f80fd5b8235612d66816128e6565b915060208301356127e381612d36565b61ffff811681146126a4575f80fd5b5f8060408385031215612d96575f80fd5b8235612da181612690565b915060208301356127e381612d76565b602081526001600160601b0382511660208201525f6020830151604080840152612dde606084018261281e565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612e22606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e4c61010084018261281e565b905060a0840151601f198483030160c0850152612e69828261281e565b91505060c0840151612e8460e085018264ffffffffff169052565b509392505050565b60208152612ea66020820183516001600160601b03169052565b5f6020830151612ec160408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612f5e61024084018261281e565b9050610120840151601f1984830301610140850152612f7d828261281e565b915050610140840151612f9761016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612e84565b602081525f8251610120602084015261303861014084018261281e565b9050602084015160408401526040840151606084015260608401516080840152608084015161306f60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526128dd828261281e565b81516001600160601b03168152610240810160208301516130e860208401826001600160601b03169052565b50604083015161310360408401826001600160601b03169052565b50606083015161311e60608401826001600160601b03169052565b50608083015161313960808401826001600160601b03169052565b5060a083015161315460a08401826001600160601b03169052565b5060c083015161316f60c08401826001600160601b03169052565b5060e083015161318a60e08401826001600160601b03169052565b506101008301516131a76101008401826001600160601b03169052565b506101208301516131c46101208401826001600160601b03169052565b506101408301516131e16101408401826001600160601b03169052565b506101608301516131fe6101608401826001600160601b03169052565b5061018083015161321b6101808401826001600160601b03169052565b506101a08301516132386101a08401826001600160601b03169052565b506101c08301516132556101c08401826001600160601b03169052565b506101e08301516132726101e08401826001600160601b03169052565b5061020083015161328f6102008401826001600160601b03169052565b50610220830151610e4f6102208401826001600160601b03169052565b602081525f825160c060208401526132c760e084018261281e565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161331a60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526128dd828261281e565b5f60208284031215613346575f80fd5b81356108a381612d36565b6020815261336b6020820183516001600160601b03169052565b5f6020830151610100604084015261338761012084018261281e565b905060408401516133a360608501826001600160601b03169052565b506060840151838203601f190160808501526133bf828261281e565b9150506080840151601f198483030160a08501526133dd828261281e565b91505060a08401516133f860c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612e84565b805161342a81612690565b919050565b5f6020828403121561343f575f80fd5b81516108a381612690565b60ff811681146126a4575f80fd5b805161342a8161344a565b63ffffffff811681146126a4575f80fd5b805161342a81613463565b5f6080828403128015613490575f80fd5b50613499612a20565b82516134a48161344a565b815260208301516134b48161344a565b602082015260408301516134c781613463565b604082015260608301516134da81613463565b60608201529392505050565b5f82601f8301126134f5575f80fd5b8151602083015f613508612c0684612b8c565b905082815285838301111561351b575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613545575f80fd5b81516001600160401b0381111561355a575f80fd5b612dde848285016134e6565b5f60408284031215613576575f80fd5b61357e612a48565b825181526020928301519281019290925250919050565b5f6102008284031280156135a7575f80fd5b506135b0612a6a565b6135b98361341f565b81526135c76020840161341f565b60208201526135d98460408501613566565b60408201526135eb8460808501613566565b60608201526135fd8460c08501613566565b6080820152613610846101008501613566565b60a0820152613623846101408501613566565b60c0820152613636846101808501613566565b60e0820152613649846101c08501613566565b6101008201529392505050565b5f60208284031215613666575f80fd5b5051919050565b64ffffffffff811681146126a4575f80fd5b805161342a8161366d565b5f6020828403121561369a575f80fd5b81516001600160401b038111156136af575f80fd5b820160e081850312156136c0575f80fd5b6136c8612a8d565b6136d18261341f565b815260208201516001600160401b038111156136eb575f80fd5b6136f7868285016134e6565b6020830152506040828101519082015261371360608301613474565b606082015261372460808301613474565b608082015261373560a0830161367f565b60a082015260c08201516001600160401b03811115613752575f80fd5b61375e868285016134e6565b60c083015250949350505050565b5f6020828403121561377c575f80fd5b81516108a3816128e6565b8051801515811461342a575f80fd5b5f602082840312156137a6575f80fd5b6108a382613787565b805161342a816127ee565b5f602082840312156137ca575f80fd5b81516001600160401b038111156137df575f80fd5b8201608081850312156137f0575f80fd5b6137f8612a20565b8151613803816127ee565b815261381160208301613787565b602082015260408201516001600160401b0381111561382e575f80fd5b61383a868285016134e6565b6040830152506060820151915061385082613463565b60608101919091529392505050565b805161342a81612d76565b805161342a816128e6565b5f60208284031215613885575f80fd5b81516001600160401b0381111561389a575f80fd5b820160a081850312156138ab575f80fd5b6138b3612aaf565b81516138be81612d76565b815260208201516138ce81612690565b602082015260408201516138e1816128e6565b604082015260608201516001600160401b038111156138fe575f80fd5b61390a868285016134e6565b606083015250608082015191506139208261366d565b60808101919091529392505050565b6001600160601b0383168152604060208201525f612dde604083018461281e565b5f60208284031215613960575f80fd5b81516108a3816127ee565b5f6020828403121561397b575f80fd5b81516001600160401b03811115613990575f80fd5b820160e081850312156139a1575f80fd5b6139a9612ad1565b81516139b481612690565b81526139c38560208401613566565b602082015260608201516001600160401b038111156139e0575f80fd5b6139ec868285016134e6565b6040830152506080820151613a008161366d565b6060820152613a1160a0830161367f565b6080820152613a2260c0830161367f565b60a0820152949350505050565b5f60e0828403128015613a40575f80fd5b50613a49612a8d565b8251613a5481612690565b81526020830151613a6481612d36565b6020820152613a7560408401613787565b6040820152613a8660608401613787565b6060820152613a9760808401613787565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613ac9575f80fd5b81516108a38161344a565b5f60208284031215613ae4575f80fd5b81516108a38161366d565b5f60208284031215613aff575f80fd5b81516001600160401b03811115613b14575f80fd5b820160408185031215613b25575f80fd5b613b2d612a48565b8151613b3881612690565b815260208201516001600160401b03811115613b52575f80fd5b613b5e868285016134e6565b602083015250949350505050565b5f60208284031215613b7c575f80fd5b81516001600160401b03811115613b91575f80fd5b820160c08185031215613ba2575f80fd5b613baa612ad1565b81516001600160401b03811115613bbf575f80fd5b613bcb868285016134e6565b825250613bda6020830161341f565b6020820152613beb6040830161386a565b6040820152613bfc6060830161386a565b6060820152613c0d6080830161386a565b608082015260a08201516001600160401b03811115613c2a575f80fd5b613c36868285016134e6565b60a083015250949350505050565b5f60208284031215613c54575f80fd5b81516001600160401b03811115613c69575f80fd5b820160e08185031215613c7a575f80fd5b613c82612a8d565b613c8b8261341f565b8152613c996020830161341f565b6020820152613caa60408301613458565b6040820152613cbb60608301613458565b606082015260808201516001600160401b03811115613cd8575f80fd5b613ce4868285016134e6565b60808301525060a08201516001600160401b03811115613d02575f80fd5b613d0e868285016134e6565b60a083015250613d2060c0830161367f565b60c0820152949350505050565b5f60208284031215613d3d575f80fd5b81516001600160401b03811115613d52575f80fd5b82016102208185031215613d64575f80fd5b613d6c612af3565b613d758261341f565b8152613d836020830161341f565b6020820152613d94604083016137af565b6040820152613da5606083016137af565b6060820152613db66080830161341f565b6080820152613dc760a0830161341f565b60a0820152613dd860c0830161341f565b60c0820152613de960e0830161367f565b60e08201526101008201516001600160401b03811115613e07575f80fd5b613e13868285016134e6565b610100830152506101208201516001600160401b03811115613e33575f80fd5b613e3f868285016134e6565b61012083015250613e53610140830161385f565b610140820152613e66610160830161385f565b610160820152613e79610180830161341f565b610180820152613e8c6101a0830161341f565b6101a0820152613e9f6101c0830161367f565b6101c0820152613eb26101e0830161367f565b6101e0820152613ec5610200830161367f565b610200820152949350505050565b5f60208284031215613ee3575f80fd5b81516001600160401b03811115613ef8575f80fd5b82016101208185031215613f0a575f80fd5b613f12612a6a565b81516001600160401b03811115613f27575f80fd5b613f33868285016134e6565b825250602082810151908201526040808301519082015260608083015190820152613f6060808301613474565b6080820152613f7160a08301613474565b60a0820152613f8260c08301613787565b60c0820152613f9360e08301613787565b60e08201526101008201516001600160401b03811115613fb1575f80fd5b613fbd868285016134e6565b61010083015250949350505050565b5f610240828403128015613fde575f80fd5b50613fe7612b16565b613ff08361341f565b8152613ffe6020840161341f565b602082015261400f6040840161341f565b60408201526140206060840161341f565b60608201526140316080840161341f565b608082015261404260a0840161341f565b60a082015261405360c0840161341f565b60c082015261406460e0840161341f565b60e0820152614076610100840161341f565b610100820152614089610120840161341f565b61012082015261409c610140840161341f565b6101408201526140af610160840161341f565b6101608201526140c2610180840161341f565b6101808201526140d56101a0840161341f565b6101a08201526140e86101c0840161341f565b6101c08201526140fb6101e0840161341f565b6101e082015261410e610200840161341f565b610200820152614121610220840161341f565b6102208201529392505050565b5f6020828403121561413e575f80fd5b81516001600160401b03811115614153575f80fd5b82016101008185031215614165575f80fd5b61416d612b39565b6141768261341f565b815260208201516001600160401b03811115614190575f80fd5b61419c868285016134e6565b6020830152506141ae6040830161341f565b604082015260608201516001600160401b038111156141cb575f80fd5b6141d7868285016134e6565b60608301525060808201516001600160401b038111156141f5575f80fd5b614201868285016134e6565b60808301525061421360a0830161367f565b60a082015261422460c0830161367f565b60c082015261423560e08301613787565b60e082015294935050505056fea26469706673582212200b0c8ab9bb9a6ad39d4d5376ce20500663933a0e10328995fdd363ca1b34913a64736f6c634300081a0033",
1519
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610260575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610678578063de7b5d141461068b578063e444c3df146106a0578063f0ea17c3146106c0578063f7f318d3146106e0578063febe92af146106f3575f80fd5b8063b82d7ef5146105ea578063bd7d9d8514610614578063cd55e51b14610634578063d06458c614610647578063d4cda0d814610667575f80fd5b8063887b1fa911610110578063887b1fa9146104fd5780638eb9000d1461051d5780639096a1f314610530578063a310e2a314610543578063a5961b4c1461056e578063a7ef3d21146105ca575f80fd5b806378ae9350146104a95780637bfd3217146104bc5780637d8f1e81146104cf5780637e54602a146104e25780638129fc1c146104f5575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104285780635da894021461044857806364eb3a9b1461045b57806364fc31421461046e5780636791f7ab1461048157806375d357df14610496575f80fd5b806339bb60cd146103965780633f093cd6146103b657806344aa6836146103e25780634793b4ab146103f55780634fb784f514610415575f80fd5b8063228e42ec11610228578063228e42ec1461031a57806326decd401461032d57806327b1d7921461035057806334bd5be31461037057806335898f5d14610383575f80fd5b80630232ca491461026457806309648a9d146102945780630b5d931c146102b95780631488c845146102d95780631d3be477146102fa575b5f80fd5b6102776102723660046126a7565b610713565b6040516001600160601b0390911681526020015b60405180910390f35b6102a76102a23660046126c2565b61078d565b60405160ff909116815260200161028b565b6102cc6102c73660046126a7565b610802565b60405161028b91906126d9565b6102ec6102e73660046127bb565b6108b0565b60405190815260200161028b565b61030d610308366004612803565b61092c565b60405161028b919061284c565b6102776103283660046126a7565b610a70565b61034061033b3660046128fa565b610aa9565b604051901515815260200161028b565b61036361035e3660046126a7565b610b87565b60405161028b9190612915565b6102ec61037e3660046126a7565b610c44565b6102ec6103913660046126a7565b610cdb565b6103a96103a436600461296e565b610d07565b60405161028b91906129a1565b6103c96103c4366004612bb2565b610e56565b6040516001600160c01b0319909116815260200161028b565b6102ec6103f03660046126c2565b610ed0565b6104086104033660046126a7565b610f0a565b60405161028b9190612c3e565b6102ec6104233660046126a7565b610fab565b61043b6104363660046126a7565b610fd7565b60405161028b9190612cc9565b6102a761045636600461296e565b6110a8565b6102ec6104693660046126a7565b6111a0565b61034061047c366004612d4a565b6111cc565b61049461048f3660046128fa565b6112bb565b005b6103406104a43660046126a7565b61138e565b6102a76104b7366004612d85565b61160f565b6102ec6104ca3660046126a7565b61166e565b6102a76104dd3660046126a7565b61169a565b6102ec6104f03660046126a7565b611713565b61049461173f565b61051061050b366004612803565b61176d565b60405161028b9190612db1565b61027761052b3660046126a7565b61188e565b6102a761053e3660046126a7565b6118c7565b6105566105513660046126a7565b6118e3565b6040516001600160a01b03909116815260200161028b565b61058161057c3660046126c2565b61198b565b60405161028b91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105dd6105d8366004612d85565b611a15565b60405161028b9190612de6565b6105fd6105f8366004612803565b611b62565b6040805192835260ff90911660208301520161028b565b6106276106223660046126a7565b611dfe565b60405161028b9190612e8c565b610340610642366004612d4a565b611f1e565b61065a610655366004612803565b611fd2565b60405161028b919061301b565b6001546001600160a01b0316610556565b6102ec6106863660046126a7565b612137565b5f5461010090046001600160a01b0316610556565b6106b36106ae3660046126a7565b612163565b60405161028b91906130bc565b6106d36106ce3660046126a7565b61228c565b60405161028b91906132ac565b6102ec6106ee3660046126a7565b612355565b610706610701366004613336565b612381565b60405161028b9190613351565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610763573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061342f565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f8919061347f565b6020015192915050565b61080a61252f565b6001545f906001600160a01b03166354f6127f6108268561166e565b6040518263ffffffff1660e01b815260040161084491815260200190565b5f60405180830381865afa15801561085e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108859190810190613535565b8051909150156108aa57808060200190518101906108a39190613595565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610908573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613656565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af41580156109cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f39190613656565b6040518263ffffffff1660e01b8152600401610a1191815260200190565b5f60405180830381865afa158015610a2b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a529190810190613535565b8051909150156108aa57808060200190518101906108a3919061368a565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610748565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1e919061376c565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b63573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613796565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610bc785611713565b6040518263ffffffff1660e01b8152600401610be591815260200190565b5f60405180830381865afa158015610bff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c269190810190613535565b8051909150156108aa57808060200190518101906108a391906137ba565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610cb7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613656565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610c6c565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610da6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dca9190613656565b6040518263ffffffff1660e01b8152600401610de891815260200190565b5f60405180830381865afa158015610e02573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e299190810190613535565b805190915015610e4f5780806020019051810190610e479190613875565b915050610787565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e91908690869060040161392f565b602060405180830381865af4158015610eac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613950565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c9c565b610f12612639565b6001545f906001600160a01b03166354f6127f610f2e85612355565b6040518263ffffffff1660e01b8152600401610f4c91815260200190565b5f60405180830381865afa158015610f66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f8d9190810190613535565b8051909150156108aa57808060200190518101906108a3919061396b565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c6c565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61102b85612137565b6040518263ffffffff1660e01b815260040161104991815260200190565b5f60405180830381865afa158015611063573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261108a9190810190613535565b8051909150156108aa57808060200190518101906108a39190613a2f565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af415801561111f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111439190613656565b6040518263ffffffff1660e01b815260040161116191815260200190565b602060405180830381865afa15801561117c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613ab9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c6c565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561121d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611241919061376c565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611297573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613796565b5f5460ff16156112de5760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611347573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136b919061376c565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061139983611dfe565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156113f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114199190613796565b1561142657505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611481573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a59190613796565b156114b257505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af415801561150d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115319190613796565b1561153e57505f92915050565b61016081015161ffff161561155557505f92915050565b61156881610180015182608001516124cf565b156115765750600192915050565b6115f973__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156115c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e49190613ad4565b826101e0015164ffffffffff90811691161090565b1561160657505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611104565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c6c565b6001545f906001600160a01b03166309648a9d6116b684612355565b6040518263ffffffff1660e01b81526004016116d491815260200190565b602060405180830381865afa1580156116ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613ab9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610c6c565b5f5460ff16156117625760405163ae9eff1b60e01b815260040160405180910390fd5b61176b336112bb565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156117ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118119190613656565b6040518263ffffffff1660e01b815260040161182f91815260200190565b5f60405180830381865afa158015611849573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118709190810190613535565b8051909150156108aa57808060200190518101906108a39190613aef565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610748565b6001545f906001600160a01b03166309648a9d6116b6846111a0565b6001545f9081906001600160a01b03166354f6127f61190185610fab565b6040518263ffffffff1660e01b815260040161191f91815260200190565b5f60405180830381865afa158015611939573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119609190810190613535565b8051909150156108aa575f8180602001905181019061197f9190613b6c565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156119f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061347f565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611ac1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae59190613656565b6040518263ffffffff1660e01b8152600401611b0391815260200190565b5f60405180830381865afa158015611b1d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b449190810190613535565b805190915015610e4f5780806020019051810190610e479190613c44565b5f805f611b6e8461092c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611bcb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bef9190613796565b15611c6c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c5f9190613656565b60645b9250925050915091565b611cee8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdf9190613ad4565b64ffffffffff90811691161090565b15611d655773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5e9190613656565b606e611c62565b806060015163ffffffff16816080015163ffffffff1610611df25773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dc7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611deb9190613656565b6078611c62565b6040810151600a611c62565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611ea1856111a0565b6040518263ffffffff1660e01b8152600401611ebf91815260200190565b5f60405180830381865afa158015611ed9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f009190810190613535565b8051909150156108aa57808060200190518101906108a39190613d2d565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f93919061376c565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b9060440161127c565b61202a604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015612096573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ba9190613656565b6040518263ffffffff1660e01b81526004016120d891815260200190565b5f60405180830381865afa1580156120f2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121199190810190613535565b8051909150156108aa57808060200190518101906108a39190613ed3565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c6c565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61220f85610c44565b6040518263ffffffff1660e01b815260040161222d91815260200190565b5f60405180830381865afa158015612247573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261226e9190810190613535565b8051909150156108aa57808060200190518101906108a39190613fcc565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6122d885610fab565b6040518263ffffffff1660e01b81526004016122f691815260200190565b5f60405180830381865afa158015612310573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123379190810190613535565b8051909150156108aa57808060200190518101906108a39190613b6c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610c6c565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af415801561242e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124529190613656565b6040518263ffffffff1660e01b815260040161247091815260200190565b5f60405180830381865afa15801561248a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124b19190810190613535565b8051909150156108aa57808060200190518101906108a3919061412e565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611297573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b0316815260200161257460405180604001604052805f81526020015f81525090565b815260200161259460405180604001604052805f81526020015f81525090565b81526020016125b460405180604001604052805f81526020015f81525090565b81526020016125d460405180604001604052805f81526020015f81525090565b81526020016125f460405180604001604052805f81526020015f81525090565b815260200161261460405180604001604052805f81526020015f81525090565b815260200161263460405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b0316815260200161266e60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b03811681146126a4575f80fd5b50565b5f602082840312156126b7575f80fd5b81356108a381612690565b5f602082840312156126d2575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612706908401826001600160601b03169052565b506040830151612723604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610e4f565b5f80604083850312156127cc575f80fd5b8235915060208301355f81900b81146127e3575f80fd5b809150509250929050565b6001600160c01b0319811681146126a4575f80fd5b5f60208284031215612813575f80fd5b81356108a3816127ee565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e0604084015261287b61010084018261281e565b90506040840151606084015263ffffffff606085015116608084015260808401516128ae60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128dd828261281e565b95945050505050565b6001600160a01b03811681146126a4575f80fd5b5f6020828403121561290a575f80fd5b81356108a3816128e6565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261295260a084018261281e565b905063ffffffff60608501511660808401528091505092915050565b5f806040838503121561297f575f80fd5b823561298a81612690565b9150602083013562ffffff811681146127e3575f80fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a060808401526129ef60c084018261281e565b905064ffffffffff60808501511660a08401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a4257612a42612a0c565b60405290565b604080519081016001600160401b0381118282101715612a4257612a42612a0c565b60405161012081016001600160401b0381118282101715612a4257612a42612a0c565b60405160e081016001600160401b0381118282101715612a4257612a42612a0c565b60405160a081016001600160401b0381118282101715612a4257612a42612a0c565b60405160c081016001600160401b0381118282101715612a4257612a42612a0c565b60405161022081016001600160401b0381118282101715612a4257612a42612a0c565b60405161024081016001600160401b0381118282101715612a4257612a42612a0c565b60405161010081016001600160401b0381118282101715612a4257612a42612a0c565b604051601f8201601f191681016001600160401b0381118282101715612b8457612b84612a0c565b604052919050565b5f6001600160401b03821115612ba457612ba4612a0c565b50601f01601f191660200190565b5f8060408385031215612bc3575f80fd5b8235612bce81612690565b915060208301356001600160401b03811115612be8575f80fd5b8301601f81018513612bf8575f80fd5b8035612c0b612c0682612b8c565b612b5c565b818152866020838501011115612c1f575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612c6f604084018280518252602090810151910152565b50604083015160e06080840152612c8a61010084018261281e565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612d1b608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b03811681146126a4575f80fd5b5f8060408385031215612d5b575f80fd5b8235612d66816128e6565b915060208301356127e381612d36565b61ffff811681146126a4575f80fd5b5f8060408385031215612d96575f80fd5b8235612da181612690565b915060208301356127e381612d76565b602081526001600160601b0382511660208201525f6020830151604080840152612dde606084018261281e565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612e22606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e4c61010084018261281e565b905060a0840151601f198483030160c0850152612e69828261281e565b91505060c0840151612e8460e085018264ffffffffff169052565b509392505050565b60208152612ea66020820183516001600160601b03169052565b5f6020830151612ec160408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612f5e61024084018261281e565b9050610120840151601f1984830301610140850152612f7d828261281e565b915050610140840151612f9761016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612e84565b602081525f8251610120602084015261303861014084018261281e565b9050602084015160408401526040840151606084015260608401516080840152608084015161306f60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526128dd828261281e565b81516001600160601b03168152610240810160208301516130e860208401826001600160601b03169052565b50604083015161310360408401826001600160601b03169052565b50606083015161311e60608401826001600160601b03169052565b50608083015161313960808401826001600160601b03169052565b5060a083015161315460a08401826001600160601b03169052565b5060c083015161316f60c08401826001600160601b03169052565b5060e083015161318a60e08401826001600160601b03169052565b506101008301516131a76101008401826001600160601b03169052565b506101208301516131c46101208401826001600160601b03169052565b506101408301516131e16101408401826001600160601b03169052565b506101608301516131fe6101608401826001600160601b03169052565b5061018083015161321b6101808401826001600160601b03169052565b506101a08301516132386101a08401826001600160601b03169052565b506101c08301516132556101c08401826001600160601b03169052565b506101e08301516132726101e08401826001600160601b03169052565b5061020083015161328f6102008401826001600160601b03169052565b50610220830151610e4f6102208401826001600160601b03169052565b602081525f825160c060208401526132c760e084018261281e565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161331a60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526128dd828261281e565b5f60208284031215613346575f80fd5b81356108a381612d36565b6020815261336b6020820183516001600160601b03169052565b5f6020830151610100604084015261338761012084018261281e565b905060408401516133a360608501826001600160601b03169052565b506060840151838203601f190160808501526133bf828261281e565b9150506080840151601f198483030160a08501526133dd828261281e565b91505060a08401516133f860c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612e84565b805161342a81612690565b919050565b5f6020828403121561343f575f80fd5b81516108a381612690565b60ff811681146126a4575f80fd5b805161342a8161344a565b63ffffffff811681146126a4575f80fd5b805161342a81613463565b5f6080828403128015613490575f80fd5b50613499612a20565b82516134a48161344a565b815260208301516134b48161344a565b602082015260408301516134c781613463565b604082015260608301516134da81613463565b60608201529392505050565b5f82601f8301126134f5575f80fd5b8151602083015f613508612c0684612b8c565b905082815285838301111561351b575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613545575f80fd5b81516001600160401b0381111561355a575f80fd5b612dde848285016134e6565b5f60408284031215613576575f80fd5b61357e612a48565b825181526020928301519281019290925250919050565b5f6102008284031280156135a7575f80fd5b506135b0612a6a565b6135b98361341f565b81526135c76020840161341f565b60208201526135d98460408501613566565b60408201526135eb8460808501613566565b60608201526135fd8460c08501613566565b6080820152613610846101008501613566565b60a0820152613623846101408501613566565b60c0820152613636846101808501613566565b60e0820152613649846101c08501613566565b6101008201529392505050565b5f60208284031215613666575f80fd5b5051919050565b64ffffffffff811681146126a4575f80fd5b805161342a8161366d565b5f6020828403121561369a575f80fd5b81516001600160401b038111156136af575f80fd5b820160e081850312156136c0575f80fd5b6136c8612a8d565b6136d18261341f565b815260208201516001600160401b038111156136eb575f80fd5b6136f7868285016134e6565b6020830152506040828101519082015261371360608301613474565b606082015261372460808301613474565b608082015261373560a0830161367f565b60a082015260c08201516001600160401b03811115613752575f80fd5b61375e868285016134e6565b60c083015250949350505050565b5f6020828403121561377c575f80fd5b81516108a3816128e6565b8051801515811461342a575f80fd5b5f602082840312156137a6575f80fd5b6108a382613787565b805161342a816127ee565b5f602082840312156137ca575f80fd5b81516001600160401b038111156137df575f80fd5b8201608081850312156137f0575f80fd5b6137f8612a20565b8151613803816127ee565b815261381160208301613787565b602082015260408201516001600160401b0381111561382e575f80fd5b61383a868285016134e6565b6040830152506060820151915061385082613463565b60608101919091529392505050565b805161342a81612d76565b805161342a816128e6565b5f60208284031215613885575f80fd5b81516001600160401b0381111561389a575f80fd5b820160a081850312156138ab575f80fd5b6138b3612aaf565b81516138be81612d76565b815260208201516138ce81612690565b602082015260408201516138e1816128e6565b604082015260608201516001600160401b038111156138fe575f80fd5b61390a868285016134e6565b606083015250608082015191506139208261366d565b60808101919091529392505050565b6001600160601b0383168152604060208201525f612dde604083018461281e565b5f60208284031215613960575f80fd5b81516108a3816127ee565b5f6020828403121561397b575f80fd5b81516001600160401b03811115613990575f80fd5b820160e081850312156139a1575f80fd5b6139a9612ad1565b81516139b481612690565b81526139c38560208401613566565b602082015260608201516001600160401b038111156139e0575f80fd5b6139ec868285016134e6565b6040830152506080820151613a008161366d565b6060820152613a1160a0830161367f565b6080820152613a2260c0830161367f565b60a0820152949350505050565b5f60e0828403128015613a40575f80fd5b50613a49612a8d565b8251613a5481612690565b81526020830151613a6481612d36565b6020820152613a7560408401613787565b6040820152613a8660608401613787565b6060820152613a9760808401613787565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613ac9575f80fd5b81516108a38161344a565b5f60208284031215613ae4575f80fd5b81516108a38161366d565b5f60208284031215613aff575f80fd5b81516001600160401b03811115613b14575f80fd5b820160408185031215613b25575f80fd5b613b2d612a48565b8151613b3881612690565b815260208201516001600160401b03811115613b52575f80fd5b613b5e868285016134e6565b602083015250949350505050565b5f60208284031215613b7c575f80fd5b81516001600160401b03811115613b91575f80fd5b820160c08185031215613ba2575f80fd5b613baa612ad1565b81516001600160401b03811115613bbf575f80fd5b613bcb868285016134e6565b825250613bda6020830161341f565b6020820152613beb6040830161386a565b6040820152613bfc6060830161386a565b6060820152613c0d6080830161386a565b608082015260a08201516001600160401b03811115613c2a575f80fd5b613c36868285016134e6565b60a083015250949350505050565b5f60208284031215613c54575f80fd5b81516001600160401b03811115613c69575f80fd5b820160e08185031215613c7a575f80fd5b613c82612a8d565b613c8b8261341f565b8152613c996020830161341f565b6020820152613caa60408301613458565b6040820152613cbb60608301613458565b606082015260808201516001600160401b03811115613cd8575f80fd5b613ce4868285016134e6565b60808301525060a08201516001600160401b03811115613d02575f80fd5b613d0e868285016134e6565b60a083015250613d2060c0830161367f565b60c0820152949350505050565b5f60208284031215613d3d575f80fd5b81516001600160401b03811115613d52575f80fd5b82016102208185031215613d64575f80fd5b613d6c612af3565b613d758261341f565b8152613d836020830161341f565b6020820152613d94604083016137af565b6040820152613da5606083016137af565b6060820152613db66080830161341f565b6080820152613dc760a0830161341f565b60a0820152613dd860c0830161341f565b60c0820152613de960e0830161367f565b60e08201526101008201516001600160401b03811115613e07575f80fd5b613e13868285016134e6565b610100830152506101208201516001600160401b03811115613e33575f80fd5b613e3f868285016134e6565b61012083015250613e53610140830161385f565b610140820152613e66610160830161385f565b610160820152613e79610180830161341f565b610180820152613e8c6101a0830161341f565b6101a0820152613e9f6101c0830161367f565b6101c0820152613eb26101e0830161367f565b6101e0820152613ec5610200830161367f565b610200820152949350505050565b5f60208284031215613ee3575f80fd5b81516001600160401b03811115613ef8575f80fd5b82016101208185031215613f0a575f80fd5b613f12612a6a565b81516001600160401b03811115613f27575f80fd5b613f33868285016134e6565b825250602082810151908201526040808301519082015260608083015190820152613f6060808301613474565b6080820152613f7160a08301613474565b60a0820152613f8260c08301613787565b60c0820152613f9360e08301613787565b60e08201526101008201516001600160401b03811115613fb1575f80fd5b613fbd868285016134e6565b61010083015250949350505050565b5f610240828403128015613fde575f80fd5b50613fe7612b16565b613ff08361341f565b8152613ffe6020840161341f565b602082015261400f6040840161341f565b60408201526140206060840161341f565b60608201526140316080840161341f565b608082015261404260a0840161341f565b60a082015261405360c0840161341f565b60c082015261406460e0840161341f565b60e0820152614076610100840161341f565b610100820152614089610120840161341f565b61012082015261409c610140840161341f565b6101408201526140af610160840161341f565b6101608201526140c2610180840161341f565b6101808201526140d56101a0840161341f565b6101a08201526140e86101c0840161341f565b6101c08201526140fb6101e0840161341f565b6101e082015261410e610200840161341f565b610200820152614121610220840161341f565b6102208201529392505050565b5f6020828403121561413e575f80fd5b81516001600160401b03811115614153575f80fd5b82016101008185031215614165575f80fd5b61416d612b39565b6141768261341f565b815260208201516001600160401b03811115614190575f80fd5b61419c868285016134e6565b6020830152506141ae6040830161341f565b604082015260608201516001600160401b038111156141cb575f80fd5b6141d7868285016134e6565b60608301525060808201516001600160401b038111156141f5575f80fd5b614201868285016134e6565b60808301525061421360a0830161367f565b60a082015261422460c0830161367f565b60c082015261423560e08301613787565b60e082015294935050505056fea26469706673582212200b0c8ab9bb9a6ad39d4d5376ce20500663933a0e10328995fdd363ca1b34913a64736f6c634300081a0033",
1180
1520
  "linkReferences": {
1181
- "contracts/types/DistributorType.sol": {
1521
+ "contracts/type/Amount.sol": {
1522
+ "AmountLib": [
1523
+ {
1524
+ "length": 20,
1525
+ "start": 9500
1526
+ }
1527
+ ]
1528
+ },
1529
+ "contracts/type/ClaimId.sol": {
1530
+ "ClaimIdLib": [
1531
+ {
1532
+ "length": 20,
1533
+ "start": 5745
1534
+ },
1535
+ {
1536
+ "length": 20,
1537
+ "start": 6830
1538
+ }
1539
+ ]
1540
+ },
1541
+ "contracts/type/DistributorType.sol": {
1182
1542
  "DistributorTypeLib": [
1183
1543
  {
1184
1544
  "length": 20,
1185
- "start": 6459
1545
+ "start": 8323
1186
1546
  }
1187
1547
  ]
1188
1548
  },
1189
- "contracts/types/NftId.sol": {
1549
+ "contracts/type/NftId.sol": {
1190
1550
  "NftIdLib": [
1191
1551
  {
1192
1552
  "length": 20,
1193
- "start": 289
1553
+ "start": 3180
1194
1554
  },
1195
1555
  {
1196
1556
  "length": 20,
1197
- "start": 3362
1557
+ "start": 3331
1198
1558
  },
1199
1559
  {
1200
1560
  "length": 20,
1201
- "start": 3702
1561
+ "start": 4051
1202
1562
  },
1203
1563
  {
1204
1564
  "length": 20,
1205
- "start": 4263
1565
+ "start": 4552
1206
1566
  },
1207
1567
  {
1208
1568
  "length": 20,
1209
- "start": 4308
1569
+ "start": 5090
1210
1570
  },
1211
1571
  {
1212
1572
  "length": 20,
1213
- "start": 4353
1573
+ "start": 5782
1214
1574
  },
1215
1575
  {
1216
1576
  "length": 20,
1217
- "start": 6686
1577
+ "start": 5947
1218
1578
  },
1219
1579
  {
1220
1580
  "length": 20,
1221
- "start": 6941
1581
+ "start": 8543
1582
+ },
1583
+ {
1584
+ "length": 20,
1585
+ "start": 9085
1586
+ }
1587
+ ]
1588
+ },
1589
+ "contracts/type/PayoutId.sol": {
1590
+ "PayoutIdLib": [
1591
+ {
1592
+ "length": 20,
1593
+ "start": 3475
1222
1594
  },
1223
1595
  {
1224
1596
  "length": 20,
1225
- "start": 7522
1597
+ "start": 4363
1226
1598
  }
1227
1599
  ]
1228
1600
  },
1229
- "contracts/types/Referral.sol": {
1601
+ "contracts/type/Referral.sol": {
1230
1602
  "ReferralLib": [
1231
1603
  {
1232
1604
  "length": 20,
1233
- "start": 3122
1605
+ "start": 2492
1234
1606
  },
1235
1607
  {
1236
1608
  "length": 20,
1237
- "start": 3761
1609
+ "start": 3724
1610
+ }
1611
+ ]
1612
+ },
1613
+ "contracts/type/RequestId.sol": {
1614
+ "RequestIdLib": [
1615
+ {
1616
+ "length": 20,
1617
+ "start": 9243
1238
1618
  }
1239
1619
  ]
1240
1620
  },
1241
- "contracts/types/RiskId.sol": {
1621
+ "contracts/type/RiskId.sol": {
1242
1622
  "RiskIdLib": [
1243
1623
  {
1244
1624
  "length": 20,
1245
- "start": 4468
1625
+ "start": 6106
1246
1626
  }
1247
1627
  ]
1248
1628
  },
1249
- "contracts/types/Timestamp.sol": {
1629
+ "contracts/type/Timestamp.sol": {
1250
1630
  "TimestampLib": [
1251
1631
  {
1252
1632
  "length": 20,
1253
- "start": 5396
1633
+ "start": 5230
1634
+ },
1635
+ {
1636
+ "length": 20,
1637
+ "start": 5370
1638
+ },
1639
+ {
1640
+ "length": 20,
1641
+ "start": 5536
1642
+ },
1643
+ {
1644
+ "length": 20,
1645
+ "start": 7096
1254
1646
  },
1255
1647
  {
1256
1648
  "length": 20,
1257
- "start": 5627
1649
+ "start": 7323
1258
1650
  }
1259
1651
  ]
1260
1652
  },
1261
- "contracts/types/UFixed.sol": {
1653
+ "contracts/type/UFixed.sol": {
1262
1654
  "UFixedLib": [
1263
1655
  {
1264
1656
  "length": 20,
1265
- "start": 2910
1657
+ "start": 2293
1266
1658
  },
1267
1659
  {
1268
1660
  "length": 20,
1269
- "start": 3893
1661
+ "start": 3853
1270
1662
  },
1271
1663
  {
1272
1664
  "length": 20,
1273
- "start": 5497
1665
+ "start": 7195
1274
1666
  },
1275
1667
  {
1276
1668
  "length": 20,
1277
- "start": 5756
1669
+ "start": 7450
1278
1670
  },
1279
1671
  {
1280
1672
  "length": 20,
1281
- "start": 5899
1673
+ "start": 7591
1282
1674
  }
1283
1675
  ]
1284
1676
  }
1285
1677
  },
1286
1678
  "deployedLinkReferences": {
1287
- "contracts/types/DistributorType.sol": {
1679
+ "contracts/type/Amount.sol": {
1680
+ "AmountLib": [
1681
+ {
1682
+ "length": 20,
1683
+ "start": 9463
1684
+ }
1685
+ ]
1686
+ },
1687
+ "contracts/type/ClaimId.sol": {
1688
+ "ClaimIdLib": [
1689
+ {
1690
+ "length": 20,
1691
+ "start": 5708
1692
+ },
1693
+ {
1694
+ "length": 20,
1695
+ "start": 6793
1696
+ }
1697
+ ]
1698
+ },
1699
+ "contracts/type/DistributorType.sol": {
1288
1700
  "DistributorTypeLib": [
1289
1701
  {
1290
1702
  "length": 20,
1291
- "start": 4918
1703
+ "start": 8286
1292
1704
  }
1293
1705
  ]
1294
1706
  },
1295
- "contracts/types/NftId.sol": {
1707
+ "contracts/type/NftId.sol": {
1296
1708
  "NftIdLib": [
1297
1709
  {
1298
1710
  "length": 20,
1299
- "start": 1821
1711
+ "start": 3143
1712
+ },
1713
+ {
1714
+ "length": 20,
1715
+ "start": 3294
1716
+ },
1717
+ {
1718
+ "length": 20,
1719
+ "start": 4014
1300
1720
  },
1301
1721
  {
1302
1722
  "length": 20,
1303
- "start": 2161
1723
+ "start": 4515
1304
1724
  },
1305
1725
  {
1306
1726
  "length": 20,
1307
- "start": 2722
1727
+ "start": 5053
1308
1728
  },
1309
1729
  {
1310
1730
  "length": 20,
1311
- "start": 2767
1731
+ "start": 5745
1312
1732
  },
1313
1733
  {
1314
1734
  "length": 20,
1315
- "start": 2812
1735
+ "start": 5910
1316
1736
  },
1317
1737
  {
1318
1738
  "length": 20,
1319
- "start": 5145
1739
+ "start": 8506
1320
1740
  },
1321
1741
  {
1322
1742
  "length": 20,
1323
- "start": 5400
1743
+ "start": 9048
1744
+ }
1745
+ ]
1746
+ },
1747
+ "contracts/type/PayoutId.sol": {
1748
+ "PayoutIdLib": [
1749
+ {
1750
+ "length": 20,
1751
+ "start": 3438
1324
1752
  },
1325
1753
  {
1326
1754
  "length": 20,
1327
- "start": 5981
1755
+ "start": 4326
1328
1756
  }
1329
1757
  ]
1330
1758
  },
1331
- "contracts/types/Referral.sol": {
1759
+ "contracts/type/Referral.sol": {
1332
1760
  "ReferralLib": [
1333
1761
  {
1334
1762
  "length": 20,
1335
- "start": 1581
1763
+ "start": 2455
1336
1764
  },
1337
1765
  {
1338
1766
  "length": 20,
1339
- "start": 2220
1767
+ "start": 3687
1768
+ }
1769
+ ]
1770
+ },
1771
+ "contracts/type/RequestId.sol": {
1772
+ "RequestIdLib": [
1773
+ {
1774
+ "length": 20,
1775
+ "start": 9206
1340
1776
  }
1341
1777
  ]
1342
1778
  },
1343
- "contracts/types/RiskId.sol": {
1779
+ "contracts/type/RiskId.sol": {
1344
1780
  "RiskIdLib": [
1345
1781
  {
1346
1782
  "length": 20,
1347
- "start": 2927
1783
+ "start": 6069
1348
1784
  }
1349
1785
  ]
1350
1786
  },
1351
- "contracts/types/Timestamp.sol": {
1787
+ "contracts/type/Timestamp.sol": {
1352
1788
  "TimestampLib": [
1353
1789
  {
1354
1790
  "length": 20,
1355
- "start": 3855
1791
+ "start": 5193
1792
+ },
1793
+ {
1794
+ "length": 20,
1795
+ "start": 5333
1796
+ },
1797
+ {
1798
+ "length": 20,
1799
+ "start": 5499
1800
+ },
1801
+ {
1802
+ "length": 20,
1803
+ "start": 7059
1356
1804
  },
1357
1805
  {
1358
1806
  "length": 20,
1359
- "start": 4086
1807
+ "start": 7286
1360
1808
  }
1361
1809
  ]
1362
1810
  },
1363
- "contracts/types/UFixed.sol": {
1811
+ "contracts/type/UFixed.sol": {
1364
1812
  "UFixedLib": [
1365
1813
  {
1366
1814
  "length": 20,
1367
- "start": 1369
1815
+ "start": 2256
1368
1816
  },
1369
1817
  {
1370
1818
  "length": 20,
1371
- "start": 2352
1819
+ "start": 3816
1372
1820
  },
1373
1821
  {
1374
1822
  "length": 20,
1375
- "start": 3956
1823
+ "start": 7158
1376
1824
  },
1377
1825
  {
1378
1826
  "length": 20,
1379
- "start": 4215
1827
+ "start": 7413
1380
1828
  },
1381
1829
  {
1382
1830
  "length": 20,
1383
- "start": 4358
1831
+ "start": 7554
1384
1832
  }
1385
1833
  ]
1386
1834
  }