@etherisc/gif-next 0.0.2-b5e5146-738 → 0.0.2-b62165c-823

Sign up to get free protection for your applications and to get access to all the features.
Files changed (678) hide show
  1. package/README.md +59 -18
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1500 -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 +1170 -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/{components/Distribution.sol/Distribution.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +343 -275
  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 +237 -1565
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +389 -197
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +442 -2597
  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 +858 -408
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +549 -338
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +369 -108
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3712 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1137 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +776 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  87. package/artifacts/contracts/{components/Pool.sol/Pool.json → oracle/Oracle.sol/Oracle.json} +452 -439
  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 +1406 -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/{instance/service → pool}/IBundleService.sol/IBundleService.json +457 -265
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +417 -312
  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 +1192 -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/{components/IProductComponent.sol/IProductComponent.json → product/BasicProduct.sol/BasicProduct.json} +736 -230
  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 +1331 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +216 -230
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  127. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +788 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +337 -308
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  131. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +270 -215
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +371 -361
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IProductService.sol/IProductService.json} +126 -167
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1239 -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 +1212 -0
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  151. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +205 -19
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +226 -267
  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 +467 -35
  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 +506 -254
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +352 -95
  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 +349 -82
  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/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +178 -242
  182. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  183. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → shared/IComponent.sol/IComponent.json} +206 -249
  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/{components/Component.sol/Component.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +242 -187
  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 -30
  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 +84 -154
  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 +951 -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 +108 -35
  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 +131 -60
  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 +188 -157
  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 +1412 -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 +1941 -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 +576 -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 +222 -0
  282. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  284. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  286. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  287. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  288. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  290. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  292. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  294. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  296. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  298. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  300. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  301. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  302. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  303. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  304. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  305. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  306. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  307. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  308. package/contracts/authorization/AccessAdmin.sol +591 -0
  309. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  310. package/contracts/authorization/Authorization.sol +217 -0
  311. package/contracts/authorization/IAccess.sol +48 -0
  312. package/contracts/authorization/IAccessAdmin.sol +136 -0
  313. package/contracts/authorization/IAuthorization.sol +54 -0
  314. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  315. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  316. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  317. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  318. package/contracts/distribution/BasicDistribution.sol +138 -0
  319. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  320. package/contracts/distribution/Distribution.sol +295 -0
  321. package/contracts/distribution/DistributionService.sol +336 -0
  322. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  323. package/contracts/distribution/IDistributionComponent.sol +52 -0
  324. package/contracts/distribution/IDistributionService.sol +101 -0
  325. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +33 -32
  326. package/contracts/instance/IInstance.sol +61 -47
  327. package/contracts/instance/IInstanceService.sol +73 -21
  328. package/contracts/instance/Instance.sol +178 -193
  329. package/contracts/instance/InstanceAdmin.sol +285 -0
  330. package/contracts/instance/InstanceAuthorizationV3.sol +203 -0
  331. package/contracts/instance/InstanceReader.sol +194 -65
  332. package/contracts/instance/InstanceService.sol +353 -258
  333. package/contracts/instance/InstanceServiceManager.sol +13 -27
  334. package/contracts/instance/InstanceStore.sol +291 -0
  335. package/contracts/instance/base/BalanceStore.sol +123 -0
  336. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  337. package/contracts/instance/base/ObjectCounter.sol +21 -0
  338. package/contracts/instance/base/ObjectLifecycle.sol +110 -0
  339. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
  340. package/contracts/instance/module/IAccess.sol +19 -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 +56 -17
  345. package/contracts/instance/module/IRisk.sol +1 -1
  346. package/contracts/{test/TestToken.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 +166 -0
  353. package/contracts/oracle/OracleService.sol +278 -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 +52 -0
  368. package/contracts/product/BasicProductAuthorization.sol +43 -0
  369. package/contracts/product/ClaimService.sol +416 -0
  370. package/contracts/product/ClaimServiceManager.sol +38 -0
  371. package/contracts/product/IApplicationService.sol +63 -0
  372. package/contracts/product/IClaimService.sol +100 -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/IProductService.sol +34 -0
  377. package/contracts/product/PolicyService.sol +576 -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 +406 -0
  382. package/contracts/product/ProductService.sol +99 -0
  383. package/contracts/product/ProductServiceManager.sol +39 -0
  384. package/contracts/registry/ChainNft.sol +16 -1
  385. package/contracts/registry/IRegistry.sol +62 -26
  386. package/contracts/registry/IRegistryService.sol +47 -43
  387. package/contracts/registry/ITransferInterceptor.sol +1 -0
  388. package/contracts/registry/Registry.sol +264 -140
  389. package/contracts/registry/RegistryAdmin.sol +374 -0
  390. package/contracts/registry/RegistryService.sol +105 -115
  391. package/contracts/registry/RegistryServiceManager.sol +24 -33
  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 +263 -60
  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 +56 -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 +3 -3
  408. package/contracts/shared/IRegistryLinked.sol +11 -0
  409. package/contracts/shared/IService.sol +15 -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 -91
  417. package/contracts/shared/PolicyHolder.sol +99 -0
  418. package/contracts/shared/Registerable.sol +19 -30
  419. package/contracts/shared/RegistryLinked.sol +43 -0
  420. package/contracts/shared/Service.sol +54 -32
  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 +207 -0
  434. package/contracts/{types → type}/AddressSet.sol +1 -1
  435. package/contracts/type/Amount.sol +135 -0
  436. package/contracts/{types → type}/Blocknumber.sol +27 -3
  437. package/contracts/type/ClaimId.sol +75 -0
  438. package/contracts/{types → type}/DistributorType.sol +2 -2
  439. package/contracts/{types → type}/Fee.sol +33 -23
  440. package/contracts/{types → type}/NftId.sol +21 -15
  441. package/contracts/{types → type}/NftIdSet.sol +2 -2
  442. package/contracts/type/ObjectType.sol +275 -0
  443. package/contracts/type/PayoutId.sol +82 -0
  444. package/contracts/{types → type}/Referral.sol +6 -1
  445. package/contracts/type/RequestId.sol +75 -0
  446. package/contracts/{types → type}/RiskId.sol +1 -1
  447. package/contracts/type/RoleId.sol +174 -0
  448. package/contracts/type/Seconds.sol +93 -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/Component.sol/Component.dbg.json +0 -4
  461. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  462. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  463. package/artifacts/contracts/components/IComponent.sol/IComponent.json +0 -455
  464. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  465. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  466. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  467. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  468. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  469. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  470. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  471. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  472. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  473. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  474. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  475. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  476. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  477. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  478. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  479. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  480. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  481. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  482. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  483. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  484. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  485. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  486. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  487. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  488. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  489. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  490. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  491. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  492. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  493. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  494. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  495. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  496. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  497. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  498. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  499. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  500. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  501. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  502. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  503. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  504. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  505. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  506. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  507. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  508. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
  509. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  510. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  511. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1034
  512. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  513. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  514. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  515. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  516. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  517. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  518. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  519. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  520. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  521. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  522. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  523. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  524. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1102
  525. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  526. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -449
  527. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  528. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -772
  529. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  530. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -437
  531. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  532. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  533. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  534. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  535. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  536. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  537. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1227
  538. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  539. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -505
  540. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  541. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -806
  542. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  543. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -437
  544. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  545. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -856
  546. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  547. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -437
  548. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  549. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  550. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  551. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  552. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  553. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  554. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  555. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  556. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  557. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  558. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  559. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -362
  560. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  561. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  562. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  563. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  564. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  565. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  566. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  567. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -313
  568. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  570. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -608
  572. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  573. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  574. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  575. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  576. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  577. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  578. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  579. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  580. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  581. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  582. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  584. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  586. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  588. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  590. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  591. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  592. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  593. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  594. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  595. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  596. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  598. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  599. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  600. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  601. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  602. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  603. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  604. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  605. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  606. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  607. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  609. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  611. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  613. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  614. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  615. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  616. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  617. package/contracts/components/Component.sol +0 -237
  618. package/contracts/components/Distribution.sol +0 -150
  619. package/contracts/components/IComponent.sol +0 -43
  620. package/contracts/components/IDistributionComponent.sol +0 -47
  621. package/contracts/components/IPoolComponent.sol +0 -70
  622. package/contracts/components/IProductComponent.sol +0 -39
  623. package/contracts/components/Pool.sol +0 -248
  624. package/contracts/components/Product.sol +0 -265
  625. package/contracts/experiment/cloning/Cloner.sol +0 -47
  626. package/contracts/experiment/errors/Require.sol +0 -38
  627. package/contracts/experiment/errors/Revert.sol +0 -44
  628. package/contracts/experiment/inheritance/A.sol +0 -53
  629. package/contracts/experiment/inheritance/B.sol +0 -28
  630. package/contracts/experiment/inheritance/C.sol +0 -34
  631. package/contracts/experiment/inheritance/IA.sol +0 -13
  632. package/contracts/experiment/inheritance/IB.sol +0 -10
  633. package/contracts/experiment/inheritance/IC.sol +0 -12
  634. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  635. package/contracts/experiment/statemachine/ISM.sol +0 -25
  636. package/contracts/experiment/statemachine/SM.sol +0 -57
  637. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  638. package/contracts/experiment/types/TypeA.sol +0 -47
  639. package/contracts/experiment/types/TypeB.sol +0 -29
  640. package/contracts/instance/InstanceAccessManager.sol +0 -298
  641. package/contracts/instance/base/ComponentService.sol +0 -134
  642. package/contracts/instance/base/KeyValueStore.sol +0 -172
  643. package/contracts/instance/base/Lifecycle.sol +0 -100
  644. package/contracts/instance/module/ISetup.sol +0 -46
  645. package/contracts/instance/module/ITreasury.sol +0 -23
  646. package/contracts/instance/service/BundleService.sol +0 -293
  647. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  648. package/contracts/instance/service/DistributionService.sol +0 -105
  649. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  650. package/contracts/instance/service/IBundleService.sol +0 -44
  651. package/contracts/instance/service/IDistributionService.sol +0 -12
  652. package/contracts/instance/service/IPolicyService.sol +0 -94
  653. package/contracts/instance/service/IPoolService.sol +0 -20
  654. package/contracts/instance/service/IProductService.sol +0 -40
  655. package/contracts/instance/service/PolicyService.sol +0 -538
  656. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  657. package/contracts/instance/service/PoolService.sol +0 -109
  658. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  659. package/contracts/instance/service/ProductService.sol +0 -232
  660. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  661. package/contracts/registry/RegistryAccessManager.sol +0 -216
  662. package/contracts/registry/ReleaseManager.sol +0 -332
  663. package/contracts/shared/ContractDeployerLib.sol +0 -72
  664. package/contracts/shared/ERC165.sol +0 -25
  665. package/contracts/shared/ProxyManager.sol +0 -94
  666. package/contracts/shared/Versionable.sol +0 -147
  667. package/contracts/test/TestFee.sol +0 -25
  668. package/contracts/test/TestRegisterable.sol +0 -18
  669. package/contracts/test/TestRoleId.sol +0 -14
  670. package/contracts/test/TestService.sol +0 -25
  671. package/contracts/test/TestVersion.sol +0 -44
  672. package/contracts/test/TestVersionable.sol +0 -17
  673. package/contracts/test/Usdc.sol +0 -26
  674. package/contracts/types/ChainId.sol +0 -38
  675. package/contracts/types/NumberId.sol +0 -52
  676. package/contracts/types/ObjectType.sol +0 -152
  677. package/contracts/types/RoleId.sol +0 -90
  678. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,6 +3,35 @@
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
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBalanceAmount",
25
+ "outputs": [
26
+ {
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
6
35
  {
7
36
  "inputs": [
8
37
  {
@@ -43,24 +72,9 @@
43
72
  "type": "bytes"
44
73
  },
45
74
  {
46
- "internalType": "uint256",
47
- "name": "capitalAmount",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "lockedAmount",
53
- "type": "uint256"
54
- },
55
- {
56
- "internalType": "uint256",
57
- "name": "balanceAmount",
58
- "type": "uint256"
59
- },
60
- {
61
- "internalType": "uint256",
62
- "name": "lifetime",
63
- "type": "uint256"
75
+ "internalType": "Timestamp",
76
+ "name": "activatedAt",
77
+ "type": "uint40"
64
78
  },
65
79
  {
66
80
  "internalType": "Timestamp",
@@ -84,21 +98,101 @@
84
98
  {
85
99
  "inputs": [
86
100
  {
87
- "internalType": "ReferralId",
88
- "name": "referralId",
89
- "type": "bytes8"
101
+ "internalType": "NftId",
102
+ "name": "bundleNftId",
103
+ "type": "uint96"
90
104
  }
91
105
  ],
92
- "name": "getDiscountPercentage",
106
+ "name": "getBundleState",
93
107
  "outputs": [
94
108
  {
95
- "internalType": "UFixed",
96
- "name": "discountPercentage",
97
- "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"
98
123
  },
99
124
  {
100
- "internalType": "ReferralStatus",
101
- "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",
102
196
  "type": "uint8"
103
197
  }
104
198
  ],
@@ -109,53 +203,46 @@
109
203
  "inputs": [
110
204
  {
111
205
  "internalType": "NftId",
112
- "name": "distributionNftId",
206
+ "name": "componentNftId",
113
207
  "type": "uint96"
114
208
  }
115
209
  ],
116
- "name": "getDistributionSetupInfo",
210
+ "name": "getComponentInfo",
117
211
  "outputs": [
118
212
  {
119
213
  "components": [
214
+ {
215
+ "internalType": "string",
216
+ "name": "name",
217
+ "type": "string"
218
+ },
120
219
  {
121
220
  "internalType": "NftId",
122
221
  "name": "productNftId",
123
222
  "type": "uint96"
124
223
  },
125
224
  {
126
- "internalType": "contract TokenHandler",
127
- "name": "tokenHandler",
225
+ "internalType": "contract IERC20Metadata",
226
+ "name": "token",
128
227
  "type": "address"
129
228
  },
130
229
  {
131
- "components": [
132
- {
133
- "internalType": "UFixed",
134
- "name": "fractionalFee",
135
- "type": "uint256"
136
- },
137
- {
138
- "internalType": "uint256",
139
- "name": "fixedFee",
140
- "type": "uint256"
141
- }
142
- ],
143
- "internalType": "struct Fee",
144
- "name": "distributionFee",
145
- "type": "tuple"
146
- },
147
- {
148
- "internalType": "bool",
149
- "name": "isIntercepting",
150
- "type": "bool"
230
+ "internalType": "contract TokenHandler",
231
+ "name": "tokenHandler",
232
+ "type": "address"
151
233
  },
152
234
  {
153
235
  "internalType": "address",
154
236
  "name": "wallet",
155
237
  "type": "address"
238
+ },
239
+ {
240
+ "internalType": "bytes",
241
+ "name": "data",
242
+ "type": "bytes"
156
243
  }
157
244
  ],
158
- "internalType": "struct ISetup.DistributionSetupInfo",
245
+ "internalType": "struct IComponents.ComponentInfo",
159
246
  "name": "info",
160
247
  "type": "tuple"
161
248
  }
@@ -163,6 +250,30 @@
163
250
  "stateMutability": "view",
164
251
  "type": "function"
165
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
+ },
166
277
  {
167
278
  "inputs": [
168
279
  {
@@ -189,6 +300,11 @@
189
300
  "internalType": "bytes",
190
301
  "name": "data",
191
302
  "type": "bytes"
303
+ },
304
+ {
305
+ "internalType": "uint32",
306
+ "name": "numPoliciesSold",
307
+ "type": "uint32"
192
308
  }
193
309
  ],
194
310
  "internalType": "struct IDistribution.DistributorInfo",
@@ -265,6 +381,25 @@
265
381
  "stateMutability": "view",
266
382
  "type": "function"
267
383
  },
384
+ {
385
+ "inputs": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "targetNftId",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "name": "getFeeAmount",
393
+ "outputs": [
394
+ {
395
+ "internalType": "Amount",
396
+ "name": "",
397
+ "type": "uint96"
398
+ }
399
+ ],
400
+ "stateMutability": "view",
401
+ "type": "function"
402
+ },
268
403
  {
269
404
  "inputs": [],
270
405
  "name": "getInstance",
@@ -291,6 +426,25 @@
291
426
  "stateMutability": "view",
292
427
  "type": "function"
293
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
+ },
294
448
  {
295
449
  "inputs": [
296
450
  {
@@ -313,11 +467,6 @@
313
467
  "name": "state",
314
468
  "type": "uint8"
315
469
  },
316
- {
317
- "internalType": "address",
318
- "name": "updatedBy",
319
- "type": "address"
320
- },
321
470
  {
322
471
  "internalType": "Blocknumber",
323
472
  "name": "updatedIn",
@@ -343,60 +492,130 @@
343
492
  "internalType": "NftId",
344
493
  "name": "policyNftId",
345
494
  "type": "uint96"
495
+ },
496
+ {
497
+ "internalType": "PayoutId",
498
+ "name": "payoutId",
499
+ "type": "uint24"
346
500
  }
347
501
  ],
348
- "name": "getPolicyInfo",
502
+ "name": "getPayoutInfo",
349
503
  "outputs": [
350
504
  {
351
505
  "components": [
352
506
  {
353
- "internalType": "NftId",
354
- "name": "productNftId",
355
- "type": "uint96"
507
+ "internalType": "ClaimId",
508
+ "name": "claimId",
509
+ "type": "uint16"
356
510
  },
357
511
  {
358
- "internalType": "NftId",
359
- "name": "bundleNftId",
512
+ "internalType": "Amount",
513
+ "name": "amount",
360
514
  "type": "uint96"
361
515
  },
362
- {
363
- "internalType": "ReferralId",
364
- "name": "referralId",
365
- "type": "bytes8"
366
- },
367
- {
368
- "internalType": "RiskId",
369
- "name": "riskId",
370
- "type": "bytes8"
371
- },
372
- {
373
- "internalType": "uint256",
374
- "name": "sumInsuredAmount",
375
- "type": "uint256"
376
- },
377
- {
378
- "internalType": "uint256",
379
- "name": "premiumAmount",
380
- "type": "uint256"
381
- },
382
- {
383
- "internalType": "uint256",
384
- "name": "premiumPaidAmount",
385
- "type": "uint256"
386
- },
387
- {
388
- "internalType": "uint256",
389
- "name": "lifetime",
390
- "type": "uint256"
391
- },
392
- {
393
- "internalType": "bytes",
394
- "name": "applicationData",
395
- "type": "bytes"
396
- },
397
516
  {
398
517
  "internalType": "bytes",
399
- "name": "policyData",
518
+ "name": "data",
519
+ "type": "bytes"
520
+ },
521
+ {
522
+ "internalType": "Timestamp",
523
+ "name": "paidAt",
524
+ "type": "uint40"
525
+ }
526
+ ],
527
+ "internalType": "struct IPolicy.PayoutInfo",
528
+ "name": "info",
529
+ "type": "tuple"
530
+ }
531
+ ],
532
+ "stateMutability": "view",
533
+ "type": "function"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "NftId",
539
+ "name": "policyNftId",
540
+ "type": "uint96"
541
+ },
542
+ {
543
+ "internalType": "PayoutId",
544
+ "name": "payoutId",
545
+ "type": "uint24"
546
+ }
547
+ ],
548
+ "name": "getPayoutState",
549
+ "outputs": [
550
+ {
551
+ "internalType": "StateId",
552
+ "name": "state",
553
+ "type": "uint8"
554
+ }
555
+ ],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "policyNftId",
564
+ "type": "uint96"
565
+ }
566
+ ],
567
+ "name": "getPolicyInfo",
568
+ "outputs": [
569
+ {
570
+ "components": [
571
+ {
572
+ "internalType": "NftId",
573
+ "name": "productNftId",
574
+ "type": "uint96"
575
+ },
576
+ {
577
+ "internalType": "NftId",
578
+ "name": "bundleNftId",
579
+ "type": "uint96"
580
+ },
581
+ {
582
+ "internalType": "ReferralId",
583
+ "name": "referralId",
584
+ "type": "bytes8"
585
+ },
586
+ {
587
+ "internalType": "RiskId",
588
+ "name": "riskId",
589
+ "type": "bytes8"
590
+ },
591
+ {
592
+ "internalType": "Amount",
593
+ "name": "sumInsuredAmount",
594
+ "type": "uint96"
595
+ },
596
+ {
597
+ "internalType": "Amount",
598
+ "name": "premiumAmount",
599
+ "type": "uint96"
600
+ },
601
+ {
602
+ "internalType": "Amount",
603
+ "name": "premiumPaidAmount",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "internalType": "Seconds",
608
+ "name": "lifetime",
609
+ "type": "uint40"
610
+ },
611
+ {
612
+ "internalType": "bytes",
613
+ "name": "applicationData",
614
+ "type": "bytes"
615
+ },
616
+ {
617
+ "internalType": "bytes",
618
+ "name": "processData",
400
619
  "type": "bytes"
401
620
  },
402
621
  {
@@ -410,9 +629,14 @@
410
629
  "type": "uint16"
411
630
  },
412
631
  {
413
- "internalType": "uint256",
632
+ "internalType": "Amount",
633
+ "name": "claimAmount",
634
+ "type": "uint96"
635
+ },
636
+ {
637
+ "internalType": "Amount",
414
638
  "name": "payoutAmount",
415
- "type": "uint256"
639
+ "type": "uint96"
416
640
  },
417
641
  {
418
642
  "internalType": "Timestamp",
@@ -465,19 +689,34 @@
465
689
  "type": "uint96"
466
690
  }
467
691
  ],
468
- "name": "getPoolSetupInfo",
692
+ "name": "getPoolInfo",
469
693
  "outputs": [
470
694
  {
471
695
  "components": [
472
696
  {
473
- "internalType": "NftId",
474
- "name": "productNftId",
697
+ "internalType": "RoleId",
698
+ "name": "bundleOwnerRole",
699
+ "type": "uint64"
700
+ },
701
+ {
702
+ "internalType": "Amount",
703
+ "name": "maxBalanceAmount",
475
704
  "type": "uint96"
476
705
  },
477
706
  {
478
- "internalType": "contract TokenHandler",
479
- "name": "tokenHandler",
480
- "type": "address"
707
+ "internalType": "bool",
708
+ "name": "isInterceptingBundleTransfers",
709
+ "type": "bool"
710
+ },
711
+ {
712
+ "internalType": "bool",
713
+ "name": "isExternallyManaged",
714
+ "type": "bool"
715
+ },
716
+ {
717
+ "internalType": "bool",
718
+ "name": "isVerifyingApplications",
719
+ "type": "bool"
481
720
  },
482
721
  {
483
722
  "internalType": "UFixed",
@@ -485,73 +724,123 @@
485
724
  "type": "uint256"
486
725
  },
487
726
  {
488
- "components": [
489
- {
490
- "internalType": "UFixed",
491
- "name": "fractionalFee",
492
- "type": "uint256"
493
- },
494
- {
495
- "internalType": "uint256",
496
- "name": "fixedFee",
497
- "type": "uint256"
498
- }
499
- ],
500
- "internalType": "struct Fee",
501
- "name": "poolFee",
502
- "type": "tuple"
727
+ "internalType": "UFixed",
728
+ "name": "retentionLevel",
729
+ "type": "uint256"
730
+ }
731
+ ],
732
+ "internalType": "struct IComponents.PoolInfo",
733
+ "name": "info",
734
+ "type": "tuple"
735
+ }
736
+ ],
737
+ "stateMutability": "view",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [
742
+ {
743
+ "internalType": "NftId",
744
+ "name": "policyNftId",
745
+ "type": "uint96"
746
+ }
747
+ ],
748
+ "name": "getPremiumInfo",
749
+ "outputs": [
750
+ {
751
+ "components": [
752
+ {
753
+ "internalType": "Amount",
754
+ "name": "productFeeAmount",
755
+ "type": "uint96"
503
756
  },
504
757
  {
505
- "components": [
506
- {
507
- "internalType": "UFixed",
508
- "name": "fractionalFee",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "uint256",
513
- "name": "fixedFee",
514
- "type": "uint256"
515
- }
516
- ],
517
- "internalType": "struct Fee",
518
- "name": "stakingFee",
519
- "type": "tuple"
758
+ "internalType": "Amount",
759
+ "name": "distributionFeeAndCommissionAmount",
760
+ "type": "uint96"
520
761
  },
521
762
  {
522
- "components": [
523
- {
524
- "internalType": "UFixed",
525
- "name": "fractionalFee",
526
- "type": "uint256"
527
- },
528
- {
529
- "internalType": "uint256",
530
- "name": "fixedFee",
531
- "type": "uint256"
532
- }
533
- ],
534
- "internalType": "struct Fee",
535
- "name": "performanceFee",
536
- "type": "tuple"
763
+ "internalType": "Amount",
764
+ "name": "poolPremiumAndFeeAmount",
765
+ "type": "uint96"
537
766
  },
538
767
  {
539
- "internalType": "bool",
540
- "name": "isIntercepting",
541
- "type": "bool"
768
+ "internalType": "Amount",
769
+ "name": "netPremiumAmount",
770
+ "type": "uint96"
542
771
  },
543
772
  {
544
- "internalType": "bool",
545
- "name": "isConfirmingApplication",
546
- "type": "bool"
773
+ "internalType": "Amount",
774
+ "name": "fullPremiumAmount",
775
+ "type": "uint96"
547
776
  },
548
777
  {
549
- "internalType": "address",
550
- "name": "wallet",
551
- "type": "address"
778
+ "internalType": "Amount",
779
+ "name": "premiumAmount",
780
+ "type": "uint96"
781
+ },
782
+ {
783
+ "internalType": "Amount",
784
+ "name": "productFeeFixAmount",
785
+ "type": "uint96"
786
+ },
787
+ {
788
+ "internalType": "Amount",
789
+ "name": "poolFeeFixAmount",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "Amount",
794
+ "name": "bundleFeeFixAmount",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "internalType": "Amount",
799
+ "name": "distributionFeeFixAmount",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "Amount",
804
+ "name": "productFeeVarAmount",
805
+ "type": "uint96"
806
+ },
807
+ {
808
+ "internalType": "Amount",
809
+ "name": "poolFeeVarAmount",
810
+ "type": "uint96"
811
+ },
812
+ {
813
+ "internalType": "Amount",
814
+ "name": "bundleFeeVarAmount",
815
+ "type": "uint96"
816
+ },
817
+ {
818
+ "internalType": "Amount",
819
+ "name": "distributionFeeVarAmount",
820
+ "type": "uint96"
821
+ },
822
+ {
823
+ "internalType": "Amount",
824
+ "name": "distributionOwnerFeeFixAmount",
825
+ "type": "uint96"
826
+ },
827
+ {
828
+ "internalType": "Amount",
829
+ "name": "distributionOwnerFeeVarAmount",
830
+ "type": "uint96"
831
+ },
832
+ {
833
+ "internalType": "Amount",
834
+ "name": "commissionAmount",
835
+ "type": "uint96"
836
+ },
837
+ {
838
+ "internalType": "Amount",
839
+ "name": "discountAmount",
840
+ "type": "uint96"
552
841
  }
553
842
  ],
554
- "internalType": "struct ISetup.PoolSetupInfo",
843
+ "internalType": "struct IPolicy.PremiumInfo",
555
844
  "name": "info",
556
845
  "type": "tuple"
557
846
  }
@@ -567,20 +856,10 @@
567
856
  "type": "uint96"
568
857
  }
569
858
  ],
570
- "name": "getProductSetupInfo",
859
+ "name": "getProductInfo",
571
860
  "outputs": [
572
861
  {
573
862
  "components": [
574
- {
575
- "internalType": "contract IERC20Metadata",
576
- "name": "token",
577
- "type": "address"
578
- },
579
- {
580
- "internalType": "contract TokenHandler",
581
- "name": "tokenHandler",
582
- "type": "address"
583
- },
584
863
  {
585
864
  "internalType": "NftId",
586
865
  "name": "distributionNftId",
@@ -605,7 +884,7 @@
605
884
  }
606
885
  ],
607
886
  "internalType": "struct Fee",
608
- "name": "distributionFee",
887
+ "name": "productFee",
609
888
  "type": "tuple"
610
889
  },
611
890
  {
@@ -622,7 +901,7 @@
622
901
  }
623
902
  ],
624
903
  "internalType": "struct Fee",
625
- "name": "productFee",
904
+ "name": "processingFee",
626
905
  "type": "tuple"
627
906
  },
628
907
  {
@@ -639,7 +918,24 @@
639
918
  }
640
919
  ],
641
920
  "internalType": "struct Fee",
642
- "name": "processingFee",
921
+ "name": "distributionFee",
922
+ "type": "tuple"
923
+ },
924
+ {
925
+ "components": [
926
+ {
927
+ "internalType": "UFixed",
928
+ "name": "fractionalFee",
929
+ "type": "uint256"
930
+ },
931
+ {
932
+ "internalType": "uint256",
933
+ "name": "fixedFee",
934
+ "type": "uint256"
935
+ }
936
+ ],
937
+ "internalType": "struct Fee",
938
+ "name": "minDistributionOwnerFee",
643
939
  "type": "tuple"
644
940
  },
645
941
  {
@@ -692,19 +988,9 @@
692
988
  "internalType": "struct Fee",
693
989
  "name": "performanceFee",
694
990
  "type": "tuple"
695
- },
696
- {
697
- "internalType": "bool",
698
- "name": "isIntercepting",
699
- "type": "bool"
700
- },
701
- {
702
- "internalType": "address",
703
- "name": "wallet",
704
- "type": "address"
705
991
  }
706
992
  ],
707
- "internalType": "struct ISetup.ProductSetupInfo",
993
+ "internalType": "struct IComponents.ProductInfo",
708
994
  "name": "info",
709
995
  "type": "tuple"
710
996
  }
@@ -771,28 +1057,58 @@
771
1057
  {
772
1058
  "inputs": [
773
1059
  {
774
- "internalType": "RiskId",
775
- "name": "riskId",
776
- "type": "bytes8"
1060
+ "internalType": "RequestId",
1061
+ "name": "requestId",
1062
+ "type": "uint64"
777
1063
  }
778
1064
  ],
779
- "name": "getRiskInfo",
1065
+ "name": "getRequestInfo",
780
1066
  "outputs": [
781
1067
  {
782
1068
  "components": [
783
1069
  {
784
1070
  "internalType": "NftId",
785
- "name": "productNftId",
1071
+ "name": "requesterNftId",
1072
+ "type": "uint96"
1073
+ },
1074
+ {
1075
+ "internalType": "string",
1076
+ "name": "callbackMethodName",
1077
+ "type": "string"
1078
+ },
1079
+ {
1080
+ "internalType": "NftId",
1081
+ "name": "oracleNftId",
786
1082
  "type": "uint96"
787
1083
  },
788
1084
  {
789
1085
  "internalType": "bytes",
790
- "name": "data",
1086
+ "name": "requestData",
791
1087
  "type": "bytes"
1088
+ },
1089
+ {
1090
+ "internalType": "bytes",
1091
+ "name": "responseData",
1092
+ "type": "bytes"
1093
+ },
1094
+ {
1095
+ "internalType": "Timestamp",
1096
+ "name": "respondedAt",
1097
+ "type": "uint40"
1098
+ },
1099
+ {
1100
+ "internalType": "Timestamp",
1101
+ "name": "expiredAt",
1102
+ "type": "uint40"
1103
+ },
1104
+ {
1105
+ "internalType": "bool",
1106
+ "name": "isCancelled",
1107
+ "type": "bool"
792
1108
  }
793
1109
  ],
794
- "internalType": "struct IRisk.RiskInfo",
795
- "name": "info",
1110
+ "internalType": "struct IOracle.RequestInfo",
1111
+ "name": "requestInfo",
796
1112
  "type": "tuple"
797
1113
  }
798
1114
  ],
@@ -802,158 +1118,27 @@
802
1118
  {
803
1119
  "inputs": [
804
1120
  {
805
- "internalType": "NftId",
806
- "name": "productNftId",
807
- "type": "uint96"
808
- }
809
- ],
810
- "name": "getTokenHandler",
811
- "outputs": [
812
- {
813
- "internalType": "address",
814
- "name": "tokenHandler",
815
- "type": "address"
816
- }
817
- ],
818
- "stateMutability": "view",
819
- "type": "function"
820
- },
821
- {
822
- "inputs": [
823
- {
824
- "internalType": "NftId",
825
- "name": "productNftId",
826
- "type": "uint96"
1121
+ "internalType": "RiskId",
1122
+ "name": "riskId",
1123
+ "type": "bytes8"
827
1124
  }
828
1125
  ],
829
- "name": "getTreasuryInfo",
1126
+ "name": "getRiskInfo",
830
1127
  "outputs": [
831
1128
  {
832
- "components": [
833
- {
834
- "internalType": "contract IERC20Metadata",
835
- "name": "token",
836
- "type": "address"
837
- },
838
- {
839
- "internalType": "contract TokenHandler",
840
- "name": "tokenHandler",
841
- "type": "address"
842
- },
843
- {
844
- "internalType": "NftId",
845
- "name": "distributionNftId",
846
- "type": "uint96"
847
- },
848
- {
849
- "internalType": "NftId",
850
- "name": "poolNftId",
851
- "type": "uint96"
852
- },
853
- {
854
- "components": [
855
- {
856
- "internalType": "UFixed",
857
- "name": "fractionalFee",
858
- "type": "uint256"
859
- },
860
- {
861
- "internalType": "uint256",
862
- "name": "fixedFee",
863
- "type": "uint256"
864
- }
865
- ],
866
- "internalType": "struct Fee",
867
- "name": "distributionFee",
868
- "type": "tuple"
869
- },
870
- {
871
- "components": [
872
- {
873
- "internalType": "UFixed",
874
- "name": "fractionalFee",
875
- "type": "uint256"
876
- },
877
- {
878
- "internalType": "uint256",
879
- "name": "fixedFee",
880
- "type": "uint256"
881
- }
882
- ],
883
- "internalType": "struct Fee",
884
- "name": "productFee",
885
- "type": "tuple"
886
- },
887
- {
888
- "components": [
889
- {
890
- "internalType": "UFixed",
891
- "name": "fractionalFee",
892
- "type": "uint256"
893
- },
894
- {
895
- "internalType": "uint256",
896
- "name": "fixedFee",
897
- "type": "uint256"
898
- }
899
- ],
900
- "internalType": "struct Fee",
901
- "name": "processingFee",
902
- "type": "tuple"
903
- },
904
- {
905
- "components": [
906
- {
907
- "internalType": "UFixed",
908
- "name": "fractionalFee",
909
- "type": "uint256"
910
- },
911
- {
912
- "internalType": "uint256",
913
- "name": "fixedFee",
914
- "type": "uint256"
915
- }
916
- ],
917
- "internalType": "struct Fee",
918
- "name": "poolFee",
919
- "type": "tuple"
920
- },
921
- {
922
- "components": [
923
- {
924
- "internalType": "UFixed",
925
- "name": "fractionalFee",
926
- "type": "uint256"
927
- },
928
- {
929
- "internalType": "uint256",
930
- "name": "fixedFee",
931
- "type": "uint256"
932
- }
933
- ],
934
- "internalType": "struct Fee",
935
- "name": "stakingFee",
936
- "type": "tuple"
1129
+ "components": [
1130
+ {
1131
+ "internalType": "NftId",
1132
+ "name": "productNftId",
1133
+ "type": "uint96"
937
1134
  },
938
1135
  {
939
- "components": [
940
- {
941
- "internalType": "UFixed",
942
- "name": "fractionalFee",
943
- "type": "uint256"
944
- },
945
- {
946
- "internalType": "uint256",
947
- "name": "fixedFee",
948
- "type": "uint256"
949
- }
950
- ],
951
- "internalType": "struct Fee",
952
- "name": "performanceFee",
953
- "type": "tuple"
1136
+ "internalType": "bytes",
1137
+ "name": "data",
1138
+ "type": "bytes"
954
1139
  }
955
1140
  ],
956
- "internalType": "struct ITreasury.TreasuryInfo",
1141
+ "internalType": "struct IRisk.RiskInfo",
957
1142
  "name": "info",
958
1143
  "type": "tuple"
959
1144
  }
@@ -961,24 +1146,150 @@
961
1146
  "stateMutability": "view",
962
1147
  "type": "function"
963
1148
  },
1149
+ {
1150
+ "inputs": [
1151
+ {
1152
+ "internalType": "Key32",
1153
+ "name": "key",
1154
+ "type": "bytes32"
1155
+ }
1156
+ ],
1157
+ "name": "getState",
1158
+ "outputs": [
1159
+ {
1160
+ "internalType": "StateId",
1161
+ "name": "state",
1162
+ "type": "uint8"
1163
+ }
1164
+ ],
1165
+ "stateMutability": "view",
1166
+ "type": "function"
1167
+ },
1168
+ {
1169
+ "inputs": [
1170
+ {
1171
+ "internalType": "NftId",
1172
+ "name": "componentNftId",
1173
+ "type": "uint96"
1174
+ }
1175
+ ],
1176
+ "name": "getTokenHandler",
1177
+ "outputs": [
1178
+ {
1179
+ "internalType": "address",
1180
+ "name": "tokenHandler",
1181
+ "type": "address"
1182
+ }
1183
+ ],
1184
+ "stateMutability": "view",
1185
+ "type": "function"
1186
+ },
964
1187
  {
965
1188
  "inputs": [
966
1189
  {
967
1190
  "internalType": "address",
968
- "name": "registry",
1191
+ "name": "account",
969
1192
  "type": "address"
970
1193
  },
1194
+ {
1195
+ "internalType": "RoleId",
1196
+ "name": "roleId",
1197
+ "type": "uint64"
1198
+ }
1199
+ ],
1200
+ "name": "hasAdminRole",
1201
+ "outputs": [
1202
+ {
1203
+ "internalType": "bool",
1204
+ "name": "isMember",
1205
+ "type": "bool"
1206
+ }
1207
+ ],
1208
+ "stateMutability": "view",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [
971
1213
  {
972
1214
  "internalType": "address",
973
- "name": "instance",
1215
+ "name": "account",
974
1216
  "type": "address"
1217
+ },
1218
+ {
1219
+ "internalType": "RoleId",
1220
+ "name": "roleId",
1221
+ "type": "uint64"
1222
+ }
1223
+ ],
1224
+ "name": "hasRole",
1225
+ "outputs": [
1226
+ {
1227
+ "internalType": "bool",
1228
+ "name": "isMember",
1229
+ "type": "bool"
975
1230
  }
976
1231
  ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [],
977
1237
  "name": "initialize",
978
1238
  "outputs": [],
979
1239
  "stateMutability": "nonpayable",
980
1240
  "type": "function"
981
1241
  },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "address",
1246
+ "name": "instanceAddress",
1247
+ "type": "address"
1248
+ }
1249
+ ],
1250
+ "name": "initializeWithInstance",
1251
+ "outputs": [],
1252
+ "stateMutability": "nonpayable",
1253
+ "type": "function"
1254
+ },
1255
+ {
1256
+ "inputs": [
1257
+ {
1258
+ "internalType": "address",
1259
+ "name": "target",
1260
+ "type": "address"
1261
+ }
1262
+ ],
1263
+ "name": "isTargetLocked",
1264
+ "outputs": [
1265
+ {
1266
+ "internalType": "bool",
1267
+ "name": "",
1268
+ "type": "bool"
1269
+ }
1270
+ ],
1271
+ "stateMutability": "view",
1272
+ "type": "function"
1273
+ },
1274
+ {
1275
+ "inputs": [
1276
+ {
1277
+ "internalType": "NftId",
1278
+ "name": "policyNftId",
1279
+ "type": "uint96"
1280
+ }
1281
+ ],
1282
+ "name": "policyIsCloseable",
1283
+ "outputs": [
1284
+ {
1285
+ "internalType": "bool",
1286
+ "name": "isCloseable",
1287
+ "type": "bool"
1288
+ }
1289
+ ],
1290
+ "stateMutability": "view",
1291
+ "type": "function"
1292
+ },
982
1293
  {
983
1294
  "inputs": [
984
1295
  {
@@ -998,6 +1309,25 @@
998
1309
  "stateMutability": "pure",
999
1310
  "type": "function"
1000
1311
  },
1312
+ {
1313
+ "inputs": [
1314
+ {
1315
+ "internalType": "NftId",
1316
+ "name": "componentNftId",
1317
+ "type": "uint96"
1318
+ }
1319
+ ],
1320
+ "name": "toComponentKey",
1321
+ "outputs": [
1322
+ {
1323
+ "internalType": "Key32",
1324
+ "name": "",
1325
+ "type": "bytes32"
1326
+ }
1327
+ ],
1328
+ "stateMutability": "pure",
1329
+ "type": "function"
1330
+ },
1001
1331
  {
1002
1332
  "inputs": [
1003
1333
  {
@@ -1097,11 +1427,11 @@
1097
1427
  "inputs": [
1098
1428
  {
1099
1429
  "internalType": "NftId",
1100
- "name": "productNftId",
1430
+ "name": "policyNftId",
1101
1431
  "type": "uint96"
1102
1432
  }
1103
1433
  ],
1104
- "name": "toProductKey",
1434
+ "name": "toPremiumKey",
1105
1435
  "outputs": [
1106
1436
  {
1107
1437
  "internalType": "Key32",
@@ -1116,21 +1446,16 @@
1116
1446
  "inputs": [
1117
1447
  {
1118
1448
  "internalType": "NftId",
1119
- "name": "distributionNftId",
1449
+ "name": "productNftId",
1120
1450
  "type": "uint96"
1121
- },
1122
- {
1123
- "internalType": "string",
1124
- "name": "referralCode",
1125
- "type": "string"
1126
1451
  }
1127
1452
  ],
1128
- "name": "toReferralId",
1453
+ "name": "toProductKey",
1129
1454
  "outputs": [
1130
1455
  {
1131
- "internalType": "ReferralId",
1132
- "name": "referralId",
1133
- "type": "bytes8"
1456
+ "internalType": "Key32",
1457
+ "name": "",
1458
+ "type": "bytes32"
1134
1459
  }
1135
1460
  ],
1136
1461
  "stateMutability": "pure",
@@ -1140,16 +1465,21 @@
1140
1465
  "inputs": [
1141
1466
  {
1142
1467
  "internalType": "NftId",
1143
- "name": "productNftId",
1468
+ "name": "distributionNftId",
1144
1469
  "type": "uint96"
1470
+ },
1471
+ {
1472
+ "internalType": "string",
1473
+ "name": "referralCode",
1474
+ "type": "string"
1145
1475
  }
1146
1476
  ],
1147
- "name": "toTreasuryKey",
1477
+ "name": "toReferralId",
1148
1478
  "outputs": [
1149
1479
  {
1150
- "internalType": "Key32",
1151
- "name": "",
1152
- "type": "bytes32"
1480
+ "internalType": "ReferralId",
1481
+ "name": "referralId",
1482
+ "type": "bytes8"
1153
1483
  }
1154
1484
  ],
1155
1485
  "stateMutability": "pure",
@@ -1180,200 +1510,320 @@
1180
1510
  "type": "function"
1181
1511
  }
1182
1512
  ],
1183
- "bytecode": "0x608060405234801561001057600080fd5b50612dd0806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104f1578063de7b5d1414610504578063f2b246c314610515578063f7f318d31461053557600080fd5b8063bd7d9d85146104a0578063d06458c6146104c0578063d4cda0d8146104e057600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103de578063a5961b4c14610409578063b82d7ef51461047657600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193c565b610548565b6040519081526020015b60405180910390f35b6101e76101e236600461198b565b6105ce565b6040516101cb91906119f8565b6101c1610202366004611aa8565b610720565b61021a610215366004611aa8565b6107c0565b6040516101cb9190611ac5565b6101c1610235366004611aa8565b61087a565b61024d610248366004611c6f565b6108a7565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d01565b610924565b61028c610287366004611aa8565b61095f565b6040516101cb9190611d1a565b6102ac6102a7366004611de3565b610a05565b005b6102c16102bc366004611aa8565b610b10565b6040516101cb9190611e11565b6101c16102dc366004611aa8565b610c28565b6101c16102ef366004611aa8565b610c55565b6101c1610302366004611aa8565b610c82565b61031a61031536600461198b565b610caf565b6040516101cb9190611ed1565b61033a610335366004611aa8565b610dd8565b60405160ff90911681526020016101cb565b61035f61035a366004611aa8565b610e54565b6040516101cb9190611eff565b61037f61037a366004611aa8565b610efa565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103f16103ec366004611aa8565b610fa0565b6040516001600160a01b0390911681526020016101cb565b61041c610417366004611d01565b61104e565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61048961048436600461198b565b6110e2565b6040805192835260ff9091166020830152016101cb565b6104b36104ae366004611aa8565b61138a565b6040516101cb9190612029565b6104d36104ce36600461198b565b6114a8565b6040516101cb919061216a565b6002546001600160a01b03166103f1565b6101c16104ff366004611aa8565b61161b565b6001546001600160a01b03166103f1565b610528610523366004611aa8565b611648565b6040516101cb919061221a565b6101c1610543366004611aa8565b611790565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c7919061231c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610675573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610699919061231c565b6040518263ffffffff1660e01b81526004016106b791815260200190565b600060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106fc919081019061237a565b80519091501561071a57808060200190518101906105c791906123f0565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061231c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107f985610c82565b6040518263ffffffff1660e01b815260040161081791815260200190565b600060405180830381865afa158015610834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085c919081019061237a565b80519091501561071a57808060200190518101906105c791906124e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610749565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108e3908690869060040161258f565b602060405180830381865af4158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c791906125b1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610779565b6109676117bd565b6002546000906001600160a01b03166354f6127f61098485611790565b6040518263ffffffff1660e01b81526004016109a291815260200190565b600060405180830381865afa1580156109bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e7919081019061237a565b80519091501561071a57808060200190518101906105c791906125fe565b60005460ff1615610a675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610abd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a5e565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b8a60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ba78561161b565b6040518263ffffffff1660e01b8152600401610bc591815260200190565b600060405180830381865afa158015610be2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a919081019061237a565b80519091501561071a57808060200190518101906105c791906126e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610749565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d57919061231c565b6040518263ffffffff1660e01b8152600401610d7591815260200190565b600060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dba919081019061237a565b80519091501561071a57808060200190518101906105c7919061279e565b6001546000906001600160a01b03166309648a9d610df584610c28565b6040518263ffffffff1660e01b8152600401610e1391815260200190565b602060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061282c565b610e5c61183b565b6002546000906001600160a01b03166354f6127f610e7985610c55565b6040518263ffffffff1660e01b8152600401610e9791815260200190565b600060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edc919081019061237a565b80519091501561071a57808060200190518101906105c79190612849565b610f026118f4565b6002546000906001600160a01b03166354f6127f610f1f8561087a565b6040518263ffffffff1660e01b8152600401610f3d91815260200190565b600060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f82919081019061237a565b80519091501561071a57808060200190518101906105c79190612940565b60025460009081906001600160a01b03166354f6127f610fbf85610720565b6040518263ffffffff1660e01b8152600401610fdd91815260200190565b600060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611022919081019061237a565b80519091501561071a5760008180602001905181019061104291906129b7565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190612a88565b60008060006110f0846105ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190612af6565b156111f25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e5919061231c565b60645b9250925050915091565b6112768160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190612b11565b64ffffffffff90811691161090565b156112ef5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e8919061231c565b606e6111e8565b806060015163ffffffff16816080015163ffffffff161061137e5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061231c565b60786111e8565b6040810151600a6111e8565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61142785610c28565b6040518263ffffffff1660e01b815260040161144591815260200190565b600060405180830381865afa158015611462573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261148a919081019061237a565b80519091501561071a57808060200190518101906105c79190612b3e565b61150760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159a919061231c565b6040518263ffffffff1660e01b81526004016115b891815260200190565b600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061237a565b80519091501561071a57808060200190518101906105c79190612ca3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610749565b6116f2604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61170f85610720565b6040518263ffffffff1660e01b815260040161172d91815260200190565b600060405180830381865afa15801561174a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611772919081019061237a565b80519091501561071a57808060200190518101906105c791906129b7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610749565b60405180610120016040528060006001600160601b031681526020016117f6604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e0604051806040016040528060008152602001600081525090565b6000806040838503121561194f57600080fd5b8235915060208301358060000b811461196757600080fd5b809150509250929050565b6001600160c01b03198116811461198857600080fd5b50565b60006020828403121561199d57600080fd5b81356105c781611972565b60005b838110156119c35781810151838201526020016119ab565b50506000910152565b600081518084526119e48160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a286101008401826119cc565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8a82826119cc565b95945050505050565b6001600160601b038116811461198857600080fd5b600060208284031215611aba57600080fd5b81356105c781611a93565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0260808401826119cc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4257611b42611b0a565b60405290565b604080519081016001600160401b0381118282101715611b4257611b42611b0a565b60405161012081016001600160401b0381118282101715611b4257611b42611b0a565b60405161018081016001600160401b0381118282101715611b4257611b42611b0a565b60405160a081016001600160401b0381118282101715611b4257611b42611b0a565b60405161014081016001600160401b0381118282101715611b4257611b42611b0a565b60405161020081016001600160401b0381118282101715611b4257611b42611b0a565b604051601f8201601f191681016001600160401b0381118282101715611c4057611c40611b0a565b604052919050565b60006001600160401b03821115611c6157611c61611b0a565b50601f01601f191660200190565b60008060408385031215611c8257600080fd5b8235611c8d81611a93565b915060208301356001600160401b03811115611ca857600080fd5b8301601f81018513611cb957600080fd5b8035611ccc611cc782611c48565b611c18565b818152866020838501011115611ce157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1357600080fd5b5035919050565b60208152611d346020820183516001600160601b03169052565b60006020830151611d52604084018280518252602090810151910152565b506040830151610140806080850152611d6f6101608501836119cc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611db761012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198857600080fd5b60008060408385031215611df657600080fd5b8235611e0181611dce565b9150602083013561196781611dce565b81516001600160601b03168152602080830151610180830191611e3e908401826001600160a01b03169052565b50604083015160408301526060830151611e65606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0260608401826119cc565b81516001600160a01b0316815261024081016020830151611f2b60208401826001600160a01b03169052565b506040830151611f4660408401826001600160601b03169052565b506060830151611f6160608401826001600160601b03169052565b506080830151611f7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fb48185018380518252602090810151910152565b60e08501519150610140611fd48186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611eca565b602081526120436020820183516001600160601b03169052565b6000602083015161205f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120d76102208601846119cc565b9250808601519050610140601f1986850301818701526120f784836119cc565b9350808701519150506101606121128187018361ffff169052565b86015190506101806121298682018361ffff169052565b8601516101a08681019190915286015190506101c06121508187018364ffffffffff169052565b86015190506101e0611db78682018364ffffffffff169052565b60208152600082516101208060208501526121896101408501836119cc565b915060208501516040850152604085015160608501526060850151608085015260808501516121c060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121f68187018315159052565b860151858403601f190183870152905061221083826119cc565b9695505050505050565b81516001600160a01b031681526102008101602083015161224660208401826001600160a01b03169052565b50604083015161226160408401826001600160601b03169052565b50606083015161227c60608401826001600160601b03169052565b506080830151612299608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122cf8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611eca565b60006020828403121561232e57600080fd5b5051919050565b600082601f83011261234657600080fd5b8151612354611cc782611c48565b81815284602083860101111561236957600080fd5b611b028260208301602087016119a8565b60006020828403121561238c57600080fd5b81516001600160401b038111156123a257600080fd5b611b0284828501612335565b80516123b981611a93565b919050565b63ffffffff8116811461198857600080fd5b80516123b9816123be565b805164ffffffffff811681146123b957600080fd5b60006020828403121561240257600080fd5b81516001600160401b038082111561241957600080fd5b9083019060e0828603121561242d57600080fd5b612435611b20565b61243e836123ae565b815260208301518281111561245257600080fd5b61245e87828601612335565b6020830152506040830151604082015261247a606084016123d0565b606082015261248b608084016123d0565b608082015261249c60a084016123db565b60a082015260c0830151828111156124b357600080fd5b6124bf87828601612335565b60c08301525095945050505050565b80516123b981611972565b805180151581146123b957600080fd5b6000602082840312156124fb57600080fd5b81516001600160401b038082111561251257600080fd5b908301906060828603121561252657600080fd5b60405160608101818110838211171561254157612541611b0a565b604052825161254f81611972565b815261255d602084016124d9565b602082015260408301518281111561257457600080fd5b61258087828601612335565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0260408301846119cc565b6000602082840312156125c357600080fd5b81516105c781611972565b6000604082840312156125e057600080fd5b6125e8611b48565b9050815181526020820151602082015292915050565b60006020828403121561261057600080fd5b81516001600160401b038082111561262757600080fd5b90830190610140828603121561263c57600080fd5b612644611b6a565b61264d836123ae565b815261265c86602085016125ce565b602082015260608301518281111561267357600080fd5b61267f87828601612335565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126bd8284016123db565b60e08201526126cf61012084016123db565b91810191909152949350505050565b80516123b981611dce565b600061018082840312156126fc57600080fd5b612704611b6a565b61270d836123ae565b815261271b602084016126de565b60208201526040830151604082015261273784606085016125ce565b60608201526127498460a085016125ce565b608082015261275b8460e085016125ce565b60a082015261276d61012084016124d9565b60c082015261277f61014084016124d9565b60e082015261279161016084016126de565b6101008201529392505050565b6000602082840312156127b057600080fd5b81516001600160401b03808211156127c757600080fd5b90830190604082860312156127db57600080fd5b6127e3611b48565b82516127ee81611a93565b815260208301518281111561280257600080fd5b61280e87828601612335565b60208301525095945050505050565b60ff8116811461198857600080fd5b60006020828403121561283e57600080fd5b81516105c78161281d565b6000610240828403121561285c57600080fd5b612864611b8d565b61286d836126de565b815261287b602084016126de565b602082015261288c604084016123ae565b604082015261289d606084016123ae565b60608201526128af84608085016125ce565b60808201526128c18460c085016125ce565b60a08201526101006128d5858286016125ce565b60c08301526101406128e9868287016125ce565b60e08401526128fc8661018087016125ce565b8284015261290e866101c087016125ce565b61012084015261292161020086016124d9565b908301525061293361022084016126de565b6101608201529392505050565b600060c0828403121561295257600080fd5b61295a611bb0565b825161296581611a93565b8152602083015161297581611dce565b602082015261298784604085016125ce565b6040820152612998608084016124d9565b606082015260a08301516129ab81611dce565b60808201529392505050565b600061020082840312156129ca57600080fd5b6129d2611bd2565b6129db836126de565b81526129e9602084016126de565b60208201526129fa604084016123ae565b6040820152612a0b606084016123ae565b6060820152612a1d84608085016125ce565b6080820152612a2f8460c085016125ce565b60a0820152610100612a43858286016125ce565b60c0830152612a568561014086016125ce565b60e0830152612a698561018086016125ce565b90820152612a7b846101c085016125ce565b6101208201529392505050565b600060a08284031215612a9a57600080fd5b612aa2611bb0565b8251612aad8161281d565b81526020830151612abd8161281d565b60208201526040830151612ad081611dce565b60408201526060830151612ae3816123be565b606082015260808301516129ab816123be565b600060208284031215612b0857600080fd5b6105c7826124d9565b600060208284031215612b2357600080fd5b6105c7826123db565b805161ffff811681146123b957600080fd5b600060208284031215612b5057600080fd5b81516001600160401b0380821115612b6757600080fd5b908301906102008286031215612b7c57600080fd5b612b84611bf5565b612b8d836123ae565b8152612b9b602084016123ae565b6020820152612bac604084016124ce565b6040820152612bbd606084016124ce565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612bfe57600080fd5b612c0a88828701612335565b8284015250506101208084015183811115612c2457600080fd5b612c3088828701612335565b8284015250506101409150612c46828401612b2c565b828201526101609150612c5a828401612b2c565b82820152610180915081830151828201526101a09150612c7b8284016123db565b828201526101c09150612c8f8284016123db565b828201526101e091506126cf8284016123db565b600060208284031215612cb557600080fd5b81516001600160401b0380821115612ccc57600080fd5b908301906101208286031215612ce157600080fd5b612ce9611b6a565b825182811115612cf857600080fd5b612d0487828601612335565b825250602083015160208201526040830151604082015260608301516060820152612d31608084016123d0565b6080820152612d4260a084016123d0565b60a0820152612d5360c084016124d9565b60c0820152612d6460e084016124d9565b60e08201526101008084015183811115612d7d57600080fd5b612d8988828701612335565b91830191909152509594505050505056fea2646970667358221220c20140c3bd7846614699c5877b8233b33dd566fa914689c45bf3c1154c84145d64736f6c63430008140033",
1184
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104f1578063de7b5d1414610504578063f2b246c314610515578063f7f318d31461053557600080fd5b8063bd7d9d85146104a0578063d06458c6146104c0578063d4cda0d8146104e057600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103de578063a5961b4c14610409578063b82d7ef51461047657600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193c565b610548565b6040519081526020015b60405180910390f35b6101e76101e236600461198b565b6105ce565b6040516101cb91906119f8565b6101c1610202366004611aa8565b610720565b61021a610215366004611aa8565b6107c0565b6040516101cb9190611ac5565b6101c1610235366004611aa8565b61087a565b61024d610248366004611c6f565b6108a7565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d01565b610924565b61028c610287366004611aa8565b61095f565b6040516101cb9190611d1a565b6102ac6102a7366004611de3565b610a05565b005b6102c16102bc366004611aa8565b610b10565b6040516101cb9190611e11565b6101c16102dc366004611aa8565b610c28565b6101c16102ef366004611aa8565b610c55565b6101c1610302366004611aa8565b610c82565b61031a61031536600461198b565b610caf565b6040516101cb9190611ed1565b61033a610335366004611aa8565b610dd8565b60405160ff90911681526020016101cb565b61035f61035a366004611aa8565b610e54565b6040516101cb9190611eff565b61037f61037a366004611aa8565b610efa565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103f16103ec366004611aa8565b610fa0565b6040516001600160a01b0390911681526020016101cb565b61041c610417366004611d01565b61104e565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61048961048436600461198b565b6110e2565b6040805192835260ff9091166020830152016101cb565b6104b36104ae366004611aa8565b61138a565b6040516101cb9190612029565b6104d36104ce36600461198b565b6114a8565b6040516101cb919061216a565b6002546001600160a01b03166103f1565b6101c16104ff366004611aa8565b61161b565b6001546001600160a01b03166103f1565b610528610523366004611aa8565b611648565b6040516101cb919061221a565b6101c1610543366004611aa8565b611790565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c7919061231c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610675573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610699919061231c565b6040518263ffffffff1660e01b81526004016106b791815260200190565b600060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106fc919081019061237a565b80519091501561071a57808060200190518101906105c791906123f0565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061231c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107f985610c82565b6040518263ffffffff1660e01b815260040161081791815260200190565b600060405180830381865afa158015610834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085c919081019061237a565b80519091501561071a57808060200190518101906105c791906124e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610749565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108e3908690869060040161258f565b602060405180830381865af4158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c791906125b1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610779565b6109676117bd565b6002546000906001600160a01b03166354f6127f61098485611790565b6040518263ffffffff1660e01b81526004016109a291815260200190565b600060405180830381865afa1580156109bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e7919081019061237a565b80519091501561071a57808060200190518101906105c791906125fe565b60005460ff1615610a675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610abd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a5e565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b8a60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ba78561161b565b6040518263ffffffff1660e01b8152600401610bc591815260200190565b600060405180830381865afa158015610be2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a919081019061237a565b80519091501561071a57808060200190518101906105c791906126e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610749565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d57919061231c565b6040518263ffffffff1660e01b8152600401610d7591815260200190565b600060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dba919081019061237a565b80519091501561071a57808060200190518101906105c7919061279e565b6001546000906001600160a01b03166309648a9d610df584610c28565b6040518263ffffffff1660e01b8152600401610e1391815260200190565b602060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061282c565b610e5c61183b565b6002546000906001600160a01b03166354f6127f610e7985610c55565b6040518263ffffffff1660e01b8152600401610e9791815260200190565b600060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edc919081019061237a565b80519091501561071a57808060200190518101906105c79190612849565b610f026118f4565b6002546000906001600160a01b03166354f6127f610f1f8561087a565b6040518263ffffffff1660e01b8152600401610f3d91815260200190565b600060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f82919081019061237a565b80519091501561071a57808060200190518101906105c79190612940565b60025460009081906001600160a01b03166354f6127f610fbf85610720565b6040518263ffffffff1660e01b8152600401610fdd91815260200190565b600060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611022919081019061237a565b80519091501561071a5760008180602001905181019061104291906129b7565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190612a88565b60008060006110f0846105ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190612af6565b156111f25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e5919061231c565b60645b9250925050915091565b6112768160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190612b11565b64ffffffffff90811691161090565b156112ef5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e8919061231c565b606e6111e8565b806060015163ffffffff16816080015163ffffffff161061137e5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061231c565b60786111e8565b6040810151600a6111e8565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61142785610c28565b6040518263ffffffff1660e01b815260040161144591815260200190565b600060405180830381865afa158015611462573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261148a919081019061237a565b80519091501561071a57808060200190518101906105c79190612b3e565b61150760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159a919061231c565b6040518263ffffffff1660e01b81526004016115b891815260200190565b600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061237a565b80519091501561071a57808060200190518101906105c79190612ca3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610749565b6116f2604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61170f85610720565b6040518263ffffffff1660e01b815260040161172d91815260200190565b600060405180830381865afa15801561174a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611772919081019061237a565b80519091501561071a57808060200190518101906105c791906129b7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610749565b60405180610120016040528060006001600160601b031681526020016117f6604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e0604051806040016040528060008152602001600081525090565b6000806040838503121561194f57600080fd5b8235915060208301358060000b811461196757600080fd5b809150509250929050565b6001600160c01b03198116811461198857600080fd5b50565b60006020828403121561199d57600080fd5b81356105c781611972565b60005b838110156119c35781810151838201526020016119ab565b50506000910152565b600081518084526119e48160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a286101008401826119cc565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8a82826119cc565b95945050505050565b6001600160601b038116811461198857600080fd5b600060208284031215611aba57600080fd5b81356105c781611a93565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0260808401826119cc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4257611b42611b0a565b60405290565b604080519081016001600160401b0381118282101715611b4257611b42611b0a565b60405161012081016001600160401b0381118282101715611b4257611b42611b0a565b60405161018081016001600160401b0381118282101715611b4257611b42611b0a565b60405160a081016001600160401b0381118282101715611b4257611b42611b0a565b60405161014081016001600160401b0381118282101715611b4257611b42611b0a565b60405161020081016001600160401b0381118282101715611b4257611b42611b0a565b604051601f8201601f191681016001600160401b0381118282101715611c4057611c40611b0a565b604052919050565b60006001600160401b03821115611c6157611c61611b0a565b50601f01601f191660200190565b60008060408385031215611c8257600080fd5b8235611c8d81611a93565b915060208301356001600160401b03811115611ca857600080fd5b8301601f81018513611cb957600080fd5b8035611ccc611cc782611c48565b611c18565b818152866020838501011115611ce157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1357600080fd5b5035919050565b60208152611d346020820183516001600160601b03169052565b60006020830151611d52604084018280518252602090810151910152565b506040830151610140806080850152611d6f6101608501836119cc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611db761012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198857600080fd5b60008060408385031215611df657600080fd5b8235611e0181611dce565b9150602083013561196781611dce565b81516001600160601b03168152602080830151610180830191611e3e908401826001600160a01b03169052565b50604083015160408301526060830151611e65606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0260608401826119cc565b81516001600160a01b0316815261024081016020830151611f2b60208401826001600160a01b03169052565b506040830151611f4660408401826001600160601b03169052565b506060830151611f6160608401826001600160601b03169052565b506080830151611f7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fb48185018380518252602090810151910152565b60e08501519150610140611fd48186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611eca565b602081526120436020820183516001600160601b03169052565b6000602083015161205f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120d76102208601846119cc565b9250808601519050610140601f1986850301818701526120f784836119cc565b9350808701519150506101606121128187018361ffff169052565b86015190506101806121298682018361ffff169052565b8601516101a08681019190915286015190506101c06121508187018364ffffffffff169052565b86015190506101e0611db78682018364ffffffffff169052565b60208152600082516101208060208501526121896101408501836119cc565b915060208501516040850152604085015160608501526060850151608085015260808501516121c060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121f68187018315159052565b860151858403601f190183870152905061221083826119cc565b9695505050505050565b81516001600160a01b031681526102008101602083015161224660208401826001600160a01b03169052565b50604083015161226160408401826001600160601b03169052565b50606083015161227c60608401826001600160601b03169052565b506080830151612299608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122cf8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611eca565b60006020828403121561232e57600080fd5b5051919050565b600082601f83011261234657600080fd5b8151612354611cc782611c48565b81815284602083860101111561236957600080fd5b611b028260208301602087016119a8565b60006020828403121561238c57600080fd5b81516001600160401b038111156123a257600080fd5b611b0284828501612335565b80516123b981611a93565b919050565b63ffffffff8116811461198857600080fd5b80516123b9816123be565b805164ffffffffff811681146123b957600080fd5b60006020828403121561240257600080fd5b81516001600160401b038082111561241957600080fd5b9083019060e0828603121561242d57600080fd5b612435611b20565b61243e836123ae565b815260208301518281111561245257600080fd5b61245e87828601612335565b6020830152506040830151604082015261247a606084016123d0565b606082015261248b608084016123d0565b608082015261249c60a084016123db565b60a082015260c0830151828111156124b357600080fd5b6124bf87828601612335565b60c08301525095945050505050565b80516123b981611972565b805180151581146123b957600080fd5b6000602082840312156124fb57600080fd5b81516001600160401b038082111561251257600080fd5b908301906060828603121561252657600080fd5b60405160608101818110838211171561254157612541611b0a565b604052825161254f81611972565b815261255d602084016124d9565b602082015260408301518281111561257457600080fd5b61258087828601612335565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0260408301846119cc565b6000602082840312156125c357600080fd5b81516105c781611972565b6000604082840312156125e057600080fd5b6125e8611b48565b9050815181526020820151602082015292915050565b60006020828403121561261057600080fd5b81516001600160401b038082111561262757600080fd5b90830190610140828603121561263c57600080fd5b612644611b6a565b61264d836123ae565b815261265c86602085016125ce565b602082015260608301518281111561267357600080fd5b61267f87828601612335565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126bd8284016123db565b60e08201526126cf61012084016123db565b91810191909152949350505050565b80516123b981611dce565b600061018082840312156126fc57600080fd5b612704611b6a565b61270d836123ae565b815261271b602084016126de565b60208201526040830151604082015261273784606085016125ce565b60608201526127498460a085016125ce565b608082015261275b8460e085016125ce565b60a082015261276d61012084016124d9565b60c082015261277f61014084016124d9565b60e082015261279161016084016126de565b6101008201529392505050565b6000602082840312156127b057600080fd5b81516001600160401b03808211156127c757600080fd5b90830190604082860312156127db57600080fd5b6127e3611b48565b82516127ee81611a93565b815260208301518281111561280257600080fd5b61280e87828601612335565b60208301525095945050505050565b60ff8116811461198857600080fd5b60006020828403121561283e57600080fd5b81516105c78161281d565b6000610240828403121561285c57600080fd5b612864611b8d565b61286d836126de565b815261287b602084016126de565b602082015261288c604084016123ae565b604082015261289d606084016123ae565b60608201526128af84608085016125ce565b60808201526128c18460c085016125ce565b60a08201526101006128d5858286016125ce565b60c08301526101406128e9868287016125ce565b60e08401526128fc8661018087016125ce565b8284015261290e866101c087016125ce565b61012084015261292161020086016124d9565b908301525061293361022084016126de565b6101608201529392505050565b600060c0828403121561295257600080fd5b61295a611bb0565b825161296581611a93565b8152602083015161297581611dce565b602082015261298784604085016125ce565b6040820152612998608084016124d9565b606082015260a08301516129ab81611dce565b60808201529392505050565b600061020082840312156129ca57600080fd5b6129d2611bd2565b6129db836126de565b81526129e9602084016126de565b60208201526129fa604084016123ae565b6040820152612a0b606084016123ae565b6060820152612a1d84608085016125ce565b6080820152612a2f8460c085016125ce565b60a0820152610100612a43858286016125ce565b60c0830152612a568561014086016125ce565b60e0830152612a698561018086016125ce565b90820152612a7b846101c085016125ce565b6101208201529392505050565b600060a08284031215612a9a57600080fd5b612aa2611bb0565b8251612aad8161281d565b81526020830151612abd8161281d565b60208201526040830151612ad081611dce565b60408201526060830151612ae3816123be565b606082015260808301516129ab816123be565b600060208284031215612b0857600080fd5b6105c7826124d9565b600060208284031215612b2357600080fd5b6105c7826123db565b805161ffff811681146123b957600080fd5b600060208284031215612b5057600080fd5b81516001600160401b0380821115612b6757600080fd5b908301906102008286031215612b7c57600080fd5b612b84611bf5565b612b8d836123ae565b8152612b9b602084016123ae565b6020820152612bac604084016124ce565b6040820152612bbd606084016124ce565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612bfe57600080fd5b612c0a88828701612335565b8284015250506101208084015183811115612c2457600080fd5b612c3088828701612335565b8284015250506101409150612c46828401612b2c565b828201526101609150612c5a828401612b2c565b82820152610180915081830151828201526101a09150612c7b8284016123db565b828201526101c09150612c8f8284016123db565b828201526101e091506126cf8284016123db565b600060208284031215612cb557600080fd5b81516001600160401b0380821115612ccc57600080fd5b908301906101208286031215612ce157600080fd5b612ce9611b6a565b825182811115612cf857600080fd5b612d0487828601612335565b825250602083015160208201526040830151604082015260608301516060820152612d31608084016123d0565b6080820152612d4260a084016123d0565b60a0820152612d5360c084016124d9565b60c0820152612d6460e084016124d9565b60e08201526101008084015183811115612d7d57600080fd5b612d8988828701612335565b91830191909152509594505050505056fea2646970667358221220c20140c3bd7846614699c5877b8233b33dd566fa914689c45bf3c1154c84145d64736f6c63430008140033",
1513
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b5061421d806100255f395ff3fe608060405234801561000f575f80fd5b5060043610610260575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610678578063de7b5d141461068b578063e444c3df146106a0578063f0ea17c3146106c0578063f7f318d3146106e0578063febe92af146106f3575f80fd5b8063b82d7ef5146105ea578063bd7d9d8514610614578063cd55e51b14610634578063d06458c614610647578063d4cda0d814610667575f80fd5b8063887b1fa911610110578063887b1fa9146104fd5780638eb9000d1461051d5780639096a1f314610530578063a310e2a314610543578063a5961b4c1461056e578063a7ef3d21146105ca575f80fd5b806378ae9350146104a95780637bfd3217146104bc5780637d8f1e81146104cf5780637e54602a146104e25780638129fc1c146104f5575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104285780635da894021461044857806364eb3a9b1461045b57806364fc31421461046e5780636791f7ab1461048157806375d357df14610496575f80fd5b806339bb60cd146103965780633f093cd6146103b657806344aa6836146103e25780634793b4ab146103f55780634fb784f514610415575f80fd5b8063228e42ec11610228578063228e42ec1461031a57806326decd401461032d57806327b1d7921461035057806334bd5be31461037057806335898f5d14610383575f80fd5b80630232ca491461026457806309648a9d146102945780630b5d931c146102b95780631488c845146102d95780631d3be477146102fa575b5f80fd5b6102776102723660046126a2565b610713565b6040516001600160601b0390911681526020015b60405180910390f35b6102a76102a23660046126bd565b61078d565b60405160ff909116815260200161028b565b6102cc6102c73660046126a2565b610802565b60405161028b91906126d4565b6102ec6102e73660046127b6565b6108b0565b60405190815260200161028b565b61030d6103083660046127fe565b61092c565b60405161028b9190612847565b6102776103283660046126a2565b610a70565b61034061033b3660046128f5565b610aa9565b604051901515815260200161028b565b61036361035e3660046126a2565b610b87565b60405161028b9190612910565b6102ec61037e3660046126a2565b610c44565b6102ec6103913660046126a2565b610cdb565b6103a96103a4366004612969565b610d07565b60405161028b919061299c565b6103c96103c4366004612b79565b610e51565b6040516001600160c01b0319909116815260200161028b565b6102ec6103f03660046126bd565b610ecb565b6104086104033660046126a2565b610f05565b60405161028b9190612c05565b6102ec6104233660046126a2565b610fa6565b61043b6104363660046126a2565b610fd2565b60405161028b9190612c90565b6102a7610456366004612969565b6110a3565b6102ec6104693660046126a2565b61119b565b61034061047c366004612d11565b6111c7565b61049461048f3660046128f5565b6112b6565b005b6103406104a43660046126a2565b611389565b6102a76104b7366004612d4c565b61160a565b6102ec6104ca3660046126a2565b611669565b6102a76104dd3660046126a2565b611695565b6102ec6104f03660046126a2565b61170e565b61049461173a565b61051061050b3660046127fe565b611768565b60405161028b9190612d78565b61027761052b3660046126a2565b611889565b6102a761053e3660046126a2565b6118c2565b6105566105513660046126a2565b6118de565b6040516001600160a01b03909116815260200161028b565b61058161057c3660046126bd565b611986565b60405161028b91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105dd6105d8366004612d4c565b611a10565b60405161028b9190612dad565b6105fd6105f83660046127fe565b611b5d565b6040805192835260ff90911660208301520161028b565b6106276106223660046126a2565b611df9565b60405161028b9190612e53565b610340610642366004612d11565b611f19565b61065a6106553660046127fe565b611fcd565b60405161028b9190612fe2565b6001546001600160a01b0316610556565b6102ec6106863660046126a2565b612132565b5f5461010090046001600160a01b0316610556565b6106b36106ae3660046126a2565b61215e565b60405161028b9190613083565b6106d36106ce3660046126a2565b612287565b60405161028b9190613273565b6102ec6106ee3660046126a2565b612350565b6107066107013660046132fd565b61237c565b60405161028b9190613318565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610763573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078791906133f6565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f89190613446565b6020015192915050565b61080a61252a565b6001545f906001600160a01b03166354f6127f61082685611669565b6040518263ffffffff1660e01b815260040161084491815260200190565b5f60405180830381865afa15801561085e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261088591908101906134fc565b8051909150156108aa57808060200190518101906108a3919061355c565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610908573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061361d565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af41580156109cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f3919061361d565b6040518263ffffffff1660e01b8152600401610a1191815260200190565b5f60405180830381865afa158015610a2b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a5291908101906134fc565b8051909150156108aa57808060200190518101906108a39190613651565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610748565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1e9190613733565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061375d565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610bc78561170e565b6040518263ffffffff1660e01b8152600401610be591815260200190565b5f60405180830381865afa158015610bff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c2691908101906134fc565b8051909150156108aa57808060200190518101906108a39190613781565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610cb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061361d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610c6c565b604080516080810182525f80825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610da1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc5919061361d565b6040518263ffffffff1660e01b8152600401610de391815260200190565b5f60405180830381865afa158015610dfd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e2491908101906134fc565b805190915015610e4a5780806020019051810190610e429190613831565b915050610787565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e8c90869086906004016138c9565b602060405180830381865af4158015610ea7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a391906138ea565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c9c565b610f0d612634565b6001545f906001600160a01b03166354f6127f610f2985612350565b6040518263ffffffff1660e01b8152600401610f4791815260200190565b5f60405180830381865afa158015610f61573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f8891908101906134fc565b8051909150156108aa57808060200190518101906108a39190613905565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c6c565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61102685612132565b6040518263ffffffff1660e01b815260040161104491815260200190565b5f60405180830381865afa15801561105e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261108591908101906134fc565b8051909150156108aa57808060200190518101906108a391906139c9565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af415801561111a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113e919061361d565b6040518263ffffffff1660e01b815260040161115c91815260200190565b602060405180830381865afa158015611177573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613a53565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c6c565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611218573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123c9190613733565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611292573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061375d565b5f5460ff16156112d95760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611342573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113669190613733565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061139483611df9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156113f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611414919061375d565b1561142157505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561147c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a0919061375d565b156114ad57505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611508573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152c919061375d565b1561153957505f92915050565b61016081015161ffff161561155057505f92915050565b61156381610180015182608001516124ca565b156115715750600192915050565b6115f473__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156115bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115df9190613a6e565b826101e0015164ffffffffff90811691161090565b1561160157505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044016110ff565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c6c565b6001545f906001600160a01b03166309648a9d6116b184612350565b6040518263ffffffff1660e01b81526004016116cf91815260200190565b602060405180830381865afa1580156116ea573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613a53565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610c6c565b5f5460ff161561175d5760405163ae9eff1b60e01b815260040160405180910390fd5b611766336112b6565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156117e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061180c919061361d565b6040518263ffffffff1660e01b815260040161182a91815260200190565b5f60405180830381865afa158015611844573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261186b91908101906134fc565b8051909150156108aa57808060200190518101906108a39190613a89565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610748565b6001545f906001600160a01b03166309648a9d6116b18461119b565b6001545f9081906001600160a01b03166354f6127f6118fc85610fa6565b6040518263ffffffff1660e01b815260040161191a91815260200190565b5f60405180830381865afa158015611934573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261195b91908101906134fc565b8051909150156108aa575f8180602001905181019061197a9190613b11565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156119ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613446565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611abc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae0919061361d565b6040518263ffffffff1660e01b8152600401611afe91815260200190565b5f60405180830381865afa158015611b18573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b3f91908101906134fc565b805190915015610e4a5780806020019051810190610e429190613be9565b5f805f611b698461092c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611bc6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bea919061375d565b15611c675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c5a919061361d565b60645b9250925050915091565b611ce98160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cda9190613a6e565b64ffffffffff90811691161090565b15611d605773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d59919061361d565b606e611c5d565b806060015163ffffffff16816080015163ffffffff1610611ded5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de6919061361d565b6078611c5d565b6040810151600a611c5d565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611e9c8561119b565b6040518263ffffffff1660e01b8152600401611eba91815260200190565b5f60405180830381865afa158015611ed4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611efb91908101906134fc565b8051909150156108aa57808060200190518101906108a39190613cd2565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8e9190613733565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611277565b612025604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015612091573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120b5919061361d565b6040518263ffffffff1660e01b81526004016120d391815260200190565b5f60405180830381865afa1580156120ed573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261211491908101906134fc565b8051909150156108aa57808060200190518101906108a39190613e78565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c6c565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61220a85610c44565b6040518263ffffffff1660e01b815260040161222891815260200190565b5f60405180830381865afa158015612242573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261226991908101906134fc565b8051909150156108aa57808060200190518101906108a39190613f71565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6122d385610fa6565b6040518263ffffffff1660e01b81526004016122f191815260200190565b5f60405180830381865afa15801561230b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261233291908101906134fc565b8051909150156108aa57808060200190518101906108a39190613b11565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610c6c565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612429573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061244d919061361d565b6040518263ffffffff1660e01b815260040161246b91815260200190565b5f60405180830381865afa158015612485573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124ac91908101906134fc565b8051909150156108aa57808060200190518101906108a391906140d3565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611292573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b0316815260200161256f60405180604001604052805f81526020015f81525090565b815260200161258f60405180604001604052805f81526020015f81525090565b81526020016125af60405180604001604052805f81526020015f81525090565b81526020016125cf60405180604001604052805f81526020015f81525090565b81526020016125ef60405180604001604052805f81526020015f81525090565b815260200161260f60405180604001604052805f81526020015f81525090565b815260200161262f60405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b0316815260200161266960405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b038116811461269f575f80fd5b50565b5f602082840312156126b2575f80fd5b81356108a38161268b565b5f602082840312156126cd575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612701908401826001600160601b03169052565b50604083015161271e604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610e4a565b5f80604083850312156127c7575f80fd5b8235915060208301355f81900b81146127de575f80fd5b809150509250929050565b6001600160c01b03198116811461269f575f80fd5b5f6020828403121561280e575f80fd5b81356108a3816127e9565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e06040840152612876610100840182612819565b90506040840151606084015263ffffffff606085015116608084015260808401516128a960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128d88282612819565b95945050505050565b6001600160a01b038116811461269f575f80fd5b5f60208284031215612905575f80fd5b81356108a3816128e1565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261294d60a0840182612819565b905063ffffffff60608501511660808401528091505092915050565b5f806040838503121561297a575f80fd5b82356129858161268b565b9150602083013562ffffff811681146127de575f80fd5b6020815261ffff82511660208201526001600160601b0360208301511660408201525f6040830151608060608401526129d860a0840182612819565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405290565b604080519081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161012081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405160e081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405160c081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161022081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161024081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161010081016001600160401b0381118282101715612a2b57612a2b6129f5565b604051601f8201601f191681016001600160401b0381118282101715612b4b57612b4b6129f5565b604052919050565b5f6001600160401b03821115612b6b57612b6b6129f5565b50601f01601f191660200190565b5f8060408385031215612b8a575f80fd5b8235612b958161268b565b915060208301356001600160401b03811115612baf575f80fd5b8301601f81018513612bbf575f80fd5b8035612bd2612bcd82612b53565b612b23565b818152866020838501011115612be6575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612c36604084018280518252602090810151910152565b50604083015160e06080840152612c51610100840182612819565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160401b0383511682526001600160601b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612ce2608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b038116811461269f575f80fd5b5f8060408385031215612d22575f80fd5b8235612d2d816128e1565b915060208301356127de81612cfd565b61ffff8116811461269f575f80fd5b5f8060408385031215612d5d575f80fd5b8235612d688161268b565b915060208301356127de81612d3d565b602081526001600160601b0382511660208201525f6020830151604080840152612da56060840182612819565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612de9606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e13610100840182612819565b905060a0840151601f198483030160c0850152612e308282612819565b91505060c0840151612e4b60e085018264ffffffffff169052565b509392505050565b60208152612e6d6020820183516001600160601b03169052565b5f6020830151612e8860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612f25610240840182612819565b9050610120840151601f1984830301610140850152612f448282612819565b915050610140840151612f5e61016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612e4b565b602081525f82516101206020840152612fff610140840182612819565b9050602084015160408401526040840151606084015260608401516080840152608084015161303660a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526128d88282612819565b81516001600160601b03168152610240810160208301516130af60208401826001600160601b03169052565b5060408301516130ca60408401826001600160601b03169052565b5060608301516130e560608401826001600160601b03169052565b50608083015161310060808401826001600160601b03169052565b5060a083015161311b60a08401826001600160601b03169052565b5060c083015161313660c08401826001600160601b03169052565b5060e083015161315160e08401826001600160601b03169052565b5061010083015161316e6101008401826001600160601b03169052565b5061012083015161318b6101208401826001600160601b03169052565b506101408301516131a86101408401826001600160601b03169052565b506101608301516131c56101608401826001600160601b03169052565b506101808301516131e26101808401826001600160601b03169052565b506101a08301516131ff6101a08401826001600160601b03169052565b506101c083015161321c6101c08401826001600160601b03169052565b506101e08301516132396101e08401826001600160601b03169052565b506102008301516132566102008401826001600160601b03169052565b50610220830151610e4a6102208401826001600160601b03169052565b602081525f825160c0602084015261328e60e0840182612819565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516132e160a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526128d88282612819565b5f6020828403121561330d575f80fd5b81356108a381612cfd565b602081526133326020820183516001600160601b03169052565b5f6020830151610100604084015261334e610120840182612819565b9050604084015161336a60608501826001600160601b03169052565b506060840151838203601f190160808501526133868282612819565b9150506080840151601f198483030160a08501526133a48282612819565b91505060a08401516133bf60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612e4b565b80516133f18161268b565b919050565b5f60208284031215613406575f80fd5b81516108a38161268b565b60ff8116811461269f575f80fd5b80516133f181613411565b63ffffffff8116811461269f575f80fd5b80516133f18161342a565b5f6080828403128015613457575f80fd5b50613460612a09565b825161346b81613411565b8152602083015161347b81613411565b6020820152604083015161348e8161342a565b604082015260608301516134a18161342a565b60608201529392505050565b5f82601f8301126134bc575f80fd5b8151602083015f6134cf612bcd84612b53565b90508281528583830111156134e2575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561350c575f80fd5b81516001600160401b03811115613521575f80fd5b612da5848285016134ad565b5f6040828403121561353d575f80fd5b613545612a31565b825181526020928301519281019290925250919050565b5f61020082840312801561356e575f80fd5b50613577612a53565b613580836133e6565b815261358e602084016133e6565b60208201526135a0846040850161352d565b60408201526135b2846080850161352d565b60608201526135c48460c0850161352d565b60808201526135d784610100850161352d565b60a08201526135ea84610140850161352d565b60c08201526135fd84610180850161352d565b60e0820152613610846101c0850161352d565b6101008201529392505050565b5f6020828403121561362d575f80fd5b5051919050565b64ffffffffff8116811461269f575f80fd5b80516133f181613634565b5f60208284031215613661575f80fd5b81516001600160401b03811115613676575f80fd5b820160e08185031215613687575f80fd5b61368f612a76565b613698826133e6565b815260208201516001600160401b038111156136b2575f80fd5b6136be868285016134ad565b602083015250604082810151908201526136da6060830161343b565b60608201526136eb6080830161343b565b60808201526136fc60a08301613646565b60a082015260c08201516001600160401b03811115613719575f80fd5b613725868285016134ad565b60c083015250949350505050565b5f60208284031215613743575f80fd5b81516108a3816128e1565b805180151581146133f1575f80fd5b5f6020828403121561376d575f80fd5b6108a38261374e565b80516133f1816127e9565b5f60208284031215613791575f80fd5b81516001600160401b038111156137a6575f80fd5b8201608081850312156137b7575f80fd5b6137bf612a09565b81516137ca816127e9565b81526137d86020830161374e565b602082015260408201516001600160401b038111156137f5575f80fd5b613801868285016134ad565b604083015250606082015191506138178261342a565b60608101919091529392505050565b80516133f181612d3d565b5f60208284031215613841575f80fd5b81516001600160401b03811115613856575f80fd5b820160808185031215613867575f80fd5b61386f612a09565b815161387a81612d3d565b8152602082015161388a8161268b565b602082015260408201516001600160401b038111156138a7575f80fd5b6138b3868285016134ad565b6040830152506060820151915061381782613634565b6001600160601b0383168152604060208201525f612da56040830184612819565b5f602082840312156138fa575f80fd5b81516108a3816127e9565b5f60208284031215613915575f80fd5b81516001600160401b0381111561392a575f80fd5b820160e0818503121561393b575f80fd5b613943612a98565b815161394e8161268b565b815261395d856020840161352d565b602082015260608201516001600160401b0381111561397a575f80fd5b613986868285016134ad565b604083015250608082015161399a81613634565b60608201526139ab60a08301613646565b60808201526139bc60c08301613646565b60a0820152949350505050565b5f60e08284031280156139da575f80fd5b506139e3612a76565b82516139ee81612cfd565b815260208301516139fe8161268b565b6020820152613a0f6040840161374e565b6040820152613a206060840161374e565b6060820152613a316080840161374e565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613a63575f80fd5b81516108a381613411565b5f60208284031215613a7e575f80fd5b81516108a381613634565b5f60208284031215613a99575f80fd5b81516001600160401b03811115613aae575f80fd5b820160408185031215613abf575f80fd5b613ac7612a31565b8151613ad28161268b565b815260208201516001600160401b03811115613aec575f80fd5b613af8868285016134ad565b602083015250949350505050565b80516133f1816128e1565b5f60208284031215613b21575f80fd5b81516001600160401b03811115613b36575f80fd5b820160c08185031215613b47575f80fd5b613b4f612a98565b81516001600160401b03811115613b64575f80fd5b613b70868285016134ad565b825250613b7f602083016133e6565b6020820152613b9060408301613b06565b6040820152613ba160608301613b06565b6060820152613bb260808301613b06565b608082015260a08201516001600160401b03811115613bcf575f80fd5b613bdb868285016134ad565b60a083015250949350505050565b5f60208284031215613bf9575f80fd5b81516001600160401b03811115613c0e575f80fd5b820160e08185031215613c1f575f80fd5b613c27612a76565b613c30826133e6565b8152613c3e602083016133e6565b6020820152613c4f6040830161341f565b6040820152613c606060830161341f565b606082015260808201516001600160401b03811115613c7d575f80fd5b613c89868285016134ad565b60808301525060a08201516001600160401b03811115613ca7575f80fd5b613cb3868285016134ad565b60a083015250613cc560c08301613646565b60c0820152949350505050565b5f60208284031215613ce2575f80fd5b81516001600160401b03811115613cf7575f80fd5b82016102208185031215613d09575f80fd5b613d11612aba565b613d1a826133e6565b8152613d28602083016133e6565b6020820152613d3960408301613776565b6040820152613d4a60608301613776565b6060820152613d5b608083016133e6565b6080820152613d6c60a083016133e6565b60a0820152613d7d60c083016133e6565b60c0820152613d8e60e08301613646565b60e08201526101008201516001600160401b03811115613dac575f80fd5b613db8868285016134ad565b610100830152506101208201516001600160401b03811115613dd8575f80fd5b613de4868285016134ad565b61012083015250613df86101408301613826565b610140820152613e0b6101608301613826565b610160820152613e1e61018083016133e6565b610180820152613e316101a083016133e6565b6101a0820152613e446101c08301613646565b6101c0820152613e576101e08301613646565b6101e0820152613e6a6102008301613646565b610200820152949350505050565b5f60208284031215613e88575f80fd5b81516001600160401b03811115613e9d575f80fd5b82016101208185031215613eaf575f80fd5b613eb7612a53565b81516001600160401b03811115613ecc575f80fd5b613ed8868285016134ad565b825250602082810151908201526040808301519082015260608083015190820152613f056080830161343b565b6080820152613f1660a0830161343b565b60a0820152613f2760c0830161374e565b60c0820152613f3860e0830161374e565b60e08201526101008201516001600160401b03811115613f56575f80fd5b613f62868285016134ad565b61010083015250949350505050565b5f610240828403128015613f83575f80fd5b50613f8c612add565b613f95836133e6565b8152613fa3602084016133e6565b6020820152613fb4604084016133e6565b6040820152613fc5606084016133e6565b6060820152613fd6608084016133e6565b6080820152613fe760a084016133e6565b60a0820152613ff860c084016133e6565b60c082015261400960e084016133e6565b60e082015261401b61010084016133e6565b61010082015261402e61012084016133e6565b61012082015261404161014084016133e6565b61014082015261405461016084016133e6565b61016082015261406761018084016133e6565b61018082015261407a6101a084016133e6565b6101a082015261408d6101c084016133e6565b6101c08201526140a06101e084016133e6565b6101e08201526140b361020084016133e6565b6102008201526140c661022084016133e6565b6102208201529392505050565b5f602082840312156140e3575f80fd5b81516001600160401b038111156140f8575f80fd5b8201610100818503121561410a575f80fd5b614112612b00565b61411b826133e6565b815260208201516001600160401b03811115614135575f80fd5b614141868285016134ad565b602083015250614153604083016133e6565b604082015260608201516001600160401b03811115614170575f80fd5b61417c868285016134ad565b60608301525060808201516001600160401b0381111561419a575f80fd5b6141a6868285016134ad565b6080830152506141b860a08301613646565b60a08201526141c960c08301613646565b60c08201526141da60e0830161374e565b60e082015294935050505056fea264697066735822122043d11ad0852753ad6a204e2f2495ee0ca017d54ca3940f38d236bbffb35a5d9a64736f6c634300081a0033",
1514
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610260575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610678578063de7b5d141461068b578063e444c3df146106a0578063f0ea17c3146106c0578063f7f318d3146106e0578063febe92af146106f3575f80fd5b8063b82d7ef5146105ea578063bd7d9d8514610614578063cd55e51b14610634578063d06458c614610647578063d4cda0d814610667575f80fd5b8063887b1fa911610110578063887b1fa9146104fd5780638eb9000d1461051d5780639096a1f314610530578063a310e2a314610543578063a5961b4c1461056e578063a7ef3d21146105ca575f80fd5b806378ae9350146104a95780637bfd3217146104bc5780637d8f1e81146104cf5780637e54602a146104e25780638129fc1c146104f5575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104285780635da894021461044857806364eb3a9b1461045b57806364fc31421461046e5780636791f7ab1461048157806375d357df14610496575f80fd5b806339bb60cd146103965780633f093cd6146103b657806344aa6836146103e25780634793b4ab146103f55780634fb784f514610415575f80fd5b8063228e42ec11610228578063228e42ec1461031a57806326decd401461032d57806327b1d7921461035057806334bd5be31461037057806335898f5d14610383575f80fd5b80630232ca491461026457806309648a9d146102945780630b5d931c146102b95780631488c845146102d95780631d3be477146102fa575b5f80fd5b6102776102723660046126a2565b610713565b6040516001600160601b0390911681526020015b60405180910390f35b6102a76102a23660046126bd565b61078d565b60405160ff909116815260200161028b565b6102cc6102c73660046126a2565b610802565b60405161028b91906126d4565b6102ec6102e73660046127b6565b6108b0565b60405190815260200161028b565b61030d6103083660046127fe565b61092c565b60405161028b9190612847565b6102776103283660046126a2565b610a70565b61034061033b3660046128f5565b610aa9565b604051901515815260200161028b565b61036361035e3660046126a2565b610b87565b60405161028b9190612910565b6102ec61037e3660046126a2565b610c44565b6102ec6103913660046126a2565b610cdb565b6103a96103a4366004612969565b610d07565b60405161028b919061299c565b6103c96103c4366004612b79565b610e51565b6040516001600160c01b0319909116815260200161028b565b6102ec6103f03660046126bd565b610ecb565b6104086104033660046126a2565b610f05565b60405161028b9190612c05565b6102ec6104233660046126a2565b610fa6565b61043b6104363660046126a2565b610fd2565b60405161028b9190612c90565b6102a7610456366004612969565b6110a3565b6102ec6104693660046126a2565b61119b565b61034061047c366004612d11565b6111c7565b61049461048f3660046128f5565b6112b6565b005b6103406104a43660046126a2565b611389565b6102a76104b7366004612d4c565b61160a565b6102ec6104ca3660046126a2565b611669565b6102a76104dd3660046126a2565b611695565b6102ec6104f03660046126a2565b61170e565b61049461173a565b61051061050b3660046127fe565b611768565b60405161028b9190612d78565b61027761052b3660046126a2565b611889565b6102a761053e3660046126a2565b6118c2565b6105566105513660046126a2565b6118de565b6040516001600160a01b03909116815260200161028b565b61058161057c3660046126bd565b611986565b60405161028b91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105dd6105d8366004612d4c565b611a10565b60405161028b9190612dad565b6105fd6105f83660046127fe565b611b5d565b6040805192835260ff90911660208301520161028b565b6106276106223660046126a2565b611df9565b60405161028b9190612e53565b610340610642366004612d11565b611f19565b61065a6106553660046127fe565b611fcd565b60405161028b9190612fe2565b6001546001600160a01b0316610556565b6102ec6106863660046126a2565b612132565b5f5461010090046001600160a01b0316610556565b6106b36106ae3660046126a2565b61215e565b60405161028b9190613083565b6106d36106ce3660046126a2565b612287565b60405161028b9190613273565b6102ec6106ee3660046126a2565b612350565b6107066107013660046132fd565b61237c565b60405161028b9190613318565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610763573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078791906133f6565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f89190613446565b6020015192915050565b61080a61252a565b6001545f906001600160a01b03166354f6127f61082685611669565b6040518263ffffffff1660e01b815260040161084491815260200190565b5f60405180830381865afa15801561085e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261088591908101906134fc565b8051909150156108aa57808060200190518101906108a3919061355c565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610908573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061361d565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af41580156109cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f3919061361d565b6040518263ffffffff1660e01b8152600401610a1191815260200190565b5f60405180830381865afa158015610a2b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a5291908101906134fc565b8051909150156108aa57808060200190518101906108a39190613651565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610748565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1e9190613733565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061375d565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610bc78561170e565b6040518263ffffffff1660e01b8152600401610be591815260200190565b5f60405180830381865afa158015610bff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c2691908101906134fc565b8051909150156108aa57808060200190518101906108a39190613781565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610cb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061361d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610c6c565b604080516080810182525f80825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610da1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc5919061361d565b6040518263ffffffff1660e01b8152600401610de391815260200190565b5f60405180830381865afa158015610dfd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e2491908101906134fc565b805190915015610e4a5780806020019051810190610e429190613831565b915050610787565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e8c90869086906004016138c9565b602060405180830381865af4158015610ea7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a391906138ea565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c9c565b610f0d612634565b6001545f906001600160a01b03166354f6127f610f2985612350565b6040518263ffffffff1660e01b8152600401610f4791815260200190565b5f60405180830381865afa158015610f61573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f8891908101906134fc565b8051909150156108aa57808060200190518101906108a39190613905565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c6c565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61102685612132565b6040518263ffffffff1660e01b815260040161104491815260200190565b5f60405180830381865afa15801561105e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261108591908101906134fc565b8051909150156108aa57808060200190518101906108a391906139c9565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af415801561111a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113e919061361d565b6040518263ffffffff1660e01b815260040161115c91815260200190565b602060405180830381865afa158015611177573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613a53565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c6c565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611218573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123c9190613733565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611292573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061375d565b5f5460ff16156112d95760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611342573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113669190613733565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061139483611df9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156113f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611414919061375d565b1561142157505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561147c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a0919061375d565b156114ad57505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611508573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152c919061375d565b1561153957505f92915050565b61016081015161ffff161561155057505f92915050565b61156381610180015182608001516124ca565b156115715750600192915050565b6115f473__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156115bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115df9190613a6e565b826101e0015164ffffffffff90811691161090565b1561160157505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044016110ff565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c6c565b6001545f906001600160a01b03166309648a9d6116b184612350565b6040518263ffffffff1660e01b81526004016116cf91815260200190565b602060405180830381865afa1580156116ea573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613a53565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610c6c565b5f5460ff161561175d5760405163ae9eff1b60e01b815260040160405180910390fd5b611766336112b6565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156117e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061180c919061361d565b6040518263ffffffff1660e01b815260040161182a91815260200190565b5f60405180830381865afa158015611844573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261186b91908101906134fc565b8051909150156108aa57808060200190518101906108a39190613a89565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610748565b6001545f906001600160a01b03166309648a9d6116b18461119b565b6001545f9081906001600160a01b03166354f6127f6118fc85610fa6565b6040518263ffffffff1660e01b815260040161191a91815260200190565b5f60405180830381865afa158015611934573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261195b91908101906134fc565b8051909150156108aa575f8180602001905181019061197a9190613b11565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156119ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613446565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611abc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae0919061361d565b6040518263ffffffff1660e01b8152600401611afe91815260200190565b5f60405180830381865afa158015611b18573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b3f91908101906134fc565b805190915015610e4a5780806020019051810190610e429190613be9565b5f805f611b698461092c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611bc6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bea919061375d565b15611c675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c5a919061361d565b60645b9250925050915091565b611ce98160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cda9190613a6e565b64ffffffffff90811691161090565b15611d605773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d59919061361d565b606e611c5d565b806060015163ffffffff16816080015163ffffffff1610611ded5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de6919061361d565b6078611c5d565b6040810151600a611c5d565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611e9c8561119b565b6040518263ffffffff1660e01b8152600401611eba91815260200190565b5f60405180830381865afa158015611ed4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611efb91908101906134fc565b8051909150156108aa57808060200190518101906108a39190613cd2565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8e9190613733565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611277565b612025604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015612091573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120b5919061361d565b6040518263ffffffff1660e01b81526004016120d391815260200190565b5f60405180830381865afa1580156120ed573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261211491908101906134fc565b8051909150156108aa57808060200190518101906108a39190613e78565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c6c565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61220a85610c44565b6040518263ffffffff1660e01b815260040161222891815260200190565b5f60405180830381865afa158015612242573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261226991908101906134fc565b8051909150156108aa57808060200190518101906108a39190613f71565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6122d385610fa6565b6040518263ffffffff1660e01b81526004016122f191815260200190565b5f60405180830381865afa15801561230b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261233291908101906134fc565b8051909150156108aa57808060200190518101906108a39190613b11565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610c6c565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612429573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061244d919061361d565b6040518263ffffffff1660e01b815260040161246b91815260200190565b5f60405180830381865afa158015612485573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124ac91908101906134fc565b8051909150156108aa57808060200190518101906108a391906140d3565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611292573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b0316815260200161256f60405180604001604052805f81526020015f81525090565b815260200161258f60405180604001604052805f81526020015f81525090565b81526020016125af60405180604001604052805f81526020015f81525090565b81526020016125cf60405180604001604052805f81526020015f81525090565b81526020016125ef60405180604001604052805f81526020015f81525090565b815260200161260f60405180604001604052805f81526020015f81525090565b815260200161262f60405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b0316815260200161266960405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b038116811461269f575f80fd5b50565b5f602082840312156126b2575f80fd5b81356108a38161268b565b5f602082840312156126cd575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612701908401826001600160601b03169052565b50604083015161271e604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610e4a565b5f80604083850312156127c7575f80fd5b8235915060208301355f81900b81146127de575f80fd5b809150509250929050565b6001600160c01b03198116811461269f575f80fd5b5f6020828403121561280e575f80fd5b81356108a3816127e9565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e06040840152612876610100840182612819565b90506040840151606084015263ffffffff606085015116608084015260808401516128a960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128d88282612819565b95945050505050565b6001600160a01b038116811461269f575f80fd5b5f60208284031215612905575f80fd5b81356108a3816128e1565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261294d60a0840182612819565b905063ffffffff60608501511660808401528091505092915050565b5f806040838503121561297a575f80fd5b82356129858161268b565b9150602083013562ffffff811681146127de575f80fd5b6020815261ffff82511660208201526001600160601b0360208301511660408201525f6040830151608060608401526129d860a0840182612819565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405290565b604080519081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161012081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405160e081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405160c081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161022081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161024081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161010081016001600160401b0381118282101715612a2b57612a2b6129f5565b604051601f8201601f191681016001600160401b0381118282101715612b4b57612b4b6129f5565b604052919050565b5f6001600160401b03821115612b6b57612b6b6129f5565b50601f01601f191660200190565b5f8060408385031215612b8a575f80fd5b8235612b958161268b565b915060208301356001600160401b03811115612baf575f80fd5b8301601f81018513612bbf575f80fd5b8035612bd2612bcd82612b53565b612b23565b818152866020838501011115612be6575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612c36604084018280518252602090810151910152565b50604083015160e06080840152612c51610100840182612819565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160401b0383511682526001600160601b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612ce2608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b038116811461269f575f80fd5b5f8060408385031215612d22575f80fd5b8235612d2d816128e1565b915060208301356127de81612cfd565b61ffff8116811461269f575f80fd5b5f8060408385031215612d5d575f80fd5b8235612d688161268b565b915060208301356127de81612d3d565b602081526001600160601b0382511660208201525f6020830151604080840152612da56060840182612819565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612de9606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e13610100840182612819565b905060a0840151601f198483030160c0850152612e308282612819565b91505060c0840151612e4b60e085018264ffffffffff169052565b509392505050565b60208152612e6d6020820183516001600160601b03169052565b5f6020830151612e8860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612f25610240840182612819565b9050610120840151601f1984830301610140850152612f448282612819565b915050610140840151612f5e61016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612e4b565b602081525f82516101206020840152612fff610140840182612819565b9050602084015160408401526040840151606084015260608401516080840152608084015161303660a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526128d88282612819565b81516001600160601b03168152610240810160208301516130af60208401826001600160601b03169052565b5060408301516130ca60408401826001600160601b03169052565b5060608301516130e560608401826001600160601b03169052565b50608083015161310060808401826001600160601b03169052565b5060a083015161311b60a08401826001600160601b03169052565b5060c083015161313660c08401826001600160601b03169052565b5060e083015161315160e08401826001600160601b03169052565b5061010083015161316e6101008401826001600160601b03169052565b5061012083015161318b6101208401826001600160601b03169052565b506101408301516131a86101408401826001600160601b03169052565b506101608301516131c56101608401826001600160601b03169052565b506101808301516131e26101808401826001600160601b03169052565b506101a08301516131ff6101a08401826001600160601b03169052565b506101c083015161321c6101c08401826001600160601b03169052565b506101e08301516132396101e08401826001600160601b03169052565b506102008301516132566102008401826001600160601b03169052565b50610220830151610e4a6102208401826001600160601b03169052565b602081525f825160c0602084015261328e60e0840182612819565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516132e160a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526128d88282612819565b5f6020828403121561330d575f80fd5b81356108a381612cfd565b602081526133326020820183516001600160601b03169052565b5f6020830151610100604084015261334e610120840182612819565b9050604084015161336a60608501826001600160601b03169052565b506060840151838203601f190160808501526133868282612819565b9150506080840151601f198483030160a08501526133a48282612819565b91505060a08401516133bf60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612e4b565b80516133f18161268b565b919050565b5f60208284031215613406575f80fd5b81516108a38161268b565b60ff8116811461269f575f80fd5b80516133f181613411565b63ffffffff8116811461269f575f80fd5b80516133f18161342a565b5f6080828403128015613457575f80fd5b50613460612a09565b825161346b81613411565b8152602083015161347b81613411565b6020820152604083015161348e8161342a565b604082015260608301516134a18161342a565b60608201529392505050565b5f82601f8301126134bc575f80fd5b8151602083015f6134cf612bcd84612b53565b90508281528583830111156134e2575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561350c575f80fd5b81516001600160401b03811115613521575f80fd5b612da5848285016134ad565b5f6040828403121561353d575f80fd5b613545612a31565b825181526020928301519281019290925250919050565b5f61020082840312801561356e575f80fd5b50613577612a53565b613580836133e6565b815261358e602084016133e6565b60208201526135a0846040850161352d565b60408201526135b2846080850161352d565b60608201526135c48460c0850161352d565b60808201526135d784610100850161352d565b60a08201526135ea84610140850161352d565b60c08201526135fd84610180850161352d565b60e0820152613610846101c0850161352d565b6101008201529392505050565b5f6020828403121561362d575f80fd5b5051919050565b64ffffffffff8116811461269f575f80fd5b80516133f181613634565b5f60208284031215613661575f80fd5b81516001600160401b03811115613676575f80fd5b820160e08185031215613687575f80fd5b61368f612a76565b613698826133e6565b815260208201516001600160401b038111156136b2575f80fd5b6136be868285016134ad565b602083015250604082810151908201526136da6060830161343b565b60608201526136eb6080830161343b565b60808201526136fc60a08301613646565b60a082015260c08201516001600160401b03811115613719575f80fd5b613725868285016134ad565b60c083015250949350505050565b5f60208284031215613743575f80fd5b81516108a3816128e1565b805180151581146133f1575f80fd5b5f6020828403121561376d575f80fd5b6108a38261374e565b80516133f1816127e9565b5f60208284031215613791575f80fd5b81516001600160401b038111156137a6575f80fd5b8201608081850312156137b7575f80fd5b6137bf612a09565b81516137ca816127e9565b81526137d86020830161374e565b602082015260408201516001600160401b038111156137f5575f80fd5b613801868285016134ad565b604083015250606082015191506138178261342a565b60608101919091529392505050565b80516133f181612d3d565b5f60208284031215613841575f80fd5b81516001600160401b03811115613856575f80fd5b820160808185031215613867575f80fd5b61386f612a09565b815161387a81612d3d565b8152602082015161388a8161268b565b602082015260408201516001600160401b038111156138a7575f80fd5b6138b3868285016134ad565b6040830152506060820151915061381782613634565b6001600160601b0383168152604060208201525f612da56040830184612819565b5f602082840312156138fa575f80fd5b81516108a3816127e9565b5f60208284031215613915575f80fd5b81516001600160401b0381111561392a575f80fd5b820160e0818503121561393b575f80fd5b613943612a98565b815161394e8161268b565b815261395d856020840161352d565b602082015260608201516001600160401b0381111561397a575f80fd5b613986868285016134ad565b604083015250608082015161399a81613634565b60608201526139ab60a08301613646565b60808201526139bc60c08301613646565b60a0820152949350505050565b5f60e08284031280156139da575f80fd5b506139e3612a76565b82516139ee81612cfd565b815260208301516139fe8161268b565b6020820152613a0f6040840161374e565b6040820152613a206060840161374e565b6060820152613a316080840161374e565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613a63575f80fd5b81516108a381613411565b5f60208284031215613a7e575f80fd5b81516108a381613634565b5f60208284031215613a99575f80fd5b81516001600160401b03811115613aae575f80fd5b820160408185031215613abf575f80fd5b613ac7612a31565b8151613ad28161268b565b815260208201516001600160401b03811115613aec575f80fd5b613af8868285016134ad565b602083015250949350505050565b80516133f1816128e1565b5f60208284031215613b21575f80fd5b81516001600160401b03811115613b36575f80fd5b820160c08185031215613b47575f80fd5b613b4f612a98565b81516001600160401b03811115613b64575f80fd5b613b70868285016134ad565b825250613b7f602083016133e6565b6020820152613b9060408301613b06565b6040820152613ba160608301613b06565b6060820152613bb260808301613b06565b608082015260a08201516001600160401b03811115613bcf575f80fd5b613bdb868285016134ad565b60a083015250949350505050565b5f60208284031215613bf9575f80fd5b81516001600160401b03811115613c0e575f80fd5b820160e08185031215613c1f575f80fd5b613c27612a76565b613c30826133e6565b8152613c3e602083016133e6565b6020820152613c4f6040830161341f565b6040820152613c606060830161341f565b606082015260808201516001600160401b03811115613c7d575f80fd5b613c89868285016134ad565b60808301525060a08201516001600160401b03811115613ca7575f80fd5b613cb3868285016134ad565b60a083015250613cc560c08301613646565b60c0820152949350505050565b5f60208284031215613ce2575f80fd5b81516001600160401b03811115613cf7575f80fd5b82016102208185031215613d09575f80fd5b613d11612aba565b613d1a826133e6565b8152613d28602083016133e6565b6020820152613d3960408301613776565b6040820152613d4a60608301613776565b6060820152613d5b608083016133e6565b6080820152613d6c60a083016133e6565b60a0820152613d7d60c083016133e6565b60c0820152613d8e60e08301613646565b60e08201526101008201516001600160401b03811115613dac575f80fd5b613db8868285016134ad565b610100830152506101208201516001600160401b03811115613dd8575f80fd5b613de4868285016134ad565b61012083015250613df86101408301613826565b610140820152613e0b6101608301613826565b610160820152613e1e61018083016133e6565b610180820152613e316101a083016133e6565b6101a0820152613e446101c08301613646565b6101c0820152613e576101e08301613646565b6101e0820152613e6a6102008301613646565b610200820152949350505050565b5f60208284031215613e88575f80fd5b81516001600160401b03811115613e9d575f80fd5b82016101208185031215613eaf575f80fd5b613eb7612a53565b81516001600160401b03811115613ecc575f80fd5b613ed8868285016134ad565b825250602082810151908201526040808301519082015260608083015190820152613f056080830161343b565b6080820152613f1660a0830161343b565b60a0820152613f2760c0830161374e565b60c0820152613f3860e0830161374e565b60e08201526101008201516001600160401b03811115613f56575f80fd5b613f62868285016134ad565b61010083015250949350505050565b5f610240828403128015613f83575f80fd5b50613f8c612add565b613f95836133e6565b8152613fa3602084016133e6565b6020820152613fb4604084016133e6565b6040820152613fc5606084016133e6565b6060820152613fd6608084016133e6565b6080820152613fe760a084016133e6565b60a0820152613ff860c084016133e6565b60c082015261400960e084016133e6565b60e082015261401b61010084016133e6565b61010082015261402e61012084016133e6565b61012082015261404161014084016133e6565b61014082015261405461016084016133e6565b61016082015261406761018084016133e6565b61018082015261407a6101a084016133e6565b6101a082015261408d6101c084016133e6565b6101c08201526140a06101e084016133e6565b6101e08201526140b361020084016133e6565b6102008201526140c661022084016133e6565b6102208201529392505050565b5f602082840312156140e3575f80fd5b81516001600160401b038111156140f8575f80fd5b8201610100818503121561410a575f80fd5b614112612b00565b61411b826133e6565b815260208201516001600160401b03811115614135575f80fd5b614141868285016134ad565b602083015250614153604083016133e6565b604082015260608201516001600160401b03811115614170575f80fd5b61417c868285016134ad565b60608301525060808201516001600160401b0381111561419a575f80fd5b6141a6868285016134ad565b6080830152506141b860a08301613646565b60a08201526141c960c08301613646565b60c08201526141da60e0830161374e565b60e082015294935050505056fea264697066735822122043d11ad0852753ad6a204e2f2495ee0ca017d54ca3940f38d236bbffb35a5d9a64736f6c634300081a0033",
1185
1515
  "linkReferences": {
1186
- "contracts/types/DistributorType.sol": {
1516
+ "contracts/type/Amount.sol": {
1517
+ "AmountLib": [
1518
+ {
1519
+ "length": 20,
1520
+ "start": 9495
1521
+ }
1522
+ ]
1523
+ },
1524
+ "contracts/type/ClaimId.sol": {
1525
+ "ClaimIdLib": [
1526
+ {
1527
+ "length": 20,
1528
+ "start": 5740
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 6825
1533
+ }
1534
+ ]
1535
+ },
1536
+ "contracts/type/DistributorType.sol": {
1187
1537
  "DistributorTypeLib": [
1188
1538
  {
1189
1539
  "length": 20,
1190
- "start": 5468
1540
+ "start": 8318
1191
1541
  }
1192
1542
  ]
1193
1543
  },
1194
- "contracts/types/NftId.sol": {
1544
+ "contracts/type/NftId.sol": {
1195
1545
  "NftIdLib": [
1196
1546
  {
1197
1547
  "length": 20,
1198
- "start": 1860
1548
+ "start": 3180
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 3331
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 4046
1557
+ },
1558
+ {
1559
+ "length": 20,
1560
+ "start": 4547
1199
1561
  },
1200
1562
  {
1201
1563
  "length": 20,
1202
- "start": 2206
1564
+ "start": 5085
1203
1565
  },
1204
1566
  {
1205
1567
  "length": 20,
1206
- "start": 3148
1568
+ "start": 5777
1207
1569
  },
1208
1570
  {
1209
1571
  "length": 20,
1210
- "start": 3193
1572
+ "start": 5942
1211
1573
  },
1212
1574
  {
1213
1575
  "length": 20,
1214
- "start": 3238
1576
+ "start": 8538
1215
1577
  },
1216
1578
  {
1217
1579
  "length": 20,
1218
- "start": 5695
1580
+ "start": 9080
1581
+ }
1582
+ ]
1583
+ },
1584
+ "contracts/type/PayoutId.sol": {
1585
+ "PayoutIdLib": [
1586
+ {
1587
+ "length": 20,
1588
+ "start": 3470
1219
1589
  },
1220
1590
  {
1221
1591
  "length": 20,
1222
- "start": 6068
1592
+ "start": 4358
1223
1593
  }
1224
1594
  ]
1225
1595
  },
1226
- "contracts/types/Referral.sol": {
1596
+ "contracts/type/Referral.sol": {
1227
1597
  "ReferralLib": [
1228
1598
  {
1229
1599
  "length": 20,
1230
- "start": 1627
1600
+ "start": 2492
1231
1601
  },
1232
1602
  {
1233
1603
  "length": 20,
1234
- "start": 2265
1604
+ "start": 3719
1605
+ }
1606
+ ]
1607
+ },
1608
+ "contracts/type/RequestId.sol": {
1609
+ "RequestIdLib": [
1610
+ {
1611
+ "length": 20,
1612
+ "start": 9238
1235
1613
  }
1236
1614
  ]
1237
1615
  },
1238
- "contracts/types/RiskId.sol": {
1616
+ "contracts/type/RiskId.sol": {
1239
1617
  "RiskIdLib": [
1240
1618
  {
1241
1619
  "length": 20,
1242
- "start": 3353
1620
+ "start": 6101
1243
1621
  }
1244
1622
  ]
1245
1623
  },
1246
- "contracts/types/Timestamp.sol": {
1624
+ "contracts/type/Timestamp.sol": {
1247
1625
  "TimestampLib": [
1248
1626
  {
1249
1627
  "length": 20,
1250
- "start": 4405
1628
+ "start": 5225
1629
+ },
1630
+ {
1631
+ "length": 20,
1632
+ "start": 5365
1633
+ },
1634
+ {
1635
+ "length": 20,
1636
+ "start": 5531
1251
1637
  },
1252
1638
  {
1253
1639
  "length": 20,
1254
- "start": 4636
1640
+ "start": 7091
1641
+ },
1642
+ {
1643
+ "length": 20,
1644
+ "start": 7318
1255
1645
  }
1256
1646
  ]
1257
1647
  },
1258
- "contracts/types/UFixed.sol": {
1648
+ "contracts/type/UFixed.sol": {
1259
1649
  "UFixedLib": [
1260
1650
  {
1261
1651
  "length": 20,
1262
- "start": 1417
1652
+ "start": 2293
1263
1653
  },
1264
1654
  {
1265
1655
  "length": 20,
1266
- "start": 2397
1656
+ "start": 3848
1267
1657
  },
1268
1658
  {
1269
1659
  "length": 20,
1270
- "start": 4506
1660
+ "start": 7190
1271
1661
  },
1272
1662
  {
1273
1663
  "length": 20,
1274
- "start": 4765
1664
+ "start": 7445
1275
1665
  },
1276
1666
  {
1277
1667
  "length": 20,
1278
- "start": 4908
1668
+ "start": 7586
1279
1669
  }
1280
1670
  ]
1281
1671
  }
1282
1672
  },
1283
1673
  "deployedLinkReferences": {
1284
- "contracts/types/DistributorType.sol": {
1674
+ "contracts/type/Amount.sol": {
1675
+ "AmountLib": [
1676
+ {
1677
+ "length": 20,
1678
+ "start": 9458
1679
+ }
1680
+ ]
1681
+ },
1682
+ "contracts/type/ClaimId.sol": {
1683
+ "ClaimIdLib": [
1684
+ {
1685
+ "length": 20,
1686
+ "start": 5703
1687
+ },
1688
+ {
1689
+ "length": 20,
1690
+ "start": 6788
1691
+ }
1692
+ ]
1693
+ },
1694
+ "contracts/type/DistributorType.sol": {
1285
1695
  "DistributorTypeLib": [
1286
1696
  {
1287
1697
  "length": 20,
1288
- "start": 5436
1698
+ "start": 8281
1289
1699
  }
1290
1700
  ]
1291
1701
  },
1292
- "contracts/types/NftId.sol": {
1702
+ "contracts/type/NftId.sol": {
1293
1703
  "NftIdLib": [
1294
1704
  {
1295
1705
  "length": 20,
1296
- "start": 1828
1706
+ "start": 3143
1707
+ },
1708
+ {
1709
+ "length": 20,
1710
+ "start": 3294
1711
+ },
1712
+ {
1713
+ "length": 20,
1714
+ "start": 4009
1715
+ },
1716
+ {
1717
+ "length": 20,
1718
+ "start": 4510
1297
1719
  },
1298
1720
  {
1299
1721
  "length": 20,
1300
- "start": 2174
1722
+ "start": 5048
1301
1723
  },
1302
1724
  {
1303
1725
  "length": 20,
1304
- "start": 3116
1726
+ "start": 5740
1305
1727
  },
1306
1728
  {
1307
1729
  "length": 20,
1308
- "start": 3161
1730
+ "start": 5905
1309
1731
  },
1310
1732
  {
1311
1733
  "length": 20,
1312
- "start": 3206
1734
+ "start": 8501
1313
1735
  },
1314
1736
  {
1315
1737
  "length": 20,
1316
- "start": 5663
1738
+ "start": 9043
1739
+ }
1740
+ ]
1741
+ },
1742
+ "contracts/type/PayoutId.sol": {
1743
+ "PayoutIdLib": [
1744
+ {
1745
+ "length": 20,
1746
+ "start": 3433
1317
1747
  },
1318
1748
  {
1319
1749
  "length": 20,
1320
- "start": 6036
1750
+ "start": 4321
1321
1751
  }
1322
1752
  ]
1323
1753
  },
1324
- "contracts/types/Referral.sol": {
1754
+ "contracts/type/Referral.sol": {
1325
1755
  "ReferralLib": [
1326
1756
  {
1327
1757
  "length": 20,
1328
- "start": 1595
1758
+ "start": 2455
1329
1759
  },
1330
1760
  {
1331
1761
  "length": 20,
1332
- "start": 2233
1762
+ "start": 3682
1763
+ }
1764
+ ]
1765
+ },
1766
+ "contracts/type/RequestId.sol": {
1767
+ "RequestIdLib": [
1768
+ {
1769
+ "length": 20,
1770
+ "start": 9201
1333
1771
  }
1334
1772
  ]
1335
1773
  },
1336
- "contracts/types/RiskId.sol": {
1774
+ "contracts/type/RiskId.sol": {
1337
1775
  "RiskIdLib": [
1338
1776
  {
1339
1777
  "length": 20,
1340
- "start": 3321
1778
+ "start": 6064
1341
1779
  }
1342
1780
  ]
1343
1781
  },
1344
- "contracts/types/Timestamp.sol": {
1782
+ "contracts/type/Timestamp.sol": {
1345
1783
  "TimestampLib": [
1346
1784
  {
1347
1785
  "length": 20,
1348
- "start": 4373
1786
+ "start": 5188
1787
+ },
1788
+ {
1789
+ "length": 20,
1790
+ "start": 5328
1791
+ },
1792
+ {
1793
+ "length": 20,
1794
+ "start": 5494
1795
+ },
1796
+ {
1797
+ "length": 20,
1798
+ "start": 7054
1349
1799
  },
1350
1800
  {
1351
1801
  "length": 20,
1352
- "start": 4604
1802
+ "start": 7281
1353
1803
  }
1354
1804
  ]
1355
1805
  },
1356
- "contracts/types/UFixed.sol": {
1806
+ "contracts/type/UFixed.sol": {
1357
1807
  "UFixedLib": [
1358
1808
  {
1359
1809
  "length": 20,
1360
- "start": 1385
1810
+ "start": 2256
1361
1811
  },
1362
1812
  {
1363
1813
  "length": 20,
1364
- "start": 2365
1814
+ "start": 3811
1365
1815
  },
1366
1816
  {
1367
1817
  "length": 20,
1368
- "start": 4474
1818
+ "start": 7153
1369
1819
  },
1370
1820
  {
1371
1821
  "length": 20,
1372
- "start": 4733
1822
+ "start": 7408
1373
1823
  },
1374
1824
  {
1375
1825
  "length": 20,
1376
- "start": 4876
1826
+ "start": 7549
1377
1827
  }
1378
1828
  ]
1379
1829
  }